Cannot start directadmin service

josetann

Verified User
Joined
Aug 3, 2003
Messages
29
Location
Tennessee
Can't access the directadmin url (http://freebsd.arshost.com:2222), says connection refused. Got this email:

A new message or response with subject:

The service 'directadmin' on server freebsd.arshost.com is currently down

has arrived for you to view.
Follow this link to view it:

http://freebsd.arshost.com:2222/CMD_TICKET?action=view&number=000000000&type=ticket


======================================================
Automatically generated email produced by DirectAdmin 1.194100

Do Not Reply.


So some part of it seems to be working. I try to manually start it using the command "/usr/local/etc/rc.d/directadmin start" and it says it started ok, but when I tell it to stop it says "Failed". Looks to me like it's not actually starting up correctly. So I look in directadmin's error log and get this:

2003:09:17-21:25:04: ioctl can't find the server's ip address for dc0
2003:09:17-21:25:04: The license file does not match your ip

Now, I'm using the correct IP, but it's not on dc0. It's binded to lnc0.
 
You need to edit /usr/local/directadmin/conf/directadmin.conf and change:
ethernet_dev=dc0
to
ethernet_dev=lnc0

Or for others, whatever replace dc0 with whatever your interface is(for example mine is fxp0).
 
Last edited:
Back
Top