View previous topic :: View next topic |
Author |
Message |
mycroes Tux's lil' helper
Joined: 26 May 2003 Posts: 110 Location: Netherlands
|
Posted: Sun Jun 08, 2003 8:08 pm Post subject: Apache not working after emerge? |
|
|
After I emerged apache and ran it first time it gave as output I didn't define a server name so I changed the servername. When I restarted apache after this it only shows [!!] and nothing else, it isn't started or anything. Do I need to do some more than just setting server name?
Greetings,
Michael _________________ In a world without walls or fences we don't need windows or gates |
|
Back to top |
|
|
SSilver2k2 n00b
Joined: 02 Jun 2003 Posts: 3
|
Posted: Mon Jun 09, 2003 6:16 am Post subject: |
|
|
Do you have in your host file
127.0.0.1 localhost <servername> |
|
Back to top |
|
|
mycroes Tux's lil' helper
Joined: 26 May 2003 Posts: 110 Location: Netherlands
|
Posted: Mon Jun 09, 2003 8:15 am Post subject: No I didn't :D |
|
|
Thnx, that worked for me, never thought it could be so simple. Thanx again.
Greetings,
Michael _________________ In a world without walls or fences we don't need windows or gates |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Tue Jun 10, 2003 1:36 pm Post subject: |
|
|
what should i put for a servername if i dont have a domain name registered and will just be using the IP address?
right now i have:
Quote: |
127.0.0.1 localhost <blah>
|
|
|
Back to top |
|
|
mycroes Tux's lil' helper
Joined: 26 May 2003 Posts: 110 Location: Netherlands
|
Posted: Tue Jun 10, 2003 1:46 pm Post subject: Choose one |
|
|
It doesn't matter at all what kind of hostname you choose, you could even set it too my_priv_server if you'd like too Just use your name or JimLynchProducts or something
Greetings,
Michael _________________ In a world without walls or fences we don't need windows or gates |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Tue Jun 10, 2003 1:51 pm Post subject: |
|
|
its still gives me this error message when using /etc/init.d/apache start
Quote: |
root@lyncjp0-pc conf # /etc/init.d/apache restart
* Starting apache...
[Tue Jun 10 10:48:39 2003] [alert] apache: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ !! ]
root@lyncjp0-pc conf # /etc/init.d/apache status
* status: stopped
root@lyncjp0-pc conf #
|
my hosts file is the same as is listed above. i have not changed any settings in the apache conf file. any ideas? thanks for the help |
|
Back to top |
|
|
mycroes Tux's lil' helper
Joined: 26 May 2003 Posts: 110 Location: Netherlands
|
Posted: Tue Jun 10, 2003 4:57 pm Post subject: Error |
|
|
The first tiem I started apache it gave this error, but that was before I even set anything at all... After I set my hostname it just wouldn't start and didn't even generate any kind of error... (except [!!] ).
Did you set a servername and is that name in your hosts file too? Otherwise try setting servername to localhost.
I hope this works for you.
Greetings,
Michael _________________ In a world without walls or fences we don't need windows or gates |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Tue Jun 10, 2003 5:22 pm Post subject: |
|
|
not sure how...but i fixed it. thanks for the help!
now im onto wrestling with cgi! |
|
Back to top |
|
|
|