shell-init: could not get current directory

groefie

Verified User
Joined
Apr 1, 2005
Messages
32
Hi,

when restarting any service (http, mysql,...) I always get the following error:

[root@******]# service httpd restart
shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory
chdir: could not get current directory: getcwd: cannot access parent directories: No such file or directory
Stopping httpd: [ OK ]
Starting httpd: [ OK ]

Any idea what's wrong and how to fix this?

Thanks.

Gunther.
 
It's possible you don't have the correct startup scripts for you operating system, or a system function installed that normally is.
 
Back
Top