The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

perl problem?

Discussion in 'General Discussion' started by haze, Jan 16, 2002.

  1. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    I have a user that is having a problem with a script since last night. I have a feeling it has something to do with something that may have been done during a nightly update? I dunno. Here is the error:
    /usr/bin/perl: relocation error: /usr/lib/perl5/5.6.1/i686-linux/auto/NDBM_File/NDBM_File.so: undefined symbol: dbm_open
    ~/www/cgi-bin/Package
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    This problem seems to have fixed itself.. strange..
     
  3. jmaster

    jmaster Registered

    Joined:
    Jan 27, 2002
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have the same problem, but mine did not auto-magically fix.

    Where do I get those ndbm libraries?
     
  4. Craig

    Craig Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    171
    Likes Received:
    0
    Trophy Points:
    16
    We have the exact same problem at the moment on a server. Running /scripts/installdbi did not work. Neither did reinstalling perl.

    Any one have any ideas?

    Craig.
     
  5. klank

    klank Member

    Joined:
    Jan 9, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I also have this problem on my Redhat 8 box. Any idea on what causes it and how to fix it?

    *edit*
    btw I am on day 1 of my 15 day trial. Not a good way to start things off.
     
  6. klank

    klank Member

    Joined:
    Jan 9, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Here is some more info.

    Starting Cpanel4 services: /usr/local/cpanel/cpaneld: relocation error: /usr/local/cpanel/perl/Cpanel/MainIp.so: undefined symbol: PL_sv_no
    [FAILED]
    Starting WebMail services: /usr/local/cpanel/webmaild: relocation error: /usr/local/cpanel/perl/Cpanel/MainIp.so: undefined symbol: PL_sv_no
    [FAILED]
    Starting pop3 services: /usr/local/cpanel/bin/cppop: relocation error: /usr/local/cpanel/perl/POSIX/POSIX.so: undefined symbol: PL_sighandlerp
    [FAILED]
    Starting Cpanel4 Chat services: [ OK ]
    Starting Melange Chat services: execvp: No such file or directory
    [FAILED]
    Starting Cpanel4 ssl services: [ OK ]
    Starting Web Host Manager services: execvp: No such file or directory
    [FAILED]


    Redhat 8 Server install Non-production server
    Installer finished correctly and without error. Cpanel will not start.

    Any help would be appreciated. I really want to run cpanel on my servers, but I am disappointed that it will not run.
     
  7. klank

    klank Member

    Joined:
    Jan 9, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    If no one has any ideas then I am going to do a fresh install of everything. (Thank god this is my testing box)
     
  8. klank

    klank Member

    Joined:
    Jan 9, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    [quote:5ee63fec6c][i:5ee63fec6c]Originally posted by klank[/i:5ee63fec6c]

    If no one has any ideas then I am going to do a fresh install of everything. (Thank god this is my testing box)[/quote:5ee63fec6c]

    Same thing on fresh server install of RH8
     
  9. klank

    klank Member

    Joined:
    Jan 9, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Same thing happens on RH7.3 Any ideas on what kind of bugs you have in the install files?
     
  10. Tim Greer

    Tim Greer Well-Known Member

    Joined:
    Aug 11, 2002
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    It could have been a bad/corrupt build, maybe. Are you having problems with non-Cpanel issues? Try installing a current copy of the stable Cpanel release.
     
  11. klank

    klank Member

    Joined:
    Jan 9, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    [quote:d6d7d6c26a][i:d6d7d6c26a]Originally posted by Tim Greer[/i:d6d7d6c26a]

    It could have been a bad/corrupt build, maybe. Are you having problems with non-Cpanel issues? Try installing a current copy of the stable Cpanel release.[/quote:d6d7d6c26a]

    Ive done the following:

    First install slightly modified RH8 server install, cpanel install via layer1.cpanel.net/latest do all of its auto things
    Second install fresh RH8 server install, cpanel install via layer1.cpanel.net/latest do all of its auto things
    Third install fresh RH7.3 server install, cpanel install via layer1.cpanel.net/latest do all of its auto things
    Fourth install fresh RH7.3 server install, cpanel install by downloading cpanel-redhat7.3-install.sea

    All files were downloaded. So corrupt data is very unfeaseable, considering its crc checked =P Its all cpanel. I have no problems with anything else.
     
  12. Tim Greer

    Tim Greer Well-Known Member

    Joined:
    Aug 11, 2002
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Sorry, to be more clear, I meant a bad build, not a corrupt file itself. But if you downloaded all the different times and it failed ot work still, that certainly can be ruled out in all likelihood.

    What does &rpm --verify `rpm -qa`& output?

    What does:

    ldd /usr/lib/perl5/5.6.1/i686-linux/auto/NDBM_File/NDBM_File.so

    output?

    Check your /etc/ld.so.conf file and make sure all the relevant lib paths are specified.
     
  13. klank

    klank Member

    Joined:
    Jan 9, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    [quote:2172dbabfe][i:2172dbabfe]Originally posted by Tim Greer[/i:2172dbabfe]

    Sorry, to be more clear, I meant a bad build, not a corrupt file itself. But if you downloaded all the different times and it failed ot work still, that certainly can be ruled out in all likelihood.

    What does &rpm --verify `rpm -qa`& output?
    [/quote:2172dbabfe]

    qa not installed. Dont know what significance that has considering the installer nor cpanel is rpm

    [quote:2172dbabfe]
    What does:

    ldd /usr/lib/perl5/5.6.1/i686-linux/auto/NDBM_File/NDBM_File.so

    output?

    Check your /etc/ld.so.conf file and make sure all the relevant lib paths are specified.

    [/quote:2172dbabfe]

    Here the output from the ldd:
    libdb.so.3 =& /usr/lib/libdb.so.3 (0x40005000)
    libc.so.6 =& /lib/libc.so.6 (0x4004a000)
    /lib/ld-linux.so.2 =& /lib/ld-linux.so.2 (0x80000000)

    Ill check the config in a bit. Heres my only complaint bout that. Fresh install of both the os and cpanel. It should configure it correctly and work without me modifying it.
     
  14. klank

    klank Member

    Joined:
    Jan 9, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    BTW I appreciate your help. Its quite frustrating when you look into such a cool product and it fails horribly. I really hope that I can get this working.
     
  15. klank

    klank Member

    Joined:
    Jan 9, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Well my trial license is running out....and I was looking forward to running this software on my server =(
     
Loading...

Share This Page