Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    836
    cPanel/Enkompass Access Level

    Root Administrator

    Default 9.4.1-S56 breaks Horde and Squirrelmail

    From inside a users cpanel accessing Horde I get this error:
    Warning: main(): SAFE MODE Restriction in effect. The script whose uid is 32001 is not allowed to access /usr/lib/php/PEAR.php owned by uid 0 in /usr/local/cpanel/base/horde/lib/Registry.php on line 13

    Warning: main(PEAR.php): failed to open stream: No such file or directory in /usr/local/cpanel/base/horde/lib/Registry.php on line 13

    Fatal error: main(): Failed opening required 'PEAR.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/local/cpanel/base/horde/lib/Registry.php on line 13
    Accessing Squirrelmail gives this error:
    Error opening ../data/default_pref
    Could not create initial preference file!
    /home/acornsol/.sqmaildata should be writable by user acornsol
    Please contact your system administrator and report this error.
    However both Horde and Squirrelmail work correctly from https://domain.com:2096/

    I have tried /scripts/makecpphp
    and it doesn't fix it.
    RHEL 3.0

    Anyone had a similiar problem?
    Michael

  2. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default Re: 9.4.1-S56 breaks Horde and Squirrelmail

    Originally posted by rs-freddo
    From inside a users cpanel accessing Horde I get this error:Accessing Squirrelmail gives this error:However both Horde and Squirrelmail work correctly from https://domain.com:2096/

    I have tried /scripts/makecpphp
    and it doesn't fix it.
    RHEL 3.0

    Anyone had a similiar problem?
    try

    touch /var/cpanel/usecpphp

  3. #3
    Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    836
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Thanks!!!!!!!!!!!!!!!!!!!!

    That worked perfectly.

    One more problem I noticed during nightly backups:
    Copying proftpd file....Done
    Copying www logs.............
    Done
    Grabbing mysql dbs.../usr/bin/mysqldump: Got error: 1049: Unknown database 'Warning! the mysql feature has been disabled!' when selecting the database
    Done
    Grabbing mysql privs...Done
    Copying mailman lists....Done
    Seems to only happen on Packages that have MySql disabled in the associated Feature list.
    Michael

  4. #4
    Member
    Join Date
    Jul 2002
    Posts
    350

    Default

    /scripts/makecpphp ----> solved the problem

  5. #5
    Member
    Join Date
    Mar 2002
    Posts
    46

    Default Re: Re: 9.4.1-S56 breaks Horde and Squirrelmail

    Originally posted by bdraco
    try

    touch /var/cpanel/usecpphp
    that worked for me.

  6. #6
    Member
    Join Date
    Nov 2001
    Posts
    56

    Default

    Worked for me! Woo hoo! Thanks guys!

  7. #7
    Member
    Join Date
    May 2004
    Location
    Aggieland, TX
    Posts
    15

    Default

    That definately helped my problems too. Had the exact same error as above but only had to touch the file to get it to work. *goes back to pet the file now* hehe
    Christoper Weldon
    IT Systems Administrator
    CerberusOnline.com
    cweldon@cerberusonline.com

  8. #8
    Member
    Join Date
    Sep 2003
    Posts
    658

    Default

    Yes, the touch works for horde. However, can your addon mailbox users login? Ours can not...Comes up with wrong user and pass. Neomail works fine

  9. #9
    Member
    Join Date
    Dec 2003
    Posts
    12

    Default

    Have the same issue; the owner of the domain can log in fine, but the addon email accounts can only use NeoMail.

  10. #10
    cPanelBilly
    Guest

    Default

    On a linux box try:
    killall -9 imapd
    /scripts/servicerst_imap

  11. #11
    Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    675

    Default

    touch /var/cpanel/usecpphp
    Then I tried to

    /scripts/makecpphp

    Then restarted IMAP.

    Trying

    /scripts/restartsrv_imap
    You had a typo heh

    Then restarted Cpanel

    /etc/init.d/cpanel restart

    Fixed
    Upload Guardian 2.0 - Sign up for our early beta
    ServerProgress - Server security, consulting and assistance

  12. #12
    Member
    Join Date
    Aug 2001
    Posts
    130

    Default

    Sure but what exactly does this do? What would cause it to just stop working today? I don't recall updating anything. Thanks for your help...

  13. #13
    Member
    Join Date
    Dec 2003
    Posts
    12

    Default

    How irritationg; I have followed all of thosesteps, and my addon email accounts are still unable to acess webmail. Both horde and squirrelmail say that it is a username/password problem, and again NeoMail works fine.

  14. #14
    Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    836
    cPanel/Enkompass Access Level

    Root Administrator

    Wink

    Quote Originally Posted by thanatopsizer
    How irritationg; I have followed all of thosesteps, and my addon email accounts are still unable to acess webmail. Both horde and squirrelmail say that it is a username/password problem, and again NeoMail works fine.
    Different problem, that's why!
    Do:
    cp /usr/local/cpanel/3rdparty/bin/imapd /usr/sbin
    restart imap

    to fix your problem.
    Michael

  15. #15
    Member
    Join Date
    Dec 2003
    Posts
    12

    Default

    Yay; everything works now. Thanks alot.
    Last edited by thanatopsizer; 09-07-2004 at 05:39 PM.

Similar Threads & Tags
Similar threads

  1. horde/squirrelmail errors.
    By Regulator in forum Database Discussions
    Replies: 6
    Last Post: 01-11-2008, 02:26 PM
  2. Horde and Squirrelmail
    By Joeh in forum E-mail Discussions
    Replies: 2
    Last Post: 08-05-2007, 02:27 AM
  3. How to tell who is using Horde and who is using SquirrelMail?
    By spaceman in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-20-2005, 09:00 AM
  4. Username change breaks squirrelmail
    By GOT in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-31-2004, 02:23 PM
  5. Horde addition in 81/82 breaks
    By dRiver in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 09-19-2002, 03:38 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube