Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Servers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jackrabbit123
n00b
n00b


Joined: 09 Mar 2003
Posts: 25
Location: Ft. Sill, OK

PostPosted: Fri Sep 05, 2003 1:47 am    Post subject: Servers Reply with quote

When I installed apache2 on my system I recieved an error that said it couldn't find my hostname and then the server would never stay running. I edited the config file to specify a hostname of 'jackrabbit' as the hostname and it stopped complaining, however it still doesn't stay running. What do I need to do to get this working. It's quite frustrating not having a webserver.
Looking in the errorlog it says:
[Wed Sep 03 00:13:47 2003] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "jackrabbit"
Configuration Failed
While I'm at it I might as well ask for help with my proftpd server. It runs but the server refuses to accept connections. In /etc/xinet.d/proftpd I have:
service ftp
{
flags = REUSE
socket_type = stream
instances = 30
wait = no
user = root
server = /usr/sbin/proftpd
log_on_success = HOST PID
log_on_failure = HOST RECORD
disable = no
}

THanks for any help
Back to top
View user's profile Send private message
Ox-
Guru
Guru


Joined: 19 Jun 2003
Posts: 305

PostPosted: Fri Sep 05, 2003 1:56 am    Post subject: Reply with quote

For apache2, try putting your hostname in /etc/hostname and then add an entry for it in /etc/hosts.

For example:
Code:
# cat /etc/hostname
blaze
# cat /etc/hosts
127.0.0.1       localhost
192.168.0.1     blaze

Can't really help with the proftpd problem except by asking have you checked its config file(s)?
Back to top
View user's profile Send private message
jackrabbit123
n00b
n00b


Joined: 09 Mar 2003
Posts: 25
Location: Ft. Sill, OK

PostPosted: Fri Sep 05, 2003 3:47 am    Post subject: apache2 fixed Reply with quote

that worked, I had an old version of /etc/hosts in there that wasn't appropriate once I moved. thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum