Error Retrieving Current Directory Getcwd Cannot Access Parent Directories
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies error retrieving current directory getcwd cannot access parent directories permission denied of this site About Us Learn more about Stack Overflow the company Business
Error Retrieving Current Directory Getcwd Cannot Access Parent Directories No Such File Or Directory
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges
Shell-init Error Retrieving Current Directory Getcwd Cannot Access Parent Directories
Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute:
Shell-init Error Retrieving Current Directory
Sign up shell init issue when click tab, what's wrong with getcwd? up vote 73 down vote favorite 6 once i click Tab on bash, the error message will appear, what's wrong? symlink-hook: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory symlink-hook: error retrieving current directory: getcwd: cannot access parent directories: Success symlink-hook: error retrieving current directory: shell-init error retrieving current directory getcwd cannot access parent directories bad address getcwd: cannot access parent directories: Success symlink-hook: error retrieving current directory: getcwd: cannot access parent directories: Success symlink-hook: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory symlink-hook: error retrieving current directory: getcwd: cannot access parent directories: Success symlink-hook: error retrieving current directory: getcwd: cannot access parent directories: Success symlink-hook: error retrieving current directory: getcwd: cannot access parent directories: Success sometimes, the error message is: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No s uch file or directory how to solve shell init problem? linux bash shell pwd getcwd share|improve this question asked Sep 9 '12 at 10:15 hugemeow 1,82552346 add a comment| 4 Answers 4 active oldest votes up vote 131 down vote This usually occurs when your current directory does not exist anymore. Most likely, from another terminal you remove that directory (from within a script or whatever). To get rid of this, in case your current directory was recreated in the meantime, just cd to another (existing) directory and then cd back; the simplest would be: cd; cd -. share|improve this answer answered Sep
by sandoz, Sep 17, 2008. sandoz New Member i have installed fedora according http://www.howtoforge.com/perfect-server-fedora9 then i installed ispconfig; now i am getting these errors when i f.i. stop/start a service job-working-directory: error retrieving current directory [[emailprotected] install_ispconfig]# service httpd stop shell-init: error retrieving current directory: getcwd: cannot access ssh shell init error retrieving current directory parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such ssh shell init error retrieving current directory getcwd file or directory Stopping httpd: [ OK ] [[emailprotected] install_ispconfig]# service httpd start shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving http://stackoverflow.com/questions/12338233/shell-init-issue-when-click-tab-whats-wrong-with-getcwd current directory: getcwd: cannot access parent directories: No such file or directory Starting httpd: [ OK ] anyone an idea? sandoz, Sep 17, 2008 #1 falko Super Moderator ISPConfig Developer The install_ispconfig directory in which you're currently located does not exist anymore because it was deleted at the end of the ISPConfig installation. Please go to another directory, and you won't https://www.howtoforge.com/community/threads/shell-init-error-retrieving-current-directory-getcwd-cannot-access-parent-director.26899/ see any errors anymore. falko, Sep 18, 2008 #2 (You must log in or sign up to reply here.) Show Ignored Content Share This Page Tweet Log in with Facebook Log in with Twitter Log in with Google Your name or email address: Do you already have an account? No, create an account now. Yes, my password is: Forgot your password? Stay logged in Sign up now! Forum Statistics Discussions: 53,554 Messages: 284,028 Members: 91,714 Latest Member: Mantic0re Share This Page Tweet Howtoforge - Linux Howtos and Tutorials Home Forums > Linux Forums > Installation/Configuration > English | Deutsch Tutorials Tags Forums Forums Quick Links Search Forums Recent Posts Members Members Quick Links Notable Members Current Visitors Recent Activity New Profile Posts Contribute Subscribe ISPConfig News Menu Search Search titles only Posted by Member: Separate names with a comma. Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... Xenforo skin by Xenfocus Contact Us Help Imprint Home Top RSS Terms and Rules Forum software by XenForo™ ©2010-2014 XenForo Ltd. Tac Anti Spam from Surrey Forum
here for a quick overview of the site Help Center Detailed answers to any http://superuser.com/questions/817192/getting-shell-init-error-retrieving-current-directory-getcwd-cannot-access-pa questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring http://sharadchhetri.com/2014/03/13/shell-init-error-retrieving-current-directory-getcwd-access-parent-directories-file-directory/ developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer error retrieving enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top getting shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied in different places up vote error retrieving current 1 down vote favorite 1 This isn't an error I can reproduce on all macs, was able to run this no problem on a second laptop yesterday, and is an error I get from multiple locations attempting to do multiple tasks that are all failing shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied I first noticed this when trying to install phantomjs via npm: $ sudo npm install -g phantomjs /usr/local/bin/phantomjs -> /usr/local/lib/node_modules/phantomjs/bin/phantomjs > phantomjs@1.9.10 install /usr/local/lib/node_modules/phantomjs > node install.js shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied node.js:815 var cwd = process.cwd(); ^ Error: EACCES, permission denied at Function.startup.resolveArgv0 (node.js:815:23) at startup (node.js:58:13) at node.js:906:3 npm ERR! Darwin 13.4.0 npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "phantomjs" npm ERR! node v0.10.32 npm ERR! npm v2.0.0 npm ERR! code ELIFECYCLE npm ERR! phantomjs@1.9.10 install: `node install.js` npm ERR! Exit status 8 npm ERR! npm ERR! Failed at the phantomjs@1.9.10 inst
directory: getcwd: cannot access parent directories: No such file or directoryshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory March 13, 2014 by Sharad Chhetri Leave a Comment shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory While working on setting new squid transparent proxy in network.I faced an unusual error while restarting the Squid service. The getcwd() function copies an absolute pathname of the current working directory to the array pointed to by buf, which is of lengthsize. (For more info Read man page of getcwd) Solution : To solve this issue. I change the directory to / root by using command cd / .After this I again restarted the squid service.The problem did not occur then. Below is the reference from my system [[emailprotected] modules]# /etc/init.d/squid restart shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Stopping squid: ................ [ OK ] Starting squid: . [ OK ] [[emailprotected] modules]# cd / [[emailprotected] /]# /etc/init.d/squid restart Stopping squid: ................ [ OK ] Starting squid: . [ OK ] [[emailprotected] /]# Do'nt be greedy, share the knowledge!Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Google+ (Opens in new window)Click to share on Reddit (Opens in new window)Click to share on Tumblr (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on Pocket (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Click to share on WhatsApp (Opens in new window) Related Filed Under: Linux, Tips And Tricks Tagged With: tips Free E-Books For You Find More Free E-Books, Click Here >> Find More Free E-Books, Click Here >> Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Notify me of follow-up c