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.

SquirrelMail Issues AGAIN

Discussion in 'E-mail Discussions' started by ryno267, Apr 8, 2004.

  1. ryno267

    ryno267 Well-Known Member

    Joined:
    Mar 3, 2004
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chandler, AZ
    cPanel Access Level:
    Root Administrator
    SquirrelMail Issues AGAIN

    First off... whats happening... I can't find anything that is Overwriting squirrelmail in the whm but i had 1.4.0 when i got server and that started messing up and giving these errors:
    ------------------------------------------------
    Error opening ../data/default_pref
    Could not create initial preference file!
    //.sqmaildata should be writable by user nobody
    ------------------------------------------------
    I deleted all that crap and installed 1.4.2 in the /3rdparty/squirrelmail dir (same as old one) and did config files and then edited httpd.conf so /webmail would goto the squirrelmail dir instead of the cpanel one, which is the way i wanted it in the first place. This worked fine from sunday early morning till sometime today.
    NOW, the damn squirrelmail is BACK to 1.4.0 and giving me the same frickin error. What the hell happened there?
    Is there something that checks changes in scripts that would revert the squirrelmail back to the way it was?

    I lost all the extra coding I did to squirrelmail 1.4.2 now and have clients once again locked out of thier webmail. This has got to get solved ASAP. I'm having more problems with this server than is needed or I can handle.

    I tried installing squirrelmail into a NEW dir like /3rdparty/sqmail (instead of /squirrelmail) and fwd /webmail in httpd.conf to that one... yet when I try to log in - I get the same error as above. I was hoping that it would work so that directory wouldn't get over-written by whatever it is that is doing it.
    This other dir didn't work because I'm assuming that it doesnt know where to find the email boxes created by cpanel, like only cpanel posts to the /squirrelmail directory that was installed by default?? Is there a way to install squirremail to any directory and still make it read webmail from localhost on each domain?
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Everytime you run upcp it will sync 3rd party scripts with cpanel's version.

    If you want to install it somewhere else, install it in /usr/local/apache/htdocs/
    Then make the /webmail link point there.
     
  3. ryno267

    ryno267 Well-Known Member

    Joined:
    Mar 3, 2004
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chandler, AZ
    cPanel Access Level:
    Root Administrator
    Can I tell the upcp when to run and what to update and what not to update? And where do i find upcp ?

    If i install squirrelmail into /usr/local/apache/htdocs/ will it read all accounts and stuff like that?

    Any idea about the errors and why its saying that and how to fix it?

    I'll install sqm into /usr/local/apache/htdocs/ right now to test..

    thanks for quick reply !!
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    You tell upcp when to run from "update preferences" in WHM. It's found in /scripts/upcp

    Yes, squirrelmail will still read all accounts in /usr/local/apache/htdocs.

    No, I don't know what the errors are. If you want to get rid of them delete the squirrelmail directory from the 3rdparty folder and then update cpanel again.
    /scripts/upcp --force
     
  5. ryno267

    ryno267 Well-Known Member

    Joined:
    Mar 3, 2004
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chandler, AZ
    cPanel Access Level:
    Root Administrator
    ok... installed into the /htdocs and redid the httpd.conf restarted / upcp'ed everyting.. etc... blah blah...

    still getting this error when trying to log in...

    Code:
    Error opening ../data/default_pref
    Could not create initial preference file!
    ../data/ should be writable by user nobody
    Please contact your system administrator and report this error.
    God this is killing me.... any ideas?
     
  6. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    chmod -R 666 /usr/local/apache/htdocs/squirrelmail/data/
    chown nobody:nobody /usr/local/apache/htdocs/squirrelmail/data/
     
  7. ryno267

    ryno267 Well-Known Member

    Joined:
    Mar 3, 2004
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chandler, AZ
    cPanel Access Level:
    Root Administrator
    okay... did that and got...
    ----------------------------------------------------

    Error opening ../data/default_pref
    Default preference file not found or not readable!

    ----------------------------------------------------
    Then I did the same to the default_pref File and got same error. tried 777 on the default_pref to no avail... lol.. this is crazy...

    anything else could be wrong?
     
Loading...

Share This Page