Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    2

    Default Problems with Webmails and MYSQL after Restoring Backup

    Hello,

    First of all I want you to know that I got hacked through php when running version 9.9. Somehow they changed all the index.html files from all our websites.

    The thing is that I restored all the sites through WHM and upgraded CPanel to v.10 but now I get differente errors from the webmails and also a customer sent me his mysql error from his site:

    Neomal:
    Couldn't open yes-session-0.359122684315906!

    Horde:
    Warning: fopen(/tmp/horde_32001.log): failed to open stream: Permission denied in /usr/local/cpanel/3rdparty/lib/php/Log/file.php on line 202

    Squirrel:
    Warning: session_start(): open(/tmp/sess_83d460196ee4ee770e03e651d7295af7, O_RDWR) failed: Permission denied (13) in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 333

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:333) in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 333


    I believe the problem comes directly from mysql permissions but I really need some advice so I can fix it.

    Thank you.

    JuanjoT

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    chmod 777 /tmp
    /scripts/securetmp

    That should correct the permission problem you have with cached files.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  3. #3
    Registered User
    Join Date
    May 2005
    Posts
    2

    Default

    thank you, it did.

Similar Threads & Tags
Similar threads

  1. Problems restoring cP 10 backup on cP 11 server
    By Xenon101 in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 09-23-2009, 04:33 PM
  2. Problems with restoring mysql dbs
    By aykfounder in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-27-2005, 07:34 AM
  3. problem restoring mysql backup.
    By temion in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-17-2004, 01:04 PM
  4. Problems in the 2 WEBMAILS
    By Roger AIDI in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-30-2003, 04:15 AM
  5. [Restoring] Anyone has experience with WHM backup restoring ?
    By Radio_Head in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-04-2003, 02:19 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube