您的位置:首页 > 其它

低版本升级HANA到SPS8及以上之前要处理的问题

2015-09-08 17:27 381 查看
HANA, 升级SPS8

希望同志们看完,少走弯路




gcc47-runtime.rar (284.71
KB)

升级到HANA SPS8之前要升级GCC
4.7 compiler 否则会报错而中断(如图),gcc4.7 RPM文件我已经放在附件了,大家可以直接下。顺便吐槽,SUSE官网上下载个包真是费劲,不知道是不是对大陆IP做了手脚。升级步骤如下(英文不好的童鞋,看#提示符找输就行)

有SAP账号的同志们可以看:note 2001528

2001528
- Linux: SAP
HANA Database SPS 08 revision 80 (or higher) on RHEL 6 or SLES 11

The RPM packages libgcc_s1 and libstdc++6 need to be installed. Please ensure to run at least the following versions, since earlier versions will cause problems during runtime of SAP HANA, because of improper exception handling:

libgcc_s1-4.7.2_20130108-0.17.2

libstdc++6-4.7.2_20130108-0.17.2

Starting with SLES 11 SP3 please install the RPM packages as follows, if they are not already installed by default:

# zypper install libgcc_s1 libstdc++6

Please note: You can also operate older revisions of SAP HANA (< revision 80) on this system after installing the GCC 4.7 libraries. There is no need to reboot.

SLES 11 with older Service Packs

On SLES 11 SP1 or SP2 the packages are not available via the normal maintenance channels and therefore need to be downloaded manually from the following URL at SUSE:

https://download.suse.com/Download?buildid=MSwlt1Xxqhw~Please
download the archive gcc47-runtime.zip and extract it to a local directory, e.g.

# unzip -d /tmp/gcc47-runtime gcc47-runtime.zip

Afterwards you can install the libraries using zypper as well:

# zypper install /tmp/gcc47-runtime/lib*.rpm

Zypper will complain about package dependencies, therefore please choose option 1 (deinstallation of the older GCC 4.6 libraries) in order to proceed and confirm your choice after ignoring the warnings about support:

# zypper install /tmp/libstdc++6-[...].x86_64.rpm /tmp/libgcc_s1-[...].x86_64.rpm

Loading repository data...

Reading installed packages...

Resolving package dependencies...

2 Problems:

Problem: libgcc_s1-[...].x86_64 conflicts with libgcc1 < 4.7.2_[...] provided by libgcc46-[...].x86_64

Problem: libstdc++6-[...].x86_64 conflicts with libstdc++6 < 4.7.2_[...] provided by libstdc++46-[...].x86_64

Problem: libgcc_s1-[...].x86_64 conflicts with libgcc1 < 4.7.2_[...] provided by libgcc46-[...].x86_64

Solution 1: deinstallation of libgcc46-[...].x86_64

Solution 2: do not install libgcc_s1-[...].x86_64

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1

Problem: libstdc++6-[...].x86_64 conflicts with libstdc++6 < 4.7.2_[...] provided by libstdc++46-[...].x86_64

Solution 1: deinstallation of libstdc++46-[...].x86_64

Solution 2: do not install libstdc++6-[...].x86_64

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1

Resolving dependencies...

Resolving package dependencies...

The following NEW packages are going to be installed:

libgcc_s1 libstdc++6

The following packages are going to be REMOVED:

libgcc46 libstdc++46

The following packages are not supported by their vendor:

libgcc_s1 libstdc++6

2 new packages to install, 2 to remove.

Overall download size: 293.0 KiB. After the operation, 16.0 KiB will be freed.

Continue? [y/n/? shows all options] (y): y

Please note: You can also operate older revisions of SAP HANA (< revision 80) on this system after installing the GCC 4.7 libraries. There is no need to reboot.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: