Quantcast
Channel: SCN : Discussion List - SAP on Linux
Viewing all 72 articles
Browse latest View live

saphostexec -version

$
0
0

HI

 

on my suse linux 11.4 server using sid as devadm i switch to folder /usr/sap/hostctrl/exe when i run command saphostexec -version

 

it shows error saphostexec : Permission denied

 

any idea why i am geeting this error?


SAPXPG Problems

$
0
0

Hi Experts,

 

OS: Linux RH4AS (x86_64)

SAP SRM 5.0, DB - Oracle 10.2.0.2

 

My jobs in DB13 currently are failing with the following error:

SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: x_error

 

I am using a distributed environment with a standalone DB on one server and the CI on another server. I do <b>NOT</b> have a standalone gateway on the DB server and am trying to connect using remote calls. I have set the parameter gw/remsh to ssh.

 

What Works:

ssh between both servers have been setup and I can successfully test this from the OS level.

The <sid>adm user is setup on both servers with the same shell and permissions and I can access the DB server through ssh and run brtools functions.

The SAPDBHOST has been specified with the DB Server.

I have created an entry in SM69 for ssh and tested with SM49 successfully. Eg: If I pass the parameter ls -l, it returns with the list of files present.

/usr/bin/ssh -q srmdtst01 ls -al -


Works

/usr/bin/ssh -q srmdtst01 sapxpg ls -al  -- Does NOT work.

 

What Does NOT Work:

SAPXPG when run with the above entry in SM69 returns nothing, which according to note 446172 is supposed to mean that everything is all right. But RFC SAPXPG_DBDEST_<DBSERVER> also fails the connection test. I've got Activation type in the RFC set to "Start on Explicit Host" and have even provided the full path to sapxpg on the DB Server. The RFC connection test fails with a "timeout during allocate".

 

What should I set the "start type of External Program" to in the RFC? Its currently set to Default Gateway Value but I've tried all the other options and it still fails.

 

Any other ideas on why sapxpg fails to start?

 

Regards,

Chengappa Ballachanda

latin 2 character printing device types

$
0
0

Hello,

 

We are going live in countries which uses latin 2 languages.

 

Currently we have the device types in Production which supports only latin 1 language.

Can you please let us know which device type I have to change to allow both latin1 and latin2 character printing correctly.

 

I have also gone through the SAP Notes 83502, 575916, 1097990 but don't find the required information on which device types to use for below.

 

Currently we have below device types in use.

 

ZHPLJCM1

RC000118

HPLJIIID

RC001118

CAN5

HPLJ4

POST2

RC100U18

ZHP2200

ZHP4250

LZEB2

XSF

 

Regards,

Jigar

SAP spool file

$
0
0

Hello,

 

Is it possible to fetch “spool file” before it is passed to the “virtual device” in order to see what is the actual content of the spooled file?


We have an issue with printing so need to check.


Regards,

Jigar

What is the use of Protocol in RFC

$
0
0

Hello,

 

We have a question from Functional team is whats it the use of Protocol in Tab "Special actions" in RFC.

 

Please check below screen shot, there are different option in Protocol drop down list?

 

for ex. classic qrfc, bgrfc and 2

 

RFC.JPG

Moving Hardware from RHEL5 - RHEL6

$
0
0

Hi,

 

Scenario -  I want to migrate my ECC EHP5 Application Server from below OS Release to below 'Target OS Release' on different boxes.

 

Current OS Release -

Red Hat Enterprise Linux Server release 5.9 (Tikanga)

Linux 2.6.18-348.6.1.el5 #1 SMP Fri Apr 26 09:21:26 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux


Target OS Release -

Linux 2.6.32-504.12.2.el6.x86_64 #1 SMP Sun Feb 1 12:14:02 EST 2015 x86_64 x86_64 x86_64 GNU/Linux

Red Hat Enterprise Linux Server release 6.6 (Santiago)

 

 

Can we perform this migration by unmounting all File System from existing  VM and mounting all the directory and file structure (SAP & DB) to New VM ?

or

 

There is only one option to migrate the system i.e. using DB backup and restore / System Export-Import .

 

Please suggest.

 

Regards,

Shyam Kumar

How to create service unit for SAP RedHat 7.x

$
0
0

Hello,

 

I'm trying to create service unit for SAP on RedHat 7. Start SAP is ok, but shutdown does not work. It not shutdown database correctly.

 

Here is my service unit:

 

[Unit]

Description=SAP sluzba

 

 

After=network.target sshd.target

Wants=network.target sshd.service

 

 

[Service]

Type=simple

RemainAfterExit=true

 

 

Environment="SAPSYSTEMNAME=RH7" "HOST=cz-brn1-rh7" "HOME=/home/rh7adm" "PATH=/sapdb/clients/RH7/bin:/sapdb/programs/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/sap/RH7/SYS/exe/uc/linuxx86_64:/usr/sap/RH7/SYS/exe/run:/home/rh7adm:." "DIR_LIBRARY=/usr/sap/RH7/SYS/exe/run" "LD_LIBRARY_PATH=/usr/sap/RH7/SYS/exe/run:/usr/sap/RH7/SYS/exe/uc/linuxx86_64:/sapdb/clients/RH7/lib" "RSEC_SSFS_DATAPATH=/usr/sap/RH7/SYS/global/security/rsecssfs/data" "RSEC_SSFS_KEYPATH=/usr/sap/RH7/SYS/global/security/rsecssfs/key"

KillMode=none

SendSIGKILL=no

TimeoutSec=5min

TimeoutStopSec=5min

User=rh7adm

Group=sapsys

 

 

ExecStart=/usr/sap/startsap

 

 

ExecStop=/usr/sap/stopsap

 

 

 

 

 

 

[Install]

WantedBy=graphical.target

 

Here is stopsap script:

 

#!/bin/bash

 

 

date >> /usr/sap/stopsap.log; /usr/sap/RH7/SYS/exe/uc/linuxx86_64/stopsap >> /usr/sap/stopsap.log 2>&1; whoami >> /usr/sap/stopsap.log;

 

 

It stuck in stopping SAP: I don't know where shoud be problem.

 

Mon Oct 19 12:37:26 CEST 2015

Checking  Database

-------------------------------------------

setTrace: false

WARNING: Cannot write class prefetch list; classload performance may be affected

WARNING: java.io.FileNotFoundException: class_prefetch.lst (Permission denied)

WARNING: To fix the problem, remove the inaccessible file /class_prefetch.lst

J2EE Database is running

See logfile /home/rh7adm/JdbcCon.log

stopping the SAP instance J28

Shutdown-Log is written to /home/rh7adm/stopsap_J28.log

-------------------------------------------

/usr/sap/RH7/J28/exe/sapcontrol -prot NI_HTTP -nr 28 -function Stop

Instance on host cz-brn1-rh7 stopped

Waiting for cleanup of resources

..................................................................................................................................................


[root@cz-brn1-rh7 ~]# chmod ls -ltr /usr/sap/RH7/J28/j2ee/cluster/class_prefetch.lst

-rwxrwxrwx. 1 rh7adm sapsys 89217 Oct 19 12:44 /usr/sap/RH7/J28/j2ee/cluster/class_prefetch.lst

 

 

Thank you for your help.

How to create service unit for SAP RedHat 7.x

$
0
0

Hello,

 

I'm trying to write service unit for SAP. I have problems with shutdown -it don't work well, because my service unit didn't shutdown database correctly.

 

Do you have some experience with this?

 

What shoud I change?

 

Here is my service unit:

 

[Unit]

Description=SAP sluzba

 

 

 

After=network.target sshd.target

Wants=network.target sshd.service

 

 

 

[Service]

Type=simple

RemainAfterExit=true

 

Environment="SAPSYSTEMNAME=RH7" "HOST=cz-brn1-rh7" "HOME=/home/rh7adm" "PATH=/sapdb/clients/RH7/bin:/sapdb/programs/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/sap/RH7/SYS/exe/uc/linuxx86_64:/usr/sap/RH7/SYS/exe/run:/home/rh7adm:." "DIR_LIBRARY=/usr/sap/RH7/SYS/exe/run" "LD_LIBRARY_PATH=/usr/sap/RH7/SYS/exe/run:/usr/sap/RH7/SYS/exe/uc/linuxx86_64:/sapdb/clients/RH7/lib" "RSEC_SSFS_DATAPATH=/usr/sap/RH7/SYS/global/security/rsecssfs/data" "RSEC_SSFS_KEYPATH=/usr/sap/RH7/SYS/global/security/rsecssfs/key"

KillMode=none

SendSIGKILL=no

TimeoutStopUSec=5min

TimeoutSec=5min

TimeoutStopSec=5min

User=rh7adm

Group=sapsys

 

ExecStart=/usr/sap/startsap

 

ExecStop=/usr/sap/stopsap

 

 

 

[Install]

WantedBy=graphical.target

 

 

 

/usr/sap/stopsap :

 

