RE: [users@httpd] making Apache work with WebLogic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alex, 

Sorry, still don't understand your request for "'less output' /dir",
though you might be pointing in the right direction when you ask me to
see where Apache is before EACCES - how do I determine where Apache was
before hitting EACCES?

In the truss output, it seems that it tried to open wlproxy_lock and it
couldn't (or was it able to open and only when it tried to write to that
file it couldn't, so it deleted the lock file thereafter?):

open(0x0010D578, 02401, 0644)                   Err#13 EACCES
0x0010D578: "wlproxy_lock"
write(7, 0xFFBED670, 100)                       = 100
 [ T u e   M a r   2 8   1 3 : 2 3 : 1 7   2 0 0 6 ]   [ c r i t]   ( 1
3 ) P e r m i s s i o n   d e n i e d :   m o d _ w e b
l o g i c :   P a r e n t   c o u l d   n o t   c r e a t e   l o c k\n


The directory in which the lock file is being attempted to be written
must be the 'logs' dir, and I have full permission granted to the logs
dir:

drwxr-xr-x   2 amas01   arborexec    4096 Mar 24 16:26 lib
drwxr-xr-x   2 amas01   arborexec    4096 Mar 24 16:26 htdocs
drwxr-xr-x   3 amas01   arborexec    4096 Mar 24 16:26 error
drwxr-xr-x   3 amas01   arborexec   12288 Mar 24 16:27 icons
drwxr-xr-x   2 amas01   arborexec    4096 Mar 24 16:27 cgi-bin
drwxr-xr-x   2 amas01   arborexec   12288 Mar 24 16:27 include
drwxr-xr-x   4 amas01   arborexec    4096 Mar 24 16:27 man
drwxr-xr-x  14 amas01   arborexec   12288 Mar 24 16:27 manual
drwxr-xr-x   2 amas01   arborexec    4096 Mar 24 16:27 build
drwxr-xr-x   2 amas01   arborexec    4096 Mar 24 16:41 modules
drwxr-xr-x   2 amas01   arborexec    4096 Mar 27 22:03 conf
drwxrwxrwx   2 amas01   arborexec    4096 Mar 27 22:06 logs
drwxr-xr-x   2 amas01   arborexec    4096 Mar 28 13:23 bin

In fact, I gave full permission to all directories listed above and
tried to start Apache, and it still failed the same way, so I revoked
the full perms from all except the logs dir.

Before the EACCESS statement in the segment copied earlier, we have the
statement that is reading the MIME types:

open(0x000D5FD8, 020411, 0666)                  = 7
     0x000D5FD8:
"/users/denver/amas01/apache2.0/apache-2.0.55-install_dir/logs/error_log
"
fcntl(7, 9, 0x00000002)                         = 2
open(0x000D66A8, 020411, 0666)                  = 8
     0x000D66A8:
"/users/denver/amas01/apache2.0/apache-2.0.55-install_dir/logs/access_lo
g"
open(0x000D0910, 0)                             = 9
     0x000D0910:
"/users/denver/amas01/apache2.0/apache-2.0.55-install_dir/conf/mime.type
s"
fstat(9, 0xFFBED580)                            = 0
    d=0x04D40012 i=13288533 m=0100644 l=1  u=10659 g=220   sz=15020
        at = Mar 28 13:23:16 MST 2006  [ 1143577396 ]
        mt = Mar 24 16:26:44 MST 2006  [ 1143242804 ]
        ct = Mar 24 16:26:44 MST 2006  [ 1143242804 ]
    bsz=8192  blks=32    fs=nfs
read(9, 0x000DEFE8, 4096)                       = 4096
   #   T h i s   i s   a   c o m m e n t .   I   l o v e   c o m m
   e n t s .\n\n #   T h i s   f i l e   c o n t r o l s   w h a t
     I n t e r n e t   m e d i a   t y p e s   a r e   s e n t   t

No issues here.

Thanks.
Amalan


-----Original Message-----
From: Alexander Lazic [mailto:al-httpdusers@xxxxxxx] 
Sent: Wednesday, March 29, 2006 2:32 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] making Apache work with WebLogic

Hi,

On Die 28.03.2006 22:28, Amalan, S wrote:
>
>I don't understand your question: "Where is the *dir?"  Could you
>explain?

What i mean was 'less output' /dir.

Look before the EACCES in which dir the apache is.

>As for the user, I run Apache as myself. Not sure what you are getting
>at..

Ok.

Then check the permissions on the dirs from the above dirs ;-)

>The plugin link you provided - the first time I am seeing it, but do I
>need any or all of those parameters set?  Except for the WebLogicHost
>and Port settings, I don't think anything else is set in my
>environment.

Only if you have more then one apache instanzes and if you have errors,
otherways don't care about this site.

Regards

Alex

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux