Access forbidden when Apache is trying to use NSS volume
I'm helping a customer migrate from an OES2 SBE server to an OES2 Linux server running under VMware. The new server is up and seems to be running fine and I've migrated all of the data over, but not using the Migration Tools as I could not get them to work. (That's another thread in the forums. Could that problem be related to this problem???).
Anyway, on their old server they run Apache for their public web site and it's default directory is on an NSS volume. It's configured in default-server.conf and it works fine. There are no virtual servers configured in Apache
On the new server, I've duplicated every setting I can find in Apache and every permission in the file system to match exactly with the old server. However, all I can get from Apache is an "Error 403: You don't have permission to access the requested directory. There is either no index document or the directory is read-protected."
If I move the web folder off of the NSS volume and adjust default-server.conf, it serves the pages up just fine. So, I'm pretty sure it's NSS permissions related. The wwwrun user and www group are pre-existing in the Tree and the old server is using them and they appear to be LUM enabled. There's a Unix Workstation object in the tree for the new server, so I'm assuming it's LUM enabled. From what very little I understand about LUM, it appears to be working but I wouldn't bet much on that. I also tried configuring Apache to use a virtual host instead of the default-server and that didn't help either.
I've found several other threads and TIDS on the topic and tried them all but nothing worked. I'm at the end of my knowledge!
-Farren
farren wrote:
>
> I'm helping a customer migrate from an OES2 SBE server to an OES2 Linux
> server running under VMware. The new server is up and seems to be
> running fine and I've migrated all of the data over, but not using the
> Migration Tools as I could not get them to work. (That's another thread
> in the forums. Could that problem be related to this problem???).
>
> Anyway, on their old server they run Apache for their public web site
> and it's default directory is on an NSS volume. It's configured in
> default-server.conf and it works fine. There are no virtual servers
> configured in Apache
>
> On the new server, I've duplicated every setting I can find in Apache
> and every permission in the file system to match exactly with the old
> server. However, all I can get from Apache is an "Error 403: You don't
> have permission to access the requested directory. There is either no
> index document or the directory is read-protected."
>
> If I move the web folder off of the NSS volume and adjust
> default-server.conf, it serves the pages up just fine. So, I'm pretty
> sure it's NSS permissions related. The wwwrun user and www group are
> pre-existing in the Tree and the old server is using them and they
> appear to be LUM enabled. There's a Unix Workstation object in the tree
> for the new server, so I'm assuming it's LUM enabled. From what very
> little I understand about LUM, it appears to be working but I wouldn't
> bet much on that. I also tried configuring Apache to use a virtual host
> instead of the default-server and that didn't help either.
>
> I've found several other threads and TIDS on the topic and tried them
> all but nothing worked. I'm at the end of my knowledge!
>
> -Farren
>
>
Did you give rights to wwwrun to the volume?
Similar Messages
-
Crashing apps. What do I do to fix it?
My first gen. iPad exits out of apps and safari at random times when I am trying to use them. So I basically can't do anything on it. Is there some way I can fix this?I have the same problem. Yahoo Sportacular aborts every time I try to open it. It attempts to load and then the device goes right back to the home screen. The problem started April 26 after I switched leagues from NHL to NBA. Closing all apps and Restarting doesn't solve solve the problem.
All other apps on the iPad work fine. IPad2, OS6.
Any other suggestions? I suppose I could delete the app from the iPad and try re-installing it -
How can I get my apple remote to stop running my Mac when I am trying to use airplay?
How can I get my apple remote to stop running my Mac when I am trying to use airplay?
http://support.apple.com/kb/PH14076
-
ORA-01031:Insufficient Privileges error when I am trying to use ALERT_QUE
Hi,
I am working on SYS.ALERT.QUE for getting system alerts. I am using ODP in C# for connecting to Oracle database with username = SYSTEM, but when I am trying to enque or deque any message from SYS.ALERT.QUE, its gives an error ORA-01031:Insufficient Privileges. I am not able to understand how to assign SYSDBA privileges to SYSTEM and access ALERT_QUE for getting system alerts. I am posting my code below, plz have a look and let me know whats wrong with the code. I am able to connect to databse using SYSTEM, do I need to use username = SYS for accesing ALERT_QUE of database? Plz let me know whats the solution.
OracleConnection con = new OracleConnection(constr);
// Create queue
OracleAQQueue queue = new OracleAQQueue("sys.alert_que", con);
// Open connection
con.Open();
// Begin txn for enqueue
OracleTransaction txn = con.BeginTransaction();
// Set message type for the queue
queue.MessageType = OracleAQMessageType.Raw;
// Prepare message and RAW payload
OracleAQMessage enqMsg = new OracleAQMessage();
byte[] bytePayload = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
enqMsg.Payload = bytePayload;
OracleAQAgent[] agent = new OracleAQAgent[1];
agent[0] = new OracleAQAgent("SUBSCRIBER1");
enqMsg.Recipients = agent;
enqMsg.SenderId = new OracleAQAgent("SENDER1");
// Prepare to Enqueue
queue.EnqueueOptions.Visibility = OracleAQVisibilityMode.OnCommit;
// Enqueue message
queue.Enqueue(enqMsg);
The code throws exception at line "queue.Enqueue(enqMsg);" saying ORA-01031:Insufficient Privileges
Edited by: 916462 on Feb 27, 2012 3:31 AMHi Sudheendra,
Thanks a lot, that worked. Now I am facing one more new issue, when I am trying to deque message from ALERT_QUE which is oracle maintained queue for alerts, I am getting an error "ORA-25215:User data type and queue type do not match". Is there something wrong with my code like Message type, payload and all. I am very new to Oracle database so I don't have idea about this details. Can u plz help me in solving this.
OracleTransaction txn = con.BeginTransaction();
// Set message type for the queue
queue.MessageType = OracleAQMessageType.Raw;
// Prepare message and RAW payload
OracleAQMessage enqMsg = new OracleAQMessage();
byte[] bytePayload = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
enqMsg.Payload = bytePayload;
OracleAQAgent[] agent = new OracleAQAgent[1];
agent[0] = new OracleAQAgent("SUBSCRIBER1");
enqMsg.Recipients = agent;
enqMsg.SenderId = new OracleAQAgent("SENDER1");
// Begin txn for Dequeue
txn = con.BeginTransaction();
// Prepare to Dequeue
queue.DequeueOptions.Visibility = OracleAQVisibilityMode.OnCommit;
queue.DequeueOptions.Wait = 10;
queue.DequeueOptions.ConsumerName = "SUBSCRIBER1";
// Dequeue message
OracleAQMessage deqMsg = queue.Dequeue();
txn.Commit();
Edited by: 916462 on Feb 28, 2012 9:55 PM -
Severe error occured when i am trying to use jheadstart in my application
hi can any body help in this .
I am using jheadstart in my application but it showing the below when i am trying to enable in my existing project.
Performing action Run[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Invoking command: Modify XML[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Invoking command: Initial Reformat
Invoking command: XML Edit
Invoking command: Update <listen-port> in config.xml
Performing action Enable JHeadstart on this Project[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
Uncaught exception
java.lang.RuntimeException: You can have only 10 ViewObjects in your workspace when using the JHeadstart Evaluation Version.
o.jheadstart.dt.share.jdev.util.ProjectUtils.getHTMLRootDir(ProjectUtils.java:256)
o.jheadstart.dt.share.jdev.util.ProjectUtils.getHTMLRootDir(ProjectUtils.java:269)
o.jheadstart.dt.share.jdev.util.ProjectUtils.registerPageTemplate(ProjectUtils.java:440)
o.jheadstart.dt.jde.enablewizard.JhsEnvironmentCreator.createFileEnvironment(JhsEnvironmentCreator.java:223)
o.jheadstart.dt.jde.enablewizard.JhsEnvironmentCreator.run(JhsEnvironmentCreator.java:108)It looks like you're using the evaluation version. That version has built in size limits on the application. You either need to reduce your application to 10 or fewer view objects or purchase a licensed copy of JHeadstart.
see here for info on licensing: Oracle JHeadstart Frequently Asked Questions -
I have an iphone 4g and i am having problems with it locking up at times. It will lock up and give me a blank screen. When I took it to my local AT&T store they advised me to update it. I am using the version 4.3.3 and I have tried to sync to Itunes, but have been unsuccessful. I have not been able to update it at all. When I plug in my phone to the computer, it will not sync at all. Any suggestions?
Oh boy! Acting kind of weird seems to be an understatement, aquaequus!
What type of troubleshooting were we able to do with you? I want to make sure that we can get some sort of resolution for this problem.
It is quite possible the battery door may get your phone in working order again. I'm not sure if the store has it in stock, but it is available in our warehouse for $14.99 which can be ordered via customer service.
Tamara H.
Follow us on Twitter @VZWSupport -
Why LabVIEW crashes when I'm trying to use "in" and "out" in my DLL?
Calling function from DLL using Call Library Function.
Function source:
extern "C" __declspec(dllexport) long ReadPort(long base, long off)
unsigned char c;
long d;
__asm
push eax
push dx
push ax
mov eax, base
add eax, off
mov dx, ax
in al, dx
mov c, al
pop ax
pop dx
pop eax
d = c;
return d;
Using LabVIEW 5.0 and MSVC 6
OS: Win2k> I am sure... When I delete "in" command from DLL source, it works...
> but when I use "in" or "out" assembler command, LV crashes (sometimes
> without any error message)...
>
Windowd 2000, and most of the more modern MS OSes do not allow direct
access to HW. That means that applications do not have permission to
call in and out instructions. Those instructions are protected and any
app calling them will be terminated because it did something illegal.
To get direct I/O to work, you should look for the driver on the NI web
site that will redirect it for you.
Greg McKaskle -
Using Firefox 3.6.12 on Win7, Outlook 2003 email. Firefox will not use my Outlook email even when set as the default, or when "always asked" is used. Always tries to open Windows Live when "sending link", or with website hyperlinks for email.
This has all been done and the problem persists.
It tries to open Outlook first, then the message "Navigation to this webpage was cancelled" and it proceeds to open Windows Live mail.
I don't know if the problem is with Outlook or Firefox.. -
Well my sister lives in US and she just handed me her old iphone 3gs. The phone was locked to AT&T .While trying to acees it an error message is popping up that Iphone is disable,Please connect to itunes.Well i downloaded a new version of itunes and while connecting it in recovery mode and tryuing to update it it is giving an error.i asked my sister to unlock the phone so i could use it on any network .she has applied for it and will get the code in one week. What should i do?? Please help.
Restore the device as new with an AT&T SIM card or wait until it is unlocked and restore as new with another carriers SIM.
-
Why does firefox crash when i am trying to use the google search function?
I use Windows 7 and have Firefox 3.6.23 installed. I have no problem with most websites, but Firefox crashes every time I try to do Google searches. So far this issue is only happening with Google.
See below. If anyone can help with this, I would appreciate it.
Add-ons: {CAFEEFAC-0016-0000-0024-ABCDEFFEDCBA}:6.0.24,{CAFEEFAC-0016-0000-0026-ABCDEFFEDCBA}:6.0.26,{4ED1F68A-5463-4931-9384-8FFF5ED91D92}:3.4.0,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.23
BuildID: 20110920075126
CrashTime: 1318036312
EMCheckCompatibility: true
Email: [email protected]
FramePoisonBase: 00000000f0de0000
FramePoisonSize: 65536
InstallTime: 1317382785
ProductName: Firefox
ReleaseChannel: release
SecondsSinceLastCrash: 402
StartupTime: 1318035938
Theme: classic/1.0
Throttleable: 1
URL: http://www.google.com/
Vendor: Mozilla
Version: 3.6.23
This report also contains technical information about the state of the application when it crashed. -
I have usb cord from printer to Mac cannot print anything and says missing plug??? Anyone who can help me? I do not understand what missing plug means?
What Mac?
What Mac OS X?
What Printer?
What software are you trying to print from?
What sort of stuff are you trying to print? {just text, text and some diagrams, graphics, photos, animated Giffs, movies, something else} -
I just downloaded the ios7 successfully (love it) and after putting in a NEW passcode when I went back to the phone, it wouldn't take the passcode I thought I had entered. Phone is disabled, I never backed it up to my computer so it is not recognized, I can't get into it to get the serial number, and the Apple support won't accept the MEID # from the back of the phone so I can get help. Any ideas?
ME TOO. NOW MY IPHONE 6 PLUS IS SAME LIKE YOU.
iphone is diabled- connect to iTunes because i forget passcode.
i cannot connect iTunes because it's always asking to enter passcode on iphone.
So, i cannot make restore my iphone 6+. And then, I cann't erase "device" in icloud.
My iphone is new. No icloud. didn't connect to itune backage.
That's why I try to connect iTunes but it need to enter passcode.
So, my iphone just keep "iphone is disbled-connect to iTunes".
IPHONE 6 PLUS -
When i am trying to use firefox, it creates at least 3 similar windoes
i reopened my firefox just a day ago. it is acting suspiciously - a i described.
Could you describe the steps that cause this to happen, for example:
* Starting Firefox up
* Opening a new window (Ctrl+n)
* Opening a new tab (Ctrl+t)
* Double-clicking the Firefox home page shortcut after Firefox is already running
Your "More System Details" shows that there is an optional settings file named user.js in your current active personal settings (profile) folder. Firefox reads this file at startup and uses it to override your previous session settings. Unless you created that file yourself, it may contain unwanted instructions. This article has a section on how to track it down and remove it: [[How to fix preferences that won't save]].
Note: By default, Windows hides the .js extension on files, so if you see a file named user of type JScript, that is the user.js file. -
I give the online form all of my information, but it says that my Serial Number cannot be verified. I don't want to pay $29.99 heehee. And I purchased my MacBook Pro on June 11, 2011...
That was it, Thought it was smarter than that.
Thanks for your help. -
I am really getting frustrated with my apps turning off. It happens several times a day. Does anyone have any ideas why it is happening an how to fix the problem?
Hi Friend,
This is happen with me as well. So I turn off my iPhone and wait for few minutes and turn it on again always solve the problem.
Hope it will be helpful
Maybe you are looking for
-
Erase disk and clean install - The only way
Just a note to say that I tried Archive and Install, and Migrate, and was beset with many of the problems discussed here. I messed about for hours trying to sort this and that. Then I decided that it was time for a fresh start. I hated the idea of st
-
Best environment to work with Studio 10g?
Hi ! Which environment, in your experience, do you recommend as a good and stable one to work with Oracle BPM Studio 10g ? Windows Vista ? Windows 7 ? Windows 2003 ? I know the compatibility matrix, but we are suffering some performance issues while
-
Installation when 9i HTTP server already present
I already have 9i DB installed (along with the HTTP server). On trying to install from the 10g companion CD, HTML DB wants to install it's own version of HTTP server, even though one already exists on the box. Will having two of them on the box prese
-
Refernce files and external edited files
Hello, i am testing Aperture and i was wondering if it was possible to use only refernced files. in my Library there are only refernced files. But if I use PS to edit an files - aperture creates a working copy that will be editet an after PS saved th
-
Hi all I'm having problems finding an easy way (an object attribute?) to make "radio" type menu items act as radio buttons. I mean, if I have some items in a group (menu items of type "radio") and I click one, I don't expect it to toggle when I click