-   Linux - Server (
-   -   httpd (no pid file) not running (

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

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.


utcursch 12-18-2007 08:13 AM

Try these commands:


# echo > /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.


bsdunix 12-19-2007 10:13 AM

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

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

Place your FQDN in /etc/hosts, that file should already include localhost.
Code:  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 01:08 AM.