Ron Jones wrote:
I'm running CentOS 4.3, and tried running the upgrade script on the wiki
(not on a production box, just my home email server) :
qmt-newmodel.sh and qmt-build-rpms.sh
It seemed to go well through the creation of the sandbox. I got the
"Sandbox has been built successfully!" message
Then... "Starting to build the binary rpms ... (pizza anyone?)" message
followed by:
"If you want to view the compile messages, you can open another terminal
and:
# tail -f /opt/qmt-sandbox/usr/src/qmt/log/build-recent.log"
That's when I got the error message:
"chroot: cannot run command '/usr/src/qmt/qmt-build-rpms.sh': Permission
denied
Build failed, Exiting
I checked the above log file, but it's empty as it didn't start compiling.
Any suggestions?
I'm guessing that ownership of qmt-bulid-rpms.sh isn't root. Oops, my bad. I
gather you obtained the scripts under a different user id.
# ls -l /opt/qmt-sandbox/usr/src/qmt/qmt-build-rpms.sh
to verify that it's not owned by root, then
# chown root:root /opt/qmt-sandbox/usr/src/qmt/qmt-build-rpms.sh
to change its ownership. You should probably change the ownership of the
scripts too, in /usr/src/qmt/, so you won't have this problem again if you
were to need to rebuild the sandbox.
Once you've done that, simply rerun the script. You'll need to answer all
the questions again, but it won't re-download the sources, and you don't
need to build the sandbox again. You should see compile messages in the log
file shortly after compiles start.
Please report back on the rest of your experience.
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]