Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc-update errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MorbidDK
n00b
n00b


Joined: 13 Feb 2003
Posts: 48

PostPosted: Tue Jun 17, 2003 6:51 pm    Post subject: etc-update errors Reply with quote

I have noticed recently that whenever I run /usr/sbin/etc-update I get the following error:

shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory

The configs get updated properly, just this error presents itself and I'm unsure as to where its coming from. Anyone able to help out with this?
Back to top
View user's profile Send private message
rosowski
n00b
n00b


Joined: 09 Nov 2003
Posts: 51

PostPosted: Mon Jan 12, 2004 7:13 pm    Post subject: Reply with quote

I'm getting the same error running kernel 2.6.0.
It started after I emerged vmware and after that ran etc-update. Now I even get it, when opening any man page.
Back to top
View user's profile Send private message
thc013
n00b
n00b


Joined: 30 Dec 2003
Posts: 18

PostPosted: Tue Jan 13, 2004 1:12 pm    Post subject: Reply with quote

get also the same error

and get the error with the install after kernel wanted to add hotplug and then get the same error

but getcwd is saying that it can't open a database in /usr/lib/slocate/slocate.db is empty
Back to top
View user's profile Send private message
thc013
n00b
n00b


Joined: 30 Dec 2003
Posts: 18

PostPosted: Tue Jan 13, 2004 1:31 pm    Post subject: Reply with quote

think it had something to do with etc-update

when you have to do that it asked -1 or -3 or -5 option i think i made the mistake to choose -3 instead of -5 but it is a gues
Back to top
View user's profile Send private message
pipplo
n00b
n00b


Joined: 21 Mar 2004
Posts: 11

PostPosted: Fri Apr 23, 2004 5:04 pm    Post subject: Reply with quote

any ideas on how to fix this? I'm having the same problem now...
Back to top
View user's profile Send private message
Daeluin
n00b
n00b


Joined: 04 Jan 2003
Posts: 57
Location: lost

PostPosted: Mon Apr 26, 2004 5:57 pm    Post subject: Reply with quote

noticed the same thing this morning.
couldn't think of anything I'd done that might've caused this. first noticed with qmailctl commands, then rc init commands, and etc-update. did an emerge sync and no difference.

then after spacing out for a few minutes I did 'ls' in a dir and got nothing. that seemed odd, so I went up a dir, 'ls' - it worked; back to original dir. now 'ls' works. then I noticed the getcwd errors had stopped...

guess something snapped back into place. .. :?
Back to top
View user's profile Send private message
Hinkey
n00b
n00b


Joined: 28 May 2003
Posts: 5

PostPosted: Wed Apr 28, 2004 5:17 pm    Post subject: fix Reply with quote

this problem seems to fix itself if you ls, then cd .., then ls, then cd .., continueing untill you no longer get the error... not sure of the cause or what the actualy problem is but that also fixed it for me
_________________
-=Hinkey=-
Back to top
View user's profile Send private message
MadDog
n00b
n00b


Joined: 05 Dec 2002
Posts: 10
Location: Maribor, Slovenia

PostPosted: Tue May 04, 2004 4:28 pm    Post subject: Reply with quote

funny, i got this message not only with etc-update, but also when running init.d scripts ... The "ls" "cd .." trick worked for me tho :)
Back to top
View user's profile Send private message
SecMon
n00b
n00b


Joined: 01 Apr 2003
Posts: 12
Location: California

PostPosted: Sun Jun 27, 2004 9:46 pm    Post subject: Reply with quote

This will happen if you deleted the directory you are in from a different login or shell (screen). Be careful of cutting tree limbs you are standing on.
Back to top
View user's profile Send private message
zie
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2003
Posts: 126

PostPosted: Mon Aug 02, 2004 1:52 am    Post subject: Reply with quote

Ah.. i see. it makes sense now :D
_________________
/etc/init.d/alsasound start
* ALSA driver is already running.

/etc/init.d/alsasound stop
* ERROR: "alsasound" has not yet been started.
Back to top
View user's profile Send private message
ugus
Apprentice
Apprentice


Joined: 23 Jul 2004
Posts: 213
Location: Darmstadt, Germany

PostPosted: Sun Jan 23, 2005 11:13 am    Post subject: Reply with quote

i got also this morning the same failure as i run any commands, even after typing su.
But if i become root with su - root command rather then only su , then i don't get any failure message :roll:
_________________
while(!sleep())
{
sheep++;
}
My Desktop
Back to top
View user's profile Send private message
ugus
Apprentice
Apprentice


Joined: 23 Jul 2004
Posts: 213
Location: Darmstadt, Germany

PostPosted: Sun Jan 23, 2005 11:15 am    Post subject: Reply with quote

MadDog wrote:
funny, i got this message not only with etc-update, but also when running init.d scripts ... The "ls" "cd .." trick worked for me tho :)


worked for me to :D
_________________
while(!sleep())
{
sheep++;
}
My Desktop
Back to top
View user's profile Send private message
pixelcatcher
n00b
n00b


Joined: 31 Jan 2004
Posts: 60
Location: Stuttgart

PostPosted: Thu Jul 21, 2005 6:28 pm    Post subject: Reply with quote

for me, too - weird :)
_________________
www.pixelcatcher.de
Back to top
View user's profile Send private message
KristyX
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 206
Location: Malaysia

PostPosted: Tue Nov 22, 2005 5:54 am    Post subject: Re: fix Reply with quote

Hinkey wrote:
this problem seems to fix itself if you ls, then cd .., then ls, then cd .., continueing untill you no longer get the error... not sure of the cause or what the actualy problem is but that also fixed it for me


worked for me as well.. and yes, i think i deleted the directory i was in :D
_________________
Knowledge is a process of piling up facts; wisdom lies in their simplification. [Martin Fischer]
Back to top
View user's profile Send private message
chovy
Guru
Guru


Joined: 03 Dec 2004
Posts: 453

PostPosted: Sun Dec 11, 2005 11:54 am    Post subject: Reply with quote

i'm seeing the same errors too.

I don't think I've done anything recently to mess up my filesystem. I use screen quite a bit, so maybe I removed a directory from a different login while the old 'screen' process was still loaded.

The problem seems intermittent, so I can't be sure if exiting screen has fixed the problem or not.
_________________
Woof, Woof! Add "[solved]" to the title! Woof, Woof!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum