Operation returned exit status 1
Hi,
Can someone shed some light on this error code status?
What does this mean ==> Error occured processing PDF context: invoke the processing rules The following error occured in step 1: Operation returned exit status 1 ?
Nothing has changed and all of a sudden we're getting this error. We're using *** 2.7 running on Windows 2008 server and Adobe Output Designer 5.7 client.
Checked all services (WWW) and is running also checked IIS configuration and security and appears to be all intact.
Thanks
As the user attempting to link the program, can you:
ls -l /u01/app/oracle/product/FR_1012/lib/libclntsh.so
and are the permissions correct? Sometime in the later releases, you need to run $ORACLE_HOME/install/change_perm.sh so everyone on the box can read the Oracle binaries and libraries. You need to run this as the user who installed the Oracle software.
Similar Messages
-
Exit status running java classpath in a unix shell script
I'm new to putting java into unix scripts. I have a java classpath running inside of a unix shell script. During my testing it will error with java.io.FileNotFoundException error, which I know why that is, but when I set in my unix shell script this to see the right exit status of success/fail, it always shows a 0 for success when that isn't really the case. Below is the two lines I have set to capture the exit status and just display that exit status for now.
notifycode=$?
echo $notifycode
I have these 2 lines above on a line right below my java command in my unix shell script. How can I get my unix shell script to show the right exit status if the java classpath command fails? Thanks for any help.That's Java code, it says "End this Java application and send return code 1 back to the shell". As for how the shell gets the return code from the application, that's a question about your shell and not about Java programming, no?
-
Oracle Beehive Framework Configuration return faliled status(When install)
Hi everybody,
I faced a problem when install Oracle Beehive. All installs of software done, but in next step (Configuration), all configurations done except "Orcl Beehive Frmwork Config". I didn't know what happened, and how to solve this error. Full Error describe below:
Launching tool "Oracle Beehive Framework Configuration"
Invocation timestamp: 1:49:09 PM
Executing command: oracle.ocs.install.plugins.product.main.BeeCfgPlugin ${admin_passwd} ${schema_passwd} ${site_key} C:\oracle\product\1.5.1.0.0\beehive_1 portal.neo.com.vn (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=portal.neo.com.vn)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=oracle))) 3042 21300 21401 21451 orabeehive NEO BeehiveSite FINE SERVER_ONLY true 2 1
[INFO ] [2009-09-10 13:49:09] [main Line 189 ] [---------------------------------------------------------------]
[INFO ] [2009-09-10 13:49:09] [main Line 190 ] [ BEEHIVE CONFIGURATION ASSISTANT (BCA) STARTED ]
[INFO ] [2009-09-10 13:49:09] [main Line 191 ] [---------------------------------------------------------------]
[INFO ] [2009-09-10 13:49:09] [main Line 192 ] [ ]
[INFO ] [2009-09-10 13:49:09] [main Line 193 ] [ Start time : 2009-09-10 13:49:09]
[INFO ] [2009-09-10 13:49:09] [main Line 194 ] [ Command Line : C:\oracle\product\1.5.1.0.0\beehive_1\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe C:\oracle\product\1.5.1.0.0\beehive_1\beehive\assistants\bin\BeehiveConfigurationAssistant.pl -primaryTemplateId SERVER_ONLY -availablePhysicalMemory 2GB -availableNumberOfProcessors 1 -ORACLE_HOME C:\oracle\product\1.5.1.0.0\beehive_1 -hostname portal.neo.com.vn -connectString (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=portal.neo.com.vn)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=oracle))) -BTIport 3042 -OMBport 21300 -MXport 21401 -SecureMXport 21451 -enterpriseName orabeehive -organizationName NEO -siteName BeehiveSite -userFirstName BEEAdmin -userLoginid beeadmin -logLevel FINE -firstInstance true ]
[INFO ] [2009-09-10 13:49:09] [main Line 195 ] [ ]
[INFO ] [2009-09-10 13:49:09] [main Line 196 ] [---------------------------------------------------------------]
[BEECTL] [Specify the value for secure option --oc4j_admin_password (The text you type will not be displayed as it is entered):
[BEECTL] [
[BEECTL] [beectl command failed. See the log file "C:\oracle\product\1.5.1.0.0\beehive_1\beehive\logs\beectl\2009.09.10\beectl_modify_deployment_structure_13_49_19+0700.txt" for more details.
[BEECTL] [Connection Unavailable.
[BEECTL] [
[SEVERE ] [GlobalLib::Executor::executeAndReturnDataIfSuccess Line 224 ]
[SEVERE ] [Start Message]
[SEVERE ] [ beectl.exe command execution failed. beectl.exe command returned exit code : 1]
[SEVERE ] [ 1]
[SEVERE ] [End Message]
[INFO ] [2009-09-10 13:49:23] [GlobalLib::Logger::closeLogger Line 622 ] [Closing the log file : C:\oracle\product\1.5.1.0.0\beehive_1\beehive\logs\config\BeehiveConfigurationAssistant\09.10.2009\BeehiveConfigurationAssistant_13_49_09.log]
Tool "Oracle Beehive Framework Configuration" returned Failed status.Anyone help me please!
My Envs:
OS: window xp
Oracle db: 10gR2.03
Thanks in advance.
LuyenHello
I see [BEECTL] [Connection Unavailable.
could you
- test connecting to your database using the exact same settings that you provided to the beehive installer , using a tool like SQLDeveloper or similar ?
- print out C:\oracle\product\1.5.1.0.0\beehive_1\beehive\logs\beectl\2009.09.10\beectl_modify_deployment_structure_13_49_19+0700.txt -
Zone shutdown error - SNMP request returned error status 6 (no access)
When trying to shutdown a zone though SunMC it get the following error from the web page
SNMP request returned error status 6 (no access) snmp://xx.xx.com:nnnn/mod/scm-container/Zones/ZoneTable/ZoneEntry/zoneState#zonename
the log on the agent has
[0000008f 00a8 ]warning Nov 28 12:20:10 agent preValidateSetPDU: zoneState(zonename) [1.3.6.1.4.1.42.2
.12.2.2.85.6.1.1.10.10.98.111.116.97.110.105.120.45.97.100] - noAccess
I probably am missing a simple undocumented permissions problem.
Any help would be appreciated
Thanksmarcusj99 wrote:
When trying to shutdown a zone though SunMC it get the following error from the web page
SNMP request returned error status 6 (no access) snmp://xx.xx.com:nnnn/mod/scm-container/Zones/ZoneTable/ZoneEntry/zoneState#zonename
the log on the agent has
[0000008f 00a8 ]warning Nov 28 12:20:10 agent preValidateSetPDU: zoneState(zonename) [1.3.6.1.4.1.42.2
.12.2.2.85.6.1.1.10.10.98.111.116.97.110.105.120.45.97.100] - noAccess
I probably am missing a simple undocumented permissions problem.
Any help would be appreciatedSCM security can be tricky to get right the first time you use it. Have you performed these operations in the global zone?:
- run es-config to add your SunMC userID to the scm-container ACL?
- made sure the Project Managment and Pool Management entries are in /etc/security/prof_attr and exec_attr files?
- added your SunMC userID to the Zone/Pool/Project entries in /etc/user_attr (or used the 'usermod' command to add the entries for you)?
If any of those steps were missed then SunMC (or Solaris) may not believe you have permisson to make changes to zones/pools etc. There are a couple of SCM docs listed in with the SunMC doc set:
http://docs.sun.com/app/docs/coll/810.8?l=en
Regards,
[email protected]
http://www.HalcyonInc.com
New !! : http://forums.HalcyonInc.com !! -
How to get exit status of multiple threads
Hello Everyone,
Please let me know how to solve the below problem.
I have one main thread. It creates 10 threads and joins them. Now i am interested in the exit status of each of the individual thread. Please let me know how to get the exit status of each thread.
Thanks in Advance.
Thanks & Regards,
VasuFrom the man page for thr_join:
int thr_join(thread_t thread, thread_t departed, void *status);
If a thr_join() call returns successfully with a non-null
status argument, the value passed to thr_exit(3THR) by the
terminating thread will be placed in the location referenced
by status.
To find the man page for any of the thr_xxx functions, run the command
man thr_xxx -
"Error: 0x800705B4. This operation returned because the timeout period expired"
Hello,
I deployed security updates Mid October 201, however some clients failed to install with the error "0x800705B4 this operation returned because the timeout period expired when installing updates".
Although, i saw an article but this did not address the issue. It was advised i temporarily disable any third party antivirus software and firewall.
Unfortunately, we use SEP antivirus and any attempt to disable it would yanck the clients off the network. Windows Firewall is also disabled on these clients.
Can anyone help urgently?Hi,
What's the status in Software Center about the updates?
Have you checked SCCM updates logs on the clients?
http://technet.microsoft.com/en-us/library/hh427342.aspx#BKMK_SU_NAPLog
Please also check the boundary groups associated with DPs have been configured correctly.
Best Regards,
Joyce
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Deployment incomplete exit status 128
I am trying to deploy a very small web application directly from JDev 9.0.2 to Oracle9i Applicatioin Server Developer Preview. I am getting the following error:
Exit status of Oracle9iAS admin tool (-deploy): 128
#### Deployment incomplete. #### Jul 24, 2002 12:09:22 PM
This is not much to go on. Where can I get more information?
Thanks,
MikeWe have received scattered reports of exit status 128 related to the OC4J admin.jar utility. However, neither the OC4J admin.jar code nor the JVM exits with an explicit 128 code. Therefore, the 128 exit code is most likely coming from the Windows operating system. Here is a Microsoft article about the 128 exit status:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q184802&
This article identifies two possible causes for exit status 128. Both causes are unlikely, because we suspect that one should see an exit 128 from other proceses besides the admin.jar invocation.
If you have a reproducible test case and are willing to send us your zipped workspace directory, please send it to me Armand.Dijamco -
Installing SQL Server 2008 R2 via command line - setup100.exe returned exit code 0x84BC06B2
I am receiving an exit code 0x84BC06B2 when installing SQLExpress via the command line on a PC that also has SQL Server 2012 installed. Below is the log file generated:
11/18/2014 01:02:41.631 Help display: false
11/18/2014 01:02:41.642 Checking to see if we need to install .Net version 2.0
11/18/2014 01:02:41.653 Determining the cluster status of the local machine.
11/18/2014 01:02:41.665 The local machine is not configured as a cluster node.
11/18/2014 01:02:41.675 Attempting to find media for .Net version 2.0
11/18/2014 01:02:41.686 .Net version 2.0 is installed
11/18/2014 01:02:41.697 RedistMSI::GetExpectedBuildRevision - Setup expects MSI 4.5.6001.22159 at the minimum
11/18/2014 01:02:41.709 Attempting to get Windows Installer version
11/18/2014 01:02:41.721 Windows Installer version detected: 5.0.7601.18493
11/18/2014 01:02:41.733 RedistMSI::IsVistaRTM - Not Vista RTM build
11/18/2014 01:02:41.745 Required version of Windows Installer is already installed
11/18/2014 01:02:41.772 Strong name verification disabling is not required
11/18/2014 01:02:41.781 /? or /HELP or /ACTION=HELP specified: false
11/18/2014 01:02:41.793 Help display: false
11/18/2014 01:02:41.805 Attempting to launch landing page workflow
11/18/2014 01:02:41.816 Attempting to set setup mutex
11/18/2014 01:02:41.827 Setup mutex has been set
11/18/2014 01:02:41.838 Attempting to launch global rules workflow
11/18/2014 01:02:41.849 Media source: c:\sqlexpress\
11/18/2014 01:02:41.860 Install media path: c:\sqlexpress\x86\setup\
11/18/2014 01:02:41.870 Media layout: Core
11/18/2014 01:02:41.881 Attempting to get execution timestamp
11/18/2014 01:02:41.892 Timestamp: 20141118_010240
11/18/2014 01:02:41.903 Attempting to run workflow RUNRULES /RULES=GlobalRules
11/18/2014 01:02:41.915 Attempting to launch process c:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\setup100.exe
11/18/2014 01:02:50.467 Process returned exit code: 0x00000000
11/18/2014 01:02:50.484 Workflow RUNRULES /RULES=GlobalRules returned exit code: 0x00000000
11/18/2014 01:02:50.496 Attempting to launch component update workflow
11/18/2014 01:02:50.509 Media source: c:\sqlexpress\
11/18/2014 01:02:50.522 Install media path: c:\sqlexpress\x86\setup\
11/18/2014 01:02:50.534 Media layout: Core
11/18/2014 01:02:50.546 Attempting to get execution timestamp
11/18/2014 01:02:50.558 Timestamp: 20141118_010240
11/18/2014 01:02:50.570 Attempting to run workflow COMPONENTUPDATE
11/18/2014 01:02:50.581 Attempting to launch process c:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\setup100.exe
11/18/2014 01:03:02.572 Process returned exit code: 0x00000000
11/18/2014 01:03:02.590 Workflow COMPONENTUPDATE returned exit code: 0x00000000
11/18/2014 01:03:02.602 Attempting to launch user requested workflow locally
11/18/2014 01:03:02.614 Attempting to find local setup.exe
11/18/2014 01:03:02.626 Local bootstrap folder path: c:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\
11/18/2014 01:03:02.639 Local setup100.exe full path: c:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\setup100.exe
11/18/2014 01:03:02.650 Media source: c:\sqlexpress\
11/18/2014 01:03:02.661 Install media path: c:\sqlexpress\x86\setup\
11/18/2014 01:03:02.672 Media layout: Core
11/18/2014 01:03:02.684 Attempting to get execution timestamp
11/18/2014 01:03:02.695 Timestamp: 20141118_010240
11/18/2014 01:03:02.706 Attempting to run user requested action from local setup100.exe
11/18/2014 01:03:02.717 Attempting to launch process c:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\setup100.exe
11/18/2014 01:07:28.302 Process returned exit code: 0x84BC06B2
11/18/2014 01:07:28.314 Local setup100.exe returned exit code: 0x84BC06B2
11/18/2014 01:07:28.326 Attempting to release setup mutex
11/18/2014 01:07:28.338 Setup mutex has been released
11/18/2014 01:07:28.351 Setup closed with exit code: 0x84C40013
11/18/2014 01:07:28.362 ======================================================================
Does anyone have any ideas of why this is failing?Here is the summary.txt:
Overall summary:
Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
Exit code (Decimal): -2068052302
Exit facility code: 1212
Exit error code: 1714
Exit message: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
Start time: 2014-11-18 01:03:03
End time: 2014-11-18 01:07:23
Requested action: Install
Log with failure: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\Detail.txt
Exception help link: http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.50.1600.1%26EvtType%3d0xE53883A0%400xBE03358B%401306%4023
Machine Properties:
Machine name: PC81372
Machine processor count: 4
OS version: Windows 7
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x86
Process architecture: 32 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature
Language Edition Version Clustered
Sql Server 2008 SQLEXPRESS MSSQL10.SQLEXPRESS Database Engine Services 1033
Express Edition 10.2.4000.0 No
Sql Server 2008 SQLEXPRESS MSSQL10.SQLEXPRESS SQL Server Replication 1033
Express Edition 10.2.4000.0 No
Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL Server 2008 R2
Type: RTM
Version: 10
SPLevel: 0
Installation location: c:\sqlexpress\x86\setup\
Installation edition: EXPRESS
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: True
AGTSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Disabled
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASDOMAINGROUP: <empty>
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: *****
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Automatic
CONFIGURATIONFILE: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\ConfigurationFile.ini
CUSOURCE:
ENABLERANU: True
ENU: True
ERRORREPORTING: False
FARMACCOUNT: <empty>
FARMADMINPORT: 0
FARMPASSWORD: *****
FEATURES: SQLENGINE,REPLICATION
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: *****
HELP: False
IACCEPTSQLSERVERLICENSETERMS: True
INDICATEPROGRESS: False
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: WORKSTUDIO
INSTANCENAME: WORKSTUDIO
ISSVCACCOUNT: NT AUTHORITY\NetworkService
ISSVCPASSWORD: *****
ISSVCSTARTUPTYPE: Automatic
NPENABLED: 0
PASSPHRASE: *****
PCUSOURCE:
PID: *****
QUIET: True
QUIETSIMPLE: False
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: FilesOnlyMode
RSSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
RSSVCPASSWORD: *****
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: SQL
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: BUILTIN\USERS
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: False
TCPENABLED: 1
UIMODE: AutoAdvance
X86: False
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\ConfigurationFile.ini
Detailed results:
Feature: Database Engine Services
Status: Failed: see logs for details
MSI status: Failed: see details below
MSI error code: 1714
MSI log file location: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\sql_engine_core_shared_loc_Cpu32_1033_1.log
MSI error description: The older version of SQL Server 2008 R2 Database Engine Shared cannot be removed. Contact your technical support group.
Configuration status: Failed: see details below
Configuration error code: 0xBE03358B@1306@23
Configuration error description: Could not find the Database Engine startup handle.
Configuration log: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\Detail.txt
Feature: SQL Server Replication
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Failed: see details below
Configuration error code: 0xBE03358B@1306@23
Configuration error description: Could not find the Database Engine startup handle.
Configuration log: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\Detail.txt
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\SystemConfigurationCheck_Report.htm -
BRCONNECT returned error status E
Below is my Developmwnt platform
Windows NT
Oracle 8.1.7
SAP R/3 4.6C
When I am trying to run Check DB..I am getting the following error.Please help me to resolve this.
Job started
Step 001 started (program RSDBAJOB, variant &0000000000009, user name BASIS)
Execute logical command BRCONNECT On host alstdev
Parameters: -u / -c -f check
BR801I BRCONNECT 6.10 (76)
BR805I Start of BRCONNECT processing: cdxiuimv.chk 2008-02-26 18.50.45
BR280I Time stamp 2008-02-26 18.50.47
BR301E SQL error -12540 at location db_connect-2
ORA-12540: TNS:internal limit restriction exceeded
BR310E Connect to database instance ALD failed
BR280I Time stamp 2008-02-26 18.50.47
BR301E SQL error -12540 at location thr_db_connect-4
ORA-12540: TNS:internal limit restriction exceeded
BR310E Connect to database instance ALD failed
BR806I End of BRCONNECT processing: cdxiuimv.chk 2008-02-26 18.50.47
BR280I Time stamp 2008-02-26 18.50.47
BR804I BRCONNECT terminated with errors
External program terminated with exit code 3
BRCONNECT returned error status E
Job finished
Regds,
MofizurHello Satadal,
The error is due to Oracle the reasons could be:
1. Number of open connection that Oracle Net can process simultaneously
2. Number of memory buffers which can be used simultaneously
3.Number of processes a particular database instance is allowed
In case of 1 and 2 its a harware bottle neck
In case of the 3rd point the number of process that the OraTNSlistener can listen to can be increased in the Initsid.ora file (but since this is for SAP i would suggest init<DBSID>.ora file.
But either ways check the logs files sqlnet.log or listener.log
for details of the error.
In most cases waiting for the open connections to close and then trying BRCONNECT should do it.
Regards,
Prashant -
How to suppress "exit status 0" log mail for cron job
Hello,
we have a shell script to collect stats every day. it is croned.
Recently, in the moning, get email to say "Output from cron job xxxx, in server xxx, exit status 0",
As we know, the job is done well everyday without error(exit 0), but my question is how to let server to stop sending this useless alert email everyday.
any trick?
thank you.
cc: the script
case $1 in
-? ) cat $0 | grep "#H" | grep -v "grep"
exit
esac
case $1 in
-? ) cat $0 | grep "#H" | grep -v "grep"
exit
esac
if [ -n "$1" ]; then
ORACLE_SID=$1
else
return
fi
if [ -n "$2" ]; then
SCHEMA=$2
else
return
fi
TOOLS=/opt/dba/oraadmin/tools
TABLE=xxx
COLUMN=xxx
. /opt/dba/oraadmin/tools/ora_env.sh -S $ORACLE_SID
LOG_FILE=$SVR_LOG/dbms_stats_xxx.log
echo $LOG_FILE
$ORACLE_HOME/bin/sqlplus '/ as sysdba' << !EOF > $LOG_FILE
set echo on;
exec dbms_stats.gather_table_stats('$SCHEMA','$TABLE');
exec dbms_stats.gather_table_stats('$SCHEMA','$TABLE', method_opt => 'for columns $COLUMN size 1', cascade => FALSE);
DECLARE
n_distcnt NUMBER;
v_Owner varchar2(100) := '$SCHEMA';
v_TABLE_NAME varchar2(100) := '$TABLE';
v_COL_NAME varchar2(100) := '$COLUMN';
BEGIN
select round(num_rows/3,0) into n_distcnt from all_tables where owner = v_Owner and table_name = v_TABLE_NAME;
--and then just set statistics
DBMS_STATS.set_column_stats (v_Owner,
v_TABLE_NAME,
v_COL_NAME,
distcnt => n_distcnt);
END;
exit;
EOF
Edited by: 795980 on Aug 2, 2011 7:43 AM795980 wrote:
Hello,
we have a shell script to collect stats every day. it is croned.
Recently, in the moning, get email to say "Output from cron job xxxx, in server xxx, exit status 0",
As we know, the job is done well everyday without error(exit 0), but my question is how to let server to stop sending this useless alert email everyday.
any trick?
thank you.
cc: the script
case $1 in
-? ) cat $0 | grep "#H" | grep -v "grep"
exit
esac
case $1 in
-? ) cat $0 | grep "#H" | grep -v "grep"
exit
esac
if [ -n "$1" ]; then
ORACLE_SID=$1
else
return
fi
if [ -n "$2" ]; then
SCHEMA=$2
else
return
fi
TOOLS=/opt/dba/oraadmin/tools
TABLE=xxx
COLUMN=xxx
. /opt/dba/oraadmin/tools/ora_env.sh -S $ORACLE_SID
LOG_FILE=$SVR_LOG/dbms_stats_xxx.log
echo $LOG_FILE
$ORACLE_HOME/bin/sqlplus '/ as sysdba' << !EOF > $LOG_FILE
set echo on;
exec dbms_stats.gather_table_stats('$SCHEMA','$TABLE');
exec dbms_stats.gather_table_stats('$SCHEMA','$TABLE', method_opt => 'for columns $COLUMN size 1', cascade => FALSE);
DECLARE
n_distcnt NUMBER;
v_Owner varchar2(100) := '$SCHEMA';
v_TABLE_NAME varchar2(100) := '$TABLE';
v_COL_NAME varchar2(100) := '$COLUMN';
BEGIN
select round(num_rows/3,0) into n_distcnt from all_tables where owner = v_Owner and table_name = v_TABLE_NAME;
--and then just set statistics
DBMS_STATS.set_column_stats (v_Owner,
v_TABLE_NAME,
v_COL_NAME,
distcnt => n_distcnt);
END;
exit;
EOF
Edited by: 795980 on Aug 2, 2011 7:43 AM1) problem & solution have NOTHING to do with Oracle RDBMS & is Scripting 101 Basics
2) posted script does NOT send any email so does not contribute to problem or solution.
my question is how to let server to stop sending this useless alert email everyday.The obvious solution is to NOT send the message.
code sending script to stop being a spam-o-gram generator -
The latest version of the mkarchroot script completes without error but exits with a status of 1 when I use it. Previously it exited cleanly with status zero.
Try this:
#!/bin/bash
mkarchroot foo base
echo "mkarchroot exit status: $?"
Executing the above script will build a chroot called `foo` and display its exit status. With the latest version I get a non-zero exit status (1). Downgrade to devtools-20130408-1 and try again - the exit status will be zero. Returning a non-zero exit code is a problem for scripts that check the exit code.
Is this a problem with mkarchroot ?Hi Shiva,
You can details of Payroll area in T569V table, where status of Payroll and payroll period all the details of Control record will be avilable.
Thanks and Regards,
Narendra.Soma -
How to supress SLQ loader exit status 2
Hi All,
I am loading a file through sql loader and control file has the condition as below.
INTO TABLE XXX
WHEN (256:256) != 'Y' and (1:2)=X'C4C4'
Now the problem is that if a value 'Y' comes in the position specified, the sqlloader exit status becomes 2. Can anyone please tell me how to get the exit status 0.
when I added 1 more condition as below
INTO TABLE YYY
WHEN (256:256) = 'Y' and (1:2)=X'C4C4'
It came out with exit status of 0.
Please excuse me if I am ignorant about any thing..No version number.
No control file.
No full and complete error message from the log file.
No further help is possible at this time.
It helps to post full and complete information and even more so to provide a small demo people trying to help you can run. -
Hi Everybody,
I have two node cluster and trying to add the third node (which is a Virtual Machine), all nodes are in different subnet and can communication with each other. While adding the third node it gives the error at the end of wizard " This operation
returned because the timeout period expired ". My domain controller is 2008 Enterprise Server and nodes are all running Windows Server 2012 Standard Edition. Any idea what is causing the issue.
thanksHi,
Before you add a server (node) to a failover cluster, we strongly recommend that you run the Validate a Configuration Wizard for the existing cluster nodes and the new node
or nodes. The Validate a Configuration Wizard helps you confirm the configuration in a variety of important ways. For example, it validates that the server to be added is connected correctly to the networks and storage and that it contains the same software
updates. Please post the error or warning report.
Please try to install the Recommended hotfixes and updates for Windows Server 2012-based failover clusters:
Recommended hotfixes and updates for Windows Server 2012-based failover clusters
http://support.microsoft.com/kb/2784261
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
[SOLVED] mongodb fails to start with exit status 4
Today I tried starting mongodb via systemctl and it would fail with exit status 4. The issue turned out to be related to an upgrade from mongodb 2.6 to 3.0. It took me a bit of digging and trial and error to get it running again, so I thought I should share the steps in case anyone else runs into this
1. Downgrade to 2.6 (using the latest 2.6.x you hopefully still have in the cache)
$ pacman -U /var/cache/pacman/pkg/mongodb-2.6.8-1-x86_64.pkg.tar.xz
$ systemctl start mongodb
2. Run authSchemaUpgrade
$ mongo
> db.adminCommand({authSchemaUpgrade: 1});
3. Upgrade mongdb
$ pacman -S mongodb
Hope this is helpful to someone.https://wiki.archlinux.org/index.php/Catalyst
- xorg-server 1.12 is in [extra] repo, catalyst does not support it so please use [xorg111] repo. -
OLE DB Destination" failed validation and returned validation status "VS_ISBROKEN.
Hi
I have a package which has 10 sequence containers. Have 10 Flat File Source files and all is working perfect on BI Debug mode. When I deploy this package to server I am getting the following error.
I have changed the property Retain the same connection = True but same problem. I have changed the data flow task to Load Project instead of Load Into Project but in error message it is still showing the old name. I have tried to remove the whole step i.e.
Removed Load into Project Data flow with sequence container but I am getting the same error message.
I am not able to understand the reason. Any Idea why am I getting the same error message even I do not have the Data Flow named Load Into Package. It is in SSIS 2008 and being deployed on SQL 2012 server.
Message
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 15:28:32 Error: 2014-07-22
15:28:36.86 Code: 0xC020201B Source: Load Into Project OLE DB Destination [62] Description: The number of input columns for OLE DB Destination.Inputs[OLE DB Destination Input] cannot be zero. End Error Error:
2014-07-22 15:28:36.86 Code: 0xC004706B Source: Load Into Project SSIS.Pipeline Description: "OLE DB Destination" failed validation and returned validation status "VS_ISBROKEN". End Error
Error: 2014-07-22 15:28:36.86 Code: 0xC004700C Source:
Load Into Project SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2014-07-22 15:28:36.87 Code: 0xC0024107 Source: Load Into Project Description:
There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 15:28:32 Finished: 15:28:36 Elapsed: 4.39 seconds. The package execution failed. The
step failed.
Many Thanks.
MH
this the error log
starttime
endtime
event
source
message
57:26.0
57:26.0
OnError
Load Into Project
The number of input columns for OLE DB Destination.Inputs[OLE DB Destination Input] cannot be zero.
57:26.0
57:26.0
OnError
Load Into Project
OLE DB Destination failed validation and returned validation status "VS_ISBROKEN".
57:26.0
57:26.0
OnError
Load Into Project
One or more component failed validation.
57:26.0
57:26.0
OnError
Load Into Project
There were errors during task validation.
57:19.0
57:19.0
OnPostExecute
Load Into TrialBalance
57:19.0
57:19.0
OnPostExecute
Trial Balance
57:19.0
57:19.0
OnPostExecute
SSIS_LoadCheck_CoreManGroup
57:19.0
57:19.0
PackageEnd
SSIS_LoadCheck_CoreManGroup
End of package execution.
57:18.0
57:18.0
OnPostExecute
Load Into JournalLine
57:18.0
57:18.0
OnPostExecute
JournalLine
57:18.0
57:18.0
OnPreExecute
Trial Balance
57:18.0
57:18.0
OnPreExecute
Truncate TrialBalance
57:18.0
57:18.0
OnPostExecute
Truncate TrialBalance
57:18.0
57:18.0
OnPreExecute
Load Into TrialBalance
57:07.0
57:07.0
OnPostExecute
Load Into Journal Type
57:07.0
57:07.0
OnPostExecute
JournalType
57:07.0
57:07.0
OnPreExecute
JournalLine
57:07.0
57:07.0
OnPreExecute
Truncate Table JournalLine
57:07.0
57:07.0
OnPostExecute
Truncate Table JournalLine
57:07.0
57:07.0
OnPreExecute
Load Into JournalLine
57:05.0
57:05.0
OnPostExecute
Load Into UserName
57:05.0
57:05.0
OnPostExecute
UserName
57:05.0
57:05.0
OnPreExecute
Business Area
57:05.0
57:05.0
OnPreExecute
Truncate Table Business Area
57:05.0
57:05.0
OnPostExecute
Truncate Table Business Area
57:05.0
57:05.0
OnPreExecute
Load Into Business Area
57:05.0
57:05.0
OnPostExecute
Load Into Business Area
57:05.0
57:05.0
OnPostExecute
Business Area
57:05.0
57:05.0
OnPreExecute
Cost Centre
57:05.0
57:05.0
OnPreExecute
Truncate CostCenter
57:05.0
57:05.0
OnPostExecute
Truncate CostCenter
57:05.0
57:05.0
OnPreExecute
Load Into Cost Centre
57:05.0
57:05.0
OnPostExecute
Load Into Cost Centre
57:05.0
57:05.0
OnPostExecute
Cost Centre
57:05.0
57:05.0
OnPreExecute
Project Status
57:05.0
57:05.0
OnPreExecute
Truncate Table Project Status
57:05.0
57:05.0
OnPostExecute
Truncate Table Project Status
57:05.0
57:05.0
OnPreExecute
Load Into Project Status
57:05.0
57:05.0
OnPostExecute
Load Into Project Status
57:05.0
57:05.0
OnPostExecute
Project Status
57:05.0
57:05.0
OnPreExecute
Project
57:05.0
57:05.0
OnPreExecute
Truncate Table Project
57:05.0
57:05.0
OnPostExecute
Truncate Table Project
57:05.0
57:05.0
OnPreExecute
Load Project
57:05.0
57:05.0
OnPostExecute
Load Project
57:05.0
57:05.0
OnPostExecute
Project
57:05.0
57:05.0
OnPreExecute
JournalType
57:05.0
57:05.0
OnPreExecute
Truncate Table Journal Type
57:05.0
57:05.0
OnPostExecute
Truncate Table Journal Type
57:05.0
57:05.0
OnPreExecute
Load Into Journal Type
57:03.0
57:03.0
OnPostExecute
Load Into Entity
57:03.0
57:03.0
OnPostExecute
Entity
57:03.0
57:03.0
OnPreExecute
Account
57:03.0
57:03.0
OnPreExecute
Truncate Table Accounts
57:03.0
57:03.0
OnPostExecute
Truncate Table Accounts
57:03.0
57:03.0
OnPreExecute
Load Into Account
57:03.0
57:03.0
OnPostExecute
Load Into Account
57:03.0
57:03.0
OnPostExecute
Account
57:03.0
57:03.0
OnPreExecute
UserName
57:03.0
57:03.0
OnPreExecute
Truncate Table User Name
57:03.0
57:03.0
OnPostExecute
Truncate Table User Name
57:03.0
57:03.0
OnPreExecute
Load Into UserName
57:02.0
57:02.0
PackageStart
SSIS_LoadCheck_CoreManGroup
Beginning of package execution.
57:02.0
57:02.0
OnPreExecute
SSIS_LoadCheck_CoreManGroup
57:02.0
57:02.0
OnPreExecute
CoA
57:02.0
57:02.0
OnPreExecute
Truncate Table CoA
57:02.0
57:02.0
OnPostExecute
Truncate Table CoA
57:02.0
57:02.0
OnPreExecute
Load Into CoA
57:02.0
57:02.0
OnPostExecute
Load Into CoA
57:02.0
57:02.0
OnPostExecute
CoA
57:02.0
57:02.0
OnPreExecute
Entity
57:02.0
57:02.0
OnPreExecute
Truncate Table Entity
57:02.0
57:02.0
OnPostExecute
Truncate Table Entity
57:02.0
57:02.0
OnPreExecute
Load Into EntityMessage
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 15:28:32 Error: 2014-07-22
15:28:36.86 Code: 0xC020201B Source: Load Into Project OLE DB Destination [62] Description: The number of input columns for OLE DB Destination.Inputs[OLE DB Destination Input] cannot be zero.
22 15:28:36.86 Code: 0xC004700C Source: Load Into Project 22 15:28:36.87 Code: 0xC0024107 Source: Load Into Project Description: There were errors during task validation. End
Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 15:28:32 Finished: 15:28:36 Elapsed: 4.39 seconds. The package execution failed. The step failed.
Hi MustafaH,
According to the error message(hightlight above), it seems it's a mapping issue that Naarasimha point out in the post above. Please check this carefully.
An OLE DB destination includes mappings between input columns and columns in the destination data source. You do not have to map input columns to all destination columns, but depending on the properties of the destination columns, errors can occur if
no input columns are mapped to the destination columns.
Reference form: http://msdn.microsoft.com/en-us/library/ms141237.aspx
In your post, you said that it is in SSIS 2008 and being deployed on SQL 2012 server. Do you mean that you create the package deployment utility by using SSIS 2008, and then implement SSIS deployment in SSIS 2012 environment? If so, you need to
convert the project to package deployment model to generate Manifest file in SSIS 2012. Please see:
Use the SQL Server 2008 version of Business Intelligence Development Studio to develop and maintain packages that are based on SQL Server 2008 Integration Services (SSIS)
Use SQL Server Data Tools - Business Intelligence for Visual Studio 2012 to develop and maintain packages that are based on SQL Server 2012 Integration Services (SSIS).
For more information, please see:
Interoperability and Coexistence (Integration Services):
http://msdn.microsoft.com/en-us/library/bb522577.aspx?ppud=4
If you have any feedback on our support, please click
here.
Elvis Long
TechNet Community Support
Maybe you are looking for
-
How to read excel file in document library and store excel content in sql table
Hello, Can anyone help me how to read the excel file present in document library and store the content inside excel into sql table? Please let me know the ways to acheive this. Feel free to give your suggestions. Thanks, Cool Developer
-
i bought an iphone 5, i am giving my itouch to my daughter. I set up an itunes account for her, and would like to let her keep the music and apps on the itouch plus give her her own account to add to the itouch. how do I do this.
-
Every app is crashing including Apple apps.
-
Song wont play after sync help plz
When i plugged my ipod in2 the computer to sync new song some of them wont play all the way threw is there any way to fix this
-
How do SQR command line arguments work?
Hello, I am using sqrw version 8.52. I would like to run SQR's for testing purposes from the command line with no user intervention. I found documentation that says I can do something like this: "C:\Program Files (x86)\PT85206\bin\sqr\ora\BINW\sqrw