Ron Jones wrote:
I don't have reason to believe that the "No such file" problem is fixed,
but I'd like you to do this (again):
.) delete the scripts you have
.) reboot the server if at all feasible. /etc/mtab might be a bit wacky
with the abnormal exits, and I just want to eliminate that from a
possibility
.) download qmt-newmodel.sh and try running it again.

Well, here is what I did,

-> deleted the scripts, also deleted /opt/qmt-sandbox/*
-> rebooted server
-> su - 'd to root
-> cd to /usr/src/qmt/
-> ran wget http://qmt.shubes.net/qmt-newmodel.sh (in /usr/src/qmt)
-> then ran sh qmt-newmodel.sh; this script will also download
qmt-build-rpms and chmod it to 755
-> qmt-newmodel created the sandbox and copied over both scripts to
/opt/qmt-sandbox/usr/src/qmt/

Unfortunately, I got the same error message upon completion of
qmt-newmodel.sh:

"chroot: cannot run command '/usr/src/qmt/qmt-build-rpms.sh' : No such file
or directory
Build failed, Exiting."


This error drove me nuts one time testing. I can't yet remember the solution. Unfortunately I didn't ask the question on my local LUG or I'd have posted the answer. I really need to make notes sometimes.

Ok, let's see if we can nail this down. If I remember right, when I ran some test scripts just playing around with this error, chroot wouldn't even find the default shell. If you go to /usr/src/qmt as root and simply do '# chroot', do you get a shell prompt or does it say it can't find 'bin/sh'?

Care to IRC? I just logged in to the #QmailToaster chat room if you'd like. Might be easier that way.

--
-Eric 'shubes'

---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to