Monday, January 19, 2015

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory


Hello Friends
Yesterday I have faced a problem While restarting apache
=======
]# /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
[ OK ]
]#
===========
may be you also face this or already faced.
Don’t surprise …Just change your current directory by using ” cd/ ” , or cd to any direcotry .. it will fix the error

This error usually occur res when some one deleted the current working directory (cwd)

No comments:

Post a Comment