LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   httpd (no pid file) not running (https://www.linuxquestions.org/questions/linux-server-73/httpd-no-pid-file-not-running-607589/)

imughal 12-18-2007 07:39 AM

httpd (no pid file) not running
 
hi i m getting errr when tryin to start service


Service : service ns-httpd start

Error:
could not determine the server's fully qualified domain name ns-httpd
/etc/init.d/ns-httpd stop: httpd (no pid file) not running

how to fix it.

thx

utcursch 12-18-2007 08:13 AM

Try these commands:

Code:

# echo your_host_name.your_domain_name.com > /etc/hostname

# /bin/hostname -F /etc/hostname

# service ns-httpd restart


imughal 12-19-2007 01:05 AM

not working
 
my server not on domain its local machine on VM. i tried these commands
when i run services ns-httpd restart i m again getting error could not determine the fully qualified domain name.

kindly tell how to fix it.

thanks

bsdunix 12-19-2007 10:13 AM

A FQDN (fully qualified domain name) includes a hostname, domain, and top-level domain, example: myhostname.example.com

http://en.wikipedia.org/wiki/FQDN
Quote:

my server not on domain its local machine on VM.
Then you can use a pseudo (fake) top-level domain that is not used on the Internet, example: myhostname.home.local or myhostname.test.internal

http://en.wikipedia.org/wiki/Top-level_domain

Place your FQDN in /etc/hosts, that file should already include localhost.
Code:

127.0.0.1  localhost
a.b.c.d    myhostname.home.local  myhostname

replace a.b.c.d with your actual IP address


All times are GMT -5. The time now is 09:06 PM.