LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-12-2006, 09:49 AM   #1
kisembo
LQ Newbie
 
Registered: Feb 2006
Location: UG
Distribution: Suse 9.3,9.1,10.1 , Ubuntu, Fedora core4,5, Mandriva
Posts: 14

Rep: Reputation: 0
Red face cannot access parent directories


Hey guys, i not very sure the kind of mess am facing.
I have failed to find my path any directories all i get is an error that says:

/srsymlink-hook: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

This came up from the konsole after i had uninstalled postgres & i was to find my wayout to a certain directory.
What could have happen & how can i handle this error to rectify this problem.
 
Old 02-12-2006, 11:40 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
This probably happen because you removed the directory which was your shell current directory.

It can be simply fixed by changing it to an existing one, without using a relative path.
e.g.: "cd .." won't work, "cd $HOME" will.
 
Old 02-13-2006, 12:16 PM   #3
kisembo
LQ Newbie
 
Registered: Feb 2006
Location: UG
Distribution: Suse 9.3,9.1,10.1 , Ubuntu, Fedora core4,5, Mandriva
Posts: 14

Original Poster
Rep: Reputation: 0
Thx jlliagre
I have fixed this problem.
But i have encounted yet another fix.

l have installed postgres
but the content of the data directory
in the pgsql directory is lost.This dircontains
all the postgres config files & pg_hba.conf.
why is this so & how can i handle it.

I have tried uninstalling all the postgres but i
still encounter the same scenario after reinstalling
it.

Thx
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you allow users access to Directories? kcpaige89 Fedora 5 02-20-2006 07:18 AM
access denied to directories SeekAndDestroy Linux - Networking 7 11-11-2005 06:24 PM
Sudo access to particular directories angrybeaver Linux - Software 0 09-23-2004 01:39 AM
Access Shared Directories gotmonkey Linux - Networking 5 04-15-2004 09:20 PM
Tar including all parent directories? everythingand2 Linux - General 4 12-14-2003 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration