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

Javier Fontan jfontan at opennebula.org
Thu Feb 9 06:46:39 PST 2012


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