Notifications
Clear all

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

1 Posts
1 Users
0 Likes
368 Views
admin
Posts: 337
Admin
Topic starter
(@admin)
Prominent Member
Joined: 3 years ago

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.

 Image/data in this SAP Note is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental

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
    [img] [/img]
  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:
    [img] [/img]

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

    [img] [/img]
    Note: For SAP Business One version 10.0 FP2208 and later, also drop schema B1AS.

  6. Drop the user COMMON; to do that, right-click the items marked in the following screenshots and choose Delete
    [img] [/img]

    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.

  7. Rename the folder /usr/sap/SAPBusinessOne.
  8. 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.
  9. Remove the SAP service control file, using the command: rm -rf /etc/init.d/sapb1servertools.
  10. 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" : 
    [img] [/img]

    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/*
Reply
Share:
x  Powerful Protection for WordPress, from Shield Security
This Site Is Protected By
Shield Security