Hi, While error recieve while start/stop/restart apache. [root at 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 at 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 directoryLooks like you still are in a directory which has been removed. What happens if you type "cd; service httpd restart"? Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070417/b8ef506a/attachment-0004.sig>