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.

php backup script error in email log

Discussion in 'Data Protection' started by d33pa, May 11, 2009.

  1. d33pa

    d33pa Registered

    Joined:
    Feb 11, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I am hoping someone can help me on this issue. I run a php backup script which resides on my local ubuntu server and not the cpanel server, i have all my accounts under cpanel on this one php script. I run this one script weekly on 2 different reseller accounts/servers (and two different companies with different geographical locations).

    the server that I am getting the error log emailed to me is :
    cPanel 11.24.4-R35075 - WHM 11.24.2 - X 3.9
    CENTOS 5.3 x86_64 virtuozzo on servername

    The other server, i have no errors what so ever on the email log.

    Note, I still get a backup on my local server no problems. I am afraid that it may be an incomplete backup because of the errors; and I dont want to find out when its too late. I have asked the company of whom i purchase the resellers service, and they come back saying that they can create a backup from cpanel no problems, they dont understand that I am trying to automate this job via cron (on my ubuntu). Indeed when the backups are done manually on cpanel, the email does not show any errors. Just when I do it remotely. Note, that the same script goes to a different server and all those backups are dandy (no errors), so I am confident its not the script, maybe a permissions thing on the cpanel server.. Any help is appreciated.

    TIA!

    The errors I am getting are:

    Code:
    pty_allocate(nonfatal): posix_openpt(): No such file or directory at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    IO::Tty::pty_allocate(nonfatal): grantpt(): Exec format error at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    IO::Tty::open_slave(nonfatal): open(/dev/ttyp2): Permission denied at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    pty_allocate(nonfatal): getpt(): Permission denied at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    pty_allocate(nonfatal): openpty(): Exec format error at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    pty_allocate(nonfatal): open(/dev/ptmx): No such file or directory at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    IO::Tty::pty_allocate(nonfatal): grantpt(): Exec format error at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    IO::Tty::open_slave(nonfatal): open(/dev/ttyp2): Permission denied at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    IO::Tty::pty_allocate(nonfatal): grantpt(): Exec format error at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    IO::Tty::open_slave(nonfatal): open(/dev/ttyp2): Permission denied at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    IO::Tty::pty_allocate(nonfatal): grantpt(): Exec format error at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    IO::Tty::open_slave(nonfatal): open(/dev/ttyp4): Permission denied at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    IO::Tty::pty_allocate(nonfatal): grantpt(): Exec format error at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    IO::Tty::open_slave(nonfatal): open(/dev/ttyp4): Permission denied at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    IO::Tty::pty_allocate(nonfatal): grantpt(): Exec format error at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/IO/Pty.pm line 24, <STDIN> line 1.
    Copying backup.....0%....4%....4%....5%....5%....6%....6%....6%....6%....6%....7%....7%....7%....7%....7%....7%....8%....8%....8%....9%....10%....10%....11%....12%....12%....13%....14%....15%....17%....19%....19%....21%....22%....24%....25%....27%....28%....29%....30%....31%....32%....32%....33%....34%....35%....36%....37%....37%....38%....39%....40%....41%....42%....43%....43%....44%....45%....45%....46%....47%....47%....48%....49%....50%....50%....51%....51%....51%....52%....53%....53%....53%....54%....55%....55%....56%....57%....58%....59%....59%....60%....61%....61%....62%....63%....64%....65%....66%....67%....68%....70%....70%....71%....72%....74%....74%....75%....76%....77%....77%....78%....79%....79%....80%....80%....81%....82%....82%....83%....83%....84%....84%....85%....86%....87%....88%....89%....90%....92%....93%....93%....94%....95%....95%....96%....98%....98%....99%....100%.....Done
    --------------------------------------------------------
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Is this script being run as root on both servers?
     
Loading...

Share This Page