I am trying to upgrade our Vcenter appliance and and having issues. I had problems with an upgrade in the past and had the remove the hmac files. We have another Vcenter installation that upgraded yesterday without issue. I was able to restore to a snapshot and get Vcenter back up. I have found several posts concerning adding another disk to Vcenter server but this errors I am getting don't match.
Here are the log files from the upgrade attempt:
pad_vcenter:~ # tail -f /opt/vmware/var/log/vami/updatecli.log
./etc/init.d/vami-sfcb: line 238: 9416 Aborted nohup /opt/vmware/share/vami/vami_sfcb_test > /dev/null 2>&1
./etc/init.d/vami-sfcb: line 238: 9440 Aborted nohup /opt/vmware/share/vami/vami_sfcb_test > /dev/null 2>&1
./etc/init.d/vami-sfcb: line 238: 9492 Aborted nohup /opt/vmware/share/vami/vami_sfcb_test > /dev/null 2>&1
./etc/init.d/vami-sfcb: line 238: 9602 Aborted nohup /opt/vmware/share/vami/vami_sfcb_test > /dev/null 2>&1
./etc/init.d/vami-sfcb: line 238: 9606 Aborted nohup /opt/vmware/share/vami/vami_sfcb_test > /dev/null 2>&1
./etc/init.d/vami-sfcb: line 238: 9614 Aborted nohup /opt/vmware/share/vami/vami_sfcb_test > /dev/null 2>&1
./etc/init.d/vami-sfcb: line 238: 9617 Aborted nohup /opt/vmware/share/vami/vami_sfcb_test > /dev/null 2>&1
./etc/init.d/vami-sfcb: line 238: 10328 Aborted nohup /opt/vmware/share/vami/vami_sfcb_test > /dev/null 2>&1
./etc/init.d/vami-sfcb: line 238: 10814 Aborted nohup /opt/vmware/share/vami/vami_sfcb_test > /dev/null 2>&1
.error: %post(vmware-studio-vami-service-virtualcenter-5.1.0-996361.x86_64) scriptlet failed, signal 15
11/03/2014 13:28:49 [INFO] Starting Install
11/03/2014 13:28:49 [INFO] Update status: Starting Install
11/03/2014 13:28:49 [INFO] Update status: Running pre-install scripts
11/03/2014 13:28:49 [INFO] Running /opt/vmware/var/lib/vami/update/data/job/16/pre_install '5.1.0.10200' '5.1.0.20000'
Installing update from version 5.1.0.10200 to version 5.1.0.20000
Shutting down vami-sfcbd: done.
Starting vami-sfcbd: done.
Checking vami-sfcbd status:done.
Testing vami-sfcbd: done.
Initializing vami-sfcbd: done.
Stopping VMware vSphere Profile-Driven Storage Service...
Stopped VMware vSphere Profile-Driven Storage Service.
Stopping tomcat: success
Stopping vmware-vpxd: success
Shutting down ldap-server..done
Stopping vmware-sso ........done
Stopping tomcat: success
Stopping vmware-vpxd: success
Shutting down ldap-server..done
11/03/2014 13:30:32 [INFO] Update status: Done pre-install scripts
11/03/2014 13:30:32 [INFO] Update status: Running installation tests
11/03/2014 13:30:32 [INFO] Running /opt/vmware/var/lib/vami/update/data/job/16/test_command
warning: /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/vmware-tools-core-9.0.10-1.sles11.x86_64.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID 66fd4949
Preparing packages for installation...
package device-mapper-1.02.63-18.27.1.x86_64 is already installed
package libjpeg-6.2.0-879.12.1.x86_64 is already installed
package libnet-1.1.2.1-140.24.1.x86_64 is already installed
package syslog-ng-2.0.9-27.34.36.1.x86_64 is already installed
package limal-ca-mgm-1.5.23-0.3.2.x86_64 is already installed
package bash-doc-3.2-147.12.1.x86_64 is already installed
package augeas-lenses-0.8.1-7.18.1.x86_64 is already installed
11/03/2014 13:30:42 [ERROR] Failed with exit code 65024
11/03/2014 13:30:42 [INFO] Update status: Running post-install scripts
11/03/2014 13:30:42 [INFO] Running /opt/vmware/var/lib/vami/update/data/job/16/post_install '5.1.0.10200' '5.1.0.20000' 2
Update web ui help URL
Configuring lighthttpd
Trying to patch /etc/openldap/schema/core.schema. Ignore the errors if the openldap2 rpm was not updated
patching file /etc/openldap/schema/core.schema
Hunk #1 FAILED at 119.
Hunk #2 FAILED at 398.
2 out of 2 hunks FAILED -- saving rejects to file /etc/openldap/schema/core.schema.rej
Ignore the patch errors above if the openldap2 rpm was not updated
Customize grub menu.lst
Setting global java options
Fixing likewise configuration
SUCCESS
SUCCESS
rm: cannot remove `/etc/pam.d/*lwidentity*': No such file or directory
rm: cannot remove `/etc/nsswitch*lwidentity*': No such file or directory
Patch slow vami cd mounting
patching file vami_ovf_process
Hunk #1 FAILED at 249.
1 out of 1 hunk FAILED -- saving rejects to file -
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
fix odbcinst.ini and embedded_db.cfg path to vpostgres/9.0
to run isql command is /usr/bin/isql -3
ERROR: Failed to update DB version
[ISQL]ERROR: Could not SQLConnect [01000][unixODBC][Driver Manager]Can't open lib '/opt/vmware/vpostgres/9.0/lib/psqlodbcw.so' : /opt/vmware/vpostgres/9.0/lib/psqlodbcw.so: cannot open shared object file: No such file or directory
11/03/2014 13:30:46 [ERROR] Failed with exit code 256
11/03/2014 13:30:46 [INFO] Update status: Running VMware tools reconfiguration
11/03/2014 13:30:46 [INFO] Running /opt/vmware/share/vami/vami_reconfigure_tools
VMware tools is not installed on this VM.
11/03/2014 13:30:46 [INFO] Update status: Done VMware tools reconfiguration
11/03/2014 13:30:46 [INFO] Update status: Error while running installation tests and post-install scripts
11/03/2014 13:30:46 [ERROR] Failure: updatecli exiting abnormally
11/03/2014 13:30:46 [INFO] Install Finished
Version - 5.1.0.10200 Build 1235310
Description -
VMware vCenter Server Appliance
Update to version 5.1.0 Update 1b
I haven't found any information on the following errors:
ERROR: Failed to update DB version
[ISQL]ERROR: Could not SQLConnect [01000][unixODBC][Driver Manager]Can't open lib '/opt/vmware/vpostgres/9.0/lib/psqlodbcw.so' : /opt/vmware/vpostgres/9.0/lib/psqlodbcw.so: cannot open shared object file: No such file or directory.
Would it be better to do a complete new installation of 5.1 Update 2 and restore? I have never attempted this and not sure how you back up the appliance and how licensing will work.
Thanks,
Joe