date >> /usr/sap/stopsap.log; /usr/sap/RH7/SYS/exe/uc/linuxx86_64/stopsap >> /usr/sap/stopsap.log 2>&1; whoami >> /usr/sap/stopsap.log;

 

 

 

Thank you for help


Try to install SAP GUI 7.40 java ended with a fatal ERROR

$
0
0

Hi,

 

i try to install the "PlatinGUI740_2-20012037.JAR" on ubuntu 14.04, working into a Virtualbox 5 area.

Following Java is installed:

 

fb@fb-VirtualBox:~$ java -version

java version "1.8.0_65"

Java(TM) SE Runtime Environment (build 1.8.0_65-b17)

Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

fb@fb-VirtualBox:~$

 

error LOG:

 

22.10. 18:56:56.076:Load native optional resource : Linux-graphics.jar
22.10. 18:56:56.078:   load optional resource failed: java.io.FileNotFoundException: /home/fb/SAP/Linux-graphics.jar (Datei oder Verzeichnis nicht gefunden)
22.10. 18:56:56.080:Load native resource : Linux-lib.jar

############################# ERROR #############################

22.10. 18:56:56.082 ERROR: MicroLoader.loadResource(): I/O error while loading resource file:/home/fb/SAP/Linux-lib.jar: /home/fb/SAP/Linux-lib.jar (Datei oder Verzeichnis nicht gefunden)

############################# ERROR #############################

22.10. 18:56:56.082: ===========================================================

22.10. 18:56:56.083: Installation of SAP GUI for Java 7.40 rev 2

22.10. 18:56:56.083: -----------------------------------------------------------

22.10. 18:56:56.083: Installation has failed.

22.10. 18:56:56.083: -----------------------------------------------------------

22.10. 18:56:56.083: The installation of the SAP GUI for Java has failed with fatal errors.

22.10. 18:56:56.084: Please check the installation log file: "/home/fb/sapgui.log"

############################# ERROR #############################

22.10. 18:56:56.084 ERROR: Internal exception during installation

22.10. 18:56:56.084 ERROR: java.lang.NullPointerException

22.10. 18:56:56.084 ERROR:     at com.sap.platin.micro.installer.InstallationController.loadResource(InstallationController.java:1133)

22.10. 18:56:56.084 ERROR:     at com.sap.platin.micro.installer.InstallationController.downloadResources(InstallationController.java:1001)

22.10. 18:56:56.084 ERROR:     at com.sap.platin.micro.installer.InstallationController.addInstallationImpl(InstallationController.java:280)

22.10. 18:56:56.084 ERROR:     at com.sap.platin.micro.installer.InstallationController.addInstallation(InstallationController.java:132)

22.10. 18:56:56.084 ERROR:     at com.sap.platin.micro.installer.Installer.doInstall(Installer.java:396)

22.10. 18:56:56.084 ERROR:     at com.sap.platin.micro.installer.Installer.access$200(Installer.java:65)

22.10. 18:56:56.084 ERROR:     at com.sap.platin.micro.installer.Installer$1.run(Installer.java:428)

############################# ERROR #############################

22.10. 18:56:56.084: =============================================================================

22.10. 18:56:56.084 TRC: Closing redirection to "/home/fb/sapgui.log"

22.10. 19:17:07.948 TRC: Opened redirection to "/home/fb/sapgui.log"

22.10. 19:17:08.010 TRC: Active redirections:

22.10. 19:17:08.010 TRC:/home/fb/sapgui.log

 

 

all installations are ending with a fatal error. I don't know why......I need your help, urgantly....thanks .

 

BR

Frank

Hi, i'm new to sap, i'm in to basis.. Linux file system paths.

$
0
0

Hi, i'm new to sap, i'm in to basis.. i am not clear with the concept of linux file system paths clearly. so could some one please give me idea on how to remember the paths.

for ex:- usr/sap/sid/sys/exe/run --- this is kernel path.. like so..

this concept is not getting in to my head.

 

kindly, can some one make this concept clear to me..

 

thanks in advance..

Required JDK for SUSE Linux 11 SP2

$
0
0

Hi Experts,

 

I am trying to install SAP on SUSE Linux version 11 SP2. (64 bit X86_64)

 

Can you please let me know the version of the JDK need to install.

 

Best Regards,

Vamshi

Need to reset the SAPADM user password due to the password policies

$
0
0

Our IT Security team have identified and advised to change the SAPADM password. Please advise as if this change will bring down the SAP Systems. I am new to the Basis side and currently researching and finding the pros and cons of this possibility.

keyboard hangs

sapuxuserchk authentication failure

$
0
0


Hello,

 

lately we have deployed the hostagent to all of our sap servers. Now I have some messages at /var/log/syslog/all at several (not all) Servers like

May 19 11:57:10 hges2022 sapuxuserchk: pam_unix_auth(sapstartsrv:auth): authentication failure; logname= uid=2000 euid=0 tty= ruser= rhost=  user=sapadm

May 19 11:57:12 hges2022 sapuxuserchk: _rebind_proc

May 19 11:57:12 hges2022 sapuxuserchk: _rebind_proc

May 19 11:57:12 hges2022 sapuxuserchk: _rebind_proc

 

This appears several time per minute.

 

I have already found note http://service.sap.com/sap/support/notes/927637. I have installed the latest hostagent (207). I have removed sapususerchk from the direcories /usr/sap/<SID>/<Instance>/exe.

 

Im am using new sap kernel versions, for example 742 PL 101.

 

We are not using PAM-Authentication anywhere.

 

I can not find any reason, why this message appears at some servers, but not at others.

 

Do you have any idea what to do, to solve the problem causing this messages?

 

Best regards

Andreas

Full Support for SLES 12?

$
0
0

Hi

maybe some of you are in a similar situation:

We are running SAP Systems on SLES11.3 for vmware which will go out of maintenance around december 2015.

The best approach for us would be to go for SLES12.

Until mid this year SLES12 was not supported by SAP resp. by all software vendors.

Today I saw in PAM that SLES12 is supported for NetWeaver Kernel 7.42, which is fine.

However, we also have other SAP systems based on NW 7.00 (Kernel 7.2x), SAP ContentServer (6.5 on MaxDB 7.9), WebDispatchers, Solution Manager 7.1 and so on, which are - according to PAM - not supported, at least as of now.

Will there be an official SAP support for the latter products on SLES12? When can we expect this? End of year is coming closer and upgrading SLES is easy, but must also be planned ahead.

 

Regards

Michael


Document for Sap on Suse Linux

$
0
0

Hi All,

 

Does anybody have Installation document for SAP(ECC 6.0- EHP7 IDES) on Suse linux with MaxDB. Please suggest for appropriate guides that would help.

 

 

 

Thanks,

Sreekanth

HTTPS not working on SLES HANA Box (python easy_install / pip)

$
0
0

Hi,

 

I am trying to install some python packages using either pip or easy_install, but neither works when they are trying to download dependencies via https. I get the following error, for instance:

 

"Download error on https://pypi.python.org/simple/setup.py/: unknown url type: https -- Some packages may not be found!"

 

How can this be solved / or how can I force HTTP instead of HTTPS?

 

Thanks!

 

Best regards,

Alexander

SLES Enterprise vs SLES Enterprise for SAP?

$
0
0

Chaps,

 

We are installing SAP on HANA in a SLES environment on a TDI - i.e. we shall be building our own tin and installing SAP HANA rather than installing an appliance.  This will be running under VMWare, so all the HA will be handled there and we don't need the advanced HA functions of SLES for HANA.  As the subscription license costs are significantly different between SLES Enterprise and SLES Enterprise for SAP, we are wondering if there are any clear reasons why we need the SAP version.  Why can we not use standard SLES Enterprise?  None of the servers will be especially large - up to 256GB RAM in production.

 

Any advice/experiences would be welcome.

 

Thanks,

Graham

Add a dialog instance to Linux testdrive?

$
0
0

A 2008 article by Martin Vierling describes how to add a dialog instance to the Windows SAP Trial Version for testing RFC fallback in BC-XOM.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/704a5dde-1f87-2b10-969f-de66c17b5ab9?quicklink=index&…

SAP NetWeaver AS - Output Management (BC-XOM)  link under Test System Recommendation from ICC.

 

I would like to do this with a Linux testdrive.  Is it possible to do this, perhaps by following the Windows instructions and changing to Unix style paths, plus figuring out the necessary start/stop scripting?  Has anyone done this??

Printing from Linux on a Windows Print Server

$
0
0

Hello,

 

I would like to printout from SAP on SLES to a Windows Print Server.

Therefore I installed on Cups a printer queue with the target: lpd://WINSERVER/printersharename

But I don't get a connection. Even the "telnet SERVER 515" gives me a "connection refused". The port 515 is open in the firewall.

 

Do I have to configure anything on the Windows Print Server in order to get it listen on port 515?

 

Thank you,

   julian

Viewing all 72 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>