ABAP Database must be started on remote server
Hi.
I've installed a dialog instance on SuSe linux with the central instance and db (Oracle 9.2.0.8) running on the same AIX server
The installation was ok but from the DI it is not possible to connect to db. i've made a R3trans -x and below is the trans.log file
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 16.06.2010 - 14:09:27
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -x
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Wed Jun 16 14:09:27 2010 126 0.000126
4 ETW000 [dev trc ,00000] db_con_init called 13 0.000139
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 56 0.000195
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/SBX/SYS/exe/run/dboraslib.so' ...
4 ETW000 31 0.000226
4 ETW000 [dev trc ,00000] DlLoadLib() success: dlopen("/usr/sap/SBX/SYS/exe/run/dboraslib.so"), hdl 0
4 ETW000 6899 0.007125
4 ETW000 [dev trc ,00000] Library '/usr/sap/SBX/SYS/exe/run/dboraslib.so' loaded
4 ETW000 12 0.007137
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/SBX/SYS/exe/run/dboraslib.so
4 ETW000 13 0.007150
4 ETW000 [dev trc ,00000] Version of '/usr/sap/SBX/SYS/exe/run/dboraslib.so' is "640.00", patchlevel (0.276)
4 ETW000 77 0.007227
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/SBX/SYS/exe/run/dboraslib.so
4 ETW000 9 0.007236
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/SBX/SYS/exe/run/dboraslib.so
4 ETW000 22 0.007258
4 ETW000 [dev trc ,00000] New connection 0 created 15 0.007273
4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 16 0.007289
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 16 0.007305
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 11 0.007316
4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 12 0.007328
4 ETW000 [dev trc ,00000] Got ORACLE_HOME=/oracle/client/92x_64 from environment
4 ETW000 216 0.007544
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 20 0.007564
4 ETW000 [dev trc ,00000] got NLS_LANG='AMERICAN_AMERICA.WE8DEC' from environment
4 ETW000 9 0.007573
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIEnvCreate(mode=0)' failed: rc = -1
4 ETW000 245 0.007818
4 ETW000 [dev trc ,00000] set_ocica() -> OCI or SQL return code -1 15 0.007833
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2
4 ETW000 20 0.007853
4 ETW000 [dblink ,00430] ***LOG BY2=>sql error -1 performing CON [dblink#6 @ 430]
4 ETW000 65 0.007918
4 ETW000 [dblink ,00430] ***LOG BY0=>Cannot get Oracle error text. [dblink#6 @ 430]
4 ETW000 9 0.007927
Any help would appreciated. Thx
> 4 ETW000 [dev trc ,00000] Got ORACLE_HOME=/oracle/client/92x_64 from environment
> 4 ETW000 216 0.007544
> 4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 20 0.007564
> 4 ETW000 [dev trc ,00000] got NLS_LANG='AMERICAN_AMERICA.WE8DEC' from environment
> 4 ETW000 9 0.007573
> 4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIEnvCreate(mode=0)' failed: rc = -1
> 4 ETW000 245 0.007818
> 4 ETW000 [dev trc ,00000] set_ocica() -> OCI or SQL return code -1 15 0.007833
> 4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2
> 4 ETW000 20 0.007853
> 4 ETW000 [dblink ,00430] ***LOG BY2=>sql error -1 performing CON [dblink#6 @ 430]
> 4 ETW000 65 0.007918
> 4 ETW000 [dblink ,00430] ***LOG BY0=>Cannot get Oracle error text. [dblink#6 @ 430]
> 4 ETW000 9 0.007927
What Oracle client version do you use?
Please post
ls -l /oracle/client/92x_64
Markus
Similar Messages
-
ABAP Database XIP must be started on remote server
Hi All
while starting the SAP through startsap.
startsap
Checking XIP Database
ABAP Database is not available via R3trans
Starting SAP-Collector Daemon
This is Saposcol Version COLL 20.95 700 - AIX v11.65 5L-64 bit 090118
Usage: saposcol -l: Start OS Collector
saposcol -k: Stop OS Collector
saposcol -d: OS Collector Dialog Mode
saposcol -s: OS Collector Status
The OS Collector (PID 184746) is already running .....
saposcol already running
ABAP Database XIP must be started on remote server
while checking through the command R3trans -d
output is
R3trans -d
R3trans: Command not found.
scpa01:scpadm 3> r3trans -d
r3trans: Command not found.
scpa01:scpadm 4> R3trans -d
This is R3trans version 6.14 (release 700 - 25.10.10 - 11:48:42).
unicode enabled version
--- Unicode interface [nlsui1.c line 1842] pid = 197118 time = 1320146698:
Cmdline : R3trans -d
Function dlerrorU16 :
Array err_msgU length MAX_ERROR_LN is too small.
--- Unicode interface -
End of message -
2EETW169 no connect possible: "maybe someone set invalid values for DIR_LIBRARY ('/usr/sap/XIP/SYS/exe/run') or dbms_type ('ORA')"
R3trans finished (0012).
What could be the error. Can anybody be help in this regards.
Thanks
Regards
RaviHi sunny
Output of trans.log is
cat trans.log
4 ETW000 R3trans version 6.14 (release 700 - 25.10.10 - 11:48:42).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 02.11.2011 - 09:49:50
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Wed Nov 2 09:49:50 2011 90 0.000090
4 ETW000 [dev trc ,00000] db_con_init called 22 0.000112
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 37 0.000149
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/SCP/SYS/exe/run/dboraslib.o' ... 33 0.000182
4 ETW000 [dlux.c ,00000] *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/SCP/SYS/exe/run/dboraslib.o") FAILED
4 ETW000 "errno=8, Exec format error" 1616 0.001798
4 ETW000 [dbcon.c ,00000] *** ERROR => Couldn't load library '/usr/sap/SCP/SYS/exe/run/dboraslib.o'
4 ETW000 52 0.001850
2EETW169 no connect possible: "maybe someone set invalid values for DIR_LIBRARY ('/usr/sap/SCP/SYS/exe/run') or dbms_type ('ORA')"
here it is written that maybe someone has set the invalid values for DIR_LIBRARY. we have upgraded the Oracle 10.2 to 11.2 & only changed in the scripts with values having 102 to 112 (/oracle/XIP/102_64/lib) to /oracle/XIP/112_64/lib) . i have again copied these files and changed it again and also checked the permission of these files & environment of sidadm also.
thanks
Regards
Ravi -
Not able to start the remote server - class not found exception
All,
I am quite new to RMI programming, although i am an experienced java programmer. I am facing a problem in starting the remote server program which i wrote for RMI. I am getting class not found exception for "stub" class eventhough the class is in the classpath.
Following is the error console:
cmd> java -classpath "D:\Eclipse_WorkSpaces\WS2\RMITests\classes" MyServerImplementation
GetNames error: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: MyServerImplementation_Stub
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: MyServerImplementation_Stub
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:396)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:160)
at MyServerImplementation.main(MyServerImplementation.java:21)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: MyServerImplementation_Stub
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: MyServerImplementation_Stub
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:434)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
... 12 morePLEASE ADVISE HOW TO RESOLVE THIS...
Following are my classes:
MyRemoteInterface.java
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface MyRemoteInterface extends Remote {
public String[] getNames() throws RemoteException;
public class MyServerImplementation extends UnicastRemoteObject implements
MyRemoteInterface {
public MyServerImplementation()throws RemoteException{
super();
public String[] getNames() throws RemoteException{
return new String[]{"Name1","Name2","Name3","Name4"};
public static void main(String args[]) {
try {
// Create an object of the HelloWorldServer class.
MyRemoteInterface obj = new MyServerImplementation();
// Bind this object instance to the name "HelloServer".
Naming.rebind("rmi://localhost:1985/GetNames", obj);
System.out.println("GetNames bound in registry");
catch (Exception e) {
System.out.println("GetNames error: " + e.getMessage());
e.printStackTrace();
public class MyRMIClient {
*@param args*
public static void main(String[] args) {
try {
MyRemoteInterface remObj = (MyRemoteInterface) Naming.lookup("rmi://localhost:1985/GetNames");
System.out.println("Names are "+remObj.getNames());
catch(Exception e) {
System.out.println("Problem encountered accessing remote object "+e);
}That's a remote exception coming from the registry. You need to learn to recognize remote exceptions and their source, it's a mjaor source of confusion in RMI.
In this case it's the registry that can't find the stub class.
The stub class needs to be in the CLASSPATH of (i) the Registry and (ii) the client as well. Ditto the remote interface; ditto any application classes it refers to, and so on until closure.
The easiest way to achieve (i) is to start it in the server's JVM, with LocateRegistry.createRegistry(). -
I can not start a remote server via Node Manager
There is a workaround to this problem. The issue seems to be
that when the node manager tries to start the managed server
it can not find java.exe in the system path. So please go to
Control Panel->System->...->Environment, and modify your PATH
system environment variable to include the java bin directory
in it.
Then try using the node manager again to start the managed
servers and you should have no problems.
We are aware of the issue and working on having a fix for it.
Savvas
"Rakesh Chauhan" <[email protected]> wrote:
>
Hey Guys!
I am using WLS6.1 on WIN2000 boxes. And I am getting the same error on
the Admin
console when I try to start any of the two
managed servers.
<Sep 25,2001 1:39:12 PM EDT> <Info> <[email protected]:7002><WindowsProcessControl:
online successfully invoked on server 'server90', pid: 0> The interesting thing is that when I start managed server of its own,
it is started
successfully and you can Stop the managed
server from the Admin Console.
Really frusted, I hope I have configured everything correctly. Can somebody
help
me out ?
Thanks Rakesh
"Martin Matthews" <[email protected]> wrote:
This message is simply a message from the Admin Server saying that it
has asked
NodeManager on the remote machine to start a certain server.
To see the logs for server startup then you can find these either on
the Admin
machine at WL_HOME/config/NodeManagerClientLogs/<ManagedServerName>/*.log
or on the remote machine at
WL_HOME/config/NodeManagerLogs/<ManagedServerName>/*.log
Cheers
Martin
"Paul Nixon" <[email protected]> wrote:
I also would like to know the answer to the question below from Vincent.
I am getting
this message in the Admin console from either of my two managed servers
whenever
the console has successfully contacted the Node Manager in managed
server
host.
The Node Manager logs themselves also report "online successful". What
doesn't
seem to happen is WebLogic startup and I haven't found any error log
that explains
why.
I have set the Remote Startup parameters correctly [I think] for both
managed
servers so cannot see what further is required.
Any input appreciated.
Paul.
"Vincent Ducret" <[email protected]> wrote:
Hi everybody,
When I try to start a remote WLS 6.1 server from my computer, I receive
the message
below in my WLS administration console. The Node manager is runningon
the remote
machine and correctly configured, I hope!
What does this message mean ???
Thanks for your help
Vincent
<21 août 01 10:19:17 CEST> <Info> <[email protected]:5555>
<WindowsProcessControl:
online successfully invoked on server 'testserver', pid: 0> -
ABAP Trial version u2013 starting the application server
Hi,
I have a problem starting the application server via the management console. After choosing action ->start I have to enter user and password. Do I have to create a new user password combination, use the OS password or try bcuser and minisap? None of these three options worked out. I always get the message 'Start failed: 2 Invalid Credentials'. Or went there something wrong during the installation?
Thanks for your help.
BirgitHey Birgit,
In my case I installed ABAP Trial version (also known as MiniSap) on my local machine (Windows).
When I turn on the machine, my Windows(OS) requires a User/Password (It was configured this way but it is possible you configure to not require a User/Password, it uses a default).
When I instaled the ABAP Trial version, I logged on with a User/Password with administrator rights (it is necessary for installation).
When, in the "Management Console", I start the ABAP (the "NSP" node), it asks me the user and password and I use the OS User/Password that I used to install ABAP Trial (above).
If you are doing the same I don't know why the message "Start failed: 2 Invalid Credentials".
Merry Christmas,
Edited by: Walmir Catunda on Dec 15, 2008 11:34 AM -
Is it possible to start a remote server from the IDE?
I would want to know if it is possible to start a domain that makes reference to a remote server (from the IDE). On this way I could start and stop the server without loading so much the machine that I use to develop my portal applications. If it is possible how I can do it?
There is no personal Information on a crash Report unless you put something personally identifiable in the comment field. For example, here is a crash report I had on my machine awhile back: https://crash-stats.mozilla.com/report/index/bp-1de8924f-7068-4702-a410-89c492121220.
You can go to about:crashes in your address bar, and click on the report to view the info there to satisfy yourself that there is nothing in the report. But submitting crash reports is very useful because it gives us the ability to view what crashes are plaguing our users and what we need to fix. -
DB2 database doesn't start on FailOver server in HA
Hi Experts,
We have a sap cluster under AIX 6.1 and DB2 , during failover the database may not able to start.
is only hold on
db2start <-- waiting more than 3 hr no and reply.
db2stop <-- waiting more than 3 hr no and reply.
db2stop force <-- still cannot kill the db2
db2_kill <-- still cannot kill the db2
But when I restart the AIX again (shutdown -Fr) , then the db2 work
fine ( no any problem )
Could you advise how can I solve the db2 the issue ?
p.s. we had checked other failover case is no any problem
e.g.
1. move cluster service using smit cl_admin
2. remove the network cable physically
( problem case )
2012-02-17-19.28.45.875329+480 <-- is the time haven follow case
NodeA : standby mode ( only start the DI )
NodeB : holding the SAP ( CI and ACSC )and DB2 cluster services
thx,
Tony
Edited by: F SAPTEAM on Feb 19, 2012 5:12 PM2012-02-17-19.28.46.662153+480 I11771095A537 LEVEL: Event
PID : 10551470 TID : 258 PROC : db2sysc 0
INSTANCE: db2rtp NODE : 000
EDUID : 258 EDUNAME: db2sysc 0
FUNCTION: DB2 UDB, fast comm manager, sqkfSessionManager::initSessionManager, probe:10
START : Starting FCM Session Manager
1 resource group(s).
128 sessions allocated.
Maximum number of sessions supported is 64000.
Total session manager memory required for 1 logical and 0 fail-over partitions is 1687552 bytes.
2012-02-17-19.28.46.662996+480 I11771633A418 LEVEL: Event
PID : 10551470 TID : 258 PROC : db2sysc 0
INSTANCE: db2rtp NODE : 000
EDUID : 258 EDUNAME: db2sysc 0
FUNCTION: DB2 UDB, fast comm manager, sqlkf_init_allocate_shared, probe:500
START : FCM infrastructure started
FCM running in non-shared mode; FCM parallelism degree: 1; comm protocol: TCP/IPv4
2012-02-17-19.28.47.721005+480 E11772052A1217 LEVEL: Error (OS)
PID : 10551470 TID : 258 PROC : db2sysc 0
INSTANCE: db2rtp NODE : 000
EDUID : 258 EDUNAME: db2sysc 0
FUNCTION: DB2 UDB, oper system services, sqloAIXLoadModuleTryShr, probe:130
CALLED : OS, -, dlopen
OSERR : ENOEXEC (8) "Exec format error"
MESSAGE : Attempt to load specified library failed.
DATA #1 : Library name or path, 37 bytes
/db2/db2rtp/sqllib/lib64/libdb2iocp.a
DATA #2 : shared library load flags, PD_TYPE_LOAD_FLAGS, 4 bytes
2
DATA #3 : String, 621 bytes
0509-130 Symbol resolution failed for /db2/db2rtp/sqllib/lib64/libdb2iocp.a because:
0509-136 Symbol CreateIoCompletionPort (number 0) is not exported from
dependent module /unix.
0509-136 Symbol GetQueuedCompletionStatus (number 1) is not exported from
dependent module /unix.
0509-136 Symbol GetMultipleCompletionStatus (number 2) is not exported from
dependent module /unix.
0509-022 Cannot load module /db2/db2rtp/sqllib/lib64/libdb2iocp.a.
0509-026 System error: Cannot run a file that does not have a valid format.
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
2012-02-17-19.28.47.732826+480 E11773270A910 LEVEL: Error (OS)
PID : 10551470 TID : 258 PROC : db2sysc 0
INSTANCE: db2rtp NODE : 000
EDUID : 258 EDUNAME: db2sysc 0
FUNCTION: DB2 UDB, oper system services, sqloAIXLoadModuleTryShr, probe:140
CALLED : OS, -, dlopen
OSERR : ENOEXEC (8) "Exec format error"
MESSAGE : Attempt to load specified library augmented with object name failed.
DATA #1 : Library name or path, 47 bytes
/db2/db2rtp/sqllib/lib64/libdb2iocp.a(shr_64.o)
DATA #2 : shared library load flags, PD_TYPE_LOAD_FLAGS, 4 bytes
262146
DATA #3 : String, 272 bytes
0509-022 Cannot load module /db2/db2rtp/sqllib/lib64/libdb2iocp.a(shr_64.o).
0509-153 File /db2/db2rtp/sqllib/lib64/libdb2iocp.a is not an archive or
the file could not be read properly.
0509-026 System error: Cannot run a file that does not have a valid format.
2012-02-17-19.28.47.761039+480 I11774181A565 LEVEL: Severe
PID : 10551470 TID : 258 PROC : db2sysc 0
INSTANCE: db2rtp NODE : 000
EDUID : 258 EDUNAME: db2sysc 0
FUNCTION: DB2 UDB, oper system services, sqloLioInitIocp, probe:200
CALLED : DB2 UDB, oper system services, sqloLoadModule
RETCODE : ZRC=0x870F009B=-2029059941=SQLO_MOD_LOAD_FAILED
"Dynamic library load failed."
DATA #1 : Library name or path, 12 bytes
libdb2iocp.a
DATA #2 : Library Search Path, 24 bytes
/db2/db2rtp/sqllib/lib64
2012-02-17-19.28.47.774698+480 E11774747A406 LEVEL: Warning
PID : 10551470 TID : 258 PROC : db2sysc 0
INSTANCE: db2rtp NODE : 000
EDUID : 258 EDUNAME: db2sysc 0
FUNCTION: DB2 UDB, oper system services, sqloStartAIOCollectorEDUs, probe:30
MESSAGE : ADM0513W db2start succeeded. However, no I/O completion port (IOCP)
is available.
Edited by: F SAPTEAM on Feb 19, 2012 5:16 PM -
Log on to remote server and start database -error while installing CI in HA
Hello All,
We are installing ECC 6.0 with High Availability using HP-UX. We have completed installation in ASCS and Database Instance. Now when were trying to install in Central Instance, we encountered an error at Start Instance which informed us to Log on to remote server and start database. However the database is already running in DB node. Please find the log below.
TRACE 2011-06-10 16:31:45.825 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 25742
INFO 2011-06-10 16:31:45.835
CJSlibModule::writeInfo_impl()
Output of /usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001 is written to the logfile start_PE2_DVEBMGS01.log.
WARNING 2011-06-10 16:31:46.345
CJSlibModule::writeWarning_impl()
Execution of the command "/usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001" finished with return code 6. Output:
Database PE2 must be started on remote server
Log on to remote server and start database
WARNING[E] 2011-06-10 16:31:46.355
CJSlibModule::writeError_impl()
CJS-20022 Could not start instance 'DVEBMGS01' of SAP system PE2.
TRACE 2011-06-10 16:31:46.355 [iaxxejsbas.hpp:408]
handleException<ESAPinstJSError>()
Converting exception into JS Exception EJSException.
TRACE 2011-06-10 16:31:46.355
Function setMessageIdOfExceptionMessage: ind-rel.ind-os.ind-db.webas.startInstanceFailed
WARNING[E] 2011-06-10 16:31:46.355
CJSlibModule::writeError_impl()
CJS-20022 Could not start instance 'DVEBMGS01' of SAP system PE2.
TRACE 2011-06-10 16:31:46.355 [iaxxejsbas.hpp:483]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown unknown exception. Rethrowing.
TRACE 2011-06-10 16:31:46.405 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 25793
ERROR 2011-06-10 16:31:46.525 [sixxcstepexecute.cpp:950]
FCO-00011 The step start with step key |NW_ABAP_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|10|0|NW_CI_Instance_Start|ind|ind|ind|ind|2|0|start was executed with status ERROR .
TRACE 2011-06-10 16:31:46.555 [iaxxgenimp.cpp:752]
CGuiEngineImp::showMessageBox
<html> <head> </head> <body> <p> An error occurred while processing option SAP ERP 6.0 EHP4 Ready - Support Release 1 > SAP Application Server ABAP > Oracle > High-Availability System > Central Instance . You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>View Log</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/ORA/HA/CI. </p> </body></html>
TRACE 2011-06-10 16:31:46.555 [iaxxgenimp.cpp:1255]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
Kindly let us know how to rectify the error and prroceed further with the instalaltion.
Thanks
RishiDear Guys,
we didnt change the date and time but i m very sure it is same trans.log file.
for your kind information please note SID and Nodes details
Sid (PE2)
DB Node : DBMDB001
CI Node : DBMCI001
also i am attaching starting part of the file.
4 ETW000 R3trans version 6.14 (release 701 - 26.01.09 - 12:46:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 07.11.2010 - 03:44:06
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Sun Nov 7 03:44:06 2010 295 0.000295
4 ETW000 [dev trc ,00000] db_con_init called 22 0.000317
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 116 0.000433
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' ...
4 ETW000 64 0.000497
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/PC1/SYS/exe/run/dboraslib.so), hdl 0
4 ETW000 32161 0.032658
4 ETW000 [dev trc ,00000] Library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' loaded
4 ETW000 39 0.032697
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 111 0.032808
4 ETW000 [dev trc ,00000] Version of '/usr/sap/PC1/SYS/exe/run/dboraslib.so' is "700.08",
patchlevel (0.25)
4 ETW000 265 0.033073
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 41 0.033114
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 82 0.033196
4 ETW000 [dev trc ,00000] New connection 0 created 52 0.033248
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES,
reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 41 0.033289
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 84 0.033373
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 31 0.033404
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES,
reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 37 0.033441
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.4.0' 601 0.034042
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 25 0.034067
4 ETW000 [dev trc ,00000] Client character set UTF16 -> UTF8 35674 0.069741
4 ETW000 [dev trc ,00000] Client NLS setting (OCINlsGetInfo): 'AMERICAN_AMERICA.UTF8'
4 ETW000 57 0.069798
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 55 0.069853
4 ETW000 [dev trc ,00000] Connecting as /@PC1 on connection 0 (nls_hdl 0) ... (dbsl 700
151208)
4 ETW000 34 0.069887
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 52 0.069939
4 ETW000 [dev trc ,00000] 0 UTF8 0
0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
4 ETW000 58 0.069997
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 40 0.070037
4 ETW000 [dev trc ,00000] Allocating server context handle 27 0.070064
4 ETW000 [dev trc ,00000] Attaching to DB Server PC1
(con_hdl=0,svchp=0x600000000106aa68,srvhp=0x600000000106de78)
4 ETW000 63 0.070127
4 ETW000 [dev trc ,00000] Assigning server context 0x600000000106de78 to service context
0x600000000106aa68
4 ETW000 60612 0.130739
4 ETW000 [dev trc ,00000] Allocating user session handle 97 0.130836
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0,
usr='/',svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
4 ETW000 64 0.130900
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000010fc940 to service context
0x600000000106aa68
4 ETW000 9302 0.140202
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=53, stmth_p=0x6000000001077608)
4 ETW000 198 0.140400
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_MODULE(:A0,:A1); END;
4 ETW000 38 0.140438
4 ETW000 [dev trc ,00000] CbApplInfoGet() failed! Ignore, but uninstall callback to avoid more
erroneous calls
4 ETW000 291 0.140729
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001078660)
4 ETW000 33 0.140762
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;
4 ETW000 35 0.140797
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 937 0.141734
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000 36 0.141770
4 ETW000 [dev trc ,00000] Connected to session 297. 639 0.142409
4 ETW000 [dev trc ,00000] Now '/@PC1' is connected: con_hdl=0, nls_hdl=0, session_id=297.
4 ETW000 38 0.142447
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 37 0.142484
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 36 0.142520
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 327 0.142847
4 ETW000 [dev trc ,00000] SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)
4 ETW000 36 0.142883
4 ETW000 [dev trc ,00000] Got SAPSR3's password from OPS$-user 728 0.143611
4 ETW000 [dev trc ,00000] Disconnecting from connection 0 ... 38 0.143649
4 ETW000 [dev trc ,00000] Rolling back transaction ... 31 0.143680
4 ETW000 [dev trc ,00000] Closing user session
(con_hdl=0,svchp=0x600000000106aa68,usrhp=0x60000000010fc940)
4 ETW000 210 0.143890
4 ETW000 [dev trc ,00000] Now I'm disconnected from ORACLE 721 0.144611
4 ETW000 [dev trc ,00000] Connecting as SAPSR3/<pwd>@PC1 on connection 0 (nls_hdl 0) ... (dbsl
700 151208)
4 ETW000 40 0.144651
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 37 0.144688
4 ETW000 [dev trc ,00000] 0 UTF8 0
0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
4 ETW000 37 0.144725
4 ETW000 [dev trc ,00000] Assigning username to user session: con_hdl=0,
usrhp=0x60000000010fc940
4 ETW000 35 0.144760
4 ETW000 [dev trc ,00000] Assigning password to user session: con_hdl=0,
usrhp=0x60000000010fc940
4 ETW000 40 0.144800
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>,
svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
4 ETW000 337 0.145137
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000010fc940 to service context
0x600000000106aa68
4 ETW000 4085 0.149222
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001077608)
4 ETW000 63 0.149285
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;
4 ETW000 37 0.149322
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 585 0.149907
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000 36 0.149943
4 ETW000 [dev trc ,00000] Connected to session 297. 350 0.150293
4 ETW000 [dev trc ,00000] Now 'SAPSR3/<pwd>@PC1' is connected: con_hdl=0, nls_hdl=0,
session_id=297.
4 ETW000 38 0.150331
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 38 0.150369
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 34 0.150403
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 294 0.150697
4 ETW000 [dev trc ,00000] SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER IN
('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET') ORDER BY PARAM
4 ETW000 66 0.150763
4 ETW000 [dev trc ,00000] ETER
4 ETW000 34 0.150797
4 ETW000 [dev trc ,00000] Database NLS settings: AMERICAN_AMERICA.UTF8 329 0.151126
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 856 0.151982
4 ETW000 [dev trc ,00000] SELECT UPPER(INSTANCE_NAME),HOST_NAME,VERSION,TO_CHAR
(STARTUP_TIME,'MON DD, YYYY, HH24:MI:SS') FROM V$INSTANCE
4 ETW000 36 0.152018
4 ETW000 [dev trc ,00000] DB instance PC1 is running on scmdb001 with ORACLE version
10.2.0.4.0 since NOV 07, 2010, 03:23:10
4 ETW000 349 0.152367
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 38 0.152405
4 ETW000 [dev trc ,00000] SELECT SUBSTR(NAME,1,3), TO_CHAR(CREATED,'YYYYMMDDHHMMSS')
FROM V$DATABASE -
Hi All
We are installing ECC 6.0 with ABAP and Java stack on AIX ,DB2,its a distributed system with CI and SCS on one host and DB on another host.
When we are trying to start the central instance on CI host during the installation its giving message :
Checking db Database
ABAP Database is not available via R3trans
Starting SAP-Collector Daemon
20:15:22 15.07.2009 LOG: Effective User Id is root
This is Saposcol Version COLL 20.94 700 - AIX v10.35 5L-64 bit 070123
Usage: saposcol -l: Start OS Collector
saposcol -k: Stop OS Collector
saposcol -d: OS Collector Dialog Mode
saposcol -s: OS Collector Status
The OS Collector (PID 229378) is already running .....
saposcol already running
ABAP Database db must be started on remote server
kindly suggest the necessary action.
Regards
ArunHi All
Below is the output of R3trans -d
SapApp:db2bd1 8> R3trans -d
This is R3trans version 6.14 (release 700 - 15.06.07 - 15:50:00).
unicode enabled version
R3trans finished (0000).
Also here goes trans.log
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 ETW000 R3trans version 6.14 (release 700 - 15.06.07 - 15:50:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 17.07.2009 - 02:25:43
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Fri Jul 17 02:25:43 2009
57 0.000057
4 ETW000 [dev trc ,00000] db_con_init called
20 0.000077
4 ETW000 [dev trc ,00000] create_con (con_name=R/3)
34 0.000111
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/BD1/SYS/exe/run/dbd
b6slib.o' ...
4 ETW000
48 0.000159
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/BD1/SYS/exe/run/db
db6slib.o), hdl 0
4 ETW000
633 0.000792
4 ETW000 [dev trc ,00000] Library '/usr/sap/BD1/SYS/exe/run/dbdb6slib.o' l
oaded
4 ETW000
30 0.000822
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sa
p/BD1/SYS/exe/run/dbdb6slib.o
4 ETW000
33 0.000855
4 ETW000 [dev trc ,00000] Version of '/usr/sap/BD1/SYS/exe/run/dbdb6slib.o
' is "700.08", patchlevel (0.110)
4 ETW000
232 0.001087
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/s
ap/BD1/SYS/exe/run/dbdb6slib.o
4 ETW000
33 0.001120
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/
sap/BD1/SYS/exe/run/dbdb6slib.o
4 ETW000
32 0.001152
4 ETW000 [dev trc ,00000] New connection 0 created
24 0.001176
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCO
NNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, oc
c = NO4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3)
34 0.001248
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection
for reuse:
4 ETW000
31 0.001279
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCON
NECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ
= NO
4 ETW000
37 0.001316
4 ETW000 [dev trc ,00000] DB2 library successfully loaded DB2 library '/db
2/db2bd1/sqllib/lib64/libdb2.a(shr_64.o)' successfully loaded
4 ETW000
6182 0.007498
4 ETW000 [dev trc ,00000] DB6 (DB2 UDB) UNICODE database interface 700.08
[opt]
4 ETW000
33 0.007531
4 ETW000 [dev trc ,00000] DB6 shared library (dbdb6slib) patchlevels
19 0.007550
4 ETW000 [dev trc ,00000] (0.8) DB6: V8.2.2 optguidelines in OPEN SQL (n
ote 150037)
4 ETW000 [twdydbacc.c ,00566] db_fd_p<i>.fname: TRANSLTTXT
17 0.893509
4 ETW000 [twdydbacc.c ,00567] db_fd_p<i>.is_key: 0
17 0.893526
4 ETW000 [twdydbacc.c ,00568] db_fd_p<i>.offset: 185
17 0.893543
4 ETW000 [twdydbacc.c ,00569] db_fd_p<i>.db_length: 1
17 0.893560
4 ETW000 [twdydbacc.c ,00570] db_fd_p<i>.fixed_length:1
17 0.893577
4 ETW000 [twdydbacc.c ,00713] buffer:''
2543 0.896120
4 ETW000 [twdydbacc.c ,00718] i:0
21 0.896141
4 ETW000 [twdydbacc.c ,00719] tw_fd_p<i>.offset:0
17 0.896158
4 ETW000 [twdydbacc.c ,00718] i:1
17 0.896175
4 ETW000 [twdydbacc.c ,00719] tw_fd_p<i>.offset:4
17 0.896192
4 ETW000 [twdydbacc.c ,00718] i:2
16 0.896208
4 ETW000 [dev trc ,00000] { db_rtab( fcode = 'RT_READ_ONLY', tname = 'TADI
R' ) {twdbcall.c:648}
4 ETW000
45 0.896270
4 ETW000 [dev trc ,00000] } db_rtab( fcode = 'RT_READ_ONLY', retcode = 0 )
4 ETW000
5947 0.902217
4 ETW000 Connected to DBMS = DB6 --- DB2DBDFT = 'BD1' --- SYSTEM = 'SAP'.
4 ETW000 [dev trc ,00000] { db_rtab( fcode = 'RT_INSERT', tname = 'PATCHHI
ST' ) {saprel.c:1251}
4 ETW000
225 0.902442
4 ETW000 [dev trc ,00000] } db_rtab( fcode = 'RT_INSERT', retcode = 0 )
7328 0.909770
4 ETW000 [dev trc ,00000] dsql_open (con_da=(0,R/3),stmt="SELECT EXECUTABL
E,SAPRELEASE,H ...",#binds=0,name=UNKNOWN,#input=0)
4 ETW000
43 0.909813
4 ETW000 [dev trc ,00000] dsql_fetch (con_da=(0,R/3),cu_id=11,#output=8)
2658 0.912471
4 ETW000 [dev trc ,00000] dsql_close (con_da=(0,R/3),cu_id=11)
37 0.912508
4 ETW000
38 0.912546
4 ETW000 [dev trc ,00000] } db_rtab( fcode = 'RT_DELETE', retcode = 0 )
1824 0.914370
4 ETW690 COMMIT "0" "0"
4 ETW000 [dev trc ,00000] db_con_commit (con_da={R/3,0,0},th_commit=1,tx=1
,hold_cursor=0)
4 ETW000
69 0.914439
4 ETW000 trace to file pointer closed
4 ETW000 trace at level 1 opened for a given file pointer
4 ETW000
4 ETW000 ================== STEP 1 =====================
4 ETW000 date&time : 17.07.2009 - 02:25:44
4 ETW000 function : CONNECT
4 ETW000 buffersync : YES
4 ETW000 clients : default
4 ETW000 l.s.m. : VECTOR
4 ETW000 commit : 100000
4 ETW000 table cache : dynamic
4 ETW000
4 ETW000 [dev trc ,00000] Disconnecting from ALL connections:
174 0.000174
4 ETW000 date&time : 17.07.2009 - 02:25:44
4 ETW000 function : CONNECT
4 ETW000 buffersync : YES
4 ETW000 clients : default
4 ETW000 l.s.m. : VECTOR
4 ETW000 commit : 100000
4 ETW000 table cache : dynamic
4 ETW000
4 ETW000 [dev trc ,00000] Disconnecting from ALL connections:
174 0.000174
4 ETW000 [dev trc ,00000] disconnected from 'BD1', con_hdl=0
48503 0.048677
4 ETW000 [dev trc ,00000] Disconnected from connection 0
44 0.048721
4 ETW000 [dev trc ,00000] statistics db_con_commit (com_total=1, com_tx=1)
4 ETW000
30 0.048751
4 ETW000 [dev trc ,00000] statistics db_con_rollback (roll_total=0, roll_t
x=0)
4 ETW000
30 0.048781
4 ETW000 Disconnected from database.
4 ETW000 End of Transport (0000).
4 ETW000 date&time: 17.07.2009 - 02:25:44
Also thank you markus for your link ,i had gone thru it earlier and the commands are like:
list db directory and list node directory
I tried both its working fine
Best Regards
Arun -
Error starting remote server w. nodemanager
All,
Here is the error I am getting trying to start the remote server using nodemanager.
http://172.24.0.81:8001 (admin)
SATEST server does not exits on the remote server. Thank you for your help, appricate it. Let me know if you need further information.
ERROR----
<Sep 22, 2008 4:46:20 PM> <Info> <NodeManager> <Starting WebLogic server with command line: /opt/bea/jrockit90_150_06/jre/bin/java -Dweblogic.Name=SATEST2 -Dj
ava.security.policy=/opt/bea/wlserver_10.0/server/lib/weblogic.policy -Dweblogic.management.server=http://172.24.0.81:8001 -Djava.library.path=/opt/bea/jrocki
t90_150_06/jre/lib/i386/jrockit:/opt/bea/jrockit90_150_06/jre/lib/i386:/opt/bea/jrockit90_150_06/jre/../lib/i386::/opt/bea/wlserver_10.0/server/native/linux/i
686:/opt/bea/wlserver_10.0/server/native/linux/i686/oci920_8 -Djava.class.path=/opt/bea/patch_wls1000/profiles/default/sys_manifest_classpath/weblogic_patch.j
ar:/opt/bea/jrockit90_150_06/lib/tools.jar:/opt/bea/wlserver_10.0/server/lib/weblogic_sp.jar:/opt/bea/wlserver_10.0/server/lib/weblogic.jar:/opt/bea/modules/f
eatures/weblogic.server.modules_10.0.0.0.jar:/opt/bea/modules/features/com.bea.cie.common-plugin.launch_2.1.0.0.jar:/opt/bea/wlserver_10.0/server/lib/webservi
ces.jar:/opt/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/opt/bea/modules/net.sf.antcontrib_1.0b2.0/lib/ant-contrib.jar::/opt/bea -Dweblogic.system.BootI
dentityFile=/opt/bea/user_projects/domains/qa_domain/servers/SATEST2/data/nodemanager/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.se
curity.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false weblogic.Server >
<Sep 22, 2008 4:46:20 PM> <Info> <NodeManager> <Working directory is "/opt/bea/user_projects/domains/qa_domain">
<Sep 22, 2008 4:46:20 PM> <Info> <NodeManager> <Server output log file is "/opt/bea/user_projects/domains/qa_domain/servers/SATEST2/logs/SATEST2.out">
<Sep 22, 2008 4:46:21 PM EDT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/opt/bea/wlserver_10.0/platform/lib/p13n/p13n-schemas.jar:/opt/bea/wlserver_10.0/platform/lib/p13n/p13n_common.jar:/opt/bea/wlserver_10.0/platform/lib/p13n/p1
3n_system.jar:/opt/bea/wlserver_10.0/platform/lib/wlp/netuix_common.jar:/opt/bea/wlserver_10.0/platform/lib/wlp/netuix_schemas.jar:/opt/bea/wlserver_10.0/plat
form/lib/wlp/netuix_system.jar:/opt/bea/wlserver_10.0/platform/lib/wlp/wsrp-client.jar:/opt/bea/wlserver_10.0/platform/lib/wlp/wsrp-common.jar>
<Sep 22, 2008 4:46:22 PM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R26.4.0-63_CR302700-72606-1.5.0_06-20
061127-1104-linux-ia32 from BEA Systems, Inc.>
<Sep 22, 2008 4:46:24 PM EDT> <Critical> <Security> <BEA-090518> <Could not decrypt the username attribute value of {3DES}/Q0Ui/e8S9ILKA67csL+8g== from the fi
le /opt/bea/user_projects/domains/qa_domain/servers/SATEST2/data/nodemanager/boot.properties. If you have copied an encrypted attribute from boot.properties f
rom another domain into /opt/bea/user_projects/domains/qa_domain/servers/SATEST2/data/nodemanager/boot.properties, change the encrypted attribute to its clear
text value then reboot the server. The attribute will be re-encrypted. Otherwise, change all encrypted attributes to their cleartext values, then reboot the s
erver. All encryptable attributes will be re-encrypted. The decryption failed with the exception weblogic.security.internal.encryption.EncryptionServiceExcept
ion: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte..>
<Sep 22, 2008 4:46:24 PM EDT> <Critical> <Security> <BEA-090518> <Could not decrypt the password attribute value of {3DES}/Q0Ui/e8S9ILKA67csL+8g== from the fi
le /opt/bea/user_projects/domains/qa_domain/servers/SATEST2/data/nodemanager/boot.properties. If you have copied an encrypted attribute from boot.properties f
rom another domain into /opt/bea/user_projects/domains/qa_domain/servers/SATEST2/data/nodemanager/boot.properties, change the encrypted attribute to its clear
text value then reboot the server. The attribute will be re-encrypted. Otherwise, change all encrypted attributes to their cleartext values, then reboot the s
erver. All encryptable attributes will be re-encrypted. The decryption failed with the exception weblogic.security.internal.encryption.EncryptionServiceExcept
ion: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte..>
Enter username to boot WebLogic server:<Sep 22, 2008 4:46:24 PM EDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.0 Wed May 9 18:10:27 EDT 2
007 933139 >
<Sep 22, 2008 4:46:26 PM EDT> <Info> <Management> <BEA-141223> <The server name SATEST2 specified with -Dweblogic.Name does not exist. The configuration inclu
des the following servers {AdminServer}.>
<Sep 22, 2008 4:46:26 PM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.management.ManagementException: [Management:141223]The server name SATEST2 specified with -Dweblogic.Name does not exist. The configuration includes
the following servers {AdminServer}.
at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:148)
at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:38)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:378)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:125)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:647)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:419)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:377)
at weblogic.Server.main(Server.java:67)
>
<Sep 22, 2008 4:46:26 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Sep 22, 2008 4:46:26 PM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Sep 22, 2008 4:46:26 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
<Sep 22, 2008 4:46:27 PM> <Debug> <NodeManager> <Waiting for the process to die: 7590>
<Sep 22, 2008 4:46:27 PM> <Info> <NodeManager> <Server failed during startup so will not be restarted>
<Sep 22, 2008 4:46:27 PM> <Debug> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>Thanks. I just reinstall the software and did not have issue. Maybe the issue was caused since I was trying to configure Weblogic running on Window 2003 as admin server and Linux as my remote server.
Here is how I got it to work. I reinstalled software on the Linux box and used Linux box as my primary server with admin console running on that and window 2003 as my remote node.
Thanks for you help. I appreciate it -
Export the database schema / structure to a file server
I would really appreciate if any of you can share your experience on the following:
Database-1: Oracle 8i/9i and
Database-2: SQL Server v65/7/2000
I am looking for a solution to extract all the database schema/structure to a pre-defined location onto a file server. I wanted to configure this thru CRON job (for unix) and Microsoft Task Scheduler (for Windows). Also this solution should work for all databases (must work with Oracle, SQL Server). The exported file should not be just a dump file (.dmp), assuming only oracle can read .dmp file.
What are the possible ways to accomplish this.
I am sure, several tools would be available to accomplish this (like Embarcadero Change Manager), but solution may not be cost effective. Can we write any program to accomplish the same?
I would really appreciate your inputs.
Thanks, MadhaviI am doing this job using bcp command on sql serverwhich create dat file and then transport the file to oracle server in location where I have created an external table.
I belive that there is server level compatability which need no external programe or software. My one fellow told me once and when I got him I shall reply -
Can not start instance SAP - ABAP Database is not available via R3trans
Dear all !
My OS : Linux RHEL 4U7 32bit
Oracle 10G R2 32bit 10.2.0.2
when system running but power off suddenly
and when power on ->
i am having problem as below when i start instance SAP (Databse Oracle Started)
Step 1 : I login user (ora<sid>) of Oracel to start up database
Database startup -> OK
then i tried to shutdown database -> OK too
and start up again -> OK
Query -> OK
I think Database do not problem
Step 2: start listener -> OK
Step 3: i login user (<sid>adm) and startup instance SAP (command : startsap r3) with error:
Checking SED Database
ABAP Database is not available via R3trans
Starting SAP-Collector Daemon
11:11:48 10.02.2010 LOG: Effective User Id is root
This is Saposcol Version COLL 20.90 700 - Intel x86 with Linux, PL:75, Aug 29 2006
Usage: saposcol -l: Start OS Collector
saposcol -k: Stop OS Collector
saposcol -d: OS Collector Dialog Mode
saposcol -s: OS Collector Status
The OS Collector (PID 6870) is already running .....
saposcol already running
ABAP Database SED must be started first
Please help me to resolve this problem
Thanks for your adviceDear all !
1. output of tnsping SED :
TNS Ping Utility for Linux: Version 10.2.0.2.0 - Production on 11-FEB-2010 13:51:24
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
/oracle/SED/102_32/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = sapsed)(PORT = 1527))) (CONNECT_DATA = (SID = SED) (GLOBAL_NAME = SED.WORLD)))
OK (0 msec)
2. output startsap_.log
Checking SED Database
ABAP Database is not available via R3trans
Starting SAP-Collector Daemon
saposcol already running
ABAP Database SED must be started first
---> output above repeats many
3. output trans.log
4 ETW000 R3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 11.02.2010 - 13:49:36
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Thu Feb 11 13:49:36 2010 159 0.000159
4 ETW000 [dev trc ,00000] db_con_init called 27 0.000186
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 55 0.000241
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/SED/SYS/exe/run/dboraslib.so' ...
4 ETW000 63 0.000304
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/SED/SYS/exe/run/dboraslib.so), hdl 0
4 ETW000 16430 0.016734
4 ETW000 [dev trc ,00000] Library '/usr/sap/SED/SYS/exe/run/dboraslib.so' loaded
4 ETW000 56 0.016790
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/SED/SYS/exe/run/dboraslib.so
4 ETW000 41 0.016831
4 ETW000 [dev trc ,00000] Version of '/usr/sap/SED/SYS/exe/run/dboraslib.so' is "700.08", patchlevel (0.73)
4 ETW000 94 0.016925
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/SED/SYS/exe/run/dboraslib.so
4 ETW000 38 0.016963
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/SED/SYS/exe/run/dboraslib.so
4 ETW000 68 0.017031
4 ETW000 [dev trc ,00000] New connection 0 created 44 0.017075
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 46 0.017121
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 38 0.017159
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 37 0.017196
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 39 0.017235
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.2.0' 480 0.017715
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 42 0.017757
4 ETW000 [dev trc ,00000] Client NLS settings: AMERICAN_AMERICA.UTF8 3789 0.021546
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 48 0.021594
4 ETW000 [dev trc ,00000] Connecting as /@SED on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
4 ETW000 51 0.021645
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
4 ETW000 43 0.021688
4 ETW000 [dev trc ,00000] 0 UTF8 1 0x9511ea0 0x951750c 0x9516d94
4 ETW000 40 0.021728
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 40 0.021768
4 ETW000 [dev trc ,00000] Allocating server context handle 52 0.021820
4 ETW000 [dev trc ,00000] Attaching to DB Server SED (con_hdl=0,svchp=0x9516d20,svrhp=0x9528504)
4 ETW000 88 0.021908
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12505
4 ETW000 4712 0.026620
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '12505'
4 ETW000 49 0.026669
4 ETW000 [dev trc ,00000] Try to connect with default password 62 0.026731
4 ETW000 [dev trc ,00000] Connecting as SAPSR3/<pwd>@SED on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
4 ETW000 39 0.026770
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
4 ETW000 56 0.026826
4 ETW000 [dev trc ,00000] 0 UTF8 1 0x9511ea0 0x951750c 0x9516d94
4 ETW000 47 0.026873
4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=0,svrhp=0x9528504)
4 ETW000 37 0.026910
4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=0x9516d20,srvhp=0x9528504)
4 ETW000 37 0.026947
4 ETW000 [dev trc ,00000] Deallocating server context handle 0x9528504 45 0.026992
4 ETW000 [dev trc ,00000] Allocating server context handle 48 0.027040
4 ETW000 [dev trc ,00000] Attaching to DB Server SED (con_hdl=0,svchp=0x9516d20,svrhp=0x9528504)
4 ETW000 60 0.027100
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12505
4 ETW000 1538 0.028638
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '12505'
4 ETW000 41 0.028679
4 ETW000 [dblink ,00431] ***LOG BY2=>sql error 12505 performing CON [dblink#3 @ 431]
4 ETW000 131 0.028810
4 ETW000 [dblink ,00431] ***LOG BY0=>ORA-12505: TNS:listener does not currently know of SID given in connect descriptor [dblink#3 @ 431]
4 ETW000 39 0.028849
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'SED'"
thansk for your help
Edited by: myfriend280985 on Feb 11, 2010 7:53 AM -
Download and upload ABAP database table to presentation server and R/3
Hi experts,
I want to download ABAP database table (Ztable) to presentation server and again want to upload this to another R/3 server but i dont want to use any transport request. is there any possible sollution for this.
Thanks in advanceHi,
Look at this code hope this will help you to solve your problem
REPORT y_test_559.
Program for
1. Downloading Data of any DB table to a tab delimited ASCII file
2. Checking if a tab delimited ASCII file has the structure of a
DB table and showing its contents
3. Uploading a tab delimited ASCII file to a DB table with the same
structure
4. Showing the data of any DB table
======================================================================
======================================================================
DATA DECLARATIONS
======================================================================
TYPES : data_object TYPE REF TO data.
DATA : itab TYPE REF TO data .
TYPE-POOLS : slis .
DATA : it_fieldcat TYPE STANDARD TABLE OF slis_fieldcat_alv
WITH HEADER LINE .
DATA : it_fieldcatalog TYPE lvc_t_fcat .
DATA : wa_fieldcatalog TYPE lvc_s_fcat .
DATA : i_structure_name LIKE dd02l-tabname .
DATA : i_callback_program LIKE sy-repid .
DATA : dyn_line TYPE data_object .
FIELD-SYMBOLS : <fs_itab> TYPE STANDARD TABLE .
DATA : table_name_is_valid TYPE c .
DATA : dynamic_it_instantiated TYPE c .
CONSTANTS buttonselected TYPE c VALUE 'X' .
======================================================================
SELECTION SCREEN DEFAULT
======================================================================
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(29) t_tabl.
PARAMETERS : tabl_nam LIKE rsrd1-tbma_val
MATCHCODE OBJECT dd_dbtb_16 OBLIGATORY .
"Search for Database Tables is dd_dbtb_16
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(29) t_file.
PARAMETERS : file_nam LIKE rlgrap-filename .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(29) t_down.
PARAMETERS : p_downld RADIOBUTTON GROUP grp1
USER-COMMAND m_ucomm .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(29) t_chkf.
PARAMETERS : p_chkfil RADIOBUTTON GROUP grp1 .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(29) t_upld.
PARAMETERS : p_upload RADIOBUTTON GROUP grp1 .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(29) t_show.
PARAMETERS : p_show_t RADIOBUTTON GROUP grp1 ."show table data
SELECTION-SCREEN END OF LINE.
======================================================================
AT SELECTION SCREEN OUTPUT
======================================================================
AT SELECTION-SCREEN OUTPUT .
PERFORM check_filename .
======================================================================
AT SELECTION SCREEN ON VALUE REQUEST FOR FILENAME
======================================================================
AT SELECTION-SCREEN ON VALUE-REQUEST FOR file_nam .
PERFORM f4_for_filename .
======================================================================
Initialization .
======================================================================
INITIALIZATION .
t_tabl = 'Table Name' .
t_file = 'File Name' .
t_down = 'Download Table' .
t_chkf = 'Check File to Upload' .
t_upld = 'Upload File' .
t_show = 'Show Table Contents' .
======================================================================
START OF SELECTION
======================================================================
START-OF-SELECTION .
PERFORM check_table_name_is_valid .
======================================================================
END OF SELECTION
======================================================================
END-OF-SELECTION .
IF table_name_is_valid EQ ' ' .
MESSAGE i398(00) WITH 'INVALID TABLE NAME' .
ELSE .
PERFORM instantiate_dynamic_internal_t .
CHECK dynamic_it_instantiated = 'X' .
CASE buttonselected .
WHEN p_downld .
PERFORM select_and_download .
WHEN p_chkfil .
PERFORM check_file_to_upload .
WHEN p_upload .
PERFORM upload_from_file .
WHEN p_show_t .
PERFORM show_contents .
ENDCASE .
ENDIF .
*& Form CHECK_TABLE_NAME_IS_VALID
text
--> p1 text
<-- p2 text
FORM check_table_name_is_valid.
DATA l_count TYPE i .
TABLES dd02l .
CLEAR table_name_is_valid .
SELECT COUNT(*) INTO l_count FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'TABL'
AND obj_name = tabl_nam .
IF l_count EQ 1 .
CLEAR dd02l .
SELECT SINGLE * FROM dd02l WHERE tabname = tabl_nam .
IF sy-subrc EQ 0.
IF dd02l-tabclass = 'TRANSP' .
table_name_is_valid = 'X' .
ENDIF .
ENDIF.
ENDIF .
ENDFORM. " CHECK_TABLE_NAME_IS_VALID
*& Form SELECT_AND_DOWNLOAD
text
--> p1 text
<-- p2 text
FORM select_and_download.
CLEAR : <fs_itab> .
SELECT * FROM (tabl_nam)
INTO CORRESPONDING FIELDS OF TABLE <fs_itab> .
PERFORM check_filename.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
filename = file_nam
filetype = 'DAT'
TABLES
data_tab = <fs_itab>
EXCEPTIONS
file_open_error = 1
file_write_error = 2
invalid_filesize = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
OTHERS = 10.
IF sy-subrc EQ 0.
MESSAGE i398(00) WITH 'Table' tabl_nam
'successfully downloaded to '
file_nam .
ENDIF.
ENDFORM. " SELECT_AND_DOWNLOAD
*& Form UPLOAD_FROM_FILE
text
--> p1 text
<-- p2 text
FORM upload_from_file.
DATA : ans TYPE c .
DATA : lines_of_itab TYPE i .
DATA : l_subrc TYPE i .
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
EXPORTING
textline1 = 'Are you sure you wish to upload'
textline2 = 'data from ASCII File to DB table '
titel = 'Confirmation of Data Upload'
IMPORTING
answer = ans.
IF ans = 'J' .
PERFORM check_filename.
CLEAR l_subrc .
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = file_nam
filetype = 'DAT'
TABLES
data_tab = <fs_itab>
EXCEPTIONS
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
OTHERS = 10.
l_subrc = l_subrc + sy-subrc .
IF sy-subrc EQ 0.
DESCRIBE TABLE <fs_itab> LINES lines_of_itab .
IF lines_of_itab GT 0 .
DELETE (tabl_nam) FROM TABLE <fs_itab> .
COMMIT WORK .
INSERT (tabl_nam) FROM TABLE <fs_itab> .
l_subrc = l_subrc + sy-subrc .
ENDIF .
ENDIF.
IF l_subrc EQ 0 .
MESSAGE i398(00) WITH lines_of_itab
'Record(s) inserted in table'
tabl_nam .
ELSE .
MESSAGE i398(00) WITH
'Errors occurred No Records inserted in table'
tabl_nam .
ENDIF .
ENDIF .
ENDFORM. " UPLOAD_FROM_FILE
*& Form F4_FOR_FILENAME
text
--> p1 text
<-- p2 text
FORM f4_for_filename.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_path = 'C:\'
mask = ',.,..'
mode = '0'
IMPORTING
filename = file_nam
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
ENDFORM. " F4_FOR_FILENAME
*& Form CHECK_FILENAME
text
--> p1 text
<-- p2 text
FORM check_filename.
IF file_nam IS INITIAL
AND NOT ( tabl_nam IS INITIAL )
AND p_show_t NE buttonselected.
CONCATENATE 'C:\' tabl_nam '.TXT' INTO file_nam.
ENDIF .
ENDFORM. " CHECK_FILENAME
*& Form INSTANTIATE_DYNAMIC_INTERNAL_T
text
--> p1 text
<-- p2 text
FORM instantiate_dynamic_internal_t.
CLEAR dynamic_it_instantiated .
-----> Step 1 - Finding Field Names and ALV GRID Fieldcatalog
i_structure_name = tabl_nam .
CLEAR it_fieldcat[] .
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = i_structure_name
CHANGING
ct_fieldcat = it_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc EQ 0.
-----> Step 2 - Creating Field Catalog of the Object
cl_alv_table_create
LOOP AT it_fieldcat .
CLEAR wa_fieldcatalog .
MOVE-CORRESPONDING it_fieldcat TO wa_fieldcatalog .
wa_fieldcatalog-ref_field = it_fieldcat-fieldname .
wa_fieldcatalog-ref_table = tabl_nam .
APPEND wa_fieldcatalog TO it_fieldcatalog .
ENDLOOP .
-----> Step 3 - Creating Internal Table Dynamicaly
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = it_fieldcatalog
IMPORTING
ep_table = itab.
ASSIGN itab->* TO <fs_itab> .
dynamic_it_instantiated = 'X' .
ENDIF.
ENDFORM. " INSTANTIATE_DYNAMIC_INTERNAL_T
*& Form SHOW_CONTENTS
text
--> p1 text
<-- p2 text
FORM show_contents.
CLEAR : <fs_itab> .
SELECT * FROM (tabl_nam)
INTO CORRESPONDING FIELDS OF TABLE <fs_itab> .
i_callback_program = sy-repid .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = i_callback_program
it_fieldcat = it_fieldcat[]
TABLES
t_outtab = <fs_itab>
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDFORM. " SHOW_CONTENTS
*& Form CHECK_FILE_TO_UPLOAD
text
--> p1 text
<-- p2 text
FORM check_file_to_upload.
PERFORM check_filename.
CLEAR l_subrc .
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = file_nam
filetype = 'DAT'
TABLES
data_tab = <fs_itab>
EXCEPTIONS
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
OTHERS = 10.
l_subrc = l_subrc + SY-SUBRC .
IF sy-subrc EQ 0.
i_callback_program = sy-repid .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = i_callback_program
it_fieldcat = it_fieldcat[]
TABLES
t_outtab = <fs_itab>
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDIF .
ENDFORM. " CHECK_FILE_TO_UPLOAD
Thanks,
Pramod -
Remotely starting the CMS server using a SSH script in a Unix environment.
Is it possible to remotely start a CMS server using a shell script which starts an SSH session and runs the startservers command asin the command below:
ssh -o ConnectionAttempts=2 -o ConnectTimeout=10 -l boadmin huxd0226 '/opt/BO/boxir2/bobje/startservers'
The command securely logs into the server (huxd0226) and runs the command described in single quotes.
the CMS server actually appears to start but then dies inexplicably and displays no errors in the trace logs. The full log file is displayed below:-
Timestamp ProcessID ThreadID Message
Thu Sep 18 10:59:05 2008 913548 1 (wireobinit.cpp:97): trace messa
ge: Creating the shared CWireObject::PropertyNameMap
Thu Sep 18 10:59:05 2008 913548 1 (wireobinit.cpp:119): trace mess
age: Setting static property map
Thu Sep 18 10:59:05 2008 913548 1 (wireobinit.cpp:126): trace mess
age: CWireObject::InitializeStaticPropertyMap() - reference count: 1
Thu Sep 18 10:59:05 2008 913548 1 Log: level=3 cat=1 msg=35100 p=C
entral Management Server started
Thu Sep 18 10:59:05 2008 913548 1 trace message: SIServerControlle
r::run: Before initialize
Thu Sep 18 10:59:05 2008 913548 1 (sidaemon.cpp:416): trace messag
e: SUNIXDaemon::init: starting
Thu Sep 18 10:59:05 2008 913548 1 trace message: SUNIXDaemon::init
: redirecting stdio to /dev/null
Thu Sep 18 10:59:05 2008 913548 1 (sidaemon.cpp:209): trace messag
e: installing fg terminiation handler
Thu Sep 18 10:59:05 2008 913548 1 (sidaemon.cpp:220): trace messag
e: installing abnormal sys handler
Thu Sep 18 10:59:05 2008 913548 1 (sidaemon.cpp:506): trace messag
e: SUNIXDaemon::init: finished
Thu Sep 18 10:59:12 2008 913548 1 trace message: GetClockSequenceU
pdater: Getting clock sequence updater
Thu Sep 18 10:59:13 2008 913548 1 trace message: SSimpleBuffer::lo
adFromFile: calling mmap(): fileName[/opt/BO/boxir2/bobje/enterprise115/aix_rs60
00/sqlrule.llr], lFileLength47132, fd10
Thu Sep 18 10:59:13 2008 913548 1 trace message: SSimpleBuffer::lo
adFromFile: calling mmap(): fileName[/opt/BO/boxir2/bobje/enterprise115/aix_rs60
00/sqlrule.dfa], lFileLength26824, fd10
Thu Sep 18 10:59:14 2008 913548 1 trace message: Loading: database
subsystem: db2databasesubsystem
This is exactly the same as a normal manual startup of the CMS server except it dies at the loading of the db2databasesubsystem section.
Business Objects is patched to Fix Pack 3.6 and is clustered in a HACMP environment. It is a requirement that when the DB2 database fails, shortly after restarting it can automatically start the Business Objects services remotely.
SSH will work if the command is entered manually from within a secured session, but it is only when automated that the failure occurs. Does anyone have an idea on why this is happening and whether it is in fact possible ?we're going to run into deep offtopic if we continue that line ))
But I believe there is a big push to get the forum format actualy working this time. -
DW Procedures to connect to MS ACCESS database located on remote server
I am confused about the procedures within Dreamweaver CS3 to connect to a MS ACCESS database on a remoter server.
I am working through a tutorial book, "Dreamweaver 8 with ASP, Cold Fusion and PHP Training from the Source", but the instructions are unclear concerning the procedures to connect to a MS ACCESS database located on a remote server.
The book indicates that the server administration has to create the DSN for you and screen shots indicate that you will result in a list of DSNs to choose from when creating the connections .asp file.
I went through the procedures to create a connections .asp and resulting in a connection without and tables (of course) because I do not initially have any connection information from my remote site.
I have generated the required two lines of code as follows for my MS ACCESS database connection on my remote server:
'Database connection info and provider
strCon="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&_
Server.MapPath("database\trans.mdb") & ";" &_
"User ID=xxx;Password=xxxxx"
The question that I have is:
How does this connection coding relate to the "connections/conn_newland.asp" file that was create within the Dreamweaver screens? How do I merge the ASP coding? The file (/connections/conn_newland.asp) generated within Dreamweaver is as follows:
<%
'FileName="Connection_odbc_conn_dsn.htm"
'Type="ADO"
'DesignationType="ADO"
'HTTP="true"
'Catelog=" "
'Schema
Dim MM_conn_newland_STRING
MM_conn_newland_STRINT = "dsn=newland;"
%>
Any advice would be appreciated. I know that this is simple but debugging an error from an ASP coding merge would be a "bear" to debug!I have not used MS Access myself (fortunately) but I believe it works much like the old, old way of achieving a multi-user database in FileMaker.
That is, it is not a true client-server database but more a peer-to-peer database and that each peer opens the same database file which is available to multiple user via file sharing. Therefore as elikness said it should just be a matter of putting the files on your Lion Server and then sharing that folder/volume using SMB sharing.
However one thing to be aware of, since MS Access is not a true client-server database I would imagine it uses record locking to manage simultaneous direct access to records in the same files. File or Record locking is something that has historically been a bit flakey when using Windows clients with a Mac file server (and probably vice versa).
While I am not proposing it as a solution to consider seriously, it is worth you knowing that FileMaker Pro is a database system that is available for both Mac and Windows and depending on how you configure things can be considered to stretch from a configuration very similar to MS Access at the low end all the way to a high-end MS SQL Server style setup at the top end. See http://www.filemaker.com for details.
There is also a a third-party tool available for migrating databases to or from FileMaker Pro and it can convert MS Access databases to FileMaker Pro see http://www.fmpromigrator.com/
You could use FileMaker Pro just on Windows machines if you wish.
Maybe you are looking for
-
How to make single file from multiple PDF image?
Hi, it's my first question in SCN. I promise my efforts for developing this site. Lately, I made multiple PDF image by function 'CONVERT_OTFSPOOLJOB_2_PDF'.(each spool ID) And I wanna make single .PDF file by merging these image in server directory(n
-
Kernel / cpu Panic Macbook 1.1
Hello, On my old MacBook (1.1) i am running Snow Leopard. Everytime when i connect a Firewire Device to the MB it completely freezes after a few seconds, also when i start it in HDD Mode, there as soon as i connect it to another Mac the MB freezes. I
-
Restricting Coherence traffic to a single NIC in a box with 2 NICs
Hi All, I have a new question, or rather a request for confirmation / correction. Am I right, that for restricting Coherence traffic to a dedicated network card and segment, I need to do the following things: 1. Set up a route entry in the routing ta
-
We are using db2, but system is trying to load Oracle gateway?
Hi, We are using OBI 10.1.3.3.0 Our installed database is DB2 8.2 The init blocks that are firing every hour are based on Oracle SQL syntax although we are using db2! This is causing a multitude of errors in the nqquery.log and nqserver log. The erro
-
Dear All, Pl.let know about Universe in Businessobjects for the following: what is the role of universe? Is it mandatory to install universe to use any of the BO tools viz Crystal Reports, Xcelsius, Polestar, Voayager and any tools from the GRC solut