Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-25-2005, 10:31 PM
|
#1
|
Member
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340
Rep:
|
Problem with X consoles - "shell-init: error retrieving current directory"
I'm still trying to figure out how this happened. Lets see, I'm working on my desktop and trying to configure it the way I like. I started with a default install, xorg was working. Of course I decided "if it ain't broke, you need to tinker some more" so I ran xorgconfig and screwed up my X-server. It complained of lack of screens. I installed my nVidia drivers and ran xorgsetup, things work now. I was starting to set up X and editing some files in rxvt when I tried to tab-complete a filename and got this error message:
Code:
$ cd /et[tab-complete]
symlink-hook: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
$ pwd
pwd:error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
This doesn't just happen in rxvt, it also happens in X-console, and I tried the Gnome console but that won't work. I'm using the fluxbox off the CD.
Any ideas? This is annoying as heck, I've grown into a tab-complete addict!
|
|
|
07-26-2005, 06:17 AM
|
#2
|
Member
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465
Rep:
|
You've really been messing with things, eh?
That's an error I'd be proud to get! (My personal favourite was "Mystery Error" in the logs for lpr ... genius!)
Anyway ... moving on ...
Do you get the same tab-complete problems in a raw console? Ie: the bit before the GUI?
If tab complete works fine there, then it sounds like there might be a problem with the terminal emulators, or further down the tree (to affect them all). To be honest I'm not sure what you'd have to tweak to fix it, but take a look and see what sort of common dependencies they share, and that might help you locate the source of the problem.
Good luck, and, great error message!
- Piete.
|
|
|
07-26-2005, 07:35 AM
|
#3
|
Member
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827
Rep:
|
Indeed something one doesnt see everyday.. (:
A few things to check out and narrow the problem:
- Do you have bash-complete installed? You know, the extra completion..
- Does this happen with _any_ completion, anywhere? Meaning, also commands from the PATH, or just directories? And both on xterms, tty's and on a pure non modified Konsole / gnome-terminal?
- if doing /et<tab> goes wrong, does
Code:
ls $(pwd) && ls /etc/
still work anyways?
|
|
1 members found this post helpful.
|
02-01-2006, 06:11 AM
|
#4
|
LQ Newbie
Registered: Feb 2006
Posts: 2
Rep:
|
.ICEauthority
peace
i stumbled over this page when i searched for my problem, that said the same error.
my error was to move my home directory to another partition and symlinked it back to the required location. while moving i ignored a problem that the ~/.ICEauthority did not move as everything else. so i deleted it and symlinked the dir - of course the error happened to me later when i used the console again (bash)
i moved the homedir back to the previous partition - same problem
i restarted x - same problem
i logged in at a vt - no problem
i logged in as a other user in the xterm that was failing with my user - no problem
i stopped x and logged out and in again - everything was fine again
maybe someone can explain what this ice file means, but this was obvoiously the problem.
hopefull this post helps somebody in the future
a*men
|
|
|
03-26-2007, 07:36 PM
|
#5
|
Member
Registered: Sep 2003
Location: Las Vegas
Distribution: Mint
Posts: 32
Rep:
|
Quote:
Originally Posted by mutschaedi
i stumbled over this page when i searched for my problem, that said the same error.
|
I may have solved this issue!
Here is what happened to me...
as root I entered:
Code:
cd /usr/lib/mailman/cron
rpm -e mailman
locate -u
THESE ERRORS START HAPPENING
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
AND
fatal error: locate: create_db(): chdir: No such file or directory
tried:
Quote:
Originally Posted by Artanicus
ls $(pwd) && ls /etc/
|
the result!
ls: /usr/lib/mailman/cron: No such file or directory
Duh! The directory that I am in longer exists! (as it was removed by "rpm -e mailman")
entered:
cd /
Solved?
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 01:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|