List Info

Thread: making Apache work with WebLogic




making Apache work with WebLogic
user name
2006-03-29 17:12:21
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-httpdusersnone.at] 
Sent: Wednesday, March 29, 2006 2:32 AM
To: usershttpd.apache.org
Subject: Re: [usershttpd] 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://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org

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

making Apache work with WebLogic
user name
2006-03-29 18:53:10
Hi,

On Mit 29.03.2006 10:12, Amalan, S wrote:
>
>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?

Ok can i get it anywhere the file?

Regards

Alex

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

making Apache work with WebLogic
user name
2006-03-29 19:36:52
Hi,

On Mit 29.03.2006 20:53, Alexander Lazic wrote:
>
>On Mit 29.03.2006 10:12, Amalan, S wrote:
>>
>>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?
>
>Ok can i get it anywhere the file?

Ok i got it 

What is your ServerRoot?

http://httpd.apache.org/docs/2.0/mod/core.html.en#se
rverroot

---
20665/1:        chdir(0xFF2FDBD0)                           
   = 0
20665/1:             0xFF2FDBD0: "/"
---

I hope it's the ServerRoot, please can somebody correct me
if i'am wrong


Regards

Alex

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

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )