Home » » Problem starting Apache 2.2.0 Freebsd

Problem starting Apache 2.2.0 Freebsd

Written By Nusantara Voice on Saturday, November 26, 2011 | 11:15 AM

[root@pisangraja ~]# /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@pisangraja ~]# hostname
pisangraja.jc
[root@pisangraja ~]# vi /etc/hosts
::1                     localhost
127.0.0.1               localhost
192.168.12.200          pisangraja
192.168.12.200          pisangraja.jc
2. Edit httpd conf
[root@pisangraja ~]# 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.
#
ServerName www.pisangraja.jc:80
[root@pisangraja ~]# /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.
Share this article :
Comments
0 Comments

Post a Comment

 
Support : Web Master | webbmatrix | Media Islamic
Copyright © 2010. Aplikasi Facebook Twitter Software Ebook Free - All Rights Reserved
Web master Media news Published by Jurnalis Rakyat.com
Proudly powered by Google