LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   named failed to start: undefined symbol: dns_resolver_setudpsize (https://www.linuxquestions.org/questions/linux-server-73/named-failed-to-start-undefined-symbol-dns_resolver_setudpsize-478967/)

jam1e 08-30-2006 10:00 PM

named failed to start: undefined symbol: dns_resolver_setudpsize
 
Hi,

a few hours ago named stopped working and will now no longer startup, it simply gives this msg:

Starting named: /usr/sbin/named: symbol lookup error: /usr/sbin/named: undefined symbol: dns_resolver_setudpsize
[FAILED]

this is the output from the log at the time it stopped working:


Aug 31 01:03:00 oracle named[2314]: lame server resolving 'ns1.umlhost.co.uk' (in 'umlhost.CO.UK'?): 193.192.50.36#53
Aug 31 01:07:18 oracle named[2314]: invalid command from 127.0.0.1#38109: bad auth
Aug 31 01:07:19 oracle named: named -TERM succeeded
Aug 31 01:07:19 oracle named: succeeded
Aug 31 01:07:19 oracle named[2314]: shutting down
Aug 31 01:07:19 oracle named[2314]: stopping command channel on 127.0.0.1#953
Aug 31 01:07:19 oracle named[2314]: no longer listening on 127.0.0.1#53
Aug 31 01:07:19 oracle named[2314]: no longer listening on xxx.myip.xxxx#53
Aug 31 01:07:19 oracle named[2314]: no longer listening on xxxmyip2.xxxx#53
Aug 31 01:07:20 oracle named[2314]: exiting


i havent changed anything at all on the system lately, it seems to have just randomly died.

i am running CentOS 4.3 with cpanel 10.8.0

anybody got any ideas??

thanks,

Jamie.

rajashree 09-01-2006 12:31 AM

Upgrade Bind
 
Hi,

Here is the Fix :)

root@server [/usr/sbin]# yum upgrade bind*

---------------------------------------
Updated: bind-libs.i386 20:9.2.4-16.EL4
Complete!
--------------------------------------

root@server [/usr/sbin]# service named start
Starting named:

Thank you,
Rajashree.:Pengy:

l2ickard 09-01-2006 06:39 PM

Hello,

I'm having the same problem :scratch:

I tried the yum upgrade bind* command but this is what i get:

Code:

Repository extras is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Setting up Upgrade Process
Setting up repositories
http://linux.mirrors.layeredtech.com/centos/4/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://ibiblio.org/pub/linux/distributions/caoslinux/centos-4/4/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://gtlib.cc.gatech.edu/pub/cAos/centos-4/4/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-4/4/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://acmserver.cs.ucr.edu/centos/centos-4/4/extras/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: extras
failure: repodata/repomd.xml from extras: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from extras: [Errno 256] No more mirrors to try.
root@s1 [/usr/sbin]# service named start
Starting named: /usr/sbin/named: symbol lookup error: /usr/sbin/named: undefined symbol: dns_resolver_setudpsize
                                                          [FAILED]

Do you know what might be wrong? Thanks!

rajashree 09-02-2006 05:43 AM

Hi,

Are you able to ping from the server ?

#ping google.com

Please make sure that you are using correct resolver name servers in /etc/resolv.conf . Please contact your DC and make sure about /etc/resolv.conf name servers . If they are correct , you should able to upgrade bind using yum.

Thanks,
Rajashree.

EjayHire 09-09-2006 11:52 PM

Hi all. I had the same problems tonight, on a clean Centos server install, then "yum install bind bind-chroot"

The problem is that the bind-libs package needs to be upgraded as well. This is really a problem with the bind package, it should require the correct version of bind-libs.

Anyway, the solution is to install/upgrade bind-lib. The catch is, if this is your primary dns server, you might not be able to get it with yum because you can't resolve the hostname of your yum repository.

sooo... if your yum update bind-libs is failing, try 'host google.com'. If you can't resolve google.com to an IP address, then you'll need to (temporarily) add a different nameserver to your /etc/resolv.conf so you can get the package with yum.

...Or, you can get the rpm on another machine and (magic) it onto the server. Then install with rpm -i packagename.rpm.

(magic for me is "rz". For you it might be nfs,scp,ftp,a usb thumbdrive, or a thousand other things.)

Ejay Hire
Hostsouth.com


All times are GMT -5. The time now is 02:22 PM.