Hi, Are there some command options or procedures for me to run ltsp-build-client with more debugging capability so we can better trouble shoot the problem? Thank you!
--- On Wed, 6/19/13, Km - wrote: > From: Km - > Subject: [Ltsp-discuss] Fw: Re: ltsp-build-client failed after 78% completion > To: ltsp-discuss@lists.sourceforge.net > Date: Wednesday, June 19, 2013, 8:19 AM > Hi, > > The installation failed again at 78% completion. Can > someone please take a look? Thank you! > > (BTW, when I ran > > rpm --import http://ltsprepo.s3.amazonaws.com/rpm/RPM-GPG-KEY-ltsp > > the other day, there was no output on the screen, just the > unix prompt came back. Is that OK? > > [root@localhost2 result]# ll > /etc/pki/rpm-gpg/RPM-GPG-KEY-ltsp > -rw-r--r--. 1 root root 1756 Apr 8 12:00 > /etc/pki/rpm-gpg/RPM-GPG-KEY-ltsp > ) > > > I made changes to the file > /usr/share/ltsp/plugins/ltsp-build-client/RHEL/009-mock-chroot > as instructed in > https://bugs.launchpad.net/ltsp/+bug/1188119 > > Then ran > > yum update > > Then ran > > ltsp-build-client --release epel-6-x86_64 > > However, when the installation reached 78% completed it > failed with the error > > Error encountered running command: setarch x86_64 > /usr/bin/mock -r epel-6-x86_64 --target=x86_64 > --configdir=/etc/ltsp/mock --arch=x86_64 --copyin > /etc/sysconfig/firstboot /etc/sysconfig/firstboot > check /opt/ltsp/mock/epel-6-x86_64/result/root.log for more > detailed information > > [root@localhost2 result]# wc root.log > 2601 14896 236434 root.log > > [root@localhost2 result]# grep -in error root.log > 302:DEBUG util.py:264: libgpg-error > > x86_64 1.7-4.el6 > base > 59 k > 664:DEBUG util.py:264: libgpg-error.x86_64 > 0:1.7-4.el6 > > > 1072:DEBUG util.py:264: libgpg-error-1.7-4.el6.x86_64 > > [root@localhost2 result]# grep -in fail root.log > [root@localhost2 result]# > > [root@localhost2 result]# grep -in cannot root.log > [root@localhost2 result]# > > [root@localhost2 result]# grep -in unable root.log > [root@localhost2 result]# > > [root@localhost2 result]# grep -in fatal root.log > [root@localhost2 result]# > > [root@localhost2 result]# grep -in warn root.log > 437:DEBUG util.py:264: warning: /etc/hosts created as > /etc/hosts.rpmnew > 438:DEBUG util.py:264: warning: /etc/yum.conf created > as /etc/yum.conf.rpmnew > [root@localhost2 result]# > > [root@localhost2 result]# grep -in kill root.log > 138:DEBUG util.py:264: rfkill > > x86_64 0.3-4.el6 > base > 9.8 k > 502:DEBUG util.py:264: rfkill.x86_64 > 0:0.3-4.el6 > > > 1103:DEBUG util.py:264: rfkill-0.3-4.el6.x86_64 > 1196:DEBUG util.py:116: kill orphans > 1253:DEBUG util.py:116: kill orphans > 1970:DEBUG util.py:116: kill orphans > 2064:DEBUG util.py:116: kill orphans > 2585:DEBUG util.py:116: kill orphans > 2587:DEBUG util.py:116: kill orphans > 2589:DEBUG util.py:116: kill orphans > 2591:DEBUG util.py:116: kill orphans > 2593:DEBUG util.py:116: kill orphans > 2595:DEBUG util.py:116: kill orphans > 2597:DEBUG util.py:116: kill orphans > 2599:DEBUG util.py:116: kill orphans > 2601:DEBUG util.py:116: kill orphans > > [root@localhost2 result]# grep -in "return > code" root.log (all return codes are 0) > 56:DEBUG util.py:354: Child return code was: 0 > 58:DEBUG util.py:354: Child return code was: 0 > 60:DEBUG util.py:354: Child return code was: 0 > ... > 2578:DEBUG util.py:354: Child return code was: 0 > 2580:DEBUG util.py:354: Child return code was: 0 > 2582:DEBUG util.py:354: Child return code was: 0 > 2584:DEBUG util.py:354: Child return code was: 0 > > > [root@localhost2 result]# ll > /opt/ltsp/mock/epel-6-x86_64/root/usr/bin/setarch > -rwxr-xr-x. 1 root root 11336 Apr 29 03:43 > /opt/ltsp/mock/epel-6-x86_64/root/usr/bin/setarch > > Output of yum update: > -------------------------------- > [root@localhost2 RHEL]# yum update > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > * base: mirror.nexcess.net > * extras: ftp.usf.edu > * ltsp: ltsp.repo.inode0.com > * updates: mirror.cogentco.com > Setting up Update Process > Resolving Dependencies > --> Running transaction check > ---> Package libvirt.x86_64 0:0.10.2-18.el6_4.5 will > be updated > ---> Package libvirt.x86_64 0:0.10.2-18.el6_4.8 will > be an update > ---> Package libvirt-client.x86_64 > 0:0.10.2-18.el6_4.5 will be updated > ---> Package libvirt-client.x86_64 > 0:0.10.2-18.el6_4.8 will be an update > ---> Package ltsp-server.x86_64 0:5.4.5-21.el6 will > be updated > ---> Package ltsp-server.x86_64 0:5.4.5-22.el6 will > be an update > ---> Package mock.noarch 0:1.1.30-1.el6 will be > updated > ---> Package mock.noarch 0:1.1.32-1.el6 will be an > update > --> Finished Dependency Resolution > > Dependencies Resolved > > ======================================================================================= > Package > Arch > Version > Repository > Size > ======================================================================================= > Updating: > libvirt > x86_64 > 0.10.2-18.el6_4.8 > updates > 2.3 M > libvirt-client > x86_64 > 0.10.2-18.el6_4.8 > updates > 4.0 M > ltsp-server > x86_64 > 5.4.5-22.el6 > ltsp > 157 k > mock > noarch > 1.1.32-1.el6 > ltsp > 208 k > > Transaction Summary > ======================================================================================= > Upgrade 4 Package(s) > > Total download size: 6.7 M > Is this ok [y/N]: y > Downloading Packages: > (1/4): libvirt-0.10.2-18.el6_4.8.x86_64.rpm > > | 2.3 MB 00:00 > (2/4): libvirt-client-0.10.2-18.el6_4.8.x86_64.rpm > | 4.0 MB > 00:00 > (3/4): ltsp-server-5.4.5-22.el6.x86_64.rpm > > | 157 kB 00:00 > (4/4): mock-1.1.32-1.el6.noarch.rpm > > | 208 kB > 00:00 > --------------------------------------------------------------------------------------- > Total > > > 951 kB/s | 6.7 MB 00:07 > Running rpm_check_debug > Running Transaction Test > Transaction Test Succeeded > Running Transaction > Updating : > libvirt-client-0.10.2-18.el6_4.8.x86_64 > > 1/8 > Updating : > mock-1.1.32-1.el6.noarch > > > 2/8 > Updating : > ltsp-server-5.4.5-22.el6.x86_64 > > 3/8 > You are running iptables, you may want to run > ltsp-server-tweaks to allow clients to connect. > Updating : > libvirt-0.10.2-18.el6_4.8.x86_64 > > 4/8 > Cleanup : > ltsp-server-5.4.5-21.el6.x86_64 > > 5/8 > Cleanup : > libvirt-0.10.2-18.el6_4.5.x86_64 > > 6/8 > Cleanup : mock-1.1.30-1.el6.noarch > > > 7/8 > Cleanup : > libvirt-client-0.10.2-18.el6_4.5.x86_64 > > 8/8 > Verifying : > ltsp-server-5.4.5-22.el6.x86_64 > > 1/8 > Verifying : mock-1.1.32-1.el6.noarch > > > 2/8 > Verifying : > libvirt-0.10.2-18.el6_4.8.x86_64 > > 3/8 > Verifying : > libvirt-client-0.10.2-18.el6_4.8.x86_64 > > 4/8 > Verifying : > libvirt-client-0.10.2-18.el6_4.5.x86_64 > > 5/8 > Verifying : > libvirt-0.10.2-18.el6_4.5.x86_64 > > 6/8 > Verifying : mock-1.1.30-1.el6.noarch > > > 7/8 > Verifying : > ltsp-server-5.4.5-21.el6.x86_64 > > 8/8 > > Updated: > libvirt.x86_64 0:0.10.2-18.el6_4.8 > libvirt-client.x86_64 0:0.10.2-18.el6_4.8 > ltsp-server.x86_64 0:5.4.5-22.el6 > mock.noarch 0:1.1.32-1.el6 > > Complete! > > > --- On Tue, 6/18/13, Joshua Trimm wrote: > > > From: Joshua Trimm > > Subject: Re: [Ltsp-discuss] ltsp-build-client > failed after 78% completion > > To: ltsp-discuss@lists.sourceforge.net > > Date: Tuesday, June 18, 2013, 11:30 PM > > https://bugs.launchpad.net/ltsp/+bug/1188119 > > > > Once fix rpm's have been processed you will > need to update > > them through > > yum, then run: > > > > $ ltsp-build-client --release epel-6-x86_64 > > > > On 6/18/13 4:46 PM, Km - wrote: > > > Hi, I am installing LTSP on CentOS 6.4 > 64-bit machine > > using the procedure at > > > > > > http://wiki.ltsp.org/wiki/Category:Fedora > > > > > > * How to install > > > rpm --import http://ltsprepo.s3.amazonaws.com/rpm/RPM-GPG-KEY-ltsp > > > rpm -Uvh http://ltsprepo.s3.amazonaws.com/rpm/el6/x86_64/ltsp-release-5-9.el6.noarch.rpm > > > yum install ltsp-server > > > Edit config files in /etc/ltsp/ > > > ltsp-build-client > > > Read the docs!! > > > > > > > > > I got to running the ltsp-build-client > part. > > > > > > I ran the command > > > > > > ltsp-build-client --arch=x86_64 > > > > > > It installed 78% then bombed out with the > error: > > > > > > Error encountered running command: setarch > i686 > > /usr/bin/mock -r epel-6-i386 --target=i686 > > --configdir=/etc/ltsp/mock --arch=i686 --copyin > > /etc/sysconfig/firstboot /etc/sysconfig/firstboot > > > check > /opt/ltsp/mock/epel-6-i386/result/root.log for > > more detailed information > > > > > > I typed > > > > > > rm /var/lib/rpm/__db* > > > > > > as suggested by some web pages and ran the > command a > > second time with > > > > > > ltsp-build-client > > > > > > But got the same error again. > > > > > > ** Did anyone have similar problems > when > > installing ltsp? Is this a problem with db3, yum, > gpg > > key or what? > > > > > > [root@localhost2 result]# rpm -qa |grep -i > db3 > > > [root@localhost2 result]# > > > > > > [root@localhost2 rpm]# rpm -qa | grep -i > db > > > dbus-1.2.24-7.el6_3.x86_64 > > > eggdbus-0.6-3.el6.x86_64 > > > > foomatic-db-filesystem-4.0-7.20091126.el6.noarch > > > libtdb-1.2.10-1.el6.x86_64 > > > gdbm-1.8.0-36.el6.x86_64 > > > dbus-glib-0.86-6.el6.x86_64 > > > db4-utils-4.7.25-17.el6.x86_64 > > > m17n-db-1.5.5-1.1.el6.noarch > > > dbus-python-0.83.0-6.1.el6.x86_64 > > > > foomatic-db-ppds-4.0-7.20091126.el6.noarch > > > > mobile-broadband-provider-info-1.20100122-1.el6.noarch > > > db4-4.7.25-17.el6.x86_64 > > > dbus-libs-1.2.24-7.el6_3.x86_64 > > > foomatic-db-4.0-7.20091126.el6.noarch > > > m17n-db-datafiles-1.5.5-1.1.el6.noarch > > > [root@localhost2 rpm]# > > > > > > [root@localhost2 result]# rpm -qa | grep > -i gpg > > > gpg-pubkey-c105b9de-4e0fd3a3 > > > libgpg-error-1.7-4.el6.x86_64 > > > pygpgme-0.1-18.20090824bzr68.el6.x86_64 > > > gpg-pubkey-dd41c6ea-5152c1fa > > > gpgme-1.1.8-3.el6.x86_64 > > > [root@localhost2 result]# > > > > > > > > > I also tried re-installing ltsp-server > with > > > > > > yum --nogpgcheck install ltsp-server > > > > > > But the OS said that ltsp-server has > already been > > installed. > > > > > > Thank you very much for your suggestions. > > > > > > I checked the > > /opt/ltsp/mock/epel-6-i386/result/root.log and it > says: > > > > > > ... > > > Transaction Summary > > > > > > ================================================================================ > > > Install 108 Package(s) > > > > > > Total download size: 95 M > > > Installed size: 210 M > > > rpmdb: Build signature doesn't match > environment > > > error: db3 error(-30971) from > dbenv->open: > > DB_VERSION_MISMATCH: Database environment version > > mismatch <======== Error > > > error: cannot open Packages index using > db3 - > > (-30971) <============ > > > error: cannot open Packages database in > /var/lib/rpm > > > rpmdb: Build signature doesn't match > environment > > > error: db3 error(-30971) from > dbenv->open: > > DB_VERSION_MISMATCH: Database environment version > > mismatch <===== > > > error: cannot open Packages database in > > /var/lib/rpm <================ > > > error: /etc/pki/rpm-gpg/RPM-GPG-KEY-ltsp: > key 1 import > > failed. <=============== > > > > > > Installed: > > > dracut-network.noarch 0:004-303.el6 > > > dracut-tools.noarch 0:004-303.el6 > > > epel-release.noarch 0:6-8 > > > freerdp.i686 0:1.0.1-7.el6 > > > fuse-sshfs.i686 0:2.4-1.el6 > > > ldm.i686 0:2.2.11-4.el6 > > > ... > > > > > > rtkit.i686 0:0.5-1.el6 > > > speex.i686 0:1.2-0.12.rc1.1.el6 > > > terminus-fonts.noarch 0:4.30-1.el6 > > > ttmkfdir.i686 0:3.0.9-32.1.el6 > > > urw-fonts.noarch 0:2.4-10.el6 > > > vim-minimal.i686 2:7.2.411-1.8.el6 > > > xorg-x11-font-utils.i686 > 1:7.2-11.el6 > > > > > > > > > DEBUG util.py:314: Executing command: > > ['/bin/umount', '-n', > > > '/opt/ltsp/mock/epel-6-i386/root/proc/filesystems'] > > with env {'LANG': 'en_US.UTF-8', > > 'TERM': 'vt100', 'SHELL': > > '/bin/bash', 'HOSTNAME': > 'mock', > > 'HOME': '/builddir', > 'PATH': > > '/usr/bin:/bin:/usr/sbin:/sbin'} > > > > > > ... > > > > > > DEBUG util.py:354: Child return code > was: 0 > > > DEBUG util.py:314: Executing command: > > ['/bin/umount', '-n', > '-l', > > '/opt/ltsp/mock/epel-6-i386/root/proc'] > with env > > {'LANG': 'en_US.UTF-8', > 'TERM': > > 'vt100', 'SHELL': > '/bin/bash', > > 'HOSTNAME': 'mock', > 'HOME': > > '/builddir', 'PATH': > > '/usr/bin:/bin:/usr/sbin:/sbin'} > > > DEBUG util.py:354: Child return code > was: 0 > > > DEBUG util.py:116: kill orphans > > > INFO backend.py:1014: Mock Version: > 1.1.30 > > > DEBUG util.py:116: kill orphans > > > INFO backend.py:1014: Mock Version: > 1.1.30 > > > DEBUG util.py:116: kill orphans > > > INFO backend.py:1014: Mock Version: > 1.1.30 > > > DEBUG util.py:116: kill orphans > > > INFO backend.py:1014: Mock Version: > 1.1.30 > > > DEBUG util.py:116: kill orphans > > > INFO backend.py:1014: Mock Version: > 1.1.30 > > > DEBUG util.py:116: kill orphans > > > INFO backend.py:1014: Mock Version: > 1.1.30 > > > DEBUG util.py:116: kill orphans > > > INFO backend.py:1014: Mock Version: > 1.1.30 > > > DEBUG util.py:116: kill orphans > > > INFO backend.py:1014: Mock Version: > 1.1.30 > > > DEBUG util.py:116: kill orphans > > > INFO backend.py:1014: Mock Version: > 1.1.30 > > > DEBUG util.py:116: kill orphans > > > > > > > > > ------------------------------------------------------------------------------ > > > This SF.net email is sponsored by > Windows: > > > > > > Build for Windows Store. > > > > > > http://p.sf.net/sfu/windows-dev2dev > > > > > > _____________________________________________________________________ > > > Ltsp-discuss mailing list. To > > un-subscribe, or change prefs, goto: > > > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > > > For additional LTSP help, try #ltsp > > channel on irc.freenode.net > > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by Windows: > > > > Build for Windows Store. > > > > http://p.sf.net/sfu/windows-dev2dev > > > _____________________________________________________________________ > > Ltsp-discuss mailing list. To un-subscribe, > > or change prefs, goto: > > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > > For additional LTSP help, try #ltsp channel > > on irc.freenode.net > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, > or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel > on irc.freenode.net > ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net