My apologies for not responding sooner;
I'm running a fresh install, unupdated, of CentOS 4.4 x86_64 on a
set of SunFire X4100s.
I'm doing this from one sole remote console login, rather than at
the desktop.
Of the four NICs on the headnode, eth0 is connected to the "public"
LAN, eth1 is specified as the "Private" LAN for the Cluster.
I have managed to get the "Oscar Wizard" up, but cannot build a
successful client image. The error seems to be right after Step 22,
"can't create transaction lock". I've looked into this, and from what
I can tell this is an error in RPM that should have been cleared up
with the "rpm-4.3.3-18_nonptl" release of RPM.
I've attempted the following to clear this up;
1) Checked for any processes using the RPM database, none found.
2) Logged in Locally, and killed the "up2date" process in the taskbar
(saw a comment online somewhere that suggested that).
3) Tried rebuilding the RPM database (rpm -vv --rebuilddb)
4) Tried wiping out the RPM database (all /var/lib/rpm/__db* files),
and rebuilding them.
So far, no success. Any thoughts?
1: 2006-10-7 14:59:31 [SystemInstaller::Package :: Line 77] Expected
lines of output: 523
2: 2006-10-7 14:59:31 [SystemInstaller::Package :: Line 79] Finding
package install files.
3: 2006-10-7 14:59:31 [SystemInstaller::Package :: Line 180] Finding
files with module SystemInstaller::Package::UpdateRpms
4: Forced packages for i686: glibc
5: Forced packages for i386: tcl libstdc++ freetype fontconfig
glibc-devel xorg-x11-libs expat ncurses xorg-x11-Mesa-libGL zlib gpm
libgcc
6: 2006-10-7 14:59:35 [SystemInstaller::Package::UpdateRpms :: Line
131] Identifying distro.
7: 2006-10-7 14:59:35 [SystemInstaller::Package::UpdateRpms :: Line
134] Distro is Redhat, version is el4.
8: 2006-10-7 14:59:35 [SystemInstaller::Package::UpdateRpms :: Line
138] Found stage file for this distro and full version.
9: 2006-10-7 14:59:35 [SystemInstaller::Package::UpdateRpms :: Line
143] Found stage file for this distro and major version.
10: 2006-10-7 14:59:35 [SystemInstaller::Package::UpdateRpms :: Line
149] No version stage file found, falling back to distro file.
11: 2006-10-7 14:59:35 [SystemInstaller::Package::UpdateRpms :: Line
156] Reading stage definition file,
/usr/share/systeminstaller/distinfo/Redhat/el4//stages
12: 2006-10-7 14:59:35 [SystemInstaller::Package :: Line 85] Performing
pre-install.
13: 2006-10-7 14:59:35 [SystemInstaller::Package :: Line 198]
Performing pre-install with module SystemInstaller::Package::UpdateRpms
14: 2006-10-7 14:59:35 [SystemInstaller::Package::UpdateRpms :: Line
211] Identifying distro.
15: 2006-10-7 14:59:35 [SystemInstaller::Package::UpdateRpms :: Line
213] Distro is Redhat, version is el4.
16: 2006-10-7 14:59:35 [SystemInstaller::Package::UpdateRpms :: Line
223] No seed directory found, using defaults.
17: 2006-10-7 14:59:35 [SystemInstaller::Package::UpdateRpms :: Line
226] Priming Rpm database:
/var/lib/systemimager/images/ninjas/var/lib/rpm/
18: 2006-10-7 14:59:35 [SystemInstaller::Package::UpdateRpms :: Line
236] Creating /dev/null
19: 2006-10-7 14:59:35 [SystemInstaller::Package :: Line 90] Installing
package install files.
20: 2006-10-7 14:59:35 [SystemInstaller::Package :: Line 216]
Installing with module SystemInstaller::Package::RpmNoScripts
21: 2006-10-7 14:59:35 [SystemInstaller::Package::RpmNoScripts :: Line
98] Performing RPM stage 1 install, command is:
22: 2006-10-7 14:59:35 [SystemInstaller::Package::RpmNoScripts :: Line
99] cd /tftpboot/rpm;rpm -ir /var/lib/systemimager/images/ninjas -v
--percent --nopost --notriggers filesystem-2.3.0-1.x86_64.rpm
setup-2.5.37-1.3.noarch.rpm basesystem-8.0-4.noarch.rpm
glibc-common-2.3.4-2.25.x86_64.rpm glibc-2.3.4-2.25.x86_64.rpm
libgcc-3.4.6-3.x86_64.rpm libtermcap-2.0.8-39.x86_64.rpm
termcap-5.4-3.noarch.rpm tzdata-2006g-1.EL4.noarch.rpm
warning: filesystem-2.3.0-1.x86_64.rpm: V3 DSA signature: NOKEY, key ID
443e1821
error: can't create transaction lock on
/var/lib/systemimager/images/ninjas/var/lock/rpm/transaction
Rpm installation failed. at
/usr/lib/systeminstaller/SystemInstaller/Package.pm line 217
Failed to install files. at /usr/bin/mksiimage line 184
23: 2006-10-7 14:59:36 [main :: Line 185] Unmounting /proc.
24: 2006-10-7 14:59:36 [SystemInstaller::Image :: Line 68] si_rmimage
ninjas
FATAL: Can't remove /var/lib/systemimager/scripts/ninjas.master!
Package install failed
at /usr/bin/mksiimage line 190
at /usr/bin/mksiimage line 191
Built image from rpms
Image ninjas does not exist
at /usr/bin/mksidisk line 85
Couldn't run command mksidisk -A --name ninjas --file
/opt/oscar/oscarsamples/scsi.disk at
/usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi/Tk.pm line
247
Use of uninitialized value in hash element at
/usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi/Tk/Trace.pm
line 181.
Requested images not found.
at /usr/bin/mksiimage line 292
______________________________________________________________
H.F. Streit, UNIX Administrator
IMS Group Technician
Southwest Research Institute
Michael Edwards wrote:
Sorry, this got lost in the gmail blackout. I replied before but my
message never got through, then I forgot about it. :(
Are y'all working on fresh CentOS 4.4 installs or are these systems
which have been upgraded from 4.2? Did they previously have OSCAR
installed on them? The "startover" script in 4.2 is not perfect...
Is there enough space in the partition containing /var? Is the
directory /var/lib/systemimager/images/oscarimage/var/lock/rpm/
there? The only thing I can think of is that it looks like the script
doesn't have permision to write to that directory, or just can't for
some reason...
On 11/2/06, Hollen Streit <[EMAIL PROTECTED]> wrote:
Otter,
I myself am running into a similar issue with building an image. By
chance have you discovered a fix?
Thanks.
______________________________________________________________
H.F. Streit, UNIX Administrator
IMS Group Technician
Southwest Research Institute
Otter wrote:
Greetings,
I recently had a problem installing OSCAR 4.2 on CentOS 4.4. I do
understand CentOS is not officially supported, but I had had no problems
installing OSCAR on CentOS 4.2. I did have 1 problem with CentOS 4.2,
and that was with python-ellementtree. Removing the YUM that ships with
CentOS corrected this. But with CentOS 4.4 I have a strange problem.
The script runs, and the OSCAR wizard comes up. When I get to step 4 :
Build OSCAR client image, it fails.
Below is an clip where error occurs, and attached is the full install
log with DEBUG_UPDATE_RPMS=y
=============================================================================
== Running step 4 of the OSCAR wizard: Build OSCAR client image
=============================================================================
warning: /tftpboot/rpm/centos-release-4-4.2.i386.rpm: V3 DSA
signature: NOKEY, key ID 443e1821
--> Step 4: Identified distro of clients: redhat el4
--> Step 4: Using RPM list:
/opt/oscar/oscarsamples/redhat-el4-i386.rpmlist
--> Returning oscar_clients packages for oda: mysql perl-DBD-MySQL
perl-DBI oda
--> Returning oscar_clients packages for sis: systemconfigurator
systemimager-common systemimager-client
--> Returning oscar_clients packages for switcher: env-switcher
modules-oscar modules-default-manpath-oscar
--> Returning oscar_clients packages for ntpconfig: ntp
--> Returning oscar_clients packages for c3: c3-ckillnode c3-c3cmd-filter
--> Returning oscar_clients packages for maui:
--> Returning oscar_clients packages for loghost:
--> Returning oscar_clients packages for mta-config:
--> Returning oscar_clients packages for disable-services:
--> Returning oscar_clients packages for ganglia: ganglia-gmond
--> Returning oscar_clients packages for pvm: pvm pvm-modules-oscar
--> Returning oscar_clients packages for kernel_picker:
--> Returning oscar_clients packages for apitest:
--> Returning oscar_clients packages for mpich: mpich-ch_p4-gcc-oscar
mpich-ch_p4-gcc-oscar-module
--> Returning oscar_clients packages for perl-Qt:
--> Returning oscar_clients packages for lam: libaio libaio-devel
lam-oscar lam-oscar-modulefile lam-switcher-modulefile
--> Returning oscar_clients packages for sync_files:
--> Returning oscar_clients packages for base:
--> Returning oscar_clients packages for torque: torque torque-mom
torque-client torque-modulefile
--> Returning oscar_clients packages for opium: ssh-oscar
1: 2006-8-27 17:46:1 [SystemInstaller::Package :: Line 77] Expected
lines of output: 495
2: 2006-8-27 17:46:1 [SystemInstaller::Package :: Line 79] Finding
package install files.
3: 2006-8-27 17:46:1 [SystemInstaller::Package :: Line 180] Finding
files with module SystemInstaller::Package::UpdateRpms
4: 2006-8-27 17:46:5 [SystemInstaller::Package::UpdateRpms
:: Line
131] Identifying distro.
5: 2006-8-27 17:46:5 [SystemInstaller::Package::UpdateRpms
:: Line
134] Distro is Redhat, version is el4.
6: 2006-8-27 17:46:5 [SystemInstaller::Package::UpdateRpms
:: Line
138] Found stage file for this distro and full version.
7: 2006-8-27 17:46:5 [SystemInstaller::Package::UpdateRpms
:: Line
143] Found stage file for this distro and major version.
8: 2006-8-27 17:46:5 [SystemInstaller::Package::UpdateRpms
:: Line
149] No version stage file found, falling back to distro file.
9: 2006-8-27 17:46:5 [SystemInstaller::Package::UpdateRpms
:: Line
156] Reading stage definition file,
/usr/share/systeminstaller/distinfo/Redhat/el4//stages
10: 2006-8-27 17:46:5 [SystemInstaller::Package :: Line 85] Performing
pre-install.
11: 2006-8-27 17:46:5 [SystemInstaller::Package :: Line 198]
Performing pre-install with module
SystemInstaller::Package::UpdateRpms
warning: filesystem-2.3.0-1.i386.rpm: V3 DSA signature: NOKEY, key ID
443e1821
12: 2006-8-27 17:46:5 [SystemInstaller::Package::UpdateRpms
:: Line
211] Identifying distro.
13: 2006-8-27 17:46:5 [SystemInstaller::Package::UpdateRpms
:: Line
213] Distro is Redhat, version is el4.
14: 2006-8-27 17:46:5 [SystemInstaller::Package::UpdateRpms
:: Line
223] No seed directory found, using defaults.
15: 2006-8-27 17:46:5 [SystemInstaller::Package::UpdateRpms
:: Line
226] Priming Rpm database:
/var/lib/systemimager/images/oscarimage/var/lib/rpm/
16: 2006-8-27 17:46:5 [SystemInstaller::Package::UpdateRpms
:: Line
236] Creating /dev/null
17: 2006-8-27 17:46:5 [SystemInstaller::Package :: Line 90] Installing
package install files.
18: 2006-8-27 17:46:5 [SystemInstaller::Package :: Line 216]
Installing with module
SystemInstaller::Package::RpmNoScripts
19: 2006-8-27 17:46:5
[SystemInstaller::Package::RpmNoScripts :: Line
98] Performing RPM stage 1 install, command is:
20: 2006-8-27 17:46:5
[SystemInstaller::Package::RpmNoScripts :: Line
99] cd /tftpboot/rpm;rpm -ir
/var/lib/systemimager/images/oscarimage
-v --percent --nopost --notriggers filesystem-2.3.0-1.i386.rpm
setup-2.5.37-1.3.noarch.rpm basesystem-8.0-4.noarch.rpm
glibc-common-2.3.4-2.25.i386.rpm glibc-2.3.4-2.25.i686.rpm
libgcc-3.4.6-3.i386.rpm libtermcap-2.0.8-39.i386.rpm
termcap-5.4-3.noarch.rpm tzdata-2006g-1.EL4.noarch.rpm
error: can't create transaction lock on
/var/lib/systemimager/images/oscarimage/var/lock/rpm/transaction
Rpm installation failed. at
/usr/lib/systeminstaller/SystemInstaller/Package.pm line
217
Failed to install files. at /usr/bin/mksiimage line 184
21: 2006-8-27 17:46:7 [main :: Line 185] Unmounting /proc.
22: 2006-8-27 17:46:7 [SystemInstaller::Image :: Line 68] si_rmimage
oscarimage
FATAL: Can't remove
/var/lib/systemimager/scripts/oscarimage.master!
Package install failed
at /usr/bin/mksiimage line 190
at /usr/bin/mksiimage line 191
Built image from rpms
Image oscarimage does not exist
at /usr/bin/mksidisk line 85
Couldn't run command mksidisk -A --name oscarimage --file
/opt/oscar/oscarsamples/ide.disk at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Tk.pm
line 247
Use of uninitialized value in hash element at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Tk/Trace.pm
line 181.
Requested images not found.
at /usr/bin/mksiimage line 292
Any suggestions?
Thanks for your time,
James
________________________________
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
________________________________
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users
|