2538555 – How to Perform Clean Reinstall of SAP Business One, version for SAP HANA Server Components

Symptom

You are trying to uninstall some or all of the server components for SAP Business One, version for SAP HANA using the uninstall wizard; however, you encounter an error.

Solution

If you encounter a similar issue, and in order to reduce downtime for the customer, we recommend to perform a forced uninstallation and then a clean installation, which can be done with the following steps:

  1. Back up the whole server, if possible.
  2. Back up the SAP Business One, version for SAP HANA instance.
  3. Execute the following command as root to list all SAP Business One related rpm packages:
    rpm -qa | grep B1

    2017-12-08 15_23_40-mo-0c363bde6.mo.sap.corp - PuTTY.png

  4. If all the packages listed in step 3 are SAP Business One related, use the following command to uninstall them all:
    rpm -qa | grep B1 | xargs rpm -ev

    Otherwise, uninstall them one by one with the “rpm -ev” command:

    2017-12-08 15_27_48-mo-0c363bde6.mo.sap.corp - PuTTY.png

  5. Drop the schema SBOCOMMON and SLDDATA; to do that, right-click the items marked in the following screenshots and choose Delete:

    2017-12-08 15_32_44-TEC-for-David (mo-47f222b2b.mo.sap.corp) - Remote Desktop Connection Manager v2..png

    Note: For SAP Business One version 10.0 FP2208 and later, also drop schema B1AS.
    Drop the user COMMON; to do that, right-click the items marked in the following screenshots and choose Delete: 

    2017-12-08 15_33_56-TEC-for-David (mo-47f222b2b.mo.sap.corp) - Remote Desktop Connection Manager v2..png

    Note: For SAP Business One version 10.0, also drop all B1_xxxxxx_RW, B1_xxxxxx_RO, SAPB1_DB_USER_xxxxxx, B1_SBOCOMMON and B1_SBOCOMMON_RW users with Restricted option.
    Note: Do not drop the B1_xxxxxx_RW, B1_xxxxxx_RO users with CASCADE in case of any dependencies.

  6. Rename the folder /usr/sap/SAPBusinessOne.
  7. Check the port occupied by the deleted tomcat and end its process, for example check ‘lsof -i:40000’ and use the command: kill <pid no>. You can also use other commands to identify the PID such as ‘fuser 40000/tcp’ OR ‘ss -lntp | grep 40000’. Please repeat the same steps for the Service Layer port (50000), all Service Layer load balancers ports (usually 50001~50004) and Web Client (443). Alternatively, a server reboot will also release all of these ports.
  8. Remove the SAP service control file, using the command: rm -rf /etc/init.d/sapb1servertools.
  9. Launch the installation wizard to install server components. To do that, change to the directory <installation media>/Packages.linux/ServerComponents/, and execute the command “./install” :
    2017-12-08 15_52_21-Untitled - Notepad.png

    For SAP Business One version 10.0, all database administration tasks must be performed at tenant level (usually NDB@NDB) instead of System ID (usually NDB) level.

    How to Get Support:

    1. If you are still facing an issue after completing the above steps, please create an SAP Business One support incident from the SAP LaunchPad under the component SBO-BC-SRV.
    2. Attach the following logs to the SAP Business One Support incident:
      • /var/log/SAPBusinessOne/*
Picture of Trần Văn Sơn

Trần Văn Sơn

Với 18+ năm kinh nghiệm và 50+ dự án thành công, tôi chuyên giải quyết bài toán quản trị từ gốc rễ quy trình và con người. Phương châm của tôi là hướng doanh nghiệp vận hành theo chuẩn SAP B1 toàn cầu, đảm bảo hệ thống vận hành đơn giản, hiệu quả ở hiện tại và dễ dàng nâng cấp, mở rộng trong tương lai.
Thảo luận và chia sẻ kinh nghiệm
Bạn có gặp tình huống tương tự khi sử dụng hệ thống SAP Business One?

Bài có liên quan theo chủ đề đang xem

3777838 – Enhanced “E-Mail” type activities

Symptom Here are the updates to the E-Mail type activities: New Send As options in E-Mail type activities and Send Message window New sending option of Microsoft Outlook New Activity of “Email” Type option in Sent Emails Report – Selection Criteria window Enhanced Emailed checkbox

Xem tiếp »
Scroll to Top