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.

URGENT: cpanel is not working? :eek:

Discussion in 'General Discussion' started by Dennisb1, Feb 9, 2009.

  1. Dennisb1

    Dennisb1 Active Member

    Joined:
    Aug 16, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    The Netherlands
    Hello,

    I have just installed my new certificate i just got from my ssl provider and i installed it into WHM.
    But now both cpanel and whm in ssl or no ssl is not working anymore.
    I restarted cpanel with /etc/init.d/cpanel restart but this has no effect all service's start normall.
    What else can i do to get everything working as soon as possible?
    Any advice?

    Regards,
    Dennis
     
  2. Voltar

    Voltar Well-Known Member

    Joined:
    Apr 30, 2007
    Messages:
    269
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Bakersfield, California
    Check your error logs, try a forced update (/scripts/upcp --force), if in doubt, submit a support ticket.
     
  3. Dennisb1

    Dennisb1 Active Member

    Joined:
    Aug 16, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    The Netherlands
    Im not exactly home in the error logs.
    What error log and where do i need to read?
     
  4. Voltar

    Voltar Well-Known Member

    Joined:
    Apr 30, 2007
    Messages:
    269
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Bakersfield, California
    Try looking in
    Code:
    /usr/local/cpanel/logs/error_log
     
  5. Dennisb1

    Dennisb1 Active Member

    Joined:
    Aug 16, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    The Netherlands
    Oh no.....

    Here is the log :eek:

    Cpanel::IxHash: Warning, mangling data key crt which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1909
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key key which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1910
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key cabundle which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1911
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key crt which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1909
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key key which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1910
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key cabundle which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1911
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key crt which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1909
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key key which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1910
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key cabundle which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1911
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key crt which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1909
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key key which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1910
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key cabundle which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1911
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key crt which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1909
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key key which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1910
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key cabundle which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1911
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key crt which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1909
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key key which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1910
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key cabundle which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1911
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key crt which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1909
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key key which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1910
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key crt which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1909
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key key which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1910
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key crt which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1909
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key key which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1910
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key cabundle which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1911
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key crt which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1909
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key key which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1910
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key cabundle which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1911
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key crt which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1909
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key key which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1910
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647
    Cpanel::IxHash: Warning, mangling data key cabundle which is longer then 64 bytes, using angle_bracket_encode
    Cpanel::IxHash: at whostmgr/bin/whostmgr2.pl line 1911
    main::installcpssl() called at whostmgr/bin/whostmgr2.pl line 647

    What do i have to do to fix this :cry: when i look into /etc/ssl i only see my old certificates when i look at the change date and the inside information so changing that wont do a thing :(
     
    #5 Dennisb1, Feb 9, 2009
    Last edited: Feb 9, 2009
  6. Voltar

    Voltar Well-Known Member

    Joined:
    Apr 30, 2007
    Messages:
    269
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Bakersfield, California
    I can't seem to find an (easy) way to reset the SSL cert from the command line, but I know the cert for cpanel is stored in /var/cpanel/ssl/cpanel. You might try backing that up and doing a forced update of cPanel. That should regenerate a default for you

    cd /var/cpanel/ssl/cpanel
    mv cpanel.pem cpanel.pem.bak
    /scripts/upcp --force


    I just tried this on my FreeBSD dev box and it worked. Sorry I'm half asleep though, I can't currently think of anything else.
     
  7. Dennisb1

    Dennisb1 Active Member

    Joined:
    Aug 16, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    The Netherlands
    Hmm my cpanel.pem is from 11-2008 and contains a diffrant certificate but there is a mycpanel.pem to from this morning i will change all the files to .bak and see what happens i will let you know thanks :eek:
    Since the update is not very quick i will get some breakfest so ill be back in 30 min.
     
    #7 Dennisb1, Feb 9, 2009
    Last edited: Feb 9, 2009
  8. Dennisb1

    Dennisb1 Active Member

    Joined:
    Aug 16, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    The Netherlands
    Oh just when i wanted to eat my cookie:rolleyes: the update completed.
    Cpanel is working again thank you so mutch :D:):D
     
    #8 Dennisb1, Feb 9, 2009
    Last edited: Feb 9, 2009
  9. Voltar

    Voltar Well-Known Member

    Joined:
    Apr 30, 2007
    Messages:
    269
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Bakersfield, California
    No problem, glad I could be of some help.
     
Loading...

Share This Page