Problem starting Apache 2.2.0 Freebsd

Problem starting Apache 2.2.0 Freebsd


[root@puskom ~]# /usr/local/etc/rc.d/apache22 restart
Performing sanity check on apache22 configuration:
httpd: apr_sockaddr_info_get() failed for pisangraja.jc
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
Stopping apache22.
Waiting for PIDS: 11416.
Performing sanity check on apache22 configuration:
httpd: apr_sockaddr_info_get() failed for pisangraja.jc
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 pisangraja.jc
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

Just fix your hosts file and httpd conf
1. Edit hosts file :
[root@puskom ~]# hostname
puskom.magangbbs.com
[root@puskom ~] # vi /etc/hosts
::1                           localhost
127.0.0.1                localhost
192.168.1.89          puskom.magangbbs
192.168.1.89          puskom.magangbbs.com

2. Edit httpd conf
[root@puskom ~]#  vi /usr/local/etc/apache22/httpd.conf
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn’t have a registered DNS name, enter its IP address here.
#
# tambahkan servername kalian ###
ServerName www.puskom.magangbbs.com:80
 

[root@puskom ~]# /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.
DOne
subscribe

Subscribe

Monitor continues to update the latest from This blog directly in your email!

oketrik

0 komentar to Problem starting Apache 2.2.0 Freebsd :

Posting Komentar