reinstalled dubble services starting

CrazyMouse

Verified User
Joined
Jul 24, 2004
Messages
53
Location
The Netherlands
If i reboot my system, all my services trying te start 2 times.

ftp/shhd/httpd/ etc.

i have, before i booted, did this:

./build clean
./build all


and now, all services ar booting again
but will give errors, becouse, all ports are in use. so he cant boot it 2 times. and keeps going on and on. to start up the sec. service.

the straiger thing is. it's after 3 minuts, after I boot, he will try to start the sec. service.

anyone know, where i can't find it..


if I look in directadmin i see this


Apache - Process is stopped - Start Stop Restart Reload
DirectAdmin - Process is stopped - Start Stop Restart Reload
Exim - Process is stopped - Start Stop Restart
MySQL - Process is stopped - Start Stop
Named - Process is stopped - Start Stop Restart Reload
ProFTPd - Process is stopped - Start Stop Restart
sshd - Process is stopped - Start Stop Restart Reload
vm-Pop3d - Process is stopped - Start Stop Restart



but all the processes are up and running :S

a'm using freeBSD 4.9
 

CrazyMouse

Verified User
Joined
Jul 24, 2004
Messages
53
Location
The Netherlands
I looked in my logs now.

named is in a loop... rebooting the server .. kill the procces have no effect.. something tells the server to start it up again and again and again...

some one please help.....


Jul 27 21:39:35 anke named[79741]: check_hints: A records for B.ROOT-SERVERS.NET class 1 do not match hint records
Jul 27 21:40:22 anke named[80043]: starting (/etc/namedb/named.conf). named 8.3.6-REL Mon Oct 27 14:55:35 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/usr.sbin/named
Jul 27 21:40:22 anke named[80043]: limit files set to fdlimit (1024)
Jul 27 21:40:22 anke named[80043]: ctl_server: bind: /var/run/ndc: Address already in use
Jul 27 21:40:22 anke named[80043]: bind(dfd=20, [80.69.68.216].53): Address already in use
Jul 27 21:40:22 anke named[80043]: deleting interface [80.69.68.216].53
Jul 27 21:40:22 anke named[80043]: bind(dfd=20, [80.69.68.219].53): Address already in use
Jul 27 21:40:22 anke named[80043]: deleting interface [80.69.68.219].53
Jul 27 21:40:22 anke named[80043]: bind(dfd=20, [127.0.0.1].53): Address already in use
Jul 27 21:40:22 anke named[80043]: deleting interface [127.0.0.1].53
Jul 27 21:40:22 anke named[80043]: not listening on any interfaces
Jul 27 21:40:22 anke named[80045]: Ready to answer queries.
Jul 27 21:40:22 anke named[80045]: check_hints: A records for B.ROOT-SERVERS.NET class 1 do not match hint records
Jul 27 21:40:32 anke named[79741]: starting (/etc/namedb/named.conf). named 8.3.6-REL Mon Oct 27 14:55:35 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/usr.sbin/named
Jul 27 21:40:32 anke named[79741]: bind(dfd=22, [80.69.68.219].53): Address already in use
Jul 27 21:40:32 anke named[79741]: deleting interface [80.69.68.219].53
Jul 27 21:40:32 anke named[80070]: Ready to answer queries.
Jul 27 21:40:32 anke named[80070]: check_hints: A records for b.root-servers.net class 1 do not match hint records
Jul 27 21:41:21 anke named[80462]: starting (/etc/namedb/named.conf). named 8.3.6-REL Mon Oct 27 14:55:35 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/usr.sbin/named
Jul 27 21:41:21 anke named[80462]: limit files set to fdlimit (1024)
Jul 27 21:41:21 anke named[80462]: ctl_server: bind: /var/run/ndc: Address already in use
Jul 27 21:41:21 anke named[80462]: bind(dfd=20, [80.69.68.216].53): Address already in use
Jul 27 21:41:21 anke named[80462]: deleting interface [80.69.68.216].53
Jul 27 21:41:21 anke named[80462]: bind(dfd=20, [80.69.68.219].53): Address already in use
Jul 27 21:41:21 anke named[80462]: deleting interface [80.69.68.219].53
Jul 27 21:41:21 anke named[80462]: bind(dfd=20, [127.0.0.1].53): Address already in use
Jul 27 21:41:21 anke named[80462]: deleting interface [127.0.0.1].53
Jul 27 21:41:21 anke named[80462]: not listening on any interfaces
Jul 27 21:41:21 anke named[80464]: Ready to answer queries.
Jul 27 21:41:21 anke named[80464]: check_hints: A records for B.ROOT-SERVERS.NET class 1 do not match hint records
Jul 27 21:41:31 anke named[80070]: starting (/etc/namedb/named.conf). named 8.3.6-REL Mon Oct 27 14:55:35 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/usr.sbin/named
Jul 27 21:41:31 anke named[80070]: bind(dfd=22, [80.69.68.219].53): Address already in use
Jul 27 21:41:31 anke named[80070]: deleting interface [80.69.68.219].53
Jul 27 21:41:31 anke named[80474]: Ready to answer queries.
Jul 27 21:41:31 anke named[80474]: check_hints: A records for B.ROOT-SERVERS.NET class 1 do not match hint records
 
Last edited:

jmstacey

Verified User
Joined
Feb 12, 2004
Messages
4,107
Location
Colorado
Thats the reason right there. DA doesn't see them as running, as such it tries to start them up as is its job.

The error is probably in your method of reinstall. The services have probably changed and DA is looking for them under different names. Did you also install all the packages and other software DA installs? (See setup.sh) Or the DA status script is not configured properly.

You might want to start troubleshooting from the /usr/local/directadimin/scripts directory.
Compare how DA is starting up scripts now as compared to as it should be and see if there are any discrepencies(sp)
Also take a look at the *.sh startup files there for each service and compare them to the ones being used currently on your system.
See if there are duplicates of them in the statup directory.
 
Last edited:
Top