Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    May 2003
    Location
    Tiznit (Morocco)
    Posts
    178

    Default /bin/pwd: failed to stat `.': Permission denied

    Hello

    We are experencing a lot of problems on two machines.
    WHM 10.8.0 cPanel 10.9.0-R95
    Fedora i686 - WHM X v3.1.0

    Probklems with exim:

    Log:
    Code:
    local_delivery defer (-52): Retry time not yet reached
    And ohters issues.

    After run /scripts/fixcommomproblems
    Que this message

    Code:
    Processing wellman
    /bin/pwd: failed to stat `.': Permission denied
    Processing zarautzi
    /bin/pwd: failed to stat `.': Permission denied
    Processing alphaele
    /bin/pwd: failed to stat `.': Permission denied
    Processing transjus
    /bin/pwd: failed to stat `.': Permission denied
    I'm tryin run /scripts/fiseverithing and /scripts/eximup --force

    Any solved

    Any ideas?

  2. #2
    Member
    Join Date
    May 2003
    Location
    Tiznit (Morocco)
    Posts
    178

    Default

    Also try to reinstall mailman

    Code:
    Problems found: 77
    Re-run as mailman (or root) with -f flag to fix
    Warning: Private archive directory is other-executable (o+x).
             This could allow other users on your system to read private archives.
             If you're on a shared multiuser system, you should consult the
             installation manual on how to fix this.

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Sounds like your file permissions or ownership might have been screwed up by a wildcard chmod or chown.

    As a start check the permissions on /

    ls -lad /

    That should be something like:

    drwxr-xr-x 28 root root 4096 Oct 25 21:54 //

    Also, make sure that none of your partitions are out of space.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member fenixer's Avatar
    Join Date
    Feb 2007
    Posts
    92

    Default

    Hello.... I work with speckados...

    root@toledo [/var/log/mysql]# ls -lad /
    drwxr-xr-x 26 root root 4096 jun 1 07:39 //
    root@toledo [/var/log/mysql]# df -h
    S.ficheros Tamaño Usado Disp Uso% Montado en
    /dev/sda2 125G 44G 75G 37% /
    /dev/sda1 99M 14M 81M 15% /boot
    tmpfs 2,0G 0 2,0G 0% /dev/shm
    /dev/sda5 3,9G 130M 3,6G 4% /tmp
    /dev/sdb1 135G 20G 108G 16% /backup

    I think it is allright... I will try to reinstall mailman.
    ---

    Kind Regards.
    Gino.... IT Hosting Fenixer
    www.fenixer.es
    www.manuales.fenixer.es

  5. #5
    Member fenixer's Avatar
    Join Date
    Feb 2007
    Posts
    92

    Default

    Already fails...

    It is strange, since reinstalling mailman did the fix in 2 machines..... but I have the problem at 5 more, and reinstalling mailman does not fix the problem, only showing the same errors:

    Code:
    (reinstalling mailman with /scripts/reinstallmailman)
    ....
    ....
    Processing encinasi
    /bin/pwd: failed to stat `.': Permission denied
    Arrancando el qrunner maestro de Mailman
    
    root@donosti [~]# df -h
    S.ficheros          Tamaño Usado  Disp Uso% Montado en
    /dev/sda2             125G   60G   59G  51% /
    /dev/sda1              99M   14M   81M  15% /boot
    tmpfs                 2,0G     0  2,0G   0% /dev/shm
    /dev/sda5             3,9G   86M  3,6G   3% /tmp
    
    root@donosti [~]# ls -lad /
    drwxr-xr-x 26 root root 4096 jun  1 10:59 //
    Any ideas?
    ---

    Kind Regards.
    Gino.... IT Hosting Fenixer
    www.fenixer.es
    www.manuales.fenixer.es

  6. #6
    Tam
    Tam is offline
    Member
    Join Date
    Jul 2004
    Posts
    90

    Default

    Sorry to raise an old thread, but I am also experiencing exactly the same problem. Did the OP acquire a resolution or can anyone else offer a solution?

    ls -lad /
    drwxr-xr-x 27 root root 4096 Oct 16 09:29 /

    df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 19G 6.4G 12G 36% /
    tmpfs 1002M 0 1002M 0% /dev/shm
    /dev/sda7 177G 4.5G 163G 3% /home
    /dev/sda5 4.8G 139M 4.4G 4% /tmp
    /dev/sda2 15G 4.3G 9.3G 32% /usr
    /dev/sda3 9.5G 1.2G 7.9G 13% /var


    thanks in advance.

  7. #7
    Registered User
    Join Date
    Sep 2003
    Posts
    3

    Default

    Anyone find a fix for this?

    /scripts/fixcommonproblems

    Processing xxxxxx
    /bin/pwd: failed to stat `.': Permission denied

    I reinstalled exim, reinstalled mailman, still no luck.

  8. #8
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    What are the permissions on the directory you are executing the script from?

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

    Default

    Quote Originally Posted by k2hostnet View Post
    Anyone find a fix for this?

    /scripts/fixcommonproblems

    Processing xxxxxx
    /bin/pwd: failed to stat `.': Permission denied
    If this a VPS, run this command from the /scripts directory:
    cd /scripts
    ./fixcommonproblems
    See if that helps.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  10. #10
    Member
    Join Date
    Sep 2006
    Posts
    28

    Smile

    Quote Originally Posted by speckados View Post
    Hello

    We are experencing a lot of problems on two machines.
    WHM 10.8.0 cPanel 10.9.0-R95
    Fedora i686 - WHM X v3.1.0

    Probklems with exim:

    Log:
    Code:
    local_delivery defer (-52): Retry time not yet reached
    And ohters issues.

    After run /scripts/fixcommomproblems
    Que this message

    Code:
    Processing wellman
    /bin/pwd: failed to stat `.': Permission denied
    Processing zarautzi
    /bin/pwd: failed to stat `.': Permission denied
    Processing alphaele
    /bin/pwd: failed to stat `.': Permission denied
    Processing transjus
    /bin/pwd: failed to stat `.': Permission denied
    I'm tryin run /scripts/fiseverithing and /scripts/eximup --force

    Any solved

    Any ideas?
    Hello,It seems to suid is not set fro /bin/pwd binary please run following command to fix it.
    chmod u+s /bin/pwd

    It will work.
    Enjoy

Similar Threads & Tags
Similar threads

  1. /bin/sh: /usr/bin/wget: Permission denied
    By capoinfra in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-21-2010, 09:21 AM
  2. fixeverything, /bin/pwd: failed to stat `.': Permission denied
    By fedlerner in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-07-2008, 12:48 PM
  3. /bin/su: Permission denied
    By mikailyuksel in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-08-2006, 12:55 PM
  4. Permission denied: failed to open tmp/
    By pats in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-04-2006, 04:40 AM
  5. /bin/ls: .: Permission denied error for shell
    By dom182 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-26-2004, 09:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube