LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   Every time I install a port it doesn't work (https://www.linuxquestions.org/questions/%2Absd-17/every-time-i-install-a-port-it-doesnt-work-666211/)

arya6000 08-29-2008 01:11 AM

Every time I install a port it doesn't work
 
Hello

I have tried this on many fresh installs and I get the same results. Today I did another fresh install of Freebsd 7 and I tried installing apache22 by the following command

Code:

pkg_add -r apache22
the files download and everything and I set apache22 to start on boot, but it does not. I got same results when compiling it.

What am I doing wrong?

rocket357 08-29-2008 01:25 AM

Quote:

Originally Posted by arya6000 (Post 3263391)
Hello

I have tried this on many fresh installs and I get the same results. Today I did another fresh install of Freebsd 7 and I tried installing apache22 by the following command

Code:

pkg_add -r apache22
the files download and everything and I set apache22 to start on boot, but it does not. I got same results when compiling it.

What am I doing wrong?

How are you setting apache22 to start on boot?

arya6000 08-29-2008 02:19 AM

Quote:

Originally Posted by rocket357 (Post 3263400)
How are you setting apache22 to start on boot?


Thanks for your reply. I'm not sure where the exact file was, but I followed the instructions after the installation.

But before reading your reply, I removed apache2 by

Code:

pkg_delete apache*
and installed it by

Code:

make install clean
and when I put the command


Code:

/usr/local/etc/rc.d/apache22 start
I get the following massages


Code:

Performing sanity check on apache22 configuration:
httpd: apr_sockaddr_info_get() failed for FreeBSD.FreeBSD
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 FreeBSD.FreeBSD
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

What should I do to fix that error?

chort 08-29-2008 02:37 AM

Edit /etc/hosts and put the correct, fully-qualified hostname in for your IP address.


All times are GMT -5. The time now is 11:23 AM.