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.

Broken WebMail

Discussion in 'E-mail Discussions' started by Vinayak, Jun 7, 2007.

  1. Vinayak

    Vinayak Well-Known Member

    Joined:
    Jun 27, 2003
    Messages:
    267
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Bharat
    cPanel Access Level:
    Root Administrator
    After recent (last night) upgrade to cPanel 11 we are getting following error when accessing squirrelmail.


    I tried

    /usr/local/cpanel/install/webmail

    as suggested in one of the thread but got


    Any idea on how to fix this

    Moreover Horde is accessible, it will show new mail count but will say

    when clicked on Inbox.

    What could be wrong here?
     
  2. Vinayak

    Vinayak Well-Known Member

    Joined:
    Jun 27, 2003
    Messages:
    267
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Bharat
    cPanel Access Level:
    Root Administrator
    Still looking for a solution.
     
  3. Vinayak

    Vinayak Well-Known Member

    Joined:
    Jun 27, 2003
    Messages:
    267
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Bharat
    cPanel Access Level:
    Root Administrator
    Well it seems Horde is behaving properly now without ant intervention.

    But that SquirrelMail problem is still there.

    I am still searching the forum, but had not been able to find any proper solution.
     
  4. Vinayak

    Vinayak Well-Known Member

    Joined:
    Jun 27, 2003
    Messages:
    267
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Bharat
    cPanel Access Level:
    Root Administrator
    Can any one explain why this /usr/local/cpanel/base/3rdparty/squirrelmail/functions/strings.php can not be removed even by root.
     
  5. Big Gorilla

    Big Gorilla Active Member

    Joined:
    Jan 30, 2004
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Was strings.php chattr'd? What does lsattr report?
     
  6. Vinayak

    Vinayak Well-Known Member

    Joined:
    Jun 27, 2003
    Messages:
    267
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Bharat
    cPanel Access Level:
    Root Administrator
    Never touched that file before

    lsattr shows

     
  7. Big Gorilla

    Big Gorilla Active Member

    Joined:
    Jan 30, 2004
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Somehow your file got chattr'd to immutable.

    chattr -i strings.php will allow you to delete it, but I'd audit your machine to find out how it got set to immutable in the first place.

    Sometimes immutable is used to just prevent a file from being auto-updated, but sometimes immutable is also used by hackers to keep illicit versions of their files from being overwritten as well.
     
  8. Vinayak

    Vinayak Well-Known Member

    Joined:
    Jun 27, 2003
    Messages:
    267
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Bharat
    cPanel Access Level:
    Root Administrator
    Hey thanks Big Gorilla that did the job.

    Squirrelmail is fixed now.

    chattr -i strings.php

    then

    /usr/local/cpanel/install/webmail

    Fixed the problem

    and now I can see that strings.php is not there

    even tree beyond

    /usr/local/cpanel/base/3rdparty/squirrelmail/

    has changed, it seems cPanel11 has changed the structure.

    As of hackers, I am sure that is not the case, server is well protected.

    Most probably it happened as upgrade hanged at one level, it was restarted.
     
  9. brendanrtg

    brendanrtg Well-Known Member

    Joined:
    Oct 4, 2006
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    We had the same problem and cPanel stuff got it working by installing the libfam.so library.

    Maybe that might work for you too.
     
  10. Vinayak

    Vinayak Well-Known Member

    Joined:
    Jun 27, 2003
    Messages:
    267
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Bharat
    cPanel Access Level:
    Root Administrator
    On my server it was an attribute problem, which I fixed as suggested by Big Gorilla.
     
  11. brendanrtg

    brendanrtg Well-Known Member

    Joined:
    Oct 4, 2006
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    Luckilly, it wasnt an OS attitude problem. Thats a tough one to repair. :D
     
  12. gfisch

    gfisch Member

    Joined:
    Aug 9, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    3rd party php won't run

    When clicking on webmail links, my browser tries to download the file. Php is not working within cpanel?

    (0)# more /usr/local/cpanel/logs/error_log
    /usr/local/cpanel/3rdparty/bin/php: error while loading shared libraries: liblaus.so.1: cannot open shared object file: No such file or directory


    I tried a
    yum provides liblaus

    but it can't find anything.


    I'm running
    Linux 2.6.17-1.2142_FC4smp #1 SMP

    WHM 11.1.0 cPanel 11.4.6-R13580
    FEDORA 4 x86_64 - WHM X v3.1.0

    Any ideas?

    Gord
     
  13. pzodiaco

    pzodiaco Member

    Joined:
    Sep 25, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Gord,

    Check to see if you /usr/local/cpanel/3rdparty/bin/php binaries have updated since the cp11 update.

    Just doing a /usr/local/cpanel/3rdparty/bin/php -v was giving me that error.

    Running /scripts/makecpphp failed for me, I had to go to /home/cpphpbuild/php-4.4.2 and manually configure and install it.

    --Phil
     
  14. RACKSET

    RACKSET Active Member

    Joined:
    Apr 28, 2006
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    localhost
    How did you manually configure and install cpanel local php?
     
  15. 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
    cPanel comes with PHP for use by cpsrvd by default. You can find the php.ini for this PHP installation at: /usr/local/cpanel/3rdparty/etc/php.ini
     
Loading...

Share This Page