Unable to execute external OS command in Sm49
Hi All,
I am trying to copy a file from another application server to BW application server.Below are the steps that I followed:
1. Created a Batch file and placed it on the BW application server.Below is the contents of the flat file:
xcopy
MDHCLST01\mdhreports\lossreports\20080522_Comp.*
WSAGLDWIVM76.aglcloud1.int\OUTPUT-SCS\
2. I have created a command in sm49 to execute this batch file
3. When i am trying to execute this command in sm49 it is giving me following error:
E:\usr\sap\BSP\DVEBMGS30\work>xcopy
MDHCLST01\mdhreports\lossreports\20080522_Comp.*
WSAGLDWIVM76.aglcloud1.int\OUTPUT-SCS\ Invalid drive specification 0 File(s) opied External program terminated with exit code 4
When I executed this Batch file directly from application server it is copying the files but when I am executing the file in SM49
it is giving me error.Please suggest me in this regard.
Warm Regards,
Nanduri Aditya
Hello
We will move this thread to the SAP NetWeaver BW forum. You will get a better response on that forum.
Regards
XI/PI Moderator
Similar Messages
-
Hi Gurus,
Im trying to execute a OS Command inside the file adapter.
Its a .exe file which I have written. The exe file will take in 2 parameters.
I entered this in the OS Command
F:\test\run.exe test.xml output.txt
However, it seems that the command is not be executed. Am I missing anything?
Thanks in advance.Hi,
Refer these blogs:
Executing Unix shell script using Operating System Command in XI
The specified item was not found.
The specified item was not found.
http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Re: RUN OPERATING SYSTEM COMMAND BEFORE MESSAGE PROCESING { Aashish Sinha }
Its is better you write the code in the batch file (.bat) and call the batch file at runtime rather than using .exe file
Regards,
Nithiyanandam -
Execute external java command line in Java
But I can not get any result ( It does not create file test.svg) . the code is as follow
Runtime.getRuntime().exec("java -jar c:/XSLT/saxon7.jar ../webapps/wfscontroller/gml.xml ../webapps/wfscontroller/SVG.xsl > ../webapps/wfscontroller/test.svg");
If I execute "java -jar c:/XSLT/saxon7.jar ../webapps/wfscontroller/gml.xml ../webapps/wfscontroller/SVG.xsl > ../webapps/wfscontroller/test.svg" in DOS command. it works.
Anybody knows what happened?
Many thanks in advance.The > is interpreted by the shell. When you use Runtime.exec, you don't go through the shell, you exec the executable directory. So when you exec that command, you're passing ">" as an argument to "java -jar c:/...", and chances are the main() method in that doesn't interpret ">".
So the upshot is you can't use ">", "|", "<", etc., that you can in a shell, with Runtime.exec().
Other options are to run a batch file which invokes that command line.
Or, you can get the standard output from the exec'ed process, and save it to a new file yourself. -
ACE - unable to execute various show commands. Error: Called API timed out
Hi I am runnng version A2(2.3) on a HA ACE setup.
I have noticed today that issuing various show commands such as 'show run' and 'show probe' on the active ACE have suddenly stopped working. On hitting return the ACE sits there for a while non respondant before finally outputting an Error: Called API timed out and then returning to the command prompt. It only seems to happen on show commands that would generate a lot of output, for example a 'show version' works. I have also noticed a delay sometimes in logging into the active ACE which has again only come to light today.
We havent made any changes recently and this behavior has not been seen before.
I could only find one similar posting which kind of suggested that a high logging level may be to blame for this issue, we are running at debugging level but have since the ACE's were brought into play over 12 months ago (yep i know logging at that level is far from ideal).
Production traffic does not seem to be affected at present.
Apart from reudcing the logging level I am not sure what else could be causing this issue, has anyone come across this one before?
Unfortunaltey the 'show resource usgae in one of the commands that wont work'
A 'show cpu' command shows nothing above 10%
Though multiple context are configured (3), the default resource allocation is in place between all three.
Thanks for taking the time to read.Thanks for the response I will take a look at that Bug ID.
In the end as you have already suggested above I ended up failing across to the standby ACE and powering down/up the affected ACE module from the switch CLI. This seems to have restored all functionality. Even a soft reload command prior on the affected ACE didnt take affect. -
Problem executing external command in OS400
Hi,
When i try to run an external os command from SM49, i am getting the following message, but ideally the message should display, job has been sent.
Can anyone one help this out.
Command executed: sbmjob : CMD(CALL PGM(SEAEDIPGM/EDISLCCL)) JOB(SsIN) JOBD(G3X0DTASEA/GENTRAN) JOBQ(SEAEDIPGM/SAPSEAEDI)
outq(jobd) user(rkey) INLLIBL(JOBD) :
Target host: R3SDSNAB
sapxpg: executing "sbmjob".
Program output follows
Spooled Files:
(no spooled files)
Joblog:
<CPC1221> Job 589241/P0662/R3_62 submitted to job queue R3_62 in library R3P06400.
<CPC2206> Ownership of object JLQMHLJOBL in QTEMP type *USRSPC changed.
Program output ends
sapxpg: Program "sbmjob"returned 0.
Thanks,
Sailesh KHi Sailesh,
did you patch SAPXPG & SAPCMD "up to the roof" ?
Regards
Volker Gueldenpfennig, consolut.gmbh
http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de -
Re: Error while Execute External Operating System Command using T.code SM49
Dear Experts,
I Have uploaded one .exe file in the application server (eg: sum.exe) and created the OS command in SM69 transaction .
And maintained the application server path in the 'operating system command' field in SM69 t.code.
Our SAP system, oprating system is UNIX.
After I have executed the external command using transaction SM49 , but I got the below error.
Can not execute external program (permission denied) , External program terminated with exit code 1
Immediately I run the SU53 transaction code to check the authorization, but Authorization was successful.
Could any one please help on this error.
Thanks in advance.>>Can not execute external program (permission denied) , External program terminated with exit code 1
You need to give the permission as 755 to your file.
>>I Have uploaded one .exe file in the application server (eg: sum.exe)
You are on UNIX and do not expect to any result of .exe file as UNIX doesn't know about this. -
Hi All,
Is it possible to run External OS Command created in Tcode SM49 by File Adapter.
We are running SAP PI IBM OS i5 and need to call RPG program from File Adapter, if i create custom OS command in SM49 and able to execute the same command from File adapter then my problem has been fix.
In out BI environment we are doing the same but i never use it PI.
With Regards
SunilSunil,
You mentioned if i create custom OS command in SM49 and able to execute the same command from File adapter:
I dont see any difference in calling this script from the file adapter. Put all the commands in the script and you can call the script directly from the file adapter. What ever you can achieve from sm49 you can achieve the same from file adapter also. I didnot work this practically, but I dont see you should run into any issues.
Regards,
---Satish -
Error 801 when executing external command
Dear all,
One of our PRODcution system (PI) system getting lot of below error in SM21.
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
OS : HP-UX , DB : Oracle and sapnetweaver2004s
Kindly advise and let me know what should i check SM49 ?
Thanks
Edited by: satheesh0812 on Aug 18, 2011 4:37 PMHi,
Perhaps the steps and solution in this thread could help.:
Error 801 when executing external command on
Regards,
Srikishan -
Unable to execute Linux command from Java
Hi,
I am currently working on a code wherein i need to execute Linux command from Java. Below are some of the query i have.
1) Is there any efficient method of running OS commands from Java, rather than using Runtime and Process method.
2) Below is details of my code which fails in execution
**-- Java Version**
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Server VM (build 1.6.0-b09, mixed mode)
-- Program Code ----
Where <path> = Path i put myself
package test;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.*;
public class GetInode{
* @param args
public static void main(String[] args) {
GetInode test = new GetInode();
test.getInode();
public void getInode(){
String command = "/usr/bin/stat -Lt <path>;
System.out.println(command);
Process process;
Runtime rt;
try{
rt = Runtime.getRuntime();
process = rt.exec(command);
InputStreamReader isr = new InputStreamReader(process.getErrorStream());
BufferedReader bre = new BufferedReader(isr);
BufferedReader br = new BufferedReader(new InputStreamReader(process.getInputStream());
System.out.println(bre.readLine());
System.out.println(br.readLine().split(" ")[7]);
process.destroy();
}catch (Exception ex){
System.out.println("Error :- " + ex.getMessage());
------Output -------------
/usr/bin/stat -Lt "<path>"
/usr/bin/stat: cannot stat `"<path>"': No such file or directory
Error :- null
Can any one help me what is wrong and why i am unable to run the Linux command from Java.For clarity purpose............i m submitting actual code here
--- Code ---
package test;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.*;
public class GetInode{
* @param args
public static void main(String[] args) {
GetInode test = new GetInode();
test.getInode();
public void getInode(){
String command = "/usr/bin/stat -Lt \"/afs/inf.ed.ac.uk/user/s08/s0898671/workspace/CASWESBLIN/TestFS/01_FIL_01.txt.txt\"";
System.out.println(command);
Process process;
Runtime rt;
try{
rt = Runtime.getRuntime();
process = rt.exec(command);
InputStreamReader isr = new InputStreamReader(process.getErrorStream());
BufferedReader bre = new BufferedReader(isr);
BufferedReader br = new BufferedReader(new InputStreamReader(process.getInputStream()));
System.out.println(bre.readLine());
System.out.println(br.readLine().split(" ")[7]);
process.destroy();
}catch (Exception ex){
System.out.println("Error :- " + ex.getMessage());
--- Output ---
[ratz]s0898671: java GetInode
/usr/bin/stat -Lt "/afs/inf.ed.ac.uk/user/s08/s0898671/workspace/CASWESBLIN/TestFS/01_FIL_01.txt.txt"
/usr/bin/stat: cannot stat `"/afs/inf.ed.ac.uk/user/s08/s0898671/workspace/CASWESBLIN/TestFS/01_FIL_01.txt.txt"': No such file or directory
Error :- null
-- Linux Terminal --
If i copy the first line from the output and execute on Linux terminal her is the output that i get
[ratz]s0898671: /usr/bin/stat -Lt "/afs/inf.ed.ac.uk/user/s08/s0898671/workspace/CASWESBLIN/TestFS/01_FIL_01.txt.txt"
/afs/inf.ed.ac.uk/user/s08/s0898671/workspace/CASWESBLIN/TestFS/01_FIL_01.txt.txt 12003 24 81a4 453166 10000 1c 360466554 2 0 1 1246638450 1246638450 1246638450 4096
Can you just assist me where am i really making mistake.......i was wondering if the command that i pass from Java....can be executed on Linux terminal why is it faling to run from java.........and when i print the Error Stream for process output........it show cannot Stat....... -
Unable to execute command adprmkey in upgrading 11i to 12.1.1
Hello Team Leaders:
I am in the process of upgrading EBS 11.5.10.2 to Release 12.1.1. I have imported the database, Layed down the apps and have started applying patches. While running adpatch I have encountered:
java.lang.Exception: ERROR: Unable to execute command: adprmkey /u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndlist.jar.tmp
at oracle.apps.ad.jri.util.JarSignerOptions.getOptions(JarSignerOptions.java:50)
at oracle.apps.ad.jri.util.JarSignUtils.signJarWithJarsigner(JarSignUtils.java:132)
at oracle.apps.ad.jri.adjmx.mergeAndExtract(adjmx.java:1313)
at oracle.apps.ad.jri.adjmx.main(adjmx.java:970)
Done Analyzing fndlist.jar : Fri Oct 26 2012 16:06:42
ERROR: The following jars failed to get generated properly.
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndforms.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndewt.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndewtpv.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndaol.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/wfapi.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndaroraclnt.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndmail.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndactiv.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndformsi18n.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/mapclient.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndxmlparserv2.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/cs/jar/cs.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/az/jar/azwizard.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/jtf/jar/jtfgrid.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/cct/jar/cctbasic.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/msd/jar/msejar.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/wps/jar/wpsgantt.jar
/u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndlist.jar
I then tried relinking on jar manually:
cd /u02/applfint/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar
ll fndaroraclnt.jar
-rw-r--r-- 1 applfint dba 1135766 Apr 1 2009 fndaroraclnt.jar
adrelink.sh force=y "fndaroraclnt.jar "
Errors:
adrelink: error: Product library for product "fndaroraclnt.jar" not found.
"fndaroraclnt.jar" might not be listed correctly in your OFT1_ofintest.env file,
you may be missing some files for product "fndaroraclnt.jar",
or "fndaroraclnt.jar" could be an invalid product.
adrelink will not try to link product "fndaroraclnt.jar".
Continuing work on other products...
adrelink is exiting with status 1
What is my problem?
MathiasHi Hussein,
Following command in (11864081 12.1.3 Java.lang.Exception: Unable To Find Or Read Parameter File /d01/oracle/R12DEV/apps/a [ID 1479911.1]), I have executed:
adrelink.sh force=y "ad adprmkey"
And the output errors are:
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libgcc_s.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
collect2: ld returned 1 exit status
make: *** [u02/applfint/apps/apps_st/appl/ad/12.0.0/bin/adprmkey] Error 1
Done with link of ad executable 'adprmkey' on Sun Oct 28 01:59:50 EDT 2012
Relink of module "adprmkey" failed.
See error messages above (also recorded in log file) for possible
reasons for the failure. Also, please check that the Unix userid
running adrelink has read, write, and execute permissions
on the directory /u02/applfint/apps/apps_st/appl/ad/12.0.0/bin,
and that there is sufficient space remaining on the disk partition
containing your Oracle Applications installation.
I checked and do have permissions on /u02/applfint/apps/apps_st/appl/ad/12.0.0/bin:
drwxr-xr-x 2 applfint dba 4096 Oct 28 02:10 bin
Browsing around the system I noticed:
1) three broken links in /usr/lib/gcc/x86_64-redhat-linux/4.4.4/32:
libgfortran.so -> ../../../../libgfortran.so.3.0.0
libmudflapth.a -> ../../../i686-redhat-linux/4.4.4/libmudflapth.a
libmudflap.a -> ../../../i686-redhat-linux/4.4.4/libmudflap.a
libgomp.so -> ../../../../libgomp.so.1.0.0
2) Following MOS note 11864081 12.1.3 Java.lang.Exception. Check this out:
adrelink.sh force=y "ad adprmkey"
Failed with:
usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libgcc_s.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
collect2: ld returned 1 exit status
make: *** [u02/applfint/apps/apps_st/appl/ad/12.0.0/bin/adprmkey] Error 1
Done with link of ad executable 'adprmkey' on Fri Oct 26 18:14:16 EDT 2012
Relink of module "adprmkey" failed.
3) My OS :
uname -a
Linux ofintest.corp.phillips.com 2.6.32-100.28.5.el6.x86_64 #1 SMP Wed Feb 2 18:40:23 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
4) rpm -q glibc
glibc-2.12-1.80.el6_3.5.x86_64
glibc-2.12-1.80.el6_3.5.i686
5) gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure prefix=/usr mandir=/usr/share/man infodir=/usr/share/info with-bugurl=http://bugzilla.redhat.com/bugzilla enable-bootstrap enable-shared enable-threads=posix enable-checking=release with-system-zlib enable-__cxa_atexit disable-libunwind-exceptions enable-gnu-unique-object enable-languages=c,c++,objc,obj-c++,java,fortran,ada enable-java-awt=gtk disable-dssi with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre enable-libgcj-multifile enable-java-maintainer-mode with-ecj-jar=/usr/share/java/eclipse-ecj.jar disable-libjava-multilib with-ppl with-cloog with-tune=generic with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)
6) g++ --version
g++ (GCC) 4.4.4 20100726 (Red Hat 4.4.4-13)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7) ls -al /usr/bin | grep gcc
lrwxrwxrwx. 1 root root 3 Oct 17 12:28 cc -> gcc
-rwxr-xr-x 2 root root 268088 Dec 1 2010 gcc
-rwxr-xr-x 2 root root 268088 Dec 1 2010 x86_64-redhat-linux-gcc
8) rpm -qf /usr/bin/x86_64-redhat-linux-gcc
gcc-4.4.4-13.el6.x86_64
I hope this information helps in troubleshooting this issue for us.
Thanks
Mathias
Thanks, -
Executing external command and program in background
Hi,
how to execute external command and external program in background.
please provide me some tips on the same.
while creating external command, what is the significance of "operating system command" and "parameters for operating system command".
Thanks,
Dinesh.Hi,
You can define external commands using transaction code SM69.
External commands are commands which would be executed at your operating
system with or without parameters.
Operating system commands are those which you execute at OS level like
mkdir, cat, rm, cp, ls
Parameters are options that you add to os commands to get more functionalities.
like, < ls -l > : will give you a long listing of files where " l " is the parameter
< ls -lt > : will give you a long listing with last changed file at top where " lt " is the parameter.
You can mention these in SM69 when you define the external commands.
Now, in order to execute these in your background job. In the steps click on "external command" and give your command name in SM36 while creating your job.
" Points for solution ".
Thanks and Regards,
Sandeep. -
Error 801 when executing external command on
Hello,
I have installed CCMS agents and CCMS ping in my system yesterday. And activated the CPH BGD jobs for SL reporting purpse. Now I am getting an error "Error 801 when executing external command on" under class LC 2. I am not able to find any relevant note or help for this error. Any idea why this happens? How can I solve this? The details as follows:
EXTERNAL COMMAND: rc = Error 801
SXPG_COMMAND_EXECUTE(LONG):
<timestamp>: 20100310144206
COMMANDNAME: PING
ADDITIONAL_PARAMETERS: s-sapcae
LONG_PARAMS:
OPERATINGSYSTEM: AIX
TARGETSYSTEM: sapasmc1
DESTINATION:
SY-SUBRC: 801
Regards,
RajeevHi,
I have activated the trace level to 3 and now I get some messages in dev_cp which is as follows:
Trace file of control program (trace level 3)
< Function: BtcTrcInit> Function: main SAPXPG 720
2010-03-11 08-52-09 : Before BtcXpgDetach
> Function: BtcXpgDetach < Function: BtcXpgDetach Accept RFC connection from R/3 system
2010-03-11 08-52-09 : Before RfcAccept
2010-03-11 08-52-09 : RfcAccept returned OK
Begin of check_if_security_list
security check switched OFF
End of check_if_security_list
Begin of check_trace_option
End of check_trace_option
Install RFC call SAPXPG_START_XPG
Install RFC call SAPXPG_START_XPG_LONG
Install RFC call SAPXPG_END_XPG
Wait for RFC call SAPXPG_START_XPG or SAPXPG_START_XPG_LONG
2010-03-11 08-52-09 : Before first call of RFCDispatch
Security: rfcexec_logon_check
rfcexec_logon_check: logon_user = TT4WNUC
sapxpg_logon_check: rfc_attr.user = TT4WNUC
rfcexec_logon_check: client = 100
2010-03-11 08-52-09 : After first call of RFCDispatch
2010-03-11 08-52-09 : Before call of RfcClose (sequencing error)
2010-03-11 08-52-09 : After call of RfcClose (sequencing error)
< Function: main
2010-03-11 08-52-09 : End of SAPXPG: main
I think the issue is with the user TT4WNUC. Could you please let me know from where I can change this user?
Rajeev -
Sm_SolmanSID error 503 when executing external command
Hello,
On one of my managed system (my productive ECC),
I have the following error ,everyday at 20:00,
for the user SM_SolamnSID.
"Error 503 when executing external command on (xpgid=0,convid=.)"
The role ZSAP_SOLMAN_READ has been given to this user.
Could you tell me what I should perform to avoid this problem?
Regards,Hi Benoit,
Pls refer below threads for external error of 503,
Cannot run SM69 external commands from application server
Cannot run SM69 external commands from application server,&nbsp;SM21&nbsp;|&nbsp;ABAP,&nbsp;SAP,&nbs…
Regards
K.N -
LC 2 Error 1003 when executing external command brconnect on (xpgid=0,con
Dear all,
I am getting error in sm21.Please suggest .
Details Page 2 Line 23 System Log: Local Analysis of clusa 1
Time Type Nr Clt User TCode Grp N Text
10:00:32 DIA 000 600 DDIC LC 2 Error 1003 when executing external command brconnect on (xpgid=0,convid=.)
Error 1003 when executing external command brconnect on (xpgid=0,convid=.)
Details
Recording at local and central time........................ 10.05.2010 10:00:32
Task...... Process User...... Terminal Session TCode Program Cl Problem cl Package
06952 Dialog work process No. 000 DDIC 1 SAPMSSY1 S Operation Trace SBTC
No documentation for syslog message LC 2 exists
Parameter
1 .... xpgid=0,convid=.
Technical details
File Offset RecFm System log Grp N variable message data
224 260640 LC 2 brconnect & &Error 1003 & & &
Regards,
KumarDear Juan,
Please find the logs.Please suggest.
dev_cp log
Trace file of control program (trace level 3)
< Function: BtcTrcInit> Function: main SAPXPG 720
2010-05-10--09-33-29 : Before BtcXpgDetach
> Function: BtcXpgDetach < Function: BtcXpgDetach Accept RFC connection from R/3 system
2010-05-10--09-33-29 : Before RfcAccept
2010-05-10--09-33-29 : RfcAccept returned OK
Begin of check_if_security_list
security check switched OFF
End of check_if_security_list
Begin of check_trace_option
End of check_trace_option
Install RFC call SAPXPG_START_XPG
Install RFC call SAPXPG_START_XPG_LONG
Install RFC call SAPXPG_END_XPG
Wait for RFC call SAPXPG_START_XPG or SAPXPG_START_XPG_LONG
2010-05-10--09-33-29 : Before first call of RFCDispatch
Security: rfcexec_logon_check
rfcexec_logon_check: logon_user =
sapxpg_logon_check: rfc_attr.user = BASIS
rfcexec_logon_check: client =
> Function: BtcXpgStartXpgLong
2010-05-10--09-33-29 : Beginning of BtcXpgStartXpgLong
> Function: BtcXpgStartXpgImportLong > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgTable < Function: BtcXpgTable < Function: BtcXpgStartXpgImportLong
BtcXpgStartXpgLong: special_trace_flag = <6>
> Function: BtcXpgStartXpgInt > Function: BtcXpgItTransfer Content of source log table:
Line Text
<No StdOut/StdErr output reported>
Target log table is not identical to source
ItGetLine terminated with NULL
< Function: BtcXpgItTransfer > Function: BtcTrcReset < Function: BtcTrcReset Call mode: VIA RFC
Input arguments of BtcXpgStartXpg:
External program: brtools
tracecntl = : 6
Display of Parameter string switched off !!
Contents of control flags:
StdIn control flag: redirect StdIn
StdOut control flag: store StdOut output in memory
StdErr control flag: store StdErr output in memory
Trace control flag: unknown contents
Termination control flag: control program will wait for termination
> Function: BtcXpgCheck > Function: BtcXpgArgv
parameter number 1:
parameter number 2:
parameter number 3:
parameter number 4:
parameter number 5:
parameter number 6:
parameter number 7:
Total number of arguments scanned: 7
Argument argv[0]: brtools
< Function: BtcXpgArgv < Function: BtcXpgCheck > Function: BtcXpgSigInst < Function: BtcXpgSigInst > Function: BtcXpgStart Rearrange stderr to be collected in memory
Rearrange stdout to be collected in memory
Redirect stdin, read from NUL:
> Function: BtcTrcInit< Function: BtcXpgStartStart status of external program: external program successfully started
Id of external process: 0000005296
StdOut/StdErr collected in memory
Line Text
<No StdOut/StdErr output reported>
< Function: BtcXpgStartXpgInt> Function: BtcXpgStartXpgExport > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam< Function: BtcXpgStartXpgExport
2010-05-10--09-33-29 : End of BtcXpgStartXpgLong
< Function: BtcXpgStartXpgLong
2010-05-10--09-33-29 : After first call of RFCDispatch
Wait for RFC call SAPXPG_END_XPG
2010-05-10--09-33-29 : Before second call of RFCDispatch
Security: rfcexec_logon_check
rfcexec_logon_check: logon_user =
sapxpg_logon_check: rfc_attr.user = BASIS
rfcexec_logon_check: client =
> Function: BtcXpgEndXpg
2010-05-10--09-33-29 : Beginning of BtcXpgEndXpg
> Function: BtcXpgStartXpgExport > Function: BtcXpgTable < Function: BtcXpgTable < Function: BtcXpgEndXpgImport > Function: BtcXpgEndXpgInt > Function: BtcXpgItTransfer Content of source log table:
Line Text
<No StdOut/StdErr output reported>
Target log table is not identical to source
ItGetLine terminated with NULL
< Function: BtcXpgItTransfer > Function: BtcXpgReadChild Output of external command not written to log !!
Process executing external program has terminated
< Function: BtcXpgReadChild > Function: BtcXpgEnd < Function: BtcXpgEnd Termination status of external program: no errors reported
StdOut/StdErr collected in memory
< Function: BtcXpgEndXpgInt > Function: BtcXpgEndXpgExport > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam < Function: BtcXpgEndXpgExport
2010-05-10--09-33-30 : End of BtcXpgEndXpg
< Function: BtcXpgEndXpg
2010-05-10--09-33-30 : After second call of RFCDispatch
2010-05-10--09-33-30 : After call of RfcClose (wait)
< Function: main
2010-05-10--09-33-30 : End of SAPXPG: main
dev_xpg
Trace file of External Program (trace level 3)
< Function: BtcTrcInit> Function: BtcXpgStart External program: brtools -sid prd -F printout alert_log 20100401000000 0128
Regards,
Kumar -
Unable to execute QEMU command 'qom-list': The command qom-list has not been found
I have been trying to get openstack working on the 2 Node Architecture - Controller (OL6.6) and Compute(OL.6.6). I am following the Oracle Openstack Installation Document but I keep getting the following error -
2015-03-26 20:32:13.662 8067 INFO nova.scheduler.filter_scheduler [req-92279e25-f098-4a7a-b8d5-a75bc965a3d3 6e5fe2a1961a4b31921c37f0d2e74265 326a884b9db44e56a68e8a9761ffcf84] Attempting to build 1 instance(s) uuids: [u'9fb4d99c-a7f7-4cd2-bbbc-4056ac0e8f1c']
2015-03-26 20:32:13.676 8067 INFO nova.scheduler.filter_scheduler [req-92279e25-f098-4a7a-b8d5-a75bc965a3d3 6e5fe2a1961a4b31921c37f0d2e74265 326a884b9db44e56a68e8a9761ffcf84] Choosing host WeighedHost [host: kvm4A.com, weight: 1.0] for instance 9fb4d99c-a7f7-4cd2-bbbc-4056ac0e8f1c
2015-03-26 20:32:33.586 8067 INFO nova.scheduler.filter_scheduler [req-92279e25-f098-4a7a-b8d5-a75bc965a3d3 6e5fe2a1961a4b31921c37f0d2e74265 326a884b9db44e56a68e8a9761ffcf84] Attempting to build 1 instance(s) uuids: [u'9fb4d99c-a7f7-4cd2-bbbc-4056ac0e8f1c']
2015-03-26 20:32:33.588 8067 ERROR nova.scheduler.filter_scheduler [req-92279e25-f098-4a7a-b8d5-a75bc965a3d3 6e5fe2a1961a4b31921c37f0d2e74265 326a884b9db44e56a68e8a9761ffcf84] [instance: 9fb4d99c-a7f7-4cd2-bbbc-4056ac0e8f1c] Error from last host: kvm4A.com (node kvm4A.com): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1328, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 393, in decorated_function\n return function(self, context, *args, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1740, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1737, in _spawn\n block_device_info)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2297, in spawn\n block_device_info)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3704, in _create_domain_and_network\n power_on=power_on)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3605, in _create_domain\n domain.XMLDesc(0))\n', u' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3600, in _create_domain\n domain.createWithFlags(launch_flags)\n', u' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 179, in doit\n result = proxy_call(self._autowrap, f, *args, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 139, in proxy_call\n rv = execute(f,*args,**kwargs)\n', u' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 77, in tworker\n rv = meth(*args,**kwargs)\n', u' File "/usr/lib64/python2.6/site-packages/libvirt.py", line 738, in createWithFlags\n if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', u"libvirtError: internal error: unable to execute QEMU command 'qom-list': The command qom-list has not been found\n"]
2015-03-26 20:32:33.592 8067 INFO nova.filters [req-92279e25-f098-4a7a-b8d5-a75bc965a3d3 6e5fe2a1961a4b31921c37f0d2e74265 326a884b9db44e56a68e8a9761ffcf84] Filter RetryFilter returned 0 hosts
2015-03-26 20:32:33.592 8067 WARNING nova.scheduler.driver [req-92279e25-f098-4a7a-b8d5-a75bc965a3d3 6e5fe2a1961a4b31921c37f0d2e74265 326a884b9db44e56a68e8a9761ffcf84] [instance: 9fb4d99c-a7f7-4cd2-bbbc-4056ac0e8f1c] Setting instance to ERROR state.
Any suggestions?
ThanksHi Avi,
The guide is for OL6 (see excerpt from page 5)
"A compute node is a system running Oracle Linux using KVM, or Oracle VM Server Release 3.3. You can download
installation ISOs of the latest version of Oracle Linux 6, or Oracle VM Server Release 3.3, from the Oracle Software
Delivery Cloud at:"
And although 1.0 release says OL6.5 and later I cannot find the OL7 pacakges on the public yum server. The only ones I can find are http://public-yum.oracle.com/public-yum-openstack-ol6.repo which is clearly OL6. I tried them on OL7 and the install fails.
[ol6_openstack10]
name=OpenStack 1.0 packages for Oracle Linux 6 (x86_64)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/openstack10/x86_64/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
If you have an Oracle Openstack install running I'd love to hear how you did it and what you did to accomplish it.
Right now I'm running OL6.6 with a RDO icehouse packstack install and I'm running into problems mounting volumes.
Openstack will be awesome once I get it running
Thank you for any assistance.
Dave
Maybe you are looking for
-
<blockquote>Locking duplicate thread.<br> Please continue here: [/questions/793396]</blockquote><br> cannot use search box, because I cannot type in the search area. This has never happened before. This is a big problem can you help?
-
Assign status profile automatically when upload documents in cFolder
Hello all, Is there any way to make the automatic assignment of a state profile to documents that are upload into a collaboration of cFolder? At this time we do it manually, but carries to assign the state profile every time we upload a new document.
-
hi everyone!! while running the VL01N transaction, i get a runtime syntax error in program "SAPLV45K" in the module name SD_SALES_DOCUMENT_ENQUEUE. it says that "The data object "TI_VBAK" does not have a component called "CRM_GUID"." please help!!!
-
Will Photoshop CS run on Windows 7 (first version of CS)
I replaced my old Windows XP machine with a Windows 7 Professional (64 bit). I've read that older programs needed the XP mode of Windows 7 to run.
-
Hi, There are some standard business content cubes activated and existing in system 7.0 as 3.5 cubes and datasources. How can I migrate them to 7.0 or can I create transforamtions and DTP instead of that. Pls let me know how to handle those 3.5 cubes