LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2002, 03:04 AM   #1
japhthor
LQ Newbie
 
Registered: Oct 2002
Location: The Big White House
Distribution: RH 6.1
Posts: 5

Rep: Reputation: 0
Unhappy 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
 
Old 10-18-2002, 03:22 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Post the last lines from the error_log file (probably something like /var/log/apache/error_log on a default setup) here!
 
Old 10-18-2002, 03:49 AM   #3
japhthor
LQ Newbie
 
Registered: Oct 2002
Location: The Big White House
Distribution: RH 6.1
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 10-18-2002, 06:52 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
It seems your httpd is broken, for me... Try to install newest version.
 
Old 10-18-2002, 11:50 AM   #5
japhthor
LQ Newbie
 
Registered: Oct 2002
Location: The Big White House
Distribution: RH 6.1
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 10-18-2002, 11:59 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
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.
 
Old 10-18-2002, 12:19 PM   #7
japhthor
LQ Newbie
 
Registered: Oct 2002
Location: The Big White House
Distribution: RH 6.1
Posts: 5

Original Poster
Rep: Reputation: 0
Hi. Thanks for the response.

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

J
 
Old 10-18-2002, 12:47 PM   #8
japhthor
LQ Newbie
 
Registered: Oct 2002
Location: The Big White House
Distribution: RH 6.1
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 10-18-2002, 01:09 PM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
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.
 
Old 10-18-2002, 03:16 PM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd dead but subsys locked paleogryph Linux - Software 3 05-18-2016 11:37 AM
httpd dead but subsys locked x2000koh Linux - General 5 03-21-2005 06:26 PM
service httpd status, results in httpd dead but subsys locked squadja Red Hat 2 09-11-2004 11:31 PM
Squid:2nd Browser access Internet SPEED dead becomes dead slow mwj Linux - Software 1 10-04-2003 02:40 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM


All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration