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

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Pancu
l33t
l33t


Joined: 16 Feb 2005
Posts: 612
Location: Cesena

PostPosted: Thu Sep 20, 2007 4:35 pm    Post subject: etc-update errore Reply with quote

Ragazzi da oggi quando faccio:
Code:
etc-update

Mi esce questo output:
Code:
etc-update
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)

Potete aiutarmi???
Grazie.
Back to top
View user's profile Send private message
bivittatus
l33t
l33t


Joined: 31 Jan 2006
Posts: 687
Location: Roissy-en-Brie (France)

PostPosted: Thu Sep 20, 2007 8:53 pm    Post subject: Reply with quote

Prova questo:

Code:
cd /root
/etc/init.d/syslog-ng restart


Forse anche solo il fatto di spostrarti in /root ti risolverà il problema!!! :wink:
_________________
Linus TORVALDS: "Je ne suis pas là pour détruire Microsoft. Ce sera juste un effet secondaire tout à fait involontaire."
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Fri Sep 21, 2007 7:51 am    Post subject: Re: etc-update errore Reply with quote

Code:
etc-update
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)


nulla di preoccupante, semplicemente sei una directory che non esiste più (forse l'hai rimossa da un'altra shell) e ovviamente lo script quando parte fa un check sulla directory corrente (tipico di bash) fallendo il test (ma ciò non pregiudica il corretto funzionamento dello script). non c'è soluzione al problema, perchè il problema non sussiste, devi solo spostarti in una dir "reale" e vedrai che quel messaggio non comparirà più.
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Fri Sep 21, 2007 9:16 am    Post subject: Re: etc-update errore Reply with quote

Pancu wrote:

Code:
etc-update
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)

L'errore che ti riporta è che il comando getcwd [getCurrentWorkingDirectory = ottieni la dir di lavoro corrente] . E' possibile che la dir dove t trovavi quando hai dato quel comando sia stata rimossa (magari era una dir temporanea o magari da un'altra shell hai rimosso quella dir.)

Per risolvere il problema t basta spostarti altrove sul FS.

dai cd / e riprova...
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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