LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   httpd dead (https://www.linuxquestions.org/questions/linux-newbie-8/httpd-dead-33100/)

japhthor 10-18-2002 02:04 AM

httpd dead
 
Hey folks.

I'm a complete Linux newbie... I bought an old 486 that a guy set up with red hat 6.1/apache/mysql/webmin for me to play around with web server stuff. Somehow I messed it up royally.

On reboot, I get failure messages when the system is trying to start the following:

Code:

httpd
lockdsvc

I searched these forums, and got some hints... I tried "service httpd status" and got the following message:

Code:

httpd dead but subsys locked
Any ideas what I need to do?

Japhthor al Chil

markus1982 10-18-2002 02:22 AM

Post the last lines from the error_log file (probably something like /var/log/apache/error_log on a default setup) here!

japhthor 10-18-2002 02:49 AM

error log
 
Hey

Thanks for the quick reply.

From /var/log/httpd/error_log

Quote:

getpeername: Socket operation on non-socket
getsockname: Socket operation on non-socket
Error getting local address
Is this what you were looking for?

J

Mara 10-18-2002 05:52 AM

It seems your httpd is broken, for me... Try to install newest version.

japhthor 10-18-2002 10:50 AM

When you say, "install newest version", are you talking about re-installing Apache, or reinstalling the operating system? Does the "newest version" of Apache run on this system (486dx100, 20mb RAM, I think probably a 1-2 gig Hard Drive, Red Hat 6.1, you get the idea).

Second: if this is the solution (reinstalling Apache), how would I go about doing it? I confess I'm a Windows guy, and pretty raw at Linux.


J

unSpawn 10-18-2002 10:59 AM

Before you wander into upgrade territory, some of the problems can be a minor config glitch, like trying to run standalone mode Apache tru (x)inetd. Post your config file if you can.

japhthor 10-18-2002 11:19 AM

Hi. Thanks for the response.

Could you give me a hint where to find the config file? Thanks.

J

japhthor 10-18-2002 11:47 AM

a guess
 
This is from /etc/conf.linuxconf

Code:

[base]
LINUXCONF.distribution redhat
notice.10-welcome.help 945186210
module.list 1 redhatppp
module.list 1 modemconf
module.list 1 treemenu
module.list 1 inittab
module.list 1 motd
module.list 1 samba
module.list 1 mailconf
module.list 1 wuftpd
module.list 1 apache
[noarch]
linuxconf.lastlang en_US
[netclient]
DNSCONF.dnsneeded 1
[policies]
passwd.minlen 6
passwd.minnonalpha 0
passwd.defhome /home
passwd.createcmd
passwd.deletecmd /usr/lib/linuxconf/lib/accountdelete.sh
passwd.postdeletecmd
passwd.archivecmd /usr/lib/linuxconf/lib/accountarchive.sh
passwd.privgroup 1
passwd.createperm 448
shadow.default -1 99999 -1 -1 0

Is this the correct file?

j

unSpawn 10-18-2002 12:09 PM

Auch. That's linuxconf's config. IIRC it should reside as httpd.conf in /etc/httpd/conf/, the srm and the access config files being empty ones.

Mara 10-18-2002 02:16 PM

But you should upgrade your Apache, by the way. Your version is quite old and there were many security issues since it was released. The newest version (I guess you prefer the line yu're using now, I mean 1.x) will run your machine without a problem.


All times are GMT -5. The time now is 10:04 AM.