LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 08-29-2008, 01:11 AM   #1
arya6000
Member
 
Registered: Sep 2005
Posts: 30

Rep: Reputation: 15
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?
 
Old 08-29-2008, 01:25 AM   #2
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
Quote:
Originally Posted by arya6000 View Post
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?
 
Old 08-29-2008, 02:19 AM   #3
arya6000
Member
 
Registered: Sep 2005
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rocket357 View Post
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?
 
Old 08-29-2008, 02:37 AM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
program does not work the first time, work only after restart powah General 1 11-18-2007 12:52 PM
1st time installing redhat - Make and Make Install does not work runlikeanantelope Linux - Newbie 4 02-19-2007 03:58 PM
Mplayer doesn't work from time to time. silin Linux - Newbie 1 02-28-2006 07:51 PM
Why time slot mentioned in /etc/security/time.conf doesn't work pihu Linux - Security 1 01-06-2006 01:20 AM
How about an official x86_64 port ? Isn't about time yet ? small_boy22 Slackware 5 09-18-2005 05:35 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration