Skip to Content
Author's profile photo Former Member

content server installation in Linux

This guide contains step by step screenshots of SAP Content server installation in SUSE Linux for beginners.

CS installation involves in the below steps:

  1. User creation
  2. Apache installation
  3. Content server installation
  4. Post installation activities
  5. Content Repository creation in SAP server


User Creation:


Create the New user sapcs and group sapsys in the linux host.


create the new user with home directory /usr/users/sapcs

if you want install only content server login sapcs is enough, if you want to install cache server along with content server, we need to another login as same as sapcs with name of sapcsc

Apache server Installation:


There is inbuilt apache server available in Linux servers. But that is not suitable for sap content server installation. So download the apache binary file for Linux from the below link.

http://httpd.apache.org/download.cgi

Copy the zip file to server in dump location. Login as sapcs user and Unzip the a folder. Goto the folder and execute the following commands

configure –prefix=/usr/users/sapcs/ –enable-mods-shared=most –with-mpm=prefork –with-expat=builtin

To create the make file

OS> make

OS> make install

Check the below SAP note for apache server configuration

664384 – Generation info for Apache Web server for SAP Content Server

  Note: as per sap recommendation, we need to install the apache server in the sapcs login home directory

Installation:

Start the installation from swpm.

select Install database instance also. select Cache server if you want to install. in this document i explained only the installation of Content server alone.

use the default values here.

provide the password here for login control and superdba. use the same password what we provide earlier.

select File system. create the required file system before start the installation (/sapdb//SDB/log, /sapdb/SDB/sapdata) etc.

installation is completed.

To check content server whether working or not, use the below URL, and it give output as server details, start time and versions etc.

http://<server ip>:1090/ContentServer/ContentServer.dll?serverInfo

Post Installation Activities:


Change the cs.conf file permission to 777

change the permission of directory security to 777

Just ensure the below entry available in httpd.conf file in /usr/users/sapcs/conf

Finally the content server is ready, create the content repository in required SAPserver (t.code oac0)

please reply me if any changes required.

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Chandrasekhara Reddy
      Chandrasekhara Reddy

      Hi Balaji,

      Good document. Thanks a ton for sharing the information.


      Reg,

      chandu

      Author's profile photo Former Member
      Former Member

      Hi Balaji, Good document and will benefit many others!

      Do you know if the content server on Linux with maxdb or filesystem can allow check in large files (more than 2GB) from DMS?

      This is a limitation with the Windows CS MAXDB system.

      Thanks,

      Pradeep

      Author's profile photo Pavan Anjimeti
      Pavan Anjimeti

      Hi Pradeep,

      Check this Note:

      1705940 - Check in/out of files larger than 2GB in SAP Content Server

      Regards,

      Pavan

      Author's profile photo Former Member
      Former Member

      Hi Pavan,

      Thanks for replying to my query. We are on the Windows Server OS and know the limitation with IIS with the 2GB limitation. I think at present, only UNIX has overcome this limitation.

      If to make a switch from Windows to UNIX, how big effort is that. Any reference document in regards to the Windows 2 Unix  will he helpful.

      Thanks,

      Pradeep

      Author's profile photo KIM YAM PANG
      KIM YAM PANG

      Hi Balaji,

      Do you know how to change the default password of sapr3, Once i changed the password, the content server is not accessible with below message:

      serverType="SAP HTTP Content Server";serverVendorId="SAP AG";serverPatch="1";serverStatus="running";serverDate="2015-03-19";serverTime="02:39:50";startUpDate="2015-03-19";startUpTime="01:08:45";lastAccessDate="2015-03-19";lastAccessTime="02:36:06";

      contRep="ZZZ";contRepStatus="offline";contRepStatusDescription="SQLConnect failed, [SAP AG][LIBSDBOD SO][SAP MaxDB] General error;-4008 POS(1) Unknown user name/password combination, Error Code: -4008";

      Thanks,

      pang

      Author's profile photo Former Member
      Former Member

      Hi Balaji,


      why do you recommend to not use the built in apache of Linux?

      Did you tried it and faced any issues?

      In addition do you have a document which shows the installation purely with terminal commands?

      Thanks,

      Pascal

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Pascal,

      Yes, we can use the built in apache, but we need to create some links to sap user ids and that home directories. Also sap recommended to install the apache in the home directory of content server user, not to create symbolic links. so only we manually compiled the apache distribution. below for your reference.

      If you want to use an Apache installation that has been integrated into your system already, you have to either manually create or soft link the ./conf and ./libexec (./modules for apache 2.0/2.2) directories under $HOME for

      <sid>cs/<sid>csc. You also have to copy or soft link the file httpd.conf to the $HOME/conf directory.

      However, we do not recommend that you soft link system directories, as this make it much harder to keep track of the installed packages, and makes system directories prone to access rights violations. It is easier if you maintain separate directories, and an httpd.conf file that belongs exclusively to your content server or cache server installations.

      Regards

      Balaji

      Author's profile photo Kathleen Sales
      Kathleen Sales

      Hi do you have a detailed procedure on how to install Content Server with MaxDB