Selasa, 15 Januari 2013

FreeBsd httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

Ketika konfigurasi Virtual host apache muncul pesan kesalahan seperti di bawah ini :

Performing sanity check on apache22 configuration:
httpd: apr_sockaddr_info_get() failed for
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
apache22 not running? (check /var/run/httpd.pid).
Performing sanity check on apache22 configuration:
httpd: apr_sockaddr_info_get() failed for
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
Starting apache22.
httpd: apr_sockaddr_info_get() failed for
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
/usr/local/etc/rc.d/apache22: WARNING: failed to start apache22


Solusinya:

ketikkan perintah ini di consol
#hostname -s [hostnamenya]
misalnya: #hostname -s bsdku.net
Lalu restart apache22 nya
/usr/local/etc/rc.d/apache22 restart
Hasilnya seperti ini

# /usr/local/etc/rc.d/apache22 restart
Performing sanity check on apache22 configuration:
Syntax OK
apache22 not running? (check /var/run/httpd.pid).
Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
#http://jendelabeerita.blogspot.com

0 komentar:

Posting Komentar

Diberdayakan oleh Blogger.

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Hot Sonakshi Sinha, Car Price in India