You are missing something in your environment varaibles, this will show what the problem is:
Read the log for the error. Why did you use set `command` if there is nothing else in the script? That is, instead of just a here doc. Plus the syntax is "set - `command` ", if I understand what you are doing.
Hi ,
i have created an .sh file that has the following code:
#!/bin/ksh
sqlplus -s p1istuat/p1istuat@CWS_IST6 @Procedure_Execute.sql &
sqlplus -s p1istuat/p1istuat@CWS_IST6 << EOF
exit
EOF
The mentioned Procedure_Execute.sql file inside has the following code:
exec TEST;
... (5 Replies)
Hi Guys,
I am trying to tun a oracle proedure throgh unix shell script but it is not running i dont know why ? i have tested this procedure in sqlplus and it was working fine.
can you see the script and sql file and let me know where is my mistake.
script:bm_chart_table_loading.sh
... (3 Replies)
Hi All.
I created a cronjob entry and for some reason it is not executing. The script that it is suppose to call sends me an email when it is done. When I run the job manually it executes fine. This how my cron entry looks:
00 14 * * * /home/oracle/scripts/bin/free_space/free_space.sh 2>$1... (5 Replies)
Hello,
I created a sql file to create a Procedure, and it was successfully created.
I created a sql file to execute the procedure, and it did without any errors, but i dont see the data been updated.
The Execute procedure.sql script is:
BEGIN
set serveroutput on size 1000000
execute... (5 Replies)
Hi,
I want to have a automted script to exceute 20 procedures one by one.
Suppose below is one procedure once it get executed script will write
"PL/SQL procedure successfully completed." to a log
for ex-
exec dbms_stats.gather_table_stats();
Now later procedure starts executing... (1 Reply)
HI All ,
I am new to oracle procedures. Please help me for the approach to satify the requirement.
I need to create procedures. with parameters passed ( say report,type,identities,country )
It should also call sql query within the procedures and passed parameters should be used in where clause... (2 Replies)
Hi all,
My oracle procedure returns more than one value.
i need to get one value at a time upto ending value ina shell script.
Please help me..... (9 Replies)
hi all,
i have a unix script where i am calling a database procedure from it. while executing the procedure i am getting an error:
but when i tried to call the same procedure manually then it ran successfully, i goggled this issue and found timezone.dat file missing at... (0 Replies)
below code is not executing the stored procedure,not sure what the issue.Even sqllog is blank.please help me its very urgent.
sqlplus -s $connect_str@$DB_ORACLE_SID >> ${SQL_LOG_FILE} << EOF
set serverout on
set feed off
set head off
set pages 0
set colsep ,
set tab off
set lin 150... (3 Replies)
Discussion started by: katakamvivek
3 Replies
LEARN ABOUT DEBIAN
checkpw
checkpw(8) System Manager's Manual checkpw(8)NAME
checkpw - checks password against the file ~/Maildir/.password
SYNOPSIS
checkpw prog
DESCRIPTION
checkpw reads descriptor 3 through end of file and then closes descriptor 3. There must be at most 512 bytes of data before end of file.
The information supplied on descriptor 3 is a login name terminated by , a password terminated by , a timestamp terminated by , and
possibly more data. There are no other restrictions on the form of the login name, password, and timestamp.
If the password is unacceptable, checkpw exits 1. If checkpw is misused, it may instead exit 2. If there is a temporary problem checking
the password, checkpw exits 111.
If the password is acceptable, checkpw runs prog.
prog consists of one or more arguments.
Compatible tools
There are other tools that offer the same interface as checkpw
Note that these tools do not follow the getopt interface. Optional features are controlled through (1) the tool name and (2) environment
variables.
The password database
checkpw checks the password against the content of the file Maildir/.password in the user's home directory corresponding to the login name.
Maildir may be overidden through the environment variable $MAILDIR.
Process-state changes
Before invoking prog, checkpw sets up $USER, $HOME, $SHELL, its supplementary groups, its gid, its uid, and its working directory.
FILES
~/Maildir/.password
SEE ALSO checkapoppw(8), qmail-popup(8), qmail-pop3d(8)AUTHOR
This manual page was written by Gerrit Pape <pape@smarden.org>, for the Debian GNU/Linux system.
checkpw(8)