Scripts are not executing
Hi,
we have scheduled scripts through crontab,but from few days these scripts are not executing,there is no problem with time entries in crontab because some of them are executing correctly,what can be possible reasons for the cronjobs to not to execute.we are using sun solaris sparc 64 bit.oracle 10.1.0.4
I can't say without knowing what the script does. Maybe somebody changed the permissions on another directory that script needs, or maybe another file it needs is no longer available, or ???
Just suggesting a troubleshooting step. If you can run the script in a similar setup then you can eliminate the script as a likely problem. I didn't see anything on the crontab entry that looked to be a problem.
PS: "will the date change with the execution of cronjob or it remains the same."
No, the date on the cron daemon will stay the same. It just wakes up once a minute to check for things to do and kicks them off, it never restarts.
Similar Messages
-
FormCalc script is not executed
Hi everybody,
I've developped a Pdf forms with FormCalc Script.
This script does works in the preview designer of SFP transaction but when i try to run the pdf forms through a specific program, the script is not executed.
Do you have any idea ?
The pdf is a ZCI layout.
My SAP platform is ECC 6.0Brice,
What is the type of form you are developing ? Interactive or Print.
My guess you be creating a Print form where dynamic scripting does not work.
Alternatively put following line of code in the script to see if the control is transferred to your event or not.
$host.messageBox("Inside event")
Chintan -
Why last 4 lines of every page in sap script are not coming ,it is not o
pls give some solution why last 4 lines of every page in sap script are not coming ,it is not over flowing to next page even? it is any page format related problem or coding problem?
Hi,
Use PROTECT ENDPROTECT statement it displays hole paragraph in to the single page and also to over come this issue.
Regards
Md.MahaboobKhan -
PHP scripts are not working after deploying it on website
Hi,
I have recently deployed my flex application on a web hosting (000webhost.com) and now my application is getting launched properly. Visit (www.kpratik.webatu.com).
I have used PHP script to interact with database MySQL. Locally everything was working fine but when I have deployed it to internet my PHP scripts are not working and any database opeartion is not getting performed. I have already chaned to host, username password in the PHP file as given my service provider.
Please let me know if you have any input on this.
Reponse will be highly appreciated.
Regards,
PratikHello,
Ok let me explain you where exactly it is going wrong.
I am constructing SQL query in my ActionScript code and I am passing this query to my PHP script using HTTPService. Now when I am hardcoing the query in PHP script i found it is working perfectly which means my query is not getting passed to PHP script.
Please let me know what could be the reason.
I am using POST method for HTTPService.
Thanks,
Pratik -
Af:commandMenuItem action and actionListener are not executing
Hello all!
I use JDeveloper Studio Edition Version 11.1.1.2.0. Here's the problem. I have a popup menu like this
<af:popup id="someMenu" animate="default">
<af:menu id="pt_m1">
<af:forEach var="item" items="#{ContextMenuHelperBean.availableUserRoles}">
<af:commandMenuItem text="#{item.roleName}"
action="#{ContextMenuHelperBean.changeUserRole_Action}"
actionListener="#{ContextMenuHelperBean.changeUserRole_ActionListener}"
immediate="true"
partialSubmit="false"
id="pt_cmi1" rendered="true">
<f:attribute name="userRole" value="#{item}"/>
</af:commandMenuItem>
</af:forEach>
</af:menu>
</af:popup>
The problem is that action and actionListener are not executing, when the menu item is selected (but the page is reloaded with no changes). ContextMenuHelperBean has a "session" scope set in adfc-config.xml. What can be wrong with this?Now I've encountered a new kind of error. I create a menu in a managed bean like this:
In JSPX
<f:view beforePhase="#{RolesMenuSupportBean.createMenus}">
<af:popup id="cxtMenu" animate="default">
<af:menu id="pt_m1"
binding="#{RolesMenuSupportBean.rolesMenu}">
</af:menu>
</af:popup>In com\cs\webb2\view\utils\menu\RolesMenuSupport.java
public void createMenus(PhaseEvent phaseEvent) {
List<IUserRole> rolesList = getAvailableUserRoles();
for (IUserRole role: rolesList) {
Boolean hasItem = false;
for (Iterator iter = rolesMenu.getChildren().iterator(); iter.hasNext(); ) {
RichCommandMenuItem item = (RichCommandMenuItem) iter.next();
if (!hasItem)
hasItem = item.getText().equalsIgnoreCase(role.getRoleName());
if (!hasItem) {
RichCommandMenuItem newItem = new RichCommandMenuItem();
newItem.getAttributes().put("userRole", role);
newItem.setText(role.getRoleName());
newItem.setId(ITEM_ID);
newItem.setActionExpression(getActionExpression("#{RolesMenuSupportBean.changeUserRole_Action}"));
newItem.addActionListener(getExpressionActionListener("#{RolesMenuSupportBean.changeUserRole_ActionListener}"));
rolesMenu.getChildren().add(newItem);
} The menu is created successfully, but when I click on any item, I get an exception
<b>javax.servlet.ServletException: Method not found: com.cs.webb2.view.utils.menu.RolesMenuSupport@d4702.changeUserRole_Action(void)</b>
But of course I have such a method in my com.cs.webb2.view.utils.menu.RolesMenuSupport:
In com\cs\webb2\view\utils\menu\RolesMenuSupport.java
public String changeUserRole_Action()
System.out.println("Action!");
// no code yet
return "adfMenu_Main";
}And there <b>is</b> a managed bean named RolesMenuSupportBean, which is associated with class com.cs.webb2.view.utils.menu.RolesMenuSupport.
Can anyone tell me, what can be wrong? -
SSIS Script task not executing macro through SQL Agent (but it does through bids)
<p>Hello everyone,</p><p>I am having an issue with SQL Agent when executing a macro contained in a script task component. The script task actually opens an excel file, runs the macro, save and closes the file. </p><p>When
I execute the package via BIDS/Visual studio, it works like a charm. However, when i execute the package with SQL agent, the package runs successfully but it seems that the macro is not executed as the excel file has not been modified as it should have. Also,
the history log does not show any error messages. </p><p>Could </p>Thanks!I did create a credential and a proxy too but still the macro is not executed.I have searched online for solutions but no one has experimented this kind of issue before it seems. Please have a look at the script task code:
Imports
Excel = Microsoft.Office.Interop.Excel
Imports
System
Imports
System.Data
Imports
System.Math
Imports
Microsoft.SqlServer.Dts.Runtime
<System.AddIn.AddIn(
"ScriptMain", Version:="1.0",
Publisher:="", Description:="")>
<System.CLSCompliantAttribute(
False)> _
Partial
Public
Class ScriptMain
Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
Enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
End
Enum
Public
Sub Main()
Dim Macro_name
As
String
Dim ExcelObject
As
New Microsoft.Office.Interop.Excel.Application
Dim oBook
As Microsoft.Office.Interop.Excel.Workbook
Dim oBooks
As Microsoft.Office.Interop.Excel.Workbooks
Try
Macro_name =
"Macro001"
ExcelObject =
CType(CreateObject("Excel.Application"),
Excel.Application)
ExcelObject.Visible =
True
ExcelObject.UserControl =
False
ExcelObject.DisplayAlerts =
False
oBooks = ExcelObject.Workbooks
oBook =
CType(oBooks.Open("C\Book1.xls"),
Excel.WorkbookClass)
ExcelObject.Run(Macro_name)
Catch ex
As Exception
ExcelObject.Application.Quit()
ExcelObject.DisplayAlerts =
True
ExcelObject =
Nothing
End
Try
Dts.TaskResult = ScriptResults.Success
End
Sub
End
Class -
I am using TestStand 3.5 and LabVIEW 8 in a Windows XP environment.
I have a sequence that runs properly when run from the sequence editor. I have made a few minor mods to the simple Operator Interface that ships with TestStand. When I run my sequence using the modified Operator Interface, the PreUUT and PostUUT sequences do not execute. Only the main sequence executes. This also happens when I run the demo sequences that ship with TestStand.
What am I missing?Hi,
It sound like you are executing the sequences without the process model, do you get a report at the end of the execution?
What are these minor mods you have done?
Regards
Ray Farmer
Regards
Ray Farmer -
Linux Script doees not executed as cronjob
I have created a script b.sh as follows to get the status of Oracle Database
[oracle@accurman1 tmp]$ cat b.sh
#! /bin/bash
$ORACLE_HOME/bin/sqlplus -s < /tmp/1.sql >> /tmp/mylog.log
[oracle@accurman1 tmp]$
[oracle@accurman1 tmp]$ cat /tmp/1.sql
connect sys/xxx@orcl as sysdba
set heading off
set feedback off
set verify off
select 'STATUS:'||status from v$instance;
select 'MODE:'||log_mode from v$database;
[oracle@accurman1 tmp]$
when execute manually from command promp it executes properly and I get the sql output in mylog.log file
However if I schedule the script, b.sh , as cron job then it does not executes... and do not through any error.....
What is wrong here?
Message was edited by:
johnveslin#! /bin/bash
$ORACLE_HOME/bin/sqlplus -s < /tmp/1.sql >> /tmp/mylog.log
What is wrong here?Environment. Cron doesn't know the enviroment of (oracle) user.
So set the environment (at least ORACLE_HOME) in your b.sh script.
as cron job then it does not executes... and do not through any error.....Usually when error occurs during cron execution it is mailed to user's inbox.
So try to log as that user (su - oracle) and try to execute "mail" command.
The other way how you can log the output and errors is (crontab entry example):
5 * * * * /home/oracle/bin/my_cron_script >> /tmp/my_cron_script.log 2>&1 -
Work Flow EVENT - SM58 Entries are not executing automatically
Hi Experts,
I have used the standard BOR2034 for creating PO after saving the contract.
I have developed an RFC enabled FM refering to the Standard FM SWW_WI_CREATE_VIA_EVENT.
Inside the custom FM I am calling the BAPI_PO_CREATE1 for creating PO.
After creating a contract using VA41 I am able to see in Event trace that my Event with corresponding custom FM is triggering.
and the two entries are created in SM58 - Transactional RFC one is my Custom FM name and another is SWF_EVT_HANDLER_START_INTERNAL.
When I execute the LUW by selecting execution, PO is getting created. Where as this entries are not picking automatically.
I want to know, whether I have missed any step in process or do we need to schedule any job for automatically clearing the SM58 queue entries.
Please help me in resolving the issue.
Responses are highly appreciated..
Warm Regards...Hi Natasha,
As you say that you see the below entries in TRFC monitor, you need have a commit work after the below FMs are called(just one will do),
the two entries are created in SM58 - Transactional RFC one is my Custom FM name and another is SWF_EVT_HANDLER_START_INTERNAL.
How and from where are the above FMs called?
Regards,
Chen -
Delete command are not executed in function of Java Bean
Hello Sir,
In Java bean have a function submitData.I want in this function run delete command through PreparedStatement..But Its not executed.
Please review..
public void submitData()
try
System.out.println("Printed*************************************************************");
Class.forName("oracle.jdbc.driver.OracleDriver");
System.out.println("Loading....");
Connection con=DriverManager.getConnection("jdbc:oracle:thin:@VijayKumar-PC:1521:XE","SYSTEM","SYSTEM");
System.out.println("Connection created");
PreparedStatement st=con.prepareStatement("delete from simple where NAME='?' and BNAME='?' ");
String User=getUserName();
st.setString(1,User);
String Bname=getBookName();
st.setString(2,Bname);
int y= st.executeUpdate();
System.out.println(y);
System.out.println("Query Executed");
con.commit();
con.close();
System.out.println("Your Book are Submitted *****************");
catch(Exception e)
e.printStackTrace();
}Thanks.Dear Sir,
I removed the singleaquotes from preparedstatement.But Its not executed in this function.Like:
public void submitData()
try
System.out.println("Printed*************************************************************");
Class.forName("oracle.jdbc.driver.OracleDriver");
System.out.println("Loading....");
Connection con=DriverManager.getConnection("jdbc:oracle:thin:@VijayKumar-PC:1521:XE","SYSTEM","SYSTEM");
System.out.println("Connection created");
PreparedStatement st=con.prepareStatement("delete from simple where NAME=? and BNAME=? ");
String User=getUserName();
st.setString(1,User);
String Bname=getBookName();
st.setString(2,Bname);
int y= st.executeUpdate();
System.out.println(y);
System.out.println("Query Executed");
con.commit();
con.close();
System.out.println("Your Book are Submitted *****************");
catch(Exception e)
e.printStackTrace();
}Allthough Insert command is properly executed in another function of Java Bean.
Please review...
Thanks. -
Script is not executed - Standard-TimeOut
Hello, I have a problem with a script, that is debugged without mistakes, but is not executed anyway. The Script consists of the movie with a keyframe that creates a new Instance for an Object that again creates a series of new Instances for another Object (array) that controls an associated Movieclip.
The Error: A Script was executed longer than the Standard-Time-Out of 15 Seconds.
If necessary, I will add the script.
Thank youThe Script shall create an endless flow of fonts that fall from top to bottem (a "matrix in serif")
The Main Movie
import testklassen.*;
stop();
var FontFlow1:FontFlow = new FontFlow();
The "testklassen"-package:
The First Object "Font" controls the Motion of the "FontMovieClip".
package testklassen {
import flash.display.*;
import flash.display.MovieClip;
import flash.utils.*;
import flash.events.*;
import flash.events.Event;
import fl.transitions.*;
public class Font {
public var Counter:int;
public var X_Position:int;
public var Y_Position:int;
public var Speed:int;
public var myFrameRate:Number;
public function Font (pCounter, pX_Position, pY_Position, pSpeed) {
this.Counter = pCounter;
this.X_Position = pX_Position;
this.Y_Position = pY_Position;
this.Speed = pSpeed;
this.myFrameRate = 1000/32;
//Loop moves the FontMovieClip from the top to the bottom...
//The Motion consists only of Y-component.
root.FontMovieClips[Counter].play();
var timer:Timer = new Timer(myFrameRate, 100);
timer.addEventListener(TimerEvent.TIMER, goOn);
function goOn() {
this.Y_Position += this.Speed
root.FontMovieClips[Counter].Y = this.Y_Position; -
ATG Search | Query Rules are not executing
Hi,
We want to put some search relaxation, for example partial entry of a search term returns results i.e.if user enter "shi" results should show all shirts.
Followed following steps for that,
1) Created query rules for wildcard pattern with a actions.(For example created a pattern "shi*" and action "prop,string,displayName,Shirt" , so that when a user enter "shi", search results would return all products whose name contain "Shirt" or "Shirts".
2) After indexing, verified Query Rules are applied; using "Index Review" (QueryRuleLoad -- 4 rules, 4 patterns, 4 actions, from stream)
3) Layered the component /atg/commerce/search/catalog/QueryRequest property ruleMode to exec so that search request contain "ruleMode=exec" as per ATG docs.
4) Clear and Disable cache using the component : /atg/search/routing/CacheService/
5) Search submitted on site for "shi".
6) Verified Search request XML that "ruleMode=exec" is being send to Search Engine.
But as per query rules, search results/response are not coming, verified response XML, but didn't find any clue.
Are we missing any configuration for query rules to execute or the pattern & action which we have created are not proper ?
Thanks,
SarbajeetHi ,
According to your description, my understanding is that you want to configure Query Rule for the SharePoint Contextual Search (by default its result page is osssearchresult.aspx).
As far as I know, the Query Rules
work in the SharePoint Contextual Search when you define them on site level. You can create your query rule in
your Site -> Site Settings -> Search -> Query Rules.
Meanwhile the SharePoint Contextual Search is based on the result sources defined in the Site Settings->Search -> Result Sources, you need to make
the result source of your Query Rule to the above Result Source.
Reference:
http://sharepoint.stackexchange.com/questions/64393/where-to-define-query-rule-and-when
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Inventory Reports are not executing in Quality Server
Hi All,
I have done two reports ( 1. Stock Overview & 2. Stock Ageing ) in BW-DEV and executed successfully but after moving transports to BW-QA, I am getting Zero values for Stock Overview & for Stock Ageing, I am getting errors like "Sub Routine Call failed, Could not find the form SET-ICFL, CY_SY_DYN_CALL_ILLEGAL_FORM & UNCAUGHT_EXCEPTION.
This is for your kind Information:
1. I uploaded data properly to Inventory ZIC_C03
2. I verified data in Cube, the data is available
3. SAP BI 7.1
Please guide me to over come the above issues.
Thanks
Sreeni
Edited by: sreenivasulu.gandi on Jan 24, 2012 5:48 PMHi,
It looks you are not in developer role so it is asking access code. If you want access code you can ask Basis team they will provide based on the policies.
Regd your issue are you getting this error for particular report or any report? Check RFC connection between Bex and BI server. You run the same report in using RRMX or RSRT, if you are able to see the output then ask your Basis team look this issue or check the Note 1600067.
Thanks
Riyez -
My script runner is not executing. I can run a simple statement such as select count(*) from mtl_system_items_b; with the Execute Statement. When I attempt to run the same statement using the Run Script command SQL Developer hangs up and never completes.
I have not had any trouble with this in the past. It could have started with my latest upgrade. I'm running version 1.1.2.25 build MAIN-25.79It would have depended on when and how you did you update. Check for Updates was not available for updating from a 1.0 build to the 1.1 build. You could only use Check for Updates on a 1.1 build (or its subsequent patches) to reach 1.1.2.
The latest release is 1.2.1.32.13 and requires a full fresh install. There is no Check for Updates available.
Regards
Sue -
SSIS Catalog views are not executing from PROC calling from a service broker
Hi Exprets,
I have a package deployed on SSISDB (the new concept in MS SQL 2012, SSIS catalogs). I have t-sql code in which i will be able to execute SSIS package in SSISDB with no problems. But if i place the same t-sql code inside of a procedure which will be called
by a service broker , the code is not executing.
I am using the following code to execute a package in the SSISDB catalog
Declare @execution_id bigint
EXEC [SSISDB].[catalog].[create_execution] @package_name=N'LoadToABC.dtsx',
@execution_id=@execution_id OUTPUT, @folder_name=N'ABC', @project_name=N'LoadToABC',
@use32bitruntime=False, @reference_id=Null
DECLARE @var0 NVARCHAR(200)
= N'D:\MyData\SampleText20120830100001.txt'
EXEC [SSISDB].[catalog].[set_execution_parameter_value] @execution_id, @object_type=30,
@parameter_name=N'strFileName', @parameter_value=@var0
EXEC [SSISDB].[catalog].[start_execution] @execution_id
This code executes if run it alone or placed in a regular stored procedure , but not executes if i palce this same code inside of a procedure which is being called/executed by a service broker call like this:
CREATE QUEUE dbo.SampleQueue
WITH STATUS=ON, ACTIVATION
(STATUS = ON, MAX_QUEUE_READERS
= 1,
PROCEDURE_NAME = spMessageProcSample,
EXECUTE AS OWNER);
The problem occurs if we call the SSIS catalogs inside a proc which will be calling through a service broker queue.
I am running all these steps on my local instance of SQL SERVER 2012 in which i am the administrator.
Please advice where i am doing wrong ?
Thanks,
Jyodhu.Hi ArthurZ,
Thanks for reply. What i ment was i tried with all the "EXECUTE AS" options. but no luck.
Can you please explain step by step if you can ? That would be great help.
This is the error message from server log.
Message
The activated proc '[dbo].[spMessageProcSample]' running on queue 'FileTableDB.dbo.SampleQueue' output the following: 'The server principal "USA\cccsat1nmg" is not able to access the database "SSISDB" under the current security context.'
I logged in with WIndows authentication (Admin) and i created all the objects including Integration services Catalog.
Thanks,
Jyodhu.
Maybe you are looking for
-
How to change the Busy tone of WIC-2FXS in 2610
My local FXS card is connected to my office PBX CO port. When a far end caller disconnects a VoIP session, my local FXS generates a very strange tone to my PBX so that the AA of my PBX cannot detect such busy tone and hence cannot drop the call. The
-
Summary report from several forms
Hi, Example: I am on a Plus/paid-plan and I work with five partners that all would like to collect the same data (name, email, address etc) from customers. Lets say John is a partner of mine, and I make a form for him, place the HTML code on a webpag
-
Have imported PAL video from HDV Sony camera in PAL format and burned DVD in PAL format too. Quality pretty poor on DVD. I imported in the format one below 1080 as the guide says little quality is lost. Does anyone import in full 1080 quality and doe
-
i have 3702I AP's that wont join a 5760 WLC ap logs as follows *Mar 1 00:33:57.035: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 172.16.239.148, mask 255.255.255.192, hostname APd072.dc03.8110 *Mar 1 00:34:02.915: %CAPWAP-5-DHCP_OP
-
ABAP WebDynPro iView: Session remains open in backend.....
Hi Experts, We have configured ABAP Webdynpro (SD Order Creation) iView in SAP Portal. When we test it from intranet, everything works fine and session in backend gets terminated when we leave that page on portal. But when we test it from internet, s