View previous topic :: View next topic |
Author |
Message |
jackrabbit123 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Mar 2003 Posts: 25 Location: Ft. Sill, OK
|
Posted: Fri Sep 05, 2003 1:47 am Post subject: Servers |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Ox- Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1826701583f59519636004.gif)
Joined: 19 Jun 2003 Posts: 305
|
Posted: Fri Sep 05, 2003 1:56 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
jackrabbit123 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Mar 2003 Posts: 25 Location: Ft. Sill, OK
|
Posted: Fri Sep 05, 2003 3:47 am Post subject: apache2 fixed |
|
|
that worked, I had an old version of /etc/hosts in there that wasn't appropriate once I moved. thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|