[xen-tools-discuss] Re: cron popen xen-create-image

Christian Kortenhorst namit at namit.org
Wed Mar 5 04:15:15 CET 2008


solutions
xen:/var/www/apache2-default# crontab -e
# m h dom mon dow command
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

xen-tools seams to have to use something in PATH so just a matter of setting
them in cron.

these where errors that where coming up when i booted into environment using

xm console hostname

Done.
4gb seg fixup, process init (pid 1), cs:ip 73:b7f104e0
4gb seg fixup, process init (pid 1), cs:ip 73:b7eb78ee
4gb seg fixup, process init (pid 1), cs:ip 73:b7f2be0a
4gb seg fixup, process init (pid 1), cs:ip 73:b7ebb2fc
4gb seg fixup, process init (pid 1), cs:ip 73:b7ebb30a
4gb seg fixup, process init (pid 1), cs:ip 73:b7ebb2fc
4gb seg fixup, process init (pid 1), cs:ip 73:b7ebb30a
4gb seg fixup, process init (pid 1), cs:ip 73:b7f17d00
4gb seg fixup, process init (pid 1), cs:ip 73:b7e7df16
4gb seg fixup, process init (pid 1), cs:ip 73:b7ebb2fc
INIT: version 2.86 booting
INIT: No inittab file found

Enter runlevel:


Running hook 15-disable-hwclock
chmod: cannot access `/tmp/8jRmzv09aG/etc/init.d/hwclockfirst.sh': No such
file or directory
hook 15-disable-hwclock: done.
Running hook 20-setup-apt
/usr/lib/xen-tools/etch.d/20-setup-apt: line 88: chroot: command not found
hook 20-setup-apt: done.
Running hook 25-disable-tls
/usr/lib/xen-tools/common.sh: line 80: chroot: command not found
hook 25-disable-tls: done.
Running hook 30-fix-inittab
hook 30-fix-inittab: done.
Running hook 35-setup-users
hook 35-setup-users: done.
Running hook 40-setup-networking
hook 40-setup-networking: done.
Running hook 50-setup-hostname
hook 50-setup-hostname: done.
Running hook 55-create-dev
/usr/lib/xen-tools/etch.d/55-create-dev: line 34: ./MAKEDEV: No such file or
directory
/usr/lib/xen-tools/etch.d/55-create-dev: line 35: ./MAKEDEV: No such file or
directory
hook 55-create-dev: done.
Running hook 60-copy-host-files
hook 60-copy-host-files: done.
Running hook 65-copy-user-files
hook 65-copy-user-files: done.
Running hook 70-install-ssh
/usr/lib/xen-tools/common.sh: line 80: chroot: command not found
/usr/lib/xen-tools/etch.d/70-install-ssh: line 42: chroot: command not found
hook 70-install-ssh: done.
Running hook 80-install-modules
/usr/lib/xen-tools/common.sh: line 80: chroot: command not found
hook 80-install-modules: done.
Running hook 90-make-fstab
hook 90-make-fstab: done.
Running hook 99-clean-image
/usr/lib/xen-tools/etch.d/99-clean-image: line 32: chroot: command not found

-- 
CK Computer Solutions
Christian Kortenhorst
+353-(0)87-6183349
+353-(0)1-4966287


On 3/4/08, Steve Kemp <steve at steve.org.uk> wrote:
>
> On Tue Mar 04, 2008 at 14:18:30 +0000, Christian Kortenhorst wrote:
>
> > left it running bit long
>
>
>   OK so that worked.
>
>
> > the only thing could think of would be the shell or the Path
>
>
>   I'd suggest setting both of those explicitly, and also adding
>   --verbose to the xen-create-image command line to see if that
>   shows more output.
>
> Steve
>
> --
> Debian GNU/Linux System Administration
> http://www.debian-administration.org/
>
>
>
>


-- 
CK Computer Solutions
Christian Kortenhorst
+353-(0)87-6183349
+353-(0)1-4966287






More information about the xen-tools-discuss mailing list