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.

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

Discussion in 'General Discussion' started by speckados, Dec 16, 2006.

  1. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    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. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    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. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    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.
     
  4. fenixer

    fenixer Well-Known Member

    Joined:
    Feb 23, 2007
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  5. fenixer

    fenixer Well-Known Member

    Joined:
    Feb 23, 2007
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    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
    [COLOR="Red"]/bin/pwd: failed to stat `.': Permission denied[/COLOR]
    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?
     
  6. Tam

    Tam Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    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. k2hostnet

    k2hostnet Registered

    Joined:
    Sep 17, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    What are the permissions on the directory you are executing the script from?
     
  9. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    If this a VPS, run this command from the /scripts directory:
    cd /scripts
    ./fixcommonproblems
    See if that helps.
     
  10. ashokpomnar

    ashokpomnar Active Member

    Joined:
    Sep 30, 2006
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    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
     
Loading...

Share This Page