Hi List,
Greetings,and sorry for the earlier mail, without subject and body. It was a mischief by the browser.
I am trying to setup autoinstall for 64 IBM OpenPower 720 (PPC) systems with Autoyast control file and NFS repository. I am using SLES 9 for PPC.
Everyting goes smoothly, but after the first phase of install, just before the first reboot, the system gives me an error - "Installation of suse-build-key RPM failed", and waits for an acknoledgment. Once the error is acknowledged, system reboots, and continues the configuration.
I checked the y2logRPM file in /var/log/Yast2 directory on the target server, and found the following errors:
----snipped-----------------------------snipped-----------
1970-01-06 01:25:27 samba-client-3.0.4-1.22.ppc.rpm installed ok
1970-01-06 01:25:29 sax2-4.8-103.7.ppc.rpm installed ok
Additional rpm output:
Updating etc/sysconfig/sax...
1970-01-06 01:25:30 at-3.1.8-898.1.ppc.rpm installed ok
1970-01-06 01:25:30 suse-build-key-1.0-662.4.noarch.rpm install failed
rpm output:
importing SuSE build key to rpm keyring... gpg: key 9C800ACA has been created
971524343 seconds in future (time warp or clock problem)
gpg: key 9C800ACA has been created 971524343 seconds in future (time warp or clock problem)
gpg: key 9C800ACA has been created 971524343 seconds in future (time warp or clock problem)
gpg: key 9C800ACA has been created 971524343 seconds in future (time warp or clock problem)
gpg: key 9C800ACA: no valid user IDs
gpg: key 3D25D3D9 has been created 920289658 seconds in future (time warp or clock problem)
gpg: key 3D25D3D9 has been created 920289658 seconds in future (time warp or clock problem)
gpg: key 3D25D3D9: no valid user IDs
importing the key from the file usr/lib/rpm/gnupg/suse-build-key.gpg returned an error. This should not happen. It may not be possible to properly verify the authenticity of rpm packages from SuSE sources.The keyring containing the SuSE rpm package signing key can be found in the root directory of the first CD (DVD) of your SuSE product.
error: %post(suse-build-key-1.0-662.4) scriptlet failed, exit status 255
1970-01-06 01:25:31 apache2-2.0.49-27.8.ppc.rpm installed ok
Additional rpm output:
Updating etc/sysconfig/apache2...
1970-01-06 01:25:32 cups-1.1.20-108.3.ppc.rpm installed ok
Additional rpm output:
Updating etc/sysconfig/cups...
1970-01-06 01:25:32 gpgme-0.3.16-51.1.ppc.rpm installed ok
1970-01-06 01:25:32 kdebase3-nsplugin-3.2.1-68.16.ppc.rpm installed ok
----snipped-----------------------------snipped-----------
It will be a pain to acknowledge on all 64 systems, since these systems are without graphics card / monitor.
I have observed that the system date is being set as January 6th, 1970. Could someone please guide me on how to set the correct date using autoinstall script??
My control file (install.xml) reads as:
---------------------------------------
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<configure>
<inetd>
0
<conf>
<protocol>udp</protocol>
<script>amanda</script>
<server>/usr/lib/amanda/amandad</server>
<service>amanda</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>amandaidx</script>
<server>/usr/lib/amanda/amindexd</server>
<service>amandaidx</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>amidxtape</script>
<server>/usr/lib/amanda/amidxtaped</server>
<service>amidxtape</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>bitlbee</script>
<server>/usr/sbin/bitlbee</server>
<service>ircd</service>
</conf>
<conf>
<protocol>udp</protocol>
<script>bootp-DD2</script>
<server>/usr/sbin/bootpd</server>
<service>bootps</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>chargen</script>
<service>chargen</service>
</conf>
<conf>
<protocol>udp</protocol>
<script>chargen-udp</script>
<service>chargen</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>cups-lpd</script>
<server>/usr/lib/cups/daemon/cups-lpd</server>
<service>printer</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>cvs</script>
<server>/usr/bin/cvs</server>
<service>cvspserver</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>daytime</script>
<service>daytime</service>
</conf>
<conf>
<protocol>udp</protocol>
<script>daytime-udp</script>
<service>daytime</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>echo</script>
<service>echo</service>
</conf>
<conf>
<protocol>udp</protocol>
<script>echo-udp</script>
<service>echo</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>fam</script>
<server>/usr/sbin/fam</server>
<service>fam</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>finger</script>
<server>/usr/sbin/in.fingerd</server>
<service>finger</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>i4l-vbox</script>
<server>/usr/sbin/vboxd</server>
<service>vboxd</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>imap</script>
<server>/usr/sbin/ipop2d</server>
<service>pop2</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>imap</script>
<server>/usr/sbin/ipop3d</server>
<service>pop3</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>imap</script>
<server>/usr/sbin/ipop3d</server>
<service>pop3s</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>imap</script>
<server>/usr/sbin/imapd</server>
<service>imap</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>imap</script>
<server>/usr/sbin/imapd</server>
<service>imaps</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>leafnode</script>
<server>/usr/sbin/leafnode</server>
<service>nntp</service>
</conf>
<conf>
<script>nagios-nrpe</script>
<server>/usr/bin/nrpe</server>
<service>9991</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>netstat</script>
<server>/bin/netstat</server>
<service>netstat</service>
</conf>
<conf>
<protocol>udp</protocol>
<script>ntalk</script>
<server>/usr/sbin/in.talkd</server>
<service>ntalk</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>pidentd</script>
<server>/usr/sbin/in.identd</server>
<service>ident</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>pure-ftpd</script>
<server>/usr/sbin/pure-ftpd</server>
<service>ftp</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>qpopper</script>
<server>/usr/sbin/popper</server>
<service>pop3</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>rexec</script>
<server>/usr/sbin/in.rexecd</server>
<service>exec</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>rlogin</script>
<server>/usr/sbin/in.rlogind</server>
<service>login</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>rman</script>
<server>/usr/sbin/http-rman</server>
<service>http-rman</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>rsh</script>
<server>/usr/sbin/in.rshd</server>
<service>shell</service>
</conf>
<conf>
<protocol>udp</protocol>
<script>rstatd</script>
<server>/usr/sbin/rpc.rstatd</server>
<service>rstatd</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>rsync</script>
<server>/usr/sbin/rsyncd</server>
<service>rsync</service>
</conf>
<conf>
<protocol>udp</protocol>
<script>rusersd</script>
<server>/usr/sbin/rpc.rusersd</server>
<service>rusersd</service>
</conf>
<conf>
<protocol>udp</protocol>
<script>rwalld</script>
<server>/usr/sbin/rpc.rwalld</server>
<service>rwall</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>samba</script>
<server>/usr/sbin/swat</server>
<service>swat</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>servers</script>
<service>servers</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>services</script>
<service>services</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>smtpd</script>
<server>/usr/sbin/smtpd</server>
<service>smtpd</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>systat</script>
<server>/bin/ps</server>
<service>systat</service>
</conf>
<conf>
<protocol>udp</protocol>
<script>talk</script>
<server>/usr/sbin/in.talkd</server>
<service>talk</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>telnet</script>
<server>/usr/sbin/in.telnetd</server>
<service>telnet</service>
</conf>
<conf>
<protocol>udp</protocol>
<script>tftp</script>
<server>/usr/sbin/in.tftpd</server>
<service>tftp</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>time</script>
<service>time</service>
</conf>
<conf>
<protocol>udp</protocol>
<script>time-udp</script>
<service>time</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>uucp</script>
<server>/usr/lib/uucp/uucico</server>
<service>uucp</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>vnc</script>
<server>/usr/X11R6/bin/Xvnc</server>
<service>vnc1</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>vnc</script>
<server>/usr/X11R6/bin/Xvnc</server>
<service>vnc2</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>vnc</script>
<server>/usr/X11R6/bin/Xvnc</server>
<service>vnc3</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>vnc</script>
<server>/usr/X11R6/bin/vnc_inetd_httpd</server>
<service>vnchttpd1</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>vnc</script>
<server>/usr/X11R6/bin/vnc_inetd_httpd</server>
<service>vnchttpd2</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>vnc</script>
<server>/usr/X11R6/bin/vnc_inetd_httpd</server>
<service>vnchttpd3</service>
</conf>
<conf>
<protocol>tcp</protocol>
<script>vsftpd</script>
<server>/usr/sbin/vsftpd</server>
<service>ftp</service>
</conf>
xinetd
0
</inetd>
<networking>
<dns>
false
false
</dns>
<interfaces config:type="list">
<interface>
<bootproto>dhcp</bootproto>
<device>eth0</device>
<startmode>onboot</startmode>
</interface>
<interface>
<bootproto>dhcp</bootproto>
<device>eth1</device>
<startmode>onboot</startmode>
</interface>
</interfaces>
<modules config:type="list">
<device>static-0</device>
<module>e1000</module>
<device>static-1</device>
<module>e1000</module>
</modules>
<routing>
false
</routing>
</networking>
true
<tftp-server>
true
/tftpboot/
</tftp-server>
</configure>
<install>
<general>
<clock>
<hwclock>UTC</hwclock>
<timezone>Asia/Calcutta</timezone>
</clock>
<keyboard>
<keymap>english-us</keymap>
</keyboard>
<language>en_US</language>
<mode>
<confirm config:type="boolean">false</confirm>
<forceboot config:type="boolean">false</forceboot>
</mode>
<mouse>
<id>none</id>
</mouse>
</general>
<pre-scripts config:type="list">
<script>
<filename>/vgremove.sh</filename>
<interpreter>shell</interpreter>
<source><![CDATA[
insmod lvm-mod
vgscan
# Adjust the list of VGs to be removed
vgs=`echo /dev/rootvg`
for vg in $vgs
do
if [ -d $vg ]
then
vgchange -a y $vg
lvs=`ls $vg`
for lv in $lvs
do
i=`basename $lv`
if [ $i != "group" ]
then
lvremove -f $vg/$i
fi
done
vgchange -a n $vg
vgremove $vg
fi
done
]]></source>
</script>
</pre-scripts>
<partitioning config:type="list">
<drive>
<device>/dev/sda</device>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<crypt>twofish256</crypt>
<format config:type="boolean">false</format>
false
65
primary
<size>50M</size>
</partition>
<partition>
<format config:type="boolean">false</format>
false
primary
<mount/>
<size>8GB</size>
</partition>
<partition>
rootvg
primary
<size>60GB</size>
</partition>
</partitions>
<use>all</use>
</drive>
<drive>
<device>/dev/rootvg</device>
true
<partitions config:type="list">
<partition>
<filesystem config:type="symbol">reiser</filesystem>
rootlv
<mount>/</mount>
<size>6GB</size>
</partition>
<partition>
<filesystem config:type="symbol">reiser</filesystem>
optlv
<mount>/opt</mount>
<size>4GB</size>
</partition>
<partition>
<filesystem config:type="symbol">reiser</filesystem>
varlv
<mount>/var</mount>
<size>1GB</size>
</partition>
<partition>
<filesystem config:type="symbol">reiser</filesystem>
tmplv
<mount>/tmp</mount>
<size>1GB</size>
</partition>
</partitions>
<pesize>4M</pesize>
<use>all</use>
</drive>
</partitioning>
<software>
<addons config:type="list">
<addon>Base-System</addon>
<addon>Basis-Devel</addon>
<addon>Basis-Sound</addon>
<addon>File-Server</addon>
<addon>Gnome</addon>
<addon>HA</addon>
<addon>Kde-Desktop</addon>
<addon>LAMP</addon>
<addon>LSB</addon>
<addon>Linux-Tools</addon>
<addon>Mail_News-Server</addon>
<addon>Print-Server</addon>
<addon>SuSE-Documentation</addon>
<addon>Various-Tools</addon>
<addon>WBEM</addon>
<addon>X11</addon>
<addon>YaST2</addon>
<addon>analyze</addon>
<addon>auth</addon>
<addon>dhcp_DNS-Server</addon>
</addons>
<base>Full-Installation</base>
</software>
</install>
</profile>
Please help. Thank you for your time in advance, and sorry for this long mail.
Regards,
Sasi
___________________________________________________
Build your own website, it's easy and fun.
http://www.homemaster.net - Homemaster. Come Together. Online.