Hi,
While error recieve while start/stop/restart apache.
[root@beyond ]# /etc/init.d/httpd restart shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Stopping httpd: [ OK ] Starting httpd: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Any solution?
Thanks
CentOS List wrote:
[root@beyond ]# /etc/init.d/httpd restart
^
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Stopping httpd: [ OK ] Starting httpd: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Looks like you still are in a directory which has been removed.
What happens if you type "cd; service httpd restart"?
Ralph