Error creating datasouse using MySQL 5.1.11
When I try to create a datasourse using Coldfusion MX7 to a
MySQL database, I get the following error:
Connection verification failed for data source: Nascar
java.sql.SQLException: Communication failure during
handshake. Is there a server running on 192.168.0.4:3306?
The root cause was that: java.sql.SQLException: Communication
failure during handshake. Is there a server running on
192.168.0.4:3306?
This is a development server that I'm working with. Any help
to solve this would be great. Thanks.
> java.sql.SQLException: Communication failure during
handshake. Is there a server running on
With unfamiliar exceptions, the first thing to do is check
google. This was the third result ;-)
http://kb.adobe.com/selfservice/viewContent.do?externalId=6ef0253
Similar Messages
-
How to create table using mysql in LabVIEW
Hii
I am using mysql database Toolkit for my project. In that how to New create a table. Is there any possiblilites to create a table using query...can u send a sample prg ... and inform which toolkit Vi to use....The SQL syntax for creating a table is:
CREATE TABLE table_name
column_name1 data_type,
column_name2 data_type,
column_name3 data_type,
)The toolkit has a funciton called DB Tools Create Table. That would be the obvious function to use if you don't want to execute a SQL query to create the table. The tooklit comes with examples. Have you looked at them? There's one called Create Database Table that would seem to be exactly what you are looking for. -
Using the values in a 1D array, I need to place them along the diagonal of a 2D array. Currently, I've been using INITIALIZE ARRAY VI to create 2D array of zeroes and then usE REPLACE ARRAY SUBSET to put the 1D array values on the diagonal. This works sometimes but I often get an error stating that the memory is full and that the application was stopped at INITIALIZE ARRAY.
I'd appreciate any advice on how to stop this from occuring.
Thanks and happy holidays,
Hunter (LabView 6.1 user)Weather is the same here, too.
Sorry about the PDF. I had forgotten about the PRTSCN option. See the attached JPG.
I'd send you an example input that is giving me problems but today, my computer seems to be behaving and the error hasn't popped up. This makes me believe that it's truly a memory problem with my machine.
This VI is a subVI used in several computationally intensive applications.
If you're still interested in playing with it, I will email it to you. Please send me your address. In fact, I see you're in the oil & gas industry and I'd like to hear what you're working on since I work in that industry as well.
Thanks again, Hunter ([email protected])
Attachments:
VI_Diagram.jpg 104 KB -
Error - Create chemical using program
Hi All,
I am trying to create a chemical using BO EHFND_CHEMICAL using program. Referring the sample code listed in 'Navigating to BOPF' blog series.
I have passed ROOT node and BI_CHEMICAL nodes. But I am getting error 'Mandatory node ROLE is missing'.
When I tried to add ROLE node , in the code its giving errors like 'Mandatory node ROLE is missing' OR can not create, source object does not exist'.
I went through the node structure for the BO. In it we have Root - > Revision -> Role.
So my query is how to pass information for ROLE node? We need to add REVISION node also?
If anybody can guide, will be really helpful.Hi Shubhada,
The problem is that determinations are creating instances of some of the nodes. A determination is creating an instance of the REVISION node, but without the ROLE subnode instance—despite that the cardinality is 1:1…n. This results in the error Mandatory node ROLE missing.
The problem can be resolved by making two calls to the MODIFY method of the service manager. Create only the ROOT node instance with the first call, and the determinations will create additional node instances, including the REVISION node instance. Next get the key of the REVISION node instance, and use it to create an instance of the ROLE subnode by calling the MODIFY method again. Finally, commit the transaction by invoking the SAVE method of the transaction manager. Following is a code sample:
"Create the ROOT
CREATE DATA lr_s_root.
lr_s_root->key = /bobf/cl_frw_factory=>get_new_key( ).
lr_s_root->chm_nature = 'M'.
APPEND INITIAL LINE TO lt_mod ASSIGNING <ls_mod>.
<ls_mod>-node = if_ehfnd_chm_c=>sc_node-root.
<ls_mod>-change_mode = /bobf/if_frw_c=>sc_modify_create.
<ls_mod>-key = lr_s_root->key.
<ls_mod>-data = lr_s_root.
CALL METHOD me->mo_chm_bo->mo_svc_mngr->modify
EXPORTING
it_modification = lt_mod
IMPORTING
eo_change = lo_change
eo_message = lo_message.
FREE lt_mod.
"The REVISION node instance was created via a
"determination. Get its key; it's needed to
"create the ROLE node instance.
lt_change = lo_change->get_changes( ).
READ TABLE lt_change ASSIGNING <ls_change> INDEX 1.
<ls_change>-change_object->get_changes( IMPORTING et_change = lt_node_change ).
READ TABLE lt_node_change
WITH KEY key1 COMPONENTS node_key = if_ehfnd_chm_c=>sc_node-revision
ASSIGNING <ls_node_change>.
lv_rev_key = <ls_node_change>-key.
"Create the ROLE node instance; it's mandatory but was
"not created in a determination
CREATE DATA lr_s_role.
lr_s_role->key = /bobf/cl_frw_factory=>get_new_key( ).
lr_s_role->chemical_role = '1'.
APPEND INITIAL LINE TO lt_mod ASSIGNING <ls_mod>.
<ls_mod>-node = if_ehfnd_chm_c=>sc_node-role.
<ls_mod>-change_mode = /bobf/if_frw_c=>sc_modify_create.
<ls_mod>-source_node = if_ehfnd_chm_c=>sc_node-revision.
<ls_mod>-association =
if_ehfnd_chm_c=>sc_association-revision-role.
<ls_mod>-source_key = lv_rev_key.
<ls_mod>-key = lr_s_role->key.
<ls_mod>-data = lr_s_role.
CALL METHOD me->mo_chm_bo->mo_svc_mngr->modify
EXPORTING
it_modification = lt_mod
IMPORTING
eo_change = lo_change
eo_message = lo_message.
"Commit the transaction
CALL METHOD me->mo_chm_bo->mo_txn_mngr->save
IMPORTING
eo_message = lo_message
ev_rejected = lv_rejected. -
Create login using MySQLi?
I have login/authentication lines of code existing on my web site, but they are written in MySQL. I understand that I will have to upgrade these procedures to MySQLi language. While most of my server behaviors were upgraded using WebAssist's 3rd party extension, they don't have an out-of-the box solution for this problem, and I am NO programmer. Ideally I'd like the site to work like most major sites where, if the user has forgotten their password, an email link gets sent to them where they link back in and reset their own password. Can someone point me in the right direction? I'm using DreamWeaver CC on a Windows 7 system.
I wasn't sure if the add-ons page had anything for you or not -- just a wild guess on my part.
See post #3 in this discussion. Osgood posted a nice example of a secure MySqli log-in.
Re: Server Behavior & Database extension keeps re-downloading
The reset-password part will need a separate form and script.
Nancy O. -
Can't use MySQL connectionpool?
I write two javabean in the package "lyo.bbs.xml...".I works well if I don't use MySQL ConnectionPool.But the jsp compiler report error if I use MySQL ConnectionPool in javabean.
One of my javabean is:"
ResultSet rs = null;
Statement stm = null;
Connection conn = null;
String sql = "select * from problem";
//String url = "jdbc:mysql://localhost:3306/test";
public ReadData(){
try{
Context ctx=new InitialContext(); <------If I use it jsp report error :(
DataSource ds=(DataSource)ctx.lookup("java:comp/env/jdbc/mysql");
conn=ds.getConnection();
stm=conn.createStatement();
rs=stm.executeQuery(sql);
}catch(Exception e){
System.out.println(e.toString());
public List readD(){
List booklist=new ArrayList();
Readxml readbean=null;
try{
while(rs.next()){
readbean=new Readxml();
readbean.setId(rs.getInt("id"));
readbean.setName(rs.getString("name"));
readbean.setTitle(rs.getString("title"));
readbean.setContent(rs.getString("content"));
readbean.setTime(rs.getString("time"));
booklist.add(readbean);
////////////////////////////second javabean//////////////
public void setId(int id){
this.id=id;
public int getId(){
return this.id;
.............. .........getter and setter method............. ...........
public Element getXml(Document doc){
Element root=doc.createElement("guestbook");
NumberFormat idformat=NumberFormat.getCurrencyInstance(Locale.US);
Element temp=doc.createElement("id");
temp.appendChild(doc.createTextNode(idformat.format(this.getId())));
root.appendChild(temp);
temp=doc.createElement("name");
temp.appendChild(doc.createTextNode(this.getName()));
root.appendChild(temp);
temp=doc.createElement("Title");
temp.appendChild(doc.createTextNode(this.getTitle()));
root.appendChild(temp);
temp=doc.createElement("content");
temp.appendChild(doc.createTextNode(this.getContent()));
root.appendChild(temp);
temp=doc.createElement("time");
temp.appendChild(doc.createTextNode(this.getTime()));
root.appendChild(temp);
return root;
//////////////////////////////End code////////////////////
My jsp file is:
<%@page contentType="text/html;charset=gb2312" import="lyo.bbs.xml.*,java.util.*"%>
<html>
<body>
<%
Readxml readbean;
ReadData data=new ReadData();
List list=data.readD();
Iterator iter=list.iterator();
%>
<table border="1" bgcolor="#cceeee">
<tr>
<td>Topic</td><td>Name</td><td>Post time</td>
</tr>
<%
while(iter.hasNext()){
readbean=(Readxml)iter.next();
%>
<tr>
<td><a href="showtitle.jsp?id=<%=readbean.getId()%>"><%=readbean.getTitle()%></a></td>
<td><%=readbean.getName()%></td>
<td><%=readbean.getTime()%></td>
//////////////////error is://////////////////
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 6 in the jsp file: /showtopic.jsp
Generated servlet error:
[javac] Compiling 1 source file
C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:7: package lyo.bbs.xml does not exist
import lyo.bbs.xml.*;
^
C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:51: cannot resolve symbol
symbol : class Readxml
location: class org.apache.jsp.showtopic_jsp
Readxml readbean;
^
An error occurred at line: 6 in the jsp file: /showtopic.jsp
Generated servlet error:
C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:52: cannot resolve symbol
symbol : class ReadData
location: class org.apache.jsp.showtopic_jsp
ReadData data=new ReadData();
^
An error occurred at line: 6 in the jsp file: /showtopic.jsp
Generated servlet error:
C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:52: cannot resolve symbol
symbol : class ReadData
location: class org.apache.jsp.showtopic_jsp
ReadData data=new ReadData();
^
An error occurred at line: 16 in the jsp file: /showtopic.jsp
Generated servlet error:
C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:68: cannot resolve symbol
symbol : class Readxml
location: class org.apache.jsp.showtopic_jsp
readbean=(Readxml)iter.next();
^
//////////////////////////////End error////////////////////////
But I have the package lyo.bbs.xml.. really.If I don't use MySQL Pool (java:comp/env/jdbc/mysql)it can work property.
I add the content in the server.xml and I registe in mysql console.
/////////////////////////////server.xml///////////////////////////////////
<Context className="org.apache.catalina.core.StandardContext" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper" cookies="true" crossContext="false" debug="0" displayName="Welcome to Tomcat" docBase="C:\tomcat\webapps\ROOT\bbs" mapperClass="org.apache.catalina.core.StandardContextMapper" path="/bbs" privileged="false" reloadable="false" swallowOutput="false" useNaming="true" wrapperClass="org.apache.catalina.core.StandardWrapper">
<Resource auth="Container" description="mysql BBS XML Testing " name="jdbc/mysql" scope="Shareable" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/mysql">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:mysql://localhost:3306/test</value>
</parameter>
<parameter>
<name>password</name>
<value>qijiashe</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>4</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>org.gjt.mm.mysql.Driver</value>
</parameter>
<parameter>
<name>username</name>
<value>lyo</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
</ResourceParams>
<ResourceLink global="jdbc/mysql" name="jdbc/mysql" type="javax.sql.DataSource"/>
</Context>
Anyone can help me?I use Weblogic6.1's ConnectionPool and it works well.It MySQL' problem?Why?
-
Error in extracting data from SAP using mySQL server database
Hello Experts.
We are now using MySQL server 2005 database for Nakisa OrgChart. We have already configured the SAPExtractor settings. Source-SAP has been provided and Test connection to destination database is successful. We manually created the database ExtractedData and AnalyticData in the MySQL management studio.
We are getting the error upon starting the extraction
Processing Function Read Table Function/BAPI Downloading Tables Organizational Assignment
No Tables were downloaded for Read Table Function/BAPI . Function is flagged as critical.Terminating Extraction.
Processing Stopped ! ! !
Downloading from SAP completed.
Processing Completed.
From CDS.log
ERROR: Sap Authentication : Source {SAP.Connector}: Message {An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)}
We would appreciate some assistance on this configuration
Thanks,
Angelo
Accenture inc.
SAP BasisHello Luke,
We have not done any modification of the downloadschema file. We receive message: The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. when we open the file.
The SAP account we used has SAP_AlLL, SAP_NEW authorizations. Are these authorizations sufficient to perform the data extraction?
Thanks,
Angelo -
Hi. I´m trying use mySQL with SRTutorialADFBC tutorial. I can create connections. I can view my tables, etc. But when I try run the jsp page, I get a error 500:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:545)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:189)
at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:135)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326)
at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Can you help me?Thanks javaX. But the error continue... The message begin:
500 Internal Server Error
JBO-30003: The pool of applications (oracle.srtutorial.datamodel.AppModuleLocal) failed in the checkout module exception:
oracle.jbo.JboException: JBO-29000: JBO-29000: JBO-29000: JBO-26061: Erro ao abrir a conexão JDBC.
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Any new idea? -
Error while creating stock using tcode: MB1C
Error while creating stock using tcode: MB1C
The Error is: Check table T004F:entry G006 does not existHi ,
Please check the FSV (field status variant) for your company code in OBY6 .
then go to transaction code OB14 --> enter the FSV --> Check if field status group G006(Material account) is maintained there or not.
if not please maintain it.
Thanks & Regards
Anshu -
Logical error in creating tables using db link in solaris
Hi,
While creating table using the syntax create table newtab...as select * from tab@dblink .. I am facing a problem. The newtab table created is having a structure different (from datalength point of view of varchar2 and char datatypes) from the source. The data length is getting tripled i.e. if a column a is varchar2(20) in tab then it is becoming --- a varchar2(60) in newtab. This is happening in solaris environment when the two databases are in 2 different servers. Please let me know if there are any patches to resolve the problem.
Thanks
ArnabORA-02019: connection description for remote database not foundHave you used this database link successfully for some other queries?
The error posted seems to indicate that the DB Link is not functional at all. Has it worked for any other type of DML operation or is this the first time you ever tried to use the link? -
When I try to open an embedded PDF file (Word doc) I get an error "The program used to create this object is AcroExch.exe. That program is either not installed on your computer, or is corrupt..." I've tried about everything from unchecking
protected mode at startup to removing & reinstalling Adobe. Nothing seems to fix this issue. Any other ideas?
This is happening on Adobe reader 9, 10 & 11 with MS Word 2010 & 2013. I've uninstalled, cleaned & reinstalled Reader 9, 10 & 11, as well as Acrobat 10 Pro & 11 Standard. Removed "Protected mode at startup, and changed
the default program for viewing from reader to Acrobat. This will not go away. It is affecting production at our company." Help > Troubleshooting Information > Profile Directory: Open Containing Folder" . i can't find open containing folder in profile directory. it does give me the option to open the places.sqlite file using graphic converter. when i try that, graphic converter gives me a window saying that it can't be opened because it is corrupted or is not a file type supported by graphic converter.
i appreciate your help with a workaround to get the old bookmarks. that works. however, the problem has morphed from that concern to why adobe reader [the default app.] won't open firefox .sqlite files. is the problem in adobe reader or firefox? also, how can i tell if the places.sqlite file is corrupt?
i'm getting in over my head here and do appreciate your help. -
Error creating job into trigger using DBMS_SCHEDULER.
Hi,
I am trying to create job using dbms_scheduler package. I have one trigger on insert event on one table. I am creating job using following syntax.
CREATE OR REPLACE TRIGGER TRG_BI_JOB_CONFIG BEFORE INSERT ON JOB_CONFIG FOR EACH ROW
DECLARE
BEGIN
DBMS_SCHEDULER.Create_Job(job_name => 'my_job1'
,job_type => 'PLSQL_BLOCK'
,job_action => 'delete_temp'
,start_date => TO_DATE('15-JUL-2003 1:00:00 AM', 'dd-mon-yyyy hh:mi:ss PM')
,repeat_interval => 'FREQ=DAILY'
,enabled => TRUE
,comments => 'DELETE FOR job schedule.');
EXCEPTION
WHEN OTHERS THEN RAISE;
END;
but I am getting following error while inserting into JOB_CONFIG table.
ORA-04092: cannot in a trigger
ORA-06512: at "PRAKASH1.TRG_BI_JOB_CONFIG", line 41
ORA-04088: error during execution of trigger
same above statement If I am running from sqlplus then It is creating job without error. If I am creating job using DBMS_JOB into trigger then It is also working fine but this package is depricated from oracle10g so I cannt use it any more.
My Oracle version is 'Oracle DATABASE 10g RELEASE 10.2.0.1.0 - Production'.
can anyone help me in this context.I have a few comments on this thread as an Oracle dbms_scheduler developer.
- Oracle takes backward compatibility very seriously. Although dbms_job is deprecated, the interface will continue to work indefinitely. The deprecation of dbms_job is so that customers will be encouraged to take advantage of the more powerful dbms_scheduler. It is extremely unlikely that entire blocks of functionality will ever be removed. There is currently no plan to remove dbms_job functionality (and even if there were, doing so would be strenuously opposed by many users).
- lots of internal Oracle database components are standardizing on using dbms_scheduler (resource manager, materialized views, auto sql tuning etc). This is good evidence that it will continue to be the recommended scheduling method for the foreseeable future - not even the concept of a replacement exists. It is also under active development.
- The reason for the automatic commit is that a dbms_scheduler job is a full database object like a stored procedure or a table. So a call to dbms_scheduler.create_job is like executing a DDL which takes effect immediately. A dbms_job job is mostly just a row in a table so a call to dbms_job.submit behaves like regular DML. There are many advantages to a job being a full database object but DDL behaviour is an unfortunate requirement of this.
Hope this clears a few things up, reply with any questions.
-Ravi -
Error creating a new VM on OVM Server using 'xm create'
Hi,
I'm trying to create VM using an existing config file bundled with the OVM distribution, like "xmexample1". I've also ensured that all the entries in it, such as, reference to the kernel image, etc. are correct. However, when I run the command
xm create xmexample1
it fails with the following error
Error(<domain-uuid>, "VM_Metrics")
I noticed that another user had a similar issue, but he was running into it occassionally. However, I'm running into it consistently. Any suggestions on how to solve this?
Thanks,
- NitinDo you have ULN access? If so, you should run up2date on your Oracle VM server to get the latest version of ovs-agent. That has far more sensible error messages instead of the "vm_metrics" thing. Otherwise, check /var/log/ovs-agent/ovs_operation.log or xend.log to see if you can find anything more specific.
-
Error while creating Resource using GDS
Hi
Iam trying to create Resource using GDS and it is throwing me error
clresource: (C189917) VALIDATE on resource egateq00-haegate_reg-res, resource group egateq00-rg, exited with non-zero exit status.
clresource: (C720144) Validation of resource egateq00-haegate_reg-res in resource group egateq00-rg on node uhegateq02 failed.
clresource: (C891200) Failed to create resource "egateq00-haegate_reg-res".
This is the command I executed
rclresource create -g egateq00-rg -t SUNW.gds
-p Scalable=false -p Start_timeout=120 -p Stop_timeout=120 -p Probe_timeout=30
-p Port_list="23001/tcp" -p Start_command="/egateq00/scripts/reg_START.sh" -p Stop_command="/egateq00/scripts/reg_STOP.sh"
-p Probe_command="/egateq00/scripts/reg_PROBE.sh" -p Child_mon_level=1 -p Network_resources_used=egateq00-lh-res -p Failover_enabled=FALSE
-p Stop_signal=15 egateq00-haegate_reg-res
The log under /var/cluster/logs/DS says following
07/01/2008 17:56:43 uhegateq02 START-INFO> scha_resource_open failed [14]. Keeping the old Log_level value
07/01/2008 17:56:43 uhegateq02 START-ERROR> Cannot access the start command </egateq00/scripts/reg_START.sh> : <No such file or directory>
07/01/2008 18:13:23 uhegateq02 START-INFO> scha_resource_open failed [14]. Keeping the old Log_level value
07/01/2008 18:13:23 uhegateq02 START-ERROR> Cannot access the start command </egateq00/scripts/reg_START.sh> : <No such file or directory>
However, I can open these scripts and run it from anywhere. I also tested these scripts and they all work fine. They are all set to chmod 777 , so everyone should have execute permission
Iam not returning any return value from these Start and Stop script , is that the why it is failing
thanksHi
I disabled the PMF as described on the http://blogs.sun.com/TF/entry/disabling_pmf_action_script_with. This is what I did
1>Added following line in the top of my Start script
while getopts 'R:G:' opt
do
case "${opt}" in
R) RESOURCE=${OPTARG};;
G) RESOURCEGROUP=${OPTARG};;
esac
done
sleep 60 &
/usr/cluster/bin/pmfadm -s ${RESOURCEGROUP},${RESOURCE},0.svc
2>While creating the resource , I used property for Start_command="/egateq00/scripts/reg_START.sh -R %RS_NAME -G %RG_NAME"
Now , after doing this , My RG is not getting lost. Also , in the message file I do not see the errors of "Start script failed to stay UP"
However, My Application is not started either.
This is what the message file says
Jul 3 16:43:32 uhegateq01 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <gds_validate> completed successfully for resource <egateq00-haegat
e-reg-res>, resource group <egateq00-rg>, node <uhegateq01>, time used: 0% of timeout <300 seconds>
Jul 3 16:43:32 uhegateq01 Cluster.CCR: [ID 973933 daemon.notice] resource egateq00-haegate-reg-res added.
Jul 3 16:43:32 uhegateq01 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <gds_svc_start> for resource <egateq00-haegate-reg-res>,
resource group <egateq00-rg>, node <uhegateq01>, timeout <120> seconds
Jul 3 16:43:32 uhegateq01 Cluster.RGM.rgmd: [ID 252072 daemon.notice] 50 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/SUNWscgds/bin/gds_svc_star
t>:tag=<egateq00-rg.egateq00-haegate-reg-res.0>: Calling security_clnt_connect(..., host=<uhegateq01>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<1>, .
Jul 3 16:43:35 uhegateq01 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <gds_svc_start> completed successfully for resource <egateq00-haega
te-reg-res>, resource group <egateq00-rg>, node <uhegateq01>, time used: 2% of timeout <120 seconds>
Jul 3 16:43:35 uhegateq01 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <gds_monitor_start> for resource <egateq00-haegate-reg-re
s>, resource group <egateq00-rg>, node <uhegateq01>, timeout <300> seconds
Jul 3 16:43:35 uhegateq01 Cluster.RGM.rgmd: [ID 252072 daemon.notice] 50 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/SUNWscgds/bin/gds_monitor_
start>:tag=<egateq00-rg.egateq00-haegate-reg-res.7>: Calling security_clnt_connect(..., host=<uhegateq01>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<1
, ...)Jul 3 16:43:35 uhegateq01 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <gds_monitor_start> completed successfully for resource <egateq00-h
aegate-reg-res>, resource group <egateq00-rg>, node <uhegateq01>, time used: 0% of timeout <300 seconds>
4>Also , in the /var/cluster/logs/DS , I see the Start script started succesfully
07/03/2008 16:43:32 uhegateq01 START-INFO> Start succeeded. [egateq00/scripts/reg_START.sh -R egateq00-haegate-reg-res -G egateq00-rg]
5>Also , in the /var/cluster/logs/DS , I see the Probe script returning 0 , but this is wierd because it should return Non zero number. When I run the Probe script from the command line , it is returning me non zero value when the application is down
07/03/2008 16:43:35 uhegateq01 PROBE-INFO> The GDS monitor (gds_probe) has been started
07/03/2008 16:44:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:44:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:45:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:45:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:46:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:46:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:47:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:47:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:48:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:48:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:49:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:49:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:50:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:50:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:51:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:51:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:52:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:52:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:53:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:53:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:54:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:54:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:55:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:55:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:56:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:56:35 uhegateq01 PROBE-INFO> The probe result is 0 -
Error while creating Routing using LSMW
Hi Guys ,
I am trying to create LSMW using Direct Input Method .
My structures are ::
RC271_DS Work center structure for direct input (for datasets)
RC27M_DS Material master view DIRECT INPUT routing for datasets
PLKO_DI_DS Header structure for direct input (for datasets)
PLPO_DI_DS Routing/item structure for direct input (for datasets.
I getting correct data from multiple flat files .
It's converting the data also .
But while executing start direct input method i am getting the followig error ....
You cannot edit the task list object with activity type
Please let me know problem guys .
Regards,
RajHi Naveen,
It means you have to assign the task list type to material type ZPRD. Then it will carry its job:
The path is:
Go To-> SPRO-> IMG Activity-> Production-> Basic Data-> Routing-> General Data---> Define Material Type Assignments. T-Code: OP50
I hope it will work.
Regards,
Madhu.G
Maybe you are looking for
-
How do I import gradient map settings from one computer to another?
Quick Question, How do I import my gradient map settings from CS3 on my old I mac into my new Mac that uses CS6? Is there a folder somewhere that I can just copy and paste? Thanks, Mike
-
How to delete data before insert in oracle database
Hi friends, I have one scenario.I want to send data from sap to Oracle database.Befor i am inserting data in database table,i want to clean/delete all the records in the table .This interface will run twice in a day.Can any body help me. SAP-PI-JDBC
-
I updated my ITUNES and now I can't get it to play my music. After the song that was playing during update played nothing else will. What can I do
-
The ease of use of special characters has been a major strength of the Mac OS since the very foundation. Now I find in Lion I hvae to do a very Windoze-like thing and open a Special Characters dialog and search for the character I want from a confusi
-
Create or remove link between a webi doc and a category with SDK
Hi, I'd like to use SDK to assign a category to a webi document, or to "uncategorized" document (remove the link between the document and a Corporate Category). I first tried to select the document in the infostore (via infoobjects, "select * from CI