cancel
Showing results for 
Search instead for 
Did you mean: 

Failed upgrading from 2.2 SP0 to SP4

kityee_wong2
Explorer
0 Kudos

Hi,

After installed the repository then SFE, the administrator web UI is accessible. However, I tried to upgrade from SP0 to SP4 and the upgrading is failed and now not able to access the web ui anymore. When check the install_scripts/stat_services.pl, the adui is DOWN. Anyone experience this before? Anyone can advice how to proceed?

Below is the upgrade log

-


Repacking iso ...

-


rm -rf /tmp/accad_iso

abs_path = /root/accad

ln -s /root/accad /tmp/accad_iso

rm -fr /var/cache/vl/upgrade/

rm -fr /var/cache/vl/cdn/upgrade

mkdir /var/cache/vl/upgrade/

ln -s /var/cache/vl/upgrade/ /var/cache/vl/cdn/upgrade

chdir /tmp/

tar -C /tmp/accad_iso -ch --exclude rhel-4-x86_64 --exclude AccAD_MONITOR_2_2 --exclude AccAD_WIN_CLIENT_2_2 -zf upgrade_repository_rhel-5-x86_64.tgz DATA_UNITS

mv upgrade_repository_rhel-5-x86_64.tgz /var/cache/vl/upgrade/

tar -C /tmp/accad_iso -ch --exclude rhel-4-x86_64 --exclude AccAD_MONITOR_2_2 --exclude AccAD_WIN_CLIENT_2_2 --exclude sap-itsam.tgz --exclude maxdb -zf upgrade_engine_rhel-5-x86_64.tgz DATA_UNITS

mv upgrade_engine_rhel-5-x86_64.tgz /var/cache/vl/upgrade/

tar -C /tmp/accad_iso -ch --exclude rhel-5-x86_64 --exclude AccAD_MONITOR_2_2 --exclude AccAD_WIN_CLIENT_2_2 -zf upgrade_repository_rhel-4-x86_64.tgz DATA_UNITS

mv upgrade_repository_rhel-4-x86_64.tgz /var/cache/vl/upgrade/

tar -C /tmp/accad_iso -ch --exclude rhel-5-x86_64 --exclude AccAD_MONITOR_2_2 --exclude AccAD_WIN_CLIENT_2_2 --exclude sap-itsam.tgz --exclude maxdb -zf upgrade_engine_rhel-4-x86_64.tgz DATA_UNITS

mv upgrade_engine_rhel-4-x86_64.tgz /var/cache/vl/upgrade/

cp /tmp/accad_iso/DATA_UNITS/AccAD_WIN_CLIENT_2_2/AccAD-install.msi /var/cache/vl/upgrade//upgrade_cfe_win32.msi

cp /root/upgrade_scripts/VERSION /var/cache/vl/upgrade/

cp /root/upgrade_scripts/cgi/* /var/cache/vl/upgrade/

cp /root/upgrade_scripts/upgrade-from-web.pl /var/cache/vl/upgrade//upgrade-from-web_pl

cp /root/upgrade_scripts/upgrade-from-web_2.2.pl /var/cache/vl/upgrade//upgrade-from-web_2.2_pl

find /tmp/accad_iso -follow -name upgrade_scripts.tar.gz| head -1

cp /tmp/accad_iso/DATA_UNITS/AccAD_ENGINE_2_2/rhel-5-x86_64/upgrade_scripts.tar.gz /var/cache/vl/upgrade/

chmod +x /var/cache/vl/upgrade//download-*.pl

rm -f /tmp/accad_iso

-


Scheduling upgrade on all devices ...

-


Executing 2.2.2 script: ../version-common/exec_at_all_devices_2.2.pl /bin/sh -c wget --no-proxy -O /tmp/upgrade.pl http://127.0.0.1:12799/upgrade/upgrade-from-web_2.2_pl; /usr/bin/perl -w /tmp/upgrade.pl | grep 'Going to upgrade'

chdir .

-


initializing upgrade ...

-


rm -fr /tmp/saved-config

mkdir /tmp/saved-config

cp /usr/local/vl/appliance_types/* /tmp/saved-config

cp /usr/local/vl/VERSION /tmp/saved-config/source-VERSION

cp /usr/local/vl/VERSION /tmp/saved-config/VERSION

-


Saving old configuration data ...

-


Executing 2.2.2 script: ../version-common/save-config.pl

cp /usr/local/vl/base/cfg/adow-config.xml /tmp/saved-config/adow-config_2.2.2.xml

cp: cannot stat `/usr/local/vl/base/cfg/adow-config.xml': No such file or directory

/usr/local/vl/base/bin/repository_convertor -xml_filename /tmp/saved-config/repos_2.2.2.xml -save_config

2011-12-16 12:08:02.198696 Repository_Convertor.cpp:read_object_from_xml:172 [pid 8475] (thr 0x2AD6D3A87D70) [hor/convertor]:ERROR: Fail to open XML file /usr/local/vl/base/cfg/appliances_landscape.xml

2011-12-16 12:08:02.199147 Repository_Convertor.cpp:read_object_from_xml:172 [pid 8475] (thr 0x2AD6D3A87D70) [hor/convertor]:ERROR: Fail to open XML file /usr/local/vl/base/cfg/adow-config.xml

2011-12-16 12:08:02.199571 Repository_Convertor.cpp:read_object_from_xml:172 [pid 8475] (thr 0x2AD6D3A87D70) [hor/convertor]:ERROR: Fail to open XML file /usr/local/vl/base/cfg/policy.xml

cp: cannot stat `/usr/local/vl/base/cfg/appliances_landscape.xml': No such file or directory

stat: cannot stat `/var/log/sap.log': No such file or directory

/usr/local/vl/base/scripts/vl_sec_log.sh: line 51: [: -gt: unary operator expected

Add record to /var/log/sap.log

CA storage backuped successfully

cp /var/cache/vl/certificates/adow_ca* /tmp/saved-config/

tar -czvPf /tmp/saved-config/adow_sec.tar.gz /usr/local/security/

/usr/local/security/

/usr/local/security/ca-cert.srl

/usr/local/security/dev-localhost-cert.srl

/usr/local/security/randfile

/usr/local/security/ca-pswd

/usr/local/security/dev-localhost-pswd

/usr/local/security/dh512.pem

/usr/local/security/dev-localhost-req.pem

/usr/local/security/ca-cert.pem

/usr/local/security/dev-localhost.p12

/usr/local/security/ca-key.pem

/usr/local/security/dev-localhost-cert.pem

/usr/local/security/dev-localhost-key.pem

-


Updating configuration ...

-


../version-common/update-config.pl

Converting hort (adow-config_2.2.2-2.2.3.hort) to xslt

/usr/bin/xsltproc -o /tmp/hort-converted.xml ../version-common/hort-to-xslt.xslt adow-config_2.2.2-2.2.3.hort [... /usr/bin/xsltproc -o /tmp/hort-converted.xml ../version-common/hort-to-xslt.xslt adow-config_2.2.2-2.2.3.hort

done]

sed -e s/XSL-/xsl:/g -e s/HOR-VERSION/2.2.3/g /tmp/hort-converted.xml > adow-config_2.2.2-2.2.3.xslt [... sed -e s/XSL-/xsl:/g -e s/HOR-VERSION/2.2.3/g /tmp/hort-converted.xml > adow-config_2.2.2-2.2.3.xslt

done]

Converting hort (repos_2.2.2-2.2.3.hort) to xslt

/usr/bin/xsltproc -o /tmp/hort-converted.xml ../version-common/hort-to-xslt.xslt repos_2.2.2-2.2.3.hort [... /usr/bin/xsltproc -o /tmp/hort-converted.xml ../version-common/hort-to-xslt.xslt repos_2.2.2-2.2.3.hort

done]

sed -e s/XSL-/xsl:/g -e s/HOR-VERSION/2.2.3/g /tmp/hort-converted.xml > repos_2.2.2-2.2.3.xslt [... sed -e s/XSL-/xsl:/g -e s/HOR-VERSION/2.2.3/g /tmp/hort-converted.xml > repos_2.2.2-2.2.3.xslt

done]

Converting hort (appliance_2.2.2-2.2.3.hort) to xslt

/usr/bin/xsltproc -o /tmp/hort-converted.xml ../version-common/hort-to-xslt.xslt appliance_2.2.2-2.2.3.hort [... /usr/bin/xsltproc -o /tmp/hort-converted.xml ../version-common/hort-to-xslt.xslt appliance_2.2.2-2.2.3.hort

done]

sed -e s/XSL-/xsl:/g -e s/HOR-VERSION/2.2.3/g /tmp/hort-converted.xml > appliance_2.2.2-2.2.3.xslt [... sed -e s/XSL-/xsl:/g -e s/HOR-VERSION/2.2.3/g /tmp/hort-converted.xml > appliance_2.2.2-2.2.3.xslt

done]

/usr/bin/xsltproc -o /tmp/saved-config/adow-config_2.2.3.xml adow-config_2.2.2-2.2.3.xslt /tmp/saved-config/adow-config_2.2.2.xml [... /usr/bin/xsltproc -o /tmp/saved-config/adow-config_2.2.3.xml adow-config_2.2.2-2.2.3.xslt /tmp/saved-config/adow-config_2.2.2.xml

warning: failed to load external entity "/tmp/saved-config/adow-config_2.2.2.xml"

unable to parse /tmp/saved-config/adow-config_2.2.2.xml

warning: failed to load external entity "/tmp/saved-config/adow-config_2.2.2.xml"

unable to parse /tmp/saved-config/adow-config_2.2.2.xml

Failed to convert adow-config file, ret=1536

failed-1536]

Failed to update configuration!

Thanks.

KY

Accepted Solutions (1)

Accepted Solutions (1)

kityee_wong2
Explorer
0 Kudos

Hi,

I have reinstalled everything without upgrading it to SP4. The web ui very unstable, need to refresh more that one time in order to display the administrator web ui login.

Anyone can help? I still need to upgrade to SP4.

Thanks.

KY

Former Member
0 Kudos

Hi Kit,

The error : 'cannot stat `/usr/local/vl/base/cfg/adow-config.xml' in your log file indicates that you haven't configured the landscape before the upgrade, and therefore the upgrade failed.

Moreover, new installations should always be of the latest version (i.e SP4 and not SP0)

Best regards,

Yael

kityee_wong2
Explorer
0 Kudos

Hi Yael,

Thanks for the reply. I've uninstalled and reinstalled directly to SP4.

But now I'm having another problem in the delivery policy. Every time after applied the delivery policy, the web ui cannot be accessed anymore and I have to use CLI to clear the delivery policy. I keep checking on the delivery policy but couldn't find what has gone wrong.

Found something strange is in the CFE's Service Monitor, it shows that the Access Point(Virtual Address) is the same as Connect Point(Real Address).

Couldn't figure out what went wrong. Anyone can help and any idea where to check?

Thanks.

KY

Answers (0)