Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

HELP - named/bind dead after reboot

Discussion in 'Bind/DNS/Nameserver' started by silvernetuk, Nov 14, 2003.

  1. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    United Kingdom
    Hi,

    I sent my server 2 for a reboot on return named/bind will not start, I have try /scripts/fixnamed and /scrtipts/fixndc and it doesn't fix, have tryed manual starting it and it does not, in WHM when trying to restart I get this

    Attempting to restart bind
    Waiting for bind to restart.... . . . . . . . . . . finished.

    /etc/rc.d/init.d/named: line 108: 4053 Segmentation fault /usr/sbin/rndc status bind status


    bind started ok

    and on the Server Status I get

    rpmdb: unable to join the environment error: db4 error(11) from dbenv->open: Resource temporarily unavailable error: cannot open Packages index using db3 - Resource temporarily unavailable (11) error: cannot open Packages database in /var/lib/rpm

    Any Help

    Regards,
    Garry
     
  2. xphost

    xphost Well-Known Member

    Joined:
    Nov 12, 2003
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    156
    i have same problem

    bind dont restart

    /etc/rc.d/init.d/named: line 108: 10858 Segmentation fault /usr/sbin/rndc status

    so bind failed
     
  3. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    United Kingdom
    Yep we been down for over 7hrs now and still no closer to a fix.

    Regards,
    Garry
     
  4. xphost

    xphost Well-Known Member

    Joined:
    Nov 12, 2003
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    156
    who can help - how to start bind?

    /scripts/upcp dont correct work
     
  5. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    Just trying to help brainstorm, but since you're getting that error, try
    /scripts/rpmup
    and then try restarting bind...
     
  6. xphost

    xphost Well-Known Member

    Joined:
    Nov 12, 2003
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    156
    work with errors

    /scripts/rpmup
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    Using RPM Backend: RPM version 4.2
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    Building local rpm requires list...rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    Done
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    Fetching rpmup update list....Done
    Ignoring httpd
    Ignoring httpd-devel
    Ignoring httpd-manual
    Ignoring kernel
    Ignoring kernel-BOOT
    Ignoring kernel-doc
    Ignoring kernel-source
    Ignoring perl
    Ignoring perl-CGI
    Ignoring perl-CPAN
    Ignoring perl-DB_File
    Ignoring perl-suidperl
    Ignoring php
    Ignoring php-devel
    Ignoring php-imap
    Ignoring php-ldap
    Ignoring php-manual
    Ignoring php-mysql
    Ignoring php-odbc
    Ignoring php-pgsql
    Ignoring php-snmp
    Ignoring postfix
     
  7. minasonline

    minasonline Active Member

    Joined:
    Mar 28, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Brazil
    Hello,

    I´m have equal problem... When try ran /scripts/rpmup, i receive:

    root@servidor4 [/var/named]# /scripts/rpmup
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    Using RPM Backend: RPM version 4.2
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    Fetching rpmup update list....Done
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
    Database was generated on Fri, 14 Nov 2003 04:46:37 GMT

    ========

    And now?!
     
  8. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    United Kingdom
    I got that to, I am trying a upcp but doesn;t look good either

    Regards,
    Garry
     
  9. Angel78

    Angel78 Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    413
    Likes Received:
    1
    Trophy Points:
    318
    try ./scripts/updatenow before running rpmup
     
  10. pagedeveloping

    pagedeveloping Well-Known Member

    Joined:
    Jun 11, 2003
    Messages:
    219
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    New York
    Hi All,

    Have you tried to rebuild rpm database through WHM?

    worth a shot!

    Regards,
     
  11. minasonline

    minasonline Active Member

    Joined:
    Mar 28, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Brazil
    Hello Angel78...

    Not work.. The problem continue...
     
  12. minasonline

    minasonline Active Member

    Joined:
    Mar 28, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Brazil
    Hello pagedveloping,

    Look the error:

    D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.681
    D: creating directory /var/lib/rpmrebuilddb.681
    D: opening old database with dbapi 3
    D: opening db environment /var/lib/rpm/Packages joinenv
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
    error: cannot open Packages index
    D: removing directory /var/lib/rpmrebuilddb.681

    Complete!

    ==========

    My datacenter work in this problem too, but...
     
  13. xphost

    xphost Well-Known Member

    Joined:
    Nov 12, 2003
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    156
    Rebuilding RPM Database

    D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.18881
    D: creating directory /var/lib/rpmrebuilddb.18881
    D: opening old database with dbapi 3
    D: opening db environment /var/lib/rpm/Packages joinenv
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
    error: cannot open Packages index
    D: removing directory /var/lib/rpmrebuilddb.18881

    Complete!

    I have RH9 with WHM 8.5.4 cPanel 8.5.4-R7
     
  14. pagedeveloping

    pagedeveloping Well-Known Member

    Joined:
    Jun 11, 2003
    Messages:
    219
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    New York
    Ok Nick had suggested to try this in the cpanel part of this forum

    "DO THIS AT YOUR OWN WILL"

    I guess today everyone is having an hard time with rpm.

    Regards,
     
    #14 pagedeveloping, Nov 14, 2003
    Last edited: Nov 14, 2003
  15. minasonline

    minasonline Active Member

    Joined:
    Mar 28, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Brazil
    Hello pagedeveloping,

    Look the error now:

    root@servidor4 [/var/lib/rpm]# rpm --rebuilddb
    rpmdb: write: 0xbfffd560, 8192: Invalid argument
    error: db4 error(22) from dbenv->open: Invalid argument
    error: cannot open Packages index
     
  16. pagedeveloping

    pagedeveloping Well-Known Member

    Joined:
    Jun 11, 2003
    Messages:
    219
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    New York
    OK than lets run /scripts/rpmup

    and than rpm --rebuilddb
     
  17. minasonline

    minasonline Active Member

    Joined:
    Mar 28, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Brazil
    Hello pagedeveloping...

    Not work...

    root@servidor4 [/var/lib/rpm]# /scripts/rpmup
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    Using RPM Backend: RPM version 4.2
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    Fetching rpmup update list....Done

    :mad:
     
  18. pagedeveloping

    pagedeveloping Well-Known Member

    Joined:
    Jun 11, 2003
    Messages:
    219
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    New York
    To make sure your scripts are up to date lets do the following

    /scripts/updatenow

    One more time try to run rebuild rpm database through WHM

    Than again:

    /scripts/sysup

    /scripts/rpmup
     
  19. minasonline

    minasonline Active Member

    Joined:
    Mar 28, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Brazil
    Any command, show this error:

    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: unable to join the environment
    error: db4 error(11) from dbenv->open: Resource temporarily unavailable
    error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
    error: cannot open Packages database in /var/lib/rpm
    proftpd is not up to date (Wed Dec 31 21:00:00 1969)
     
  20. pagedeveloping

    pagedeveloping Well-Known Member

    Joined:
    Jun 11, 2003
    Messages:
    219
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    New York

    which RedHat are you running? 7.3 or 9
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice