Koozali.org: home of the SME Server

Upgrade BIND in SME 5.1.2

Kelvin

Upgrade BIND in SME 5.1.2
« on: December 07, 2002, 12:49:41 PM »
Hi All,

I am trying to upgrade bind in SME 5.1.2 in order to overcome a problem I found with the bind that ships out of the box with 5.1.2. See the following for full details :-

http://forums.contribs.org/index.php?topic=15829.msg61069#msg61069

I downloaded the following packages :

bind-9.2.1-0.71.1.i386.rpm
bind-utils-9.2.1-0.71.1.i386.rpm

and installed them with rpm -Uvh bind-*.rpm

There must have either been command line / parameter differences between the versions or there are scripts which were modified with the upgrade because whenever I reboot the server, the following message comes up during boot and repeats at 5 minute intervals on the server console.

named : extra command line arguments
usage : named [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus]
                      [-p port] [-s] [-t chrootdir] [-u username]

INIT: Id "nd" respawning too fast : disabled for 5 minutes

and after 5 minutes the sames thing appears again.

Additionally, named does not startup automatically (as I cannot get any name resolution at all). From the console prompt, I can manually start up named by typing in the command :-

service named start

Then I can get name resolution, but every 5 minutes the named messages above continue to appear.

I've been trying to track down where or when named is fired up during the boot process to see if I can identify and correct the possible differences in parameters or script changes but have no success so far.

Can anyone help ?

Thanks.

Kelvin

Kelvin

Re: Upgrade BIND in SME 5.1.2
« Reply #1 on: December 08, 2002, 03:41:49 AM »
Ok, here's an update.

I tracked down the startup to a file called /etc/inittab.

Looking at the parameters and comparing between versions, I found that the -g parameter meant different things :-

in bind-8.2.4-1es (SME 5.1.2), -g stands for group

in bind-9.2.1-0.71.1, -g stands for run server in foreground and log to stderr

Modifying the inittab file and removing the -g option including the now unneeded "dns" group name, then rebooting, got rid of the named parameter message but it is still bringing up the messages :-

INIT: Id "nd" respawning too fast: disabled for 5 minutes

Any ideas ?

Kelvin