This article is relevant if you like to Start/Stop Data Services Job Server on Linux box.

This article is written using SAP Services XI 4.1 SP02.

This article covers the step by step instructions(with screens wherever its possible) to Start/Stop SAP Data Services on Linux.

This is more useful for those who are doing this first time on LINUX and they are familar with windows OS.

Follwoing are the commands that needs to be performed at LINUX command prompt.

$ cd $LINK_DIR/bin

$ . ./al_env.sh

$ ./svrcfg

Select Option 1 and then Select s for strating Job service and o to stop Job service and q to exit from the utility.

Pls see below for step by step instructions to start/stop SAP Data services Job server.

Step 1:- Login Via Putty,

Input :- Provide hostname

Hit Open

DS_JObServer_Start_Stop_Putty_01.jpg

Step 2 :- Go to Installation directory of Data Services on Linux box. Generally referred as LINK_DIR in all SAP documents

IF you logged in with named user, then check where you are, user PWD command on linux prompt once you successfully login to server.

$ cd $LINK_DIR/bin/

DS_JObServer_Start_Stop_Putty_02.jpg

Step 3 :- Now you are in bin directory. Execute the following comands there.

$ . ./al_env.sh

$ ./svrcfg

$ . ./al_env.sh

$ ./svrcfg

Unable to open lock file </usr/sap/FDQ/businessobjects/dataservices/lock/svrcfg.lock>

Exiting …

If you do not have authorizations to execute above commands then you will see above msg.

then switch to user which has authorizations to perform above tasks.

$ su – sapdsfdq

Password:

-bash-4.1$ pwd

/usr/sap/FDQ

Again do the same, navigate to LINK Directory, where Data Services is installed.Once you in bin directory execute the above script and command

-bash-4.1$ . ./al_env.sh
-bash-4.1$ ./svrcfg

** Data Services Server Manager Utility **

       1 : Control Job Service
       2 : Configure Job Server
       3 : Configure Runtime Resources
       4 : Configure Access Server
       5 : Configure SNMP Agent
       6 : Configure SMTP
       7 : Configure SSL
       8 : Configure Native Component Supportability
       x : Exit

You will see the Data Services Server Manager command line utility. This will allow you do lot of activities, but at this moment we are interested in Stopping and Starting Data services Jobserver Only.

Step 4: – Provide the Options at command line.

-bash-4.1$ . ./al_env.sh
-bash-4.1$ ./svrcfg

** Data Services Server Manager Utility **

       1 : Control Job Service
       2 : Configure Job Server
       3 : Configure Runtime Resources
       4 : Configure Access Server
       5 : Configure SNMP Agent
       6 : Configure SMTP
       7 : Configure SSL
       8 : Configure Native Component Supportability
       x : Exit

Enter Option: 1

—————————————————————–

                **  Control Job Service **

—————————————————————–

Job Service Executable Path                           Status
———————————————-      ————

/usr/sap/FDQ/businessobjects/dataservices/bin/AL_JobService      Running

—————————————————————–

s: Start Job Service       o: Stop Job Service       q: Quit

Enter Option:

We have provided option because we like to control Job server so that we can stop/start it.

After providing Input as “1”, we can see that Job server is currently running.

So we are interested to stop the Job sever, hence we will provide further option as “o”

—————————————————————–

                **  Control Job Service **

—————————————————————–

Job Service Executable Path                           Status
———————————————-      ————

/usr/sap/FDQ/businessobjects/dataservices/bin/AL_JobService      Running

—————————————————————–

s: Start Job Service       o: Stop Job Service       q: Quit

Enter Option: o
Waiting for Job Service to terminate. This will take several seconds.
Please Wait!!!
01-25-14 10:37:01 (15279:1057101600) JSERVICE: Shutting down AL_JobService …
01-25-14 10:37:05 (15279:1057101600) JSERVICE: AL_JobService has been Stopped.
—————————————————————–

                **  Control Job Service **

—————————————————————–

Job Service Executable Path                           Status
———————————————-      ————

/usr/sap/FDQ/businessobjects/dataservices/bin/AL_JobService      Not Running

—————————————————————–

s: Start Job Service       o: Stop Job Service       q: Quit

Enter Option:

Now it is showing that Job Server is not Running

Enter Option: s
Checking for existence of AL_JobService…
Starting AL_JobService. This may take several seconds.
Please Wait!!!
01-25-14 10:41:23 (21115:3316356896) JSERVICE: Attempting to Start JobServer(s)..
01-25-14 10:41:23 (21115:3316356896) JSERVICE: Found 1 JobServer(s) configured.
01-25-14 10:41:23 (21115:3316356896) JSERVICE: Using checkJobServer Version <1>
01-25-14 10:41:23 (21115:3316356896) JSERVICE: Attempting to Start AccessServer(s)..
01-25-14 10:41:23 (21115:3316356896) JSERVICE: Found 0 AccessServer(s) configured.
01-25-14 10:41:23 (21115:3316356896) JSERVICE: Attempting to Start SNMP Agent.. Agent is not enabled
01-25-14 10:41:23 (21115:3316356896) JSERVICE: Successfully started AL_JobService

Please exit this utility to start Job Server(s)/AccessServer(s).
Any changes to the configuration will be reflected ONLY after you EXIT this utility.
Press <Enter> to return to options menu.

—————————————————————–

                **  Control Job Service **

—————————————————————–

Job Service Executable Path                           Status
———————————————-      ————

/usr/sap/FDQ/businessobjects/dataservices/bin/AL_JobService      Running

—————————————————————–

s: Start Job Service       o: Stop Job Service       q: Quit

Enter Option:

Enter Option: q

** Data Services Server Manager Utility **

       1 : Control Job Service
       2 : Configure Job Server
       3 : Configure Runtime Resources
       4 : Configure Access Server
       5 : Configure SNMP Agent
       6 : Configure SMTP
       7 : Configure SSL
       8 : Configure Native Component Supportability
       x : Exit

Enter Option: x
-bash-4.1$

Now we have successfully restarted the Job Server.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Jan Ischebeck

    Hi, thanks for the great tutorial!
    Have you tried that also with DS 4.2 SP02?
    Because, at my installation it doesn’t work. During the command: “./svrcfg” it throws the error: “error while loading shared libraries: libthread3012d.so: cannot open …”. But the libthread3012d.so file still exists in the ds/bin/ path. So I started a discussion here Problem to start DataServices 4.2 jobserver on UNIX OS

    Thanks for your help!

    (0) 
  2. Gordon Lo

    To be simple, we can use the following command to start/stop job server.

    Start Job Server:

    . ./al_env.sh

    ./svrcfg -TSTART

    Stop Job Server:

    . ./al_env.sh

    ./svrcfg -TSTOP

    (0) 

Leave a Reply