Shubes,

Do I have to rebuild the sandbox again?


"Eric \"Shubes\"" <[EMAIL PROTECTED]> wrote:
Sorry, EE, but that's not right. You *should* run this script while qmail's
still running. The script takes care of stopping and starting qmail at the
appropriate time.

Paco,
This is a bug in the qtp-whatami script. It's not exporting the QTP_RUN
variable, so the qtp-build-sandbox script isn't picking it up, which is
causing the error. This only happens when the scripts are located somewhere
outside of the 'typical' sandbox.

Please download the qtp-whatami script again from qtp.shubes.net and try again.

Thanks, and let us know how the rest goes for you.

Erik Espinoza wrote:
> Hello Francisco,
>
> I'm pretty sure you're supposed to shut down the qmailtoaster before
> doing this. By the looks of the log, Qmail was running while you
> attempted to upgrade.
>
> Thanks,
> Erik
>
> On 10/28/06, Francisco Paco Peralta <[EMAIL PROTECTED]> wrote:
>> I was trying to update my toaster install, in particular spamassassin and
>> clamav, but the install did not complete because:
>>
>> chroot: cannot run command `/root/qtp-build-rpms': No such file or
>> directory
>>
>> The following is the excerpt of my program execution, any comments are
>> welcome, thanks:
>>
>> Do you want to proceed at your own risk? (yes, no) y/[n] : y
>> Ok, here we go ...
>> Getting package list ...
>>
>> qmail Toaster is an integrated distribution.
>> Packages are preconfigured for the whole distro.
>> As a result, a partial install might be misconfigured.
>> Upgrading all packages to their latest version is strongly recommended.
>> Now that you've been warned, we will proceed with package selection ...
>>
>> zlib-1.2.3-1.0.3 is already installed, bypassed
>>
>> daemontools-toaster-0.76-1.3.1 is already installed, bypassed
>>
>> ucspi-tcp-toaster-0.88-1.3.1 is already installed, bypassed
>>
>> vpopmail-toaster-5.4.13-1.3.2 is already installed, bypassed
>>
>> libdomainkeys-toaster-0.68-1.3.1 is already installed,
>> bypassed
>>
>> qmail-toaster-1.03-1.3.5 is installed.
>> Do you want to Upgrade qmail-toaster to version 1.03-1.3.6
>> Shall we continue? (yes, no|skip, batch, quit) [y] / n|s / b / q : y
>>
>> courier-authlib-toaster-0.58-1.3.1 is already installed,
>> bypassed
>>
>> courier-imap-toaster-4.1.1-1.3.2 is already installed,
>> bypassed
>>
>> autorespond-toaster-2.0.4-1.3.1 is already installed, bypassed
>>
>> control-panel-toaster-0.5-1.3.1 is already installed, bypassed
>>
>> ezmlm-toaster-0.53.324-1.3.1 is already installed, bypassed
>>
>> qmailadmin-toaster-1.2.9-1.3.1 is already installed, bypassed
>>
>> qmailmrtg-toaster-4.2-1.3.1 is already installed, bypassed
>>
>> maildrop-toaster-2.0.2-1.3.1 is already installed, bypassed
>>
>> isoqlog-toaster-2.1-1.3.1 is already installed, bypassed
>>
>> squirrelmail-toaster-1.4.8-1.3.3 is already installed,
>> bypassed
>>
>> spamassassin-toaster-3.1.4-1.3.2 is installed.
>> Do you want to Upgrade spamassassin-toaster to version 3.1.7-1.3.5
>> Shall we continue? (yes, no|skip, batch, quit) [y] / n|s / b / q : y
>>
>> clamav-toaster-0.88.4-1.3.3 is installed.
>> Do you want to Upgrade clamav-toaster to version 0.88.5-1.3.4
>> Shall we continue? (yes, no|skip, batch, quit) [y] / n|s / b / q : y
>>
>> ripmime-toaster-1.4.0.6-1.3.1 is already installed, bypassed
>>
>> simscan-toaster-1.2-1.3.1 is already installed, bypassed
>>
>> vqadmin-toaster is not installed, would you like to install it?
>> Shall we continue? (yes, no|skip, batch, quit) [y] / n|s / b / q : y
>>
>> Getting source packages ...(this may take a while)
>> Downloading qmail-toaster-1.03-1.3.6.src.rpm
>> --17:14:26--
>> http://www.qmailtoaster.com/download/stable/qmail-toaster-1.03-1.3.6.src.rpm
>>
>> =>
>> `/usr/src/qtp-upgrade/SRPMS/qmail-toaster-1.03-1.3.6.src.rpm'
>> Resolving www.qmailtoaster.com... 38.99.66.144
>> Connecting to www.qmailtoaster.com|38.99.66.144|:80...
>> connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 296,099 (289K) [application/force-download]
>>
>> 100%[=================================================================================================>]
>>
>> 296,099 829.50K/s
>>
>> 17:14:26 (827.71 KB/s) -
>> `/usr/src/qtp-upgrade/SRPMS/qmail-toaster-1.03-1.3.6.src.rpm'
>> saved [296099/296099]
>>
>> Downloading spamassassin-toaster-3.1.7-1.3.5.src.rpm
>> --17:14:26--
>> http://www.qmailtoaster.com/download/stable/spamassassin-toaster-3.1.7-1.3.5.src.rpm
>>
>> =>
>> `/usr/src/qtp-upgrade/SRPMS/spamassassin-toaster-3.1.7-1.3.5.src.rpm'
>> Resolving www.qmailtoaster.com... 38.99.66.144
>> Connecting to www.qmailtoaster.com|38.99.66.144|:80...
>> connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 1,010,677 (987K) [application/force-download]
>>
>> 100%[=================================================================================================>]
>>
>> 1,010,677 1.12M/s
>>
>> 17:14:27 (1.12 MB/s) -
>> `/usr/src/qtp-upgrade/SRPMS/spamassassin-toaster-3.1.7-1.3.5.src.rpm'
>> saved [1010677/1010677]
>>
>> Downloading clamav-toaster-0.88.5-1.3.4.src.rpm
>> --17:14:27--
>> http://www.qmailtoaster.com/download/stable/clamav-toaster-0.88.5-1.3.4.src.rpm
>>
>> =>
>> `/usr/src/qtp-upgrade/SRPMS/clamav-toaster-0.88.5-1.3.4.src.rpm'
>> Resolving www.qmailtoaster.com... 38.99.66.144
>> Connecting to www.qmailtoaster.com|38.99.66.144|:80...
>> connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 8,556,409 (8.2M) [application/force-download]
>>
>> 100%[=================================================================================================>]
>>
>> 8,556,409 1.33M/s ETA 00:00
>>
>> 17:14:34 (1.31 MB/s) -
>> `/usr/src/qtp-upgrade/SRPMS/clamav-toaster-0.88.5-1.3.4.src.rpm'
>> saved [8556409/8556409]
>>
>> vqadmin-toaster-2.3.4-1.3.2.src.rpm is already downloaded,
>> bypassed
>> Shall we build a new sandbox at /opt/qtp-sandbox? (yes, no) y/[n] : y
>> Removing sandbox at /opt/qtp-sandbox ...
>> qtp-build-sandbox v0.1.2 starting Sat Oct 28 17:20:10 EDT 2006
>>
>> Warning: This script does not check for available disk space.
>> You'll need anywhere from 100M+ (linked) to 2.4G+ (copied)
>> to build the sandbox.
>> The sandbox may be built in any partition.
>> A 'linked' sandbox can only be in the / partition
>> The sandbox will be built at /opt/qtp-sandbox
>> Shall we continue? (yes, no|skip, quit) [y] / n|s / q : y
>> Would you like to create a linked sandbox? (yes, no) y/[n] :
>> Creating Copied sandbox: /opt/qtp-sandbox ... (coffee anyone?)
>> Creating /opt/qtp-sandbox/backup ...
>> Creating /opt/qtp-sandbox/bin ...
>> Creating /opt/qtp-sandbox/command ...
>> Creating /opt/qtp-sandbox/etc ...
>> Creating /opt/qtp-sandbox/lib ...
>> Creating /opt/qtp-sandbox/service ...
>> Creating /opt/qtp-sandbox/sbin ...
>> Creating /opt/qtp-sandbox/usr/bin ...
>> Creating /opt/qtp-sandbox/usr/etc ...
>> Creating /opt/qtp-sandbox/usr/include ...
>> Creating /opt/qtp-sandbox/usr/kerberos ...
>> Creating /opt/qtp-sandbox/usr/lib ...
>> Creating /opt/qtp-sandbox/usr/libexec ...
>> Creating /opt/qtp-sandbox/usr/local ...
>> Creating /opt/qtp-sandbox/usr/man ...
>> Creating /opt/qtp-sandbox/usr/sbin ...
>> Creating /opt/qtp-sandbox/usr/share ...
>> Creating /opt/qtp-sandbox/usr/src ...
>> Creating /opt/qtp-sandbox/usr/X11R6 ...
>> Creating /opt/qtp-sandbox/var ...
>> Info: unexpected named pipe:
>> /var/qmail.old/supervise/qmail-smtpd/supervise/control
>> prw------- 1 root root 0 Jan 8 2006
>> /var/qmail.old/supervise/qmail-smtpd/supervise/control
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/qmail.old/supervise/qmail-smtpd/supervise/ok
>> prw------- 1 root root 0 Jul 27 2005
>> /var/qmail.old/supervise/qmail-smtpd/supervise/ok
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/qmail.old/supervise/qmail-smtpd/log/supervise/control
>> prw------- 1 root root 0 Jan 8 2006
>> /var/qmail.old/supervise/qmail-smtpd/log/supervise/control
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/qmail.old/supervise/qmail-smtpd/log/supervise/ok
>> prw------- 1 root root 0 Jul 27 2005
>> /var/qmail.old/supervise/qmail-smtpd/log/supervise/ok
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/qmail.old/supervise/qmail-send/supervise/control
>> prw------- 1 root root 0 Jan 8 2006
>> /var/qmail.old/supervise/qmail-send/supervise/control
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/qmail.old/supervise/qmail-send/supervise/ok
>> prw------- 1 root root 0 Jul 27 2005
>> /var/qmail.old/supervise/qmail-send/supervise/ok
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/qmail.old/supervise/qmail-send/log/supervise/control
>> prw------- 1 root root 0 Jan 8 2006
>> /var/qmail.old/supervise/qmail-send/log/supervise/control
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/qmail.old/supervise/qmail-send/log/supervise/ok
>> prw------- 1 root root 0 Jul 27 2005
>> /var/qmail.old/supervise/qmail-send/log/supervise/ok
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/qmail.old/supervise/qmail-pop3d/supervise/control
>> prw------- 1 root root 0 Jan 8 2006
>> /var/qmail.old/supervise/qmail-pop3d/supervise/control
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/qmail.old/supervise/qmail-pop3d/supervise/ok
>> prw------- 1 root root 0 Jul 27 2005
>> /var/qmail.old/supervise/qmail-pop3d/supervise/ok
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/qmail.old/supervise/qmail-pop3d/log/supervise/control
>> prw------- 1 root root 0 Jan 8 2006
>> /var/qmail.old/supervise/qmail-pop3d/log/supervise/control
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/qmail.old/supervise/qmail-pop3d/log/supervise/ok
>> prw------- 1 root root 0 Jul 27 2005
>> /var/qmail.old/supervise/qmail-pop3d/log/supervise/ok
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/qmail.old/queue/lock/trigger
>> prw--w--w- 1 1010 1015 0 May 3 09:22
>> /var/qmail.old/queue/lock/trigger
>> Continuing ...
>> Info: unexpected named pipe: /var/spool/postfix/public/qmgr
>> prw--w--w- 1 vpopmail vchkpw 0 Sep 18 23:01
>> /var/spool/postfix/public/qmgr
>> Continuing ...
>> Info: unexpected named pipe:
>> /var/spool/postfix/public/pickup
>> prw--w--w- 1 vpopmail vchkpw 0 Sep 18 23:05
>> /var/spool/postfix/public/pickup
>> Continuing ...
>> Creating /opt/qtp-sandbox/home/vpopmail ...
>> Creating /opt/qtp-sandbox/ misc directories ...
>> Sandbox has been built successfully!
>>
>> Starting to build the binary rpms ...(pizza anyone?)
>>
>> If you want to view compile messages, you can open another terminal and:
>> # tail -f
>> /opt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
>>
>> chroot: cannot run command `/root/qtp-build-rpms': No such file or
>> directory
>> Build failed, Exiting.
>> [EMAIL PROTECTED] ~]# ls
>> anaconda-ks.cfg install.log qmail-backup-2.7.sh
>> qtp-build-rpms qtp-whatami velocity-med.com
>> crash-hat.repo install.log.syslog qmail-restore-script-1.2.tar.gz
>> qtp-build-sandbox queue-repair-0.9.0
>> Desktop Maildir qmlog
>> qtp-newmodel restore-1.1.sh
>> [EMAIL PROTECTED] ~]# ls -al
>> total 404
>> drwxr-x--- 26 root root 4096 Oct 28 17:43 .
>> drwxr-xr-x 26 root root 4096 Sep 18 23:03 ..
>> -rw-r--r-- 1 root root 1144 Jun 11 2005 anaconda-ks.cfg
>> -rw------- 1 root root 22983 Oct 28 18:43 .bash_history
>> -rw-r--r-- 1 root root 24 Dec 3 2004 .bash_logout
>> -rw-r--r-- 1 root root 191 Dec 3 2004 .bash_profile
>> -rw-r--r-- 1 root root 176 Dec 3 2004 .bashrc
>> drwxr-xr-x 5 root root 4096 Aug 7 2005 .cpan
>> -rw-r--r-- 1 root root 142 Nov 16 2004 crash-hat.repo
>> -rw-r--r-- 1 root root 100 Dec 3 2004 .cshrc
>> -rw------- 1 root root 59 Oct 31 2005 .cvspass
>> drwx------ 2 root root 4096 Jun 29 2005 Desktop
>> drwxr-x--- 2 root root 4096 Jun 22 2005 .eggcups
>> drwx------ 2 root root 4096 Oct 18 2005 .elinks
>> -r--r--r-- 1 root root 8187 Sep 8 16:37 .fishsrv.pl
>> -rw-r--r-- 1 root root 0 Jun 23 2005 .fonts.cache-1
>> drwx------ 3 root root 4096 Apr 19 2006 .gconf
>> drwx------ 2 root root 4096 Apr 30 18:12 .gconfd
>> drwx------ 3 root root 4096 Jul 25 2005 .gnome2
>> drwx------ 2 root root 4096 Jun 22 2005 .gnome2_private
>> drwx------ 2 root root 4096 Sep 20 03:11 .gnupg
>> -rw-r--r-- 1 root root 120 May 22 2005 .gtkrc
>> -rw------- 1 root root 0 Jul 25 2005 .ICEauthority
>> -rw-r--r-- 1 root root 52853 Jun 11 2005 install.log
>> -rw-r--r-- 1 root root 4212 Jun 11 2005 install.log.syslog
>> drwxr-xr-x 4 root root 4096 Jul 6 2005 .kde
>> -rw------- 1 root root 52 Oct 24 16:45 .lesshst
>> drwx------ 3 root root 4096 Jun 22 2005 .local
>> drwx------ 5 root root 4096 Sep 20 03:30 Maildir
>> drwxr-xr-x 3 root root 4096 Oct 28 12:08 .mc
>> drwxr-xr-x 3 root root 4096 Jun 22 2005 .mcop
>> -rw------- 1 root root 31 Jun 30 2005 .mcoprc
>> drwxr-xr-x 3 root root 4096 Jun 23 2005 .mozilla
>> -rw------- 1 root root 4790 Sep 19 23:10 .mysql_history
>> -rw-r--r-- 1 root root 5932 Oct 28 12:08 qmail-backup-2.7.sh
>> -rw-r--r-- 1 root root 18068 Apr 1 2006
>> qmail-restore-script-1.2.tar.gz
>> -rwxr-xr-x 1 root root 2910 Aug 29 12:40 qmlog
>> drwxr-xr-x 2 root root 4096 Jun 22 2005 .qt
>> -rwxr-xr-x 1 root root 5721 Oct 28 16:55 qtp-build-rpms
>> -rwxr-xr-x 1 root root 14640 Oct 28 16:55 qtp-build-sandbox
>> -rwxr-xr-x 1 root root 21306 Oct 28 16:54 qtp-newmodel
>> -rwxr-xr-x 1 root root 9315 Oct 28 16:55 qtp-whatami
>> drwxr-xr-x 2 root root 4096 Aug 5 2005 queue-repair-0.9.0
>> -rw-r--r-- 1 root root 4651 Aug 5 2005 restore-1.1.sh
>> -rw-r--r-- 1 root root 11 Jul 25 2005 .rhn-applet.cache
>> -rw------- 1 root root 498 Jul 6 2005 .rhn-applet.conf
>> -rw------- 1 root root 1024 Sep 19 19:08 .rnd
>> drwxr-xr-x 2 root root 4096 Jun 11 2005 .scripts
>> drwx------ 2 root root 4096 Sep 10 20:59 .spamassassin
>> drwx------ 2 root root 4096 Oct 20 10:58 .ssh
>> drwxr-xr-x 3 root root 4096 Jul 15 08:19 .subversion
>> -rw-r--r-- 1 root root 129 Dec 3 2004 .tcshrc
>> drwx------ 3 root root 4096 Jun 29 2005 .thumbnails
>> drwxr-xr-x 3 root root 4096 Oct 28 12:07 velocity-med.com
>> drwxr-xr-x 2 root root 4096 Jul 25 2005 .vnc
>> -rw------- 1 root root 61 Jul 24 2005 .xauth7lfHte
>> -rw------- 1 root root 1490 Oct 28 17:43 .Xauthority
>> [EMAIL PROTECTED] ~]#
>>
>> Francisco "Paco" Peralta
>
> ---------------------------------------------------------------------
> QmailToaster hosted by: VR Hosted
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
-Eric 'shubes'

---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Francisco "Paco" Peralta

Reply via email to