Hi,
After yesterday's helpful reply by Michael Edwards after which I was able to
change my http port and successfully build the server image. I'm facing a
problem with building "Client Image."
It fails at "PackMan smart_install." Extract from the end of the log file
(from step 4) is copied below, and the detailed log file is attached.
=============================================================================
== Running step 4 of the OSCAR wizard: Build OSCAR client image
=============================================================================
Writing package group file for client installation:
/opt/oscar/tmp/Default.pgroup
--> Identified distro of clients: fc 7
--> Distro repo: file:/tftpboot/distro/fedora-7-i386
--> OSCAR repo:
file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms
--> Using binary list: /opt/oscar/oscarsamples/fc-7-i386.rpmlist
0: fedora-7-i386
Selection: fedora-7-i386
the new package list is:
file:/tftpboot/distro/fedora-7-i386,file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms
Executing command: mksiimage -A --name oscarimage --location
"file:/tftpboot/distro/fedora-7-i386,file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms"
--filename /opt/oscar/oscarsamples/fc-7-i386.rpmlist --arch i386 --path
/var/lib/systemimager/images/oscarimage --filename
/opt/oscar/tmp/Default.pgroup
PackMan smart_install failed. at
/usr/lib/systeminstaller/SystemInstaller/Package.pm line 224
Failed to install files.
~~~~
ERROR: Failed to install packages: arpwatch, finger-server, compat-gcc-34,
compat-gcc-34-c++, compat-gcc-34-g77, compat-libgcc-296, glib, gnuplot,
mtools, nkf, postfix, rsh-server, switchdesk, telnet-server, units,
compat-libf2c-34, libobjc, xorg-x11-xdm, opkg-apitest-client,
opkg-base-client, opkg-c3-client, opkg-disable-services-client,
opkg-ganglia-client, opkg-lam-client, opkg-maui-client, opkg-mpich-client,
opkg-mtaconfig-client, opkg-netbootmgr-client, opkg-ntpconfig-client,
opkg-oda-client, opkg-openmpi-client, opkg-opium-client, opkg-pvm-client,
opkg-rapt-client, opkg-sc3-client, opkg-sis-client, opkg-switcher-client,
opkg-sync-files-client, opkg-torque-client, opkg-yume-client
~~~~
at /usr/bin/mksiimage line 194
FATAL: Can't remove /var/lib/systemimager/overrides/oscarimage!
Package install failed
at /usr/bin/mksiimage line 200
at /usr/bin/mksiimage line 201
Image build finished.
Image oscarimage does not exist
at /usr/bin/mksidisk line 88
Couldn't run command mksidisk -A --name oscarimage --file
/opt/oscar/oscarsamples/ide.disk at
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Tk.pm line 247
Requested images not found.
at /usr/bin/mksiimage line 302
--> Successfully ran oscar_wizard
--> Successfully ran OSCAR install_cluster script
I'll be thankful if some one can help me out with this issue as I can't even
figure what the problem is.
Thank you in adnance, waiting for a prompt and helpful reply.
Best Regards
Muhammad Aqeel Ahmad
[EMAIL PROTECTED]
=============================================================================
== Running OSCAR install_cluster script Tue Jan 1 00:20:17 PKT 2002
=============================================================================
--> Checking if this is a supported platform
--> Running: "cd /opt/oscar/scripts && ./wizard_prep"
=============================================================================
== Running OSCAR wizard_prep script
=============================================================================
--> Bootstrapping OSCAR smart package manager
eval require PackageSmart returned Bad file descriptor
--> Checking OSCAR repositories existence.
Preparing pools: /tftpboot/distro/fedora-7-i386
Analysing /tftpboot/distro/fedora-7-i386
/tftpboot/distro/fedora-7-i386 is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool associated to distro fedora
Pool format: rpms
Binary package format for the image: rpms
--- checking md5sum for /tftpboot/distro/fedora-7-i386
Preparing pools: /tftpboot/oscar/fc-7-i386
Analysing /tftpboot/oscar/fc-7-i386
/tftpboot/oscar/fc-7-i386 is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool associated to distro fc
Pool format: rpms
Binary package format for the image: rpms
--- checking md5sum for /tftpboot/oscar/fc-7-i386
Preparing pools: /tftpboot/oscar/common-rpms
Analysing /tftpboot/oscar/common-rpms
/tftpboot/oscar/common-rpms is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool format: rpms
Binary package format for the image: rpms
--- checking md5sum for /tftpboot/oscar/common-rpms
Cleaning up Everything
--> Installing OSCAR wizard prerequisites
--> Installing API opkgs
Preparing pools: file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms file:/tftpboot/distro/fedora-7-i386
Analysing file:/tftpboot/oscar/fc-7-i386
/tftpboot/oscar/fc-7-i386 is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool associated to distro fc
Pool format: rpms
Analysing file:/tftpboot/oscar/common-rpms
/tftpboot/oscar/common-rpms is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool format: rpms
Analysing file:/tftpboot/distro/fedora-7-i386
/tftpboot/distro/fedora-7-i386 is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool associated to distro fedora
Pool format: rpms
Binary package format for the image: rpms
--- checking md5sum for /tftpboot/oscar/fc-7-i386
--- checking md5sum for /tftpboot/oscar/common-rpms
--- checking md5sum for /tftpboot/distro/fedora-7-i386
Setting up Install Process
Parsing package install arguments
Nothing to do
--> Successfully installed API opkgs
--> Making sure there is an ODA database password
Checking for ODA database password file ... found.
Checking for proper ownership and permissions ... correct.
Reading password from file /etc/odapw ... done.
--> Initializing ODA database
Starting the mysqld database server ...
/etc/init.d/mysqld start
Starting MySQL: [60G[[0;32m OK [0;39m]
Making sure that the mysqld database server starts on subsequent boots ...
chkconfig mysqld on
Modifying the global oscar information record
Checking for database existence of node oscar_server ...
The node oscar_server is already in the database
Updating the hostname field in the oscar_server node to <master_node> ...
Updating the dns_domain field in the oscar_server node to <clusterdomain>
Checking for existence of node group oscar_clients ...
Checking for existence of node group all ...
Checking for existence of node group Default_node ...
Checking if the OPKG has to be excluded...
OPKG ganglia: Analysing default values
Checking if the OPKG has to be excluded...
OPKG jobmonarch: Analysing default values
Checking if the OPKG has to be excluded...
OPKG ntpconfig: Analysing default values
Checking if the OPKG has to be excluded...
OPKG sge: Analysing default values
Checking if the OPKG has to be excluded...
OPKG sis: Analysing default values
Checking if the OPKG has to be excluded...
OPKG switcher: Analysing default values
Checking if the OPKG has to be excluded...
OPKG torque: Analysing default values
/opt/oscar/scripts/set_node_nics: warning - no gateway addresses found for this machine at /opt/oscar/scripts/set_node_nics line 101.
/opt/oscar/scripts/set_node_nics: warning - no gateway interfaces found for this machine at /opt/oscar/scripts/set_node_nics line 119.
--> Identified core packages: base sc3 c3 apitest selinux rapt switcher yume sync-files oda sis
--> Installing server core packages
Preparing pools: file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms file:/tftpboot/distro/fedora-7-i386
Analysing file:/tftpboot/oscar/fc-7-i386
/tftpboot/oscar/fc-7-i386 is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool associated to distro fc
Pool format: rpms
Analysing file:/tftpboot/oscar/common-rpms
/tftpboot/oscar/common-rpms is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool format: rpms
Analysing file:/tftpboot/distro/fedora-7-i386
/tftpboot/distro/fedora-7-i386 is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool associated to distro fedora
Pool format: rpms
Binary package format for the image: rpms
--- checking md5sum for /tftpboot/oscar/fc-7-i386
--- checking md5sum for /tftpboot/oscar/common-rpms
--- checking md5sum for /tftpboot/distro/fedora-7-i386
Setting up Install Process
Parsing package install arguments
Nothing to do
--> Successfully installed server core RPMs
Updating the status of core packages from installable to installed
--> Done marking installed bits in ODA
--> Running post_server_install scripts for server core packages
Stopping rsync daemon for systemimager: stopped.
Starting rsync daemon for systemimager: ok.
[sis] Enabling systemimager-server-rsyncd
Stopping SystemImager's installation monitoring: si_monitor... stopped.
Starting SystemImager's installation monitoring: si_monitor... ok.
[sis] Enabling systemimager-server-monitord
--> Successfully ran server core package post_server_install scripts
--> Preparing for httpd export: file:/tftpboot/distro/fedora-7-i386 file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms
Preparing pools: file:/tftpboot/distro/fedora-7-i386 file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms
Analysing file:/tftpboot/distro/fedora-7-i386
/tftpboot/distro/fedora-7-i386 is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool associated to distro fedora
Pool format: rpms
Analysing file:/tftpboot/oscar/fc-7-i386
/tftpboot/oscar/fc-7-i386 is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool associated to distro fc
Pool format: rpms
Analysing file:/tftpboot/oscar/common-rpms
/tftpboot/oscar/common-rpms is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool format: rpms
Binary package format for the image: rpms
--- checking md5sum for /tftpboot/distro/fedora-7-i386
--- checking md5sum for /tftpboot/oscar/fc-7-i386
--- checking md5sum for /tftpboot/oscar/common-rpms
Config file /etc/httpd/conf.d/repo_tftpboot_distro_fedora-7-i386.conf already existing. Skipping.
Config file /etc/httpd/conf.d/repo_tftpboot_oscar_fc-7-i386.conf already existing. Skipping.
Config file /etc/httpd/conf.d/repo_tftpboot_oscar_common-rpms.conf already existing. Skipping.
--> Successfully ran OSCAR wizard_prep script
--> Successfully ran wizard_prep
=============================================================================
== Prerequisites installed
=============================================================================
--> OSCAR version: 5.1b2
--> Command line invocation: ./install_cluster eth0
--> Hostname: master_node
--> DNS domain name: clusterdomain
--> Network interface: eth0
--> Linux distribution: fedora 7
--> Kernel version: 2.6.20-2925.9.fc7xen
--> Architecture: i386
--> Running in directory: /opt/oscar
--> PATH: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/pbs/bin:/opt/pbs/lib/xpbs/bin:/opt/env-switcher/bin:/opt/pvm3/lib:/opt/pvm3/lib/LINUX:/opt/pvm3/bin/LINUX:/opt/c3-4/:/root/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
--> Running: "./oscar_wizard install"
=============================================================================
== Running step 3 of the OSCAR wizard: Install OSCAR server packages
=============================================================================
--> Step 3: Running: ./install_server eth0
--> Getting internal IP address
--> Got: [IP 10.11.12.18]
--> Got: [broadcast 10.11.12.255]
--> Got: [netmask 255.255.255.0]
--> Adding hosts to /etc/hosts
Backing up /etc/hosts
Adding required entries to /etc/hosts
--> Identified non-core packages: disable-services ganglia lam maui mpich mtaconfig netbootmgr ntpconfig openmpi opium pvm torque
--> Installing server non-core packages (core packages already installed)
Preparing pools: file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms file:/tftpboot/distro/fedora-7-i386
Analysing file:/tftpboot/oscar/fc-7-i386
/tftpboot/oscar/fc-7-i386 is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool associated to distro fc
Pool format: rpms
Analysing file:/tftpboot/oscar/common-rpms
/tftpboot/oscar/common-rpms is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool format: rpms
Analysing file:/tftpboot/distro/fedora-7-i386
/tftpboot/distro/fedora-7-i386 is a local pool (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
Pool associated to distro fedora
Pool format: rpms
Binary package format for the image: rpms
--- checking md5sum for /tftpboot/oscar/fc-7-i386
--- checking md5sum for /tftpboot/oscar/common-rpms
--- checking md5sum for /tftpboot/distro/fedora-7-i386
Setting up Install Process
Parsing package install arguments
Nothing to do
--> Successfully installed server non-core binary packages
--> Marking installed bit in ODA for server non-core RPMS
--> Done marking installed bits in ODA
--> Running post_server_install scripts for server non-core packages
Shutting down GANGLIA gmond: [60G[[0;32m OK [0;39m]
Checking if the OPKG has to be excluded...
OPKG ganglia: Analysing default values
editing /etc/gmond.conf
[ganglia] Changed line: name = "Ceedhu"
[ganglia] Changed line: owner = "DNA Seq"
[ganglia] Changed line: port = 8649
[ganglia] Changed line: port = 8649
[ganglia] Ganglia gmond configuration file modified, re-starting daemon...
Shutting down GANGLIA gmond: [60G[[0;31mFAILED[0;39m]
Starting GANGLIA gmond: [60G[[0;32m OK [0;39m]
Checking if the OPKG has to be excluded...
OPKG ganglia: Analysing default values
[ganglia] Ganglia gmond configuration file modified, re-starting daemon...
Shutting down GANGLIA gmond: [60G[[0;32m OK [0;39m]
Starting GANGLIA gmond: [60G[[0;32m OK [0;39m]
editing /etc/gmetad.conf
match: gridname\s+.*
match: data_source\s+.*
[ganglia] Ganglia gmetad configuration file modified, re-starting daemon...
Shutting down GANGLIA gmetad: [60G[[0;32m OK [0;39m]
Starting GANGLIA gmetad: [60G[[0;32m OK [0;39m]
[ganglia] Starting up apache...
Stopping httpd: [60G[[0;32m OK [0;39m]
Starting httpd: [60G[[0;32m OK [0;39m]
[ganglia] Ganglia page is located at http://master_node/ganglia/
WARNING: OSCAR does not know how to configure sendmail yet.
WARNING: Please bug the OSCAR developers to finish the mta-config package!
WARNING: There will be no mail service running on the client nodes!
Setting systemimager-server-netboodmond to NET_BOOT_DEFAULT=local
Stopping SystemImager's net boot client monitor: ok.
Starting SystemImager's net boot client monitor: ok.
Checking if the OPKG has to be excluded...
OPKG ntpconfig: Analysing default values
Shutting down ntpd: [60G[[0;32m OK [0;39m]
Starting ntpd: [60G[[0;32m OK [0;39m]
Checking if the OPKG has to be excluded...
OPKG ntpconfig: Analysing default values
Shutting down ntpd: [60G[[0;32m OK [0;39m]
Starting ntpd: [60G[[0;32m OK [0;39m]
Shutting down TORQUE Server: [60G[[0;32m OK [0;39m]
Starting TORQUE Server: [60G[[0;32m OK [0;39m]
[torque] ...updating xpbsmonrc file
--> Successfully ran server non-core package post_server_install scripts
--> Updating /etc/exports
Backing up /etc/exports
Checking for /home export
Found /home entry
Existing /home entry ok, preserved
--> Updating rsyncd.conf
Backing up rsyncd header stub
Found hosts allow stanza
Found hosts allow stanza
Found hosts allow stanza
Found hosts allow stanza
Looks like we already have it!
Updated rsyncd.conf file
--> Refreshing services
Shutting down NFS mountd: [60G[[0;32m OK [0;39m]
Shutting down NFS daemon: [60G[[0;32m OK [0;39m]
Shutting down NFS quotas: [60G[[0;32m OK [0;39m]
Shutting down NFS services: [60G[[0;32m OK [0;39m]
Starting NFS services: [60G[[0;32m OK [0;39m]
Starting NFS quotas: [60G[[0;32m OK [0;39m]
Starting NFS daemon: [60G[[0;32m OK [0;39m]
Starting NFS mountd: [60G[[0;32m OK [0;39m]
Stopping sshd: [60G[[0;32m OK [0;39m]
Starting sshd: [60G[[0;32m OK [0;39m]
Enabling service sshd... done
Enabling service dhcpd... done
Enabling service rpcbind... done
Enabling service nfs... done
--> Fixing root "dot" files
Making any necessary PATH fixes to (/root/.bashrc)
Making any necessary PATH fixes to (/root/.tcshrc)
Making any necessary PATH fixes to (/root/.cshrc)
--> Finished server_prep script
--> Step 3: Successfully installed OSCAR server
--> Update Wizard Env (as needed)
=============================================================================
== Running step 4 of the OSCAR wizard: Build OSCAR client image
=============================================================================
Writing package group file for client installation: /opt/oscar/tmp/Default.pgroup
--> Identified distro of clients: fc 7
--> Distro repo: file:/tftpboot/distro/fedora-7-i386
--> OSCAR repo: file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms
--> Using binary list: /opt/oscar/oscarsamples/fc-7-i386.rpmlist
0: fedora-7-i386
Selection: fedora-7-i386
the new package list is: file:/tftpboot/distro/fedora-7-i386,file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms
=============================================================================
== Running step 4 of the OSCAR wizard: Build OSCAR client image
=============================================================================
Writing package group file for client installation: /opt/oscar/tmp/Default.pgroup
--> Identified distro of clients: fc 7
--> Distro repo: file:/tftpboot/distro/fedora-7-i386
--> OSCAR repo: file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms
--> Using binary list: /opt/oscar/oscarsamples/fc-7-i386.rpmlist
0: fedora-7-i386
Selection: fedora-7-i386
the new package list is: file:/tftpboot/distro/fedora-7-i386,file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms
Executing command: mksiimage -A --name oscarimage --location "file:/tftpboot/distro/fedora-7-i386,file:/tftpboot/oscar/fc-7-i386,file:/tftpboot/oscar/common-rpms" --filename /opt/oscar/oscarsamples/fc-7-i386.rpmlist --arch i386 --path /var/lib/systemimager/images/oscarimage --filename /opt/oscar/tmp/Default.pgroup
PackMan smart_install failed. at /usr/lib/systeminstaller/SystemInstaller/Package.pm line 224
Failed to install files.
~~~~
ERROR: Failed to install packages: arpwatch, finger-server, compat-gcc-34, compat-gcc-34-c++, compat-gcc-34-g77, compat-libgcc-296, glib, gnuplot, mtools, nkf, postfix, rsh-server, switchdesk, telnet-server, units, compat-libf2c-34, libobjc, xorg-x11-xdm, opkg-apitest-client, opkg-base-client, opkg-c3-client, opkg-disable-services-client, opkg-ganglia-client, opkg-lam-client, opkg-maui-client, opkg-mpich-client, opkg-mtaconfig-client, opkg-netbootmgr-client, opkg-ntpconfig-client, opkg-oda-client, opkg-openmpi-client, opkg-opium-client, opkg-pvm-client, opkg-rapt-client, opkg-sc3-client, opkg-sis-client, opkg-switcher-client, opkg-sync-files-client, opkg-torque-client, opkg-yume-client
~~~~
at /usr/bin/mksiimage line 194
FATAL: Can't remove /var/lib/systemimager/overrides/oscarimage!
Package install failed
at /usr/bin/mksiimage line 200
at /usr/bin/mksiimage line 201
Image build finished.
Image oscarimage does not exist
at /usr/bin/mksidisk line 88
Couldn't run command mksidisk -A --name oscarimage --file /opt/oscar/oscarsamples/ide.disk at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Tk.pm line 247
Requested images not found.
at /usr/bin/mksiimage line 302
--> Successfully ran oscar_wizard
--> Successfully ran OSCAR install_cluster script
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users