So I just installed apache, and I am new to freebsd, but I do have a good amount of Linux experience.
So I just did
Then I tried
And I got some error, and apache didn't start. So then I went into the config and changed the ServerName to my domain, and I try to start it again, and got some error, I didn't record it, but here is my error log
Now I just relogged in, and I tried
to start it, and now it's saying command not found?
I am really confused now.
So I just did
Code:
/usr/ports/www/apache22
make install clean
Then I tried
Code:
/usr/local/sbin/apachectl start
And I got some error, and apache didn't start. So then I went into the config and changed the ServerName to my domain, and I try to start it again, and got some error, I didn't record it, but here is my error log
Code:
[Sat Oct 31 22:33:07 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:33:07 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:33:25 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:33:25 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:33:47 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:33:47 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:33:48 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:33:48 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:33:55 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:33:55 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:34:18 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:34:18 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:34:22 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:34:22 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:34:35 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:34:35 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:36:21 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:36:21 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:36:22 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:36:22 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:36:23 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:36:23 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:36:23 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:36:23 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:45:23 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:45:23 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:46:40 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:46:40 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:46:50 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:46:50 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:46:51 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:46:51 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:48:26 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:48:26 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
[Sat Oct 31 22:48:34 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 31 22:48:34 2009] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ".local"
Configuration Failed
Now I just relogged in, and I tried
Code:
/usr/local/sbin/apachectl start
I am really confused now.