LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-28-2004, 04:50 AM   #1
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Rep: Reputation: 30
apache not working anymore :(


I had apache up and running perfectly, then I went to sleep and when I woke up it was not up. So i started the httpd service and this is what happened...

[root@KL-oolio root]# service httpd start
Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[FAILED]

and this is from ps ax -

[root@KL-oolio root]# ps ax
PID TTY STAT TIME COMMAND
1 ? S 0:04 init
2 ? SW 0:00 [keventd]
3 ? SW 0:00 [kapmd]
4 ? SWN 0:00 [ksoftirqd_CPU0]
9 ? SW 0:00 [bdflush]
5 ? SW 0:00 [kswapd]
6 ? SW 0:00 [kscand/DMA]
7 ? SW 0:00 [kscand/Normal]
8 ? SW 0:00 [kscand/HighMem]
10 ? SW 0:00 [kupdated]
11 ? SW 0:00 [mdrecoveryd]
19 ? SW 0:00 [scsi_eh_0]
20 ? SW 0:00 [kjournald]
77 ? SW 0:00 [khubd]
2955 ? SW 0:00 [kjournald]
2957 ? SW 0:00 [kreiserfsd]
3253 ? S 0:00 syslogd -m 0
3257 ? S 0:00 klogd -x
3275 ? S 0:00 [portmap]
3294 ? S 0:00 [rpc.statd]
3360 ? S 0:00 /usr/sbin/apmd -p 10 -w 5 -W -P /etc/sysconfig/apm-sc
3397 ? S 0:00 /usr/sbin/sshd
3412 ? S 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
3426 ? S 0:00 rpc.rquotad
3430 ? SW 0:00 [nfsd]
3431 ? SW 0:00 [nfsd]
3432 ? SW 0:00 [nfsd]
3433 ? SW 0:00 [nfsd]
3434 ? SW 0:00 [nfsd]
3435 ? SW 0:00 [nfsd]
3436 ? SW 0:00 [nfsd]
3437 ? SW 0:00 [nfsd]
3438 ? SW 0:00 [lockd]
3439 ? SW 0:00 [rpciod]
3445 ? S 0:00 rpc.mountd
3506 ? S 0:00 [sendmail]
3515 ? S 0:00 [sendmail]
3525 ? S 0:00 /usr/bin/spamd -d -c -a
3534 ? S 0:00 gpm -t imps2 -m /dev/psaux
3543 ? S 0:00 crond
3555 ? S 0:00 cupsd
3613 ? S 0:00 [xfs]
3623 ? S 0:00 smbd -D
3627 ? S 0:00 nmbd -D
3645 ? S 0:00 [atd]
3653 tty1 S 0:00 /sbin/mingetty tty1
3654 tty2 S 0:00 /sbin/mingetty tty2
3655 tty3 S 0:00 /sbin/mingetty tty3
3656 tty4 S 0:00 /sbin/mingetty tty4
3657 tty5 S 0:00 /sbin/mingetty tty5
3658 tty6 S 0:00 /sbin/mingetty tty6
3659 ? S 0:00 [gdm-binary]
3702 ? S 0:00 [gdm-binary]
3703 ? S 0:01 /usr/X11R6/bin/X :0 -auth /var/gdm/:0.Xauth vt7
3711 ? S 0:02 /usr/bin/gdmgreeter
3712 ? S 0:05 [smbd]
3808 ? S 0:00 /usr/sbin/sshd
3810 pts/0 S 0:00 -bash
3879 pts/0 R 0:00 ps ax

Any ideas as to what the problem could be?
All my other services seem to be okay - SMB, NFS and FTP...

Cheers guys
 
Old 03-28-2004, 09:02 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Make sure that your hostname is in /etc/hosts next to the loopback.

To see your hostname run:
hostname

The entry in /etc/hosts should be like:
127.0.0.1 localhost localhost.localdomain compname compname.yourdomain
 
Old 03-28-2004, 09:38 AM   #3
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Original Poster
Rep: Reputation: 30
I'm confused with all the domain stuff...
I named my computer KL-oolio and i think the domain is KL.... how do i find out what they are? Should the domain be the internet domain that is forwarded to this computer?

Cheers
 
Old 03-28-2004, 09:48 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Like I said - just run:
hostname

To see your current domain name. You do not need to use the hostname assigned to you by your ISP as long as you maintain your hosts file.
 
Old 03-28-2004, 09:53 AM   #5
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Original Poster
Rep: Reputation: 30
I opened the file and it's empty... is it the one that says "#Do not remove the following line etc etc"??

Is there an IRC channel that people use to talk about linux, as in asking for help?

regards
 
Old 03-28-2004, 11:49 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
There are lots of linux IRC channels but the reason we have these forums is to keep a permenant record of help. Take a look at this google search for your problem and see who is the top hit:
http://www.google.com/search?hl=en&l...=Google+Search


As for the solution to your problem just see my first post in this thread.
 
  


Reply



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
TightVNC not working anymore... OverrRyde Linux - Software 10 12-01-2005 04:57 PM
mplayer was working but doesn't anymore allelopath Linux - Software 1 09-04-2005 04:31 PM
ps/2 mouse not working anymore lopette Linux - Hardware 2 08-31-2004 11:16 AM
APACHE - it worked, but not anymore... Captain_Stu_72 Linux - Networking 2 07-26-2004 04:14 PM
Squirrelmail not working anymore nuzzy Linux - Software 3 08-28-2003 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:20 AM.

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
Open Source Consulting | Domain Registration