Apache 2.0.40 error and does not run
S. Johnson
zatharus at ncn.net
Tue Sep 30 12:57:46 EDT 2003
Hello NFLUG users,
Bob Meyer and I were working on my Apache server problem described below
and found the following.
The Apache serve was loading a single instance of httpd, but the process
was not able to respond.
The following commands were entered:
[root at alpine3 httpd]# ps -ax | grep httpd
17409 ? T 0:00 /usr/sbin/httpd
22633 pts/1 S 0:00 grep httpd
[root at alpine3 httpd]# strace -p 17409
--- SIGSTOP (Stopped (signal)) ---
read(77, ( - hung at this point, used ctrl-c to break out
back to command prompt)
[root at alpine3 httpd]# lsof | grep 17409 | grep 77r
httpd 17409 root 77r CHR 1,8 98111 /dev/random
[root at alpine3 httpd]# cat /dev/random (hung, HERE'S OUR PROBLEM!, ctrl-c to
breakout again)
Doing a cat of /dev/random should output a random number in binary to the
screen. Since it did not,
the /dev/random module itself is hung and since it is built into the
kernel, a reboot of the system
should fix it. I will post back later to verify if this worked.
I big THANK YOU goes out to Bob Meyer for helping troubleshoot this.
Sean Johnson
At 09:50 09/30/03 -0500, you wrote:
>Hi Darin,
>
>Tell me more about automount. This system is plagued with NFS
>problems. If there's a better more reliable way to mount these volumes,
>please let me know!
>
>Also, I am still looking for a solution to this problem with Apache not
>starting if anyone has any ideas, please let me know.
>
>Thanks,
>
>Sean Johnson
>
>
>At 09:06 09/30/03 -0400, you wrote:
>>this isn't totally related to your apache problem but how you are
>>mounting your filesystems. have you thought about using automount to
>>mount your nfs volumes instead of hardmounting them via the fstab?
>>
>>using automount may be a little more complicated at first but it allows
>>for redundancy, generate less network traffic, and a more flexable setup.
>>depending what level your virtual host directories are at might eliminate
>>apache not being able to find them.
>>
>>S. Johnson wrote:
>>>Hi Bob,
>>>I think I talked with you earlier today on the phone about an IMAP
>>>problem. Thanks
>>>for getting back to me. I am mounting the NFS file system using
>>>/etc/fstab and the
>>>mount -a command.
>>>Here's the /etc/fstab information for the NFS mounts:
>>>#NFS Mounts
>>>192.168.1.3:/nfs-srv/db /db nfs
>>>bg,nfsvers=3,rsize=8192,wsize=8192 0 0
>>>192.168.1.3:/nfs-srv/isp /isp nfs
>>>bg,nfsvers=3,rsize=8192,wsize=8192 0 0
>>>192.168.1.3:/nfs-srv/users /users nfs
>>>bg,nfsvers=3,rsize=8192,wsize=8192 0 0
>>>This was working before. I restarted Apache while the NFS mounts were
>>>not working
>>>correctly and the httpd.conf file has virtual sites with directories in
>>>both /isp and /users
>>>that it could not access and died with error complaining about not being
>>>able to find
>>>those site. When fixed the NFS problem and attempted to restart Apache
>>>after that,
>>>I started to get the other error:
>>>[Mon Sep 29 09:11:28 2003] [notice] Digest: generating secret for
>>>digest authentication ...
>>>Let me know if you need more information.
>>>At 12:22 09/29/03 -0700, you wrote:
>>>
>>>>Hmmm... sounds to me like you have userid conflicts between the server
>>>>and the
>>>>NFS server. Make sure that you're not mounting the filesystem with a
>>>>forced
>>>>userid.
>>>>
>>>>Cheers!
>>>>
>>>>Bob
>>>>--- "S. Johnson" <zatharus at ncn.net> wrote:
>>>> > Hello,
>>>> >
>>>> > I have a RedHat 8.0 system using the RPM version of Apache
>>>> > (httpd-2.0.40-11.7).
>>>> > This server is connect via NFS to a fiber channel array where user
>>>> > directories and site
>>>> > information is stored. Yesterday, when I restarted the server, the NFS
>>>> > mounts were
>>>> > not working correctly and Apache did not load because it could not
>>>> read all
>>>> > the site
>>>> > information that was configured in /etc/httpd/conf/httpd.conf. After
>>>> > fixing the NFS problem
>>>> > so that the server could read the NFS mounts again, I restarted Apache
>>>> > again and am
>>>> > now getting this single line error in /var/log/httpd/error_log:
>>>> >
>>>> > [Mon Sep 29 09:11:28 2003] [notice] Digest: generating secret for digest
>>>> > authentication ...
>>>> >
>>>> > This is the only thing logged each time I restart the server. I have
>>>> > researched this error
>>>> > message and it is usually preceeded with a SIGTERM error in the previous
>>>> > line, but I am
>>>> > not getting that, just the single line each time I try to restart
>>>> the server.
>>>> >
>>>> > The Apache server starts and there is a single instance of the daemon
>>>> > running, but the
>>>> > server does not actually serve pages.
>>>> >
>>>> > From reading in other news groups, the error has to do with .htaccess
>>>> > directives for sites.
>>>> >
>>>> > There are several sites that use .htaccess on this server, but to my
>>>> > knowledge, none of
>>>> > those configurations have changed.
>>>> >
>>>> > Anyone seen anything like this or have a solution? If you need any
>>>> further
>>>> > information
>>>> > about the system, please let me know.
>>>> >
>>>> > Thanks!
>>>> >
>>>> > Sean Johnson
>>>> >
>>>> >
>>>> >
>>>>
>>>>
>>>>__________________________________
>>>>Do you Yahoo!?
>>>>The New Yahoo! Shopping - with improved product search
>>>>http://shopping.yahoo.com
>>
>>
>>--
>>Darin Perusich
>>Unix Systems Administrator
>>Cognigen Corp.
>>darinper at cognigencorp.com
More information about the nflug
mailing list