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

speckados

Well-Known Member
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?
 

speckados

Well-Known Member
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
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.
 

fenixer

Well-Known Member
Feb 23, 2007
92
0
156
Hello.... I work with speckados...

[email protected] [/var/log/mysql]# ls -lad /
drwxr-xr-x 26 root root 4096 jun 1 07:39 //
[email protected] [/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.
 

fenixer

Well-Known Member
Feb 23, 2007
92
0
156
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

[email protected] [~]# 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

[email protected] [~]# ls -lad /
drwxr-xr-x 26 root root 4096 jun  1 10:59 //
Any ideas?
 

Tam

Well-Known Member
Jul 31, 2004
109
2
168
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.
 

k2hostnet

Registered
Sep 17, 2003
3
0
151
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.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
77
308
cPanel Access Level
Root Administrator
What are the permissions on the directory you are executing the script from?
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
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.
 

ashokpomnar

Active Member
Sep 30, 2006
28
0
151
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