[one-users] shell-init job-working-directory error on remote hosts

Sándor Guba gubasanyi at gmail.com
Sat Feb 25 15:15:42 PST 2012


Server reboot and NFS remount solved the problem...

2012/2/24 Sándor Guba <gubasanyi at gmail.com>:
> Hi,
>
> The problem is still active. I got same errors on every poll.
>
> Fri Feb 24 11:02:12 2012 [VMM][I]: shell-init: error retrieving
> current directory: getcwd: cannot access parent directories: No such
> file or directory
> Fri Feb 24 11:02:12 2012 [VMM][I]: job-working-directory: error
> retrieving current directory: getcwd: cannot access parent
> directories: No such file or directory
> Fri Feb 24 11:02:12 2012 [VMM][I]: sh: getcwd() failed: No such file
> or directory
> Fri Feb 24 11:02:12 2012 [VMM][I]: sh: getcwd() failed: No such file
> or directory
> Fri Feb 24 11:02:12 2012 [VMM][I]: ExitCode: 0
> Fri Feb 24 11:02:12 2012 [VMM][D]: Monitor Information:
>        CPU   : 0
>        Memory: 2048000
>        Net_TX: 1002115
>        Net_RX: 2070332
>
> 2012/2/23 Javier Fontan <jfontan at opennebula.org>:
>> I've been checking what can be happening but still cannot find a
>> possible cause. Only that the filesystem somehow disappeared.
>>
>> Is this still happening to you?
>>
>> On Sat, Feb 18, 2012 at 6:16 PM, Gmail <gubasanyi at gmail.com> wrote:
>>> Sorry for late answear. Yes I can see that folders.
>>>
>>> 2012-02-09 15:46 keltezéssel, Javier Fontan írta:
>>>
>>>> Seems like the directory (/var/tmp) was deleted after the script was
>>>> executed. Can you see /var/tmp and /var/tmp/one in those nodes?
>>>>
>>>> On Mon, Feb 6, 2012 at 12:40 PM, Sándor Guba<gubasanyi at gmail.com>  wrote:
>>>>>
>>>>> The only thing I found that this error happens when you type command
>>>>> in a non existing directory. Anybody knows what can cause behaviour
>>>>> like this in opennebula environment?
>>>>>
>>>>> 2012/2/1 Sándor Guba<gubasanyi at gmail.com>:
>>>>>>
>>>>>> I forgot to mention that that the whole /var/lib/opennebula directory
>>>>>> is NFS mounted on remote host with the same path
>>>>>>
>>>>>> 2012/2/1 Sándor Guba<gubasanyi at gmail.com>:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I couldn't figured out why these errors comes up. I have 2 host
>>>>>>> installed 1 is the opennebula controller and the other 1 is a node. On
>>>>>>> the controller+node machine everything goes without error on the
>>>>>>> remote node machine shell errors comes up. I can start VMs and Migrate
>>>>>>> etc. But on start and monitor these lines shows up:
>>>>>>>
>>>>>>>
>>>>>>> ----
>>>>>>> Wed Feb  1 11:54:53 2012 [InM][I]: Monitoring host mega3 (1)
>>>>>>> Wed Feb  1 11:54:54 2012 [InM][I]: Monitoring host mega4 (10)
>>>>>>> Wed Feb  1 11:54:57 2012 [InM][I]: shell-init: error retrieving
>>>>>>> current directory: getcwd: cannot access parent directories: No such
>>>>>>> file or directory
>>>>>>> Wed Feb  1 11:54:57 2012 [InM][I]: job-working-directory: error
>>>>>>> retrieving current directory: getcwd: cannot access parent
>>>>>>> directories: No such file or directory
>>>>>>> Wed Feb  1 11:54:57 2012 [InM][I]: shell-init: error retrieving
>>>>>>> current directory: getcwd: cannot access parent directories: No such
>>>>>>> file or directory
>>>>>>> Wed Feb  1 11:54:57 2012 [InM][I]: job-working-directory: error
>>>>>>> retrieving current directory: getcwd: cannot access parent
>>>>>>> directories: No such file or directory
>>>>>>> Wed Feb  1 11:54:57 2012 [InM][I]: chdir: error retrieving current
>>>>>>> directory: getcwd: cannot access parent directories: No such file or
>>>>>>> directory
>>>>>>> Wed Feb  1 11:54:57 2012 [InM][I]: ExitCode: 0
>>>>>>> Wed Feb  1 11:54:57 2012 [InM][D]: Host 10 successfully monitored.
>>>>>>> Wed Feb  1 11:54:57 2012 [InM][I]: ExitCode: 0
>>>>>>> Wed Feb  1 11:54:57 2012 [InM][D]: Host 1 successfully monitored.
>>>>>>> ---
>>>>>>>
>>>>>>> Wed Feb  1 11:56:18 2012 [VMM][I]: Monitoring VM 124.
>>>>>>> Wed Feb  1 11:56:19 2012 [VMM][D]: Message received: LOG I 124
>>>>>>> shell-init: error retrieving current directory: getcwd: cannot access
>>>>>>> parent directories: No such file or directory
>>>>>>> Wed Feb  1 11:56:19 2012 [VMM][D]: Message received: LOG I 124
>>>>>>> job-working-directory: error retrieving current directory: getcwd:
>>>>>>> cannot access parent directories: No such file or directory
>>>>>>> Wed Feb  1 11:56:19 2012 [VMM][D]: Message received: LOG I 124 sh:
>>>>>>> getcwd() failed: No such file or directory
>>>>>>> Wed Feb  1 11:56:19 2012 [VMM][D]: Message received: LOG I 124 sh:
>>>>>>> getcwd() failed: No such file or directory
>>>>>>> Wed Feb  1 11:56:19 2012 [VMM][D]: Message received: LOG I 124
>>>>>>> ExitCode: 0
>>>>>>> Wed Feb  1 11:56:19 2012 [VMM][D]: Message received: POLL SUCCESS 124
>>>>>>> STATE=a NETTX=1110 USEDCPU=0.3 USEDMEMORY=2048000 NETRX=68530
>>>>>>>
>>>>>>> Thanks for any help in advance
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opennebula.org
>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>> --
>> Javier Fontán Muiños
>> Project Engineer
>> OpenNebula - The Open Source Toolkit for Data Center Virtualization
>> www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula



More information about the Users mailing list