View previous topic :: View next topic |
Author |
Message |
puke Tux's lil' helper


Joined: 05 Oct 2002 Posts: 128
|
Posted: Mon Aug 28, 2006 8:41 pm Post subject: error retrieving current directory: getcwd |
|
|
Hi,
After updating my system (emerge -u system) I'm getting these strange errors when calling any init script:
Code: | # /etc/init.d/syslog-ng status
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
* status: started |
It doesn't seem to adversely affect service startup or shutdown. I have performed source /etc/profile && env-update to no avail.. anyone seen this before? |
|
Back to top |
|
 |
cerebus_k Apprentice


Joined: 20 Jun 2003 Posts: 173 Location: Flower Mound, Texas
|
Posted: Tue Aug 29, 2006 12:19 am Post subject: |
|
|
My guess is the service is still running but because of the update some file/directory is no longer there or has moved. Can you do a
Code: |
/etc/init.d/syslog-ng restart
|
and see if that cures it? _________________ Gettin old isn't for wimps |
|
Back to top |
|
 |
tuppe666 Guru


Joined: 02 Mar 2004 Posts: 423
|
Posted: Thu Aug 31, 2006 4:39 pm Post subject: |
|
|
Having had the problem. For me it was a simple permission thing. Simply go to your root directory, and run the command again |
|
Back to top |
|
 |
deepspace9 Apprentice


Joined: 29 Jan 2003 Posts: 214 Location: Netherlands
|
Posted: Wed Sep 06, 2006 7:01 pm Post subject: |
|
|
I have exactly the same... it started after I unmerged resin
It has nothing to do with the package itself. a lot of stuff is not working anymore...
In what package should getcwd be in? _________________ Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence ) |
|
Back to top |
|
 |
Hydraulix Guru


Joined: 12 Dec 2003 Posts: 447
|
Posted: Tue Oct 03, 2006 6:25 am Post subject: |
|
|
I had the same problem. I was in my vmware folder and I deleted a VM. Vmware also deleted the folder that I was consoled into. I just changed directories and everything perfect. _________________ It is the fate of operating systems to become free.
- Neal Stephenson |
|
Back to top |
|
 |
funkoolow Guru


Joined: 21 Sep 2004 Posts: 545 Location: er paese delle anguille
|
Posted: Sat Mar 31, 2007 12:43 am Post subject: |
|
|
same to me, just suddenly appeared as long as immediately disappeared when changin directory. Any clue? _________________ SabaziaLUG: il LUG a nord di Roma |
|
Back to top |
|
 |
Psychosis n00b

Joined: 25 Jan 2004 Posts: 9
|
Posted: Sat Mar 31, 2007 4:19 am Post subject: |
|
|
Like he said do this:
Code: |
cd /root
/etc/init.d/syslog-ng restart
|
Works fine. |
|
Back to top |
|
 |
Simplimus n00b

Joined: 14 Mar 2006 Posts: 30 Location: Dresden, Germany
|
Posted: Sun Apr 01, 2007 8:16 am Post subject: Same Error |
|
|
Well, it is even more simple....
done...
It is really strange, the error appeared while I was in my /usr/portage/ directory. Changing back to the root directory solved it. |
|
Back to top |
|
 |
|