07-01-2012
Where is sqlplus located on the machine (mostly $ORACLE_HOME/bin)? Is that location a part of PATH value?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to write a script, in which I will connect to sqlplus and do a quary and then exit
sqlplus user/pwd@database
select count(*) from table
exit.
and write the result in a log file.
How to write it ?
Many thanks before. (1 Reply)
Discussion started by: big123456
1 Replies
2. Shell Programming and Scripting
I'm writting a shell script and at the begining I login to sqlplus by
sqlplus -l user_name/password@instance
what I would like is to check if the database is down or not , and if the database has started moved to the next step else sleep for a certain time and then check again .
I know how to... (4 Replies)
Discussion started by: aya_r
4 Replies
3. UNIX for Dummies Questions & Answers
I want to execute sqlplus command from unix environment.Infact I enter
the command
Here is what I entered.
$ pwd
/u01/app/oracle/product/9.2.0_64/TSTGDPB/bin
$ ls -l sqlplus
-rwxr-x--x 1 oragdpb oinstall 1062664 Oct 18 2005 sqlplus
$ whoami
bpt3a1
$ sqlplus
/bin/ksh: sqlplus: not... (1 Reply)
Discussion started by: MSHETTY
1 Replies
4. UNIX for Dummies Questions & Answers
hi,
I have this basic query.
I have created a new user on unix.
I have given home directory and permission through chmod to create directory stucture.
Now need to connect sqlplus. What permissions should we give, so that this works?
Any help is appreciated.
Thanks,
Neha (1 Reply)
Discussion started by: nehak
1 Replies
5. Solaris
Hi,
I am trying to execte the .sql file(which contain the two different sql query) from solaris script using sqlplus command, the script is executing successfully but the issue is when i execute the script, it is not terminating automatically, for example if i put one sql statement then i have... (2 Replies)
Discussion started by: jyotisree
2 Replies
6. Solaris
Hi friends
recently i have installed SXDE 1/08 into my machine,and i installed wifi driver also
its working fine,Recently i was unable to connect to Internet,I have not changed any configurations and any installations,thing is that i got my iwk0 interface is UP and IP address also and i can... (6 Replies)
Discussion started by: srinivas2828
6 Replies
7. Solaris
I upgraded my system to Solaris 11 and everything works but I can't start my database or what (I am a noob).
OS:
-bash-4.1$ uname -a
SunOS Solaris11 5.11 11.0 i86pc i386 i86pc
-bash-4.1$ isainfo -kv
64-bit amd64 kernel modules
Database version is 11g2 Enterprise edition, installed on... (6 Replies)
Discussion started by: solaris_user
6 Replies
8. Shell Programming and Scripting
I am trying to connect to SQL plus through unix but i am getting below error
'ksh: sqlplus: not found'
note i am running this from /home/xxx
do i need to set any environmental variable for this. below is my code
echo " hello world"
sqlplus -s apps/CAF78GEN<<EOF
set heading... (4 Replies)
Discussion started by: karnatis
4 Replies
9. Shell Programming and Scripting
I have logged into oracle using SQLPLUS. When I type any kind of query, there is only 1 answer - '2'.
What is wrong with it? (1 Reply)
Discussion started by: Subhasis
1 Replies
10. UNIX for Dummies Questions & Answers
I installed Oracle sqlplus on My Ubuntu 14.04 64bit version as per the instructions on:
help.ubuntu page (Unable to post the URL as i'm new user here).
I'm totally new to SQL and now i'm learning queries in my college.
I installed 64bit version of sqplus and run it executing the command:... (14 Replies)
Discussion started by: arjunmayilvagan
14 Replies
LEARN ABOUT DEBIAN
socklog-check
socklog-check(8) System Manager's Manual socklog-check(8)
NAME
socklog-check - checks for the availability of a socklog(8) service.
SYNOPSIS
socklog-check [-v] [unix [address]]
DESCRIPTION
socklog-check attempts to connect to a socklog(8) unix service and reports whether the connection attempt succeeded or not.
It connects to the datagram oriented unix domain socket address, and reports success through the return code. If address is not specified,
socklog-check attempts to connect to /dev/log.
When running services that use the syslog facility under runit's service supervision, socklog-check should be added to the top of the ser-
vice's run script to ensure that no syslog messages are generated until a syslog service is up and running to process the messages, e.g.:
#!/bin/sh
socklog-check || exit 1
exec service_using_syslog
OPTIONS
-v verbose. Print verbose message to standard error.
EXIT CODES
On success socklog-check returns 0.
On error, socklog-check prints a message to standard error and exits 111.
SEE ALSO
socklog(8), socklog-conf(8), svlogd(8), tryto(1), uncat(1), sv(8), runsv(8), runsvdir(8)
http://smarden.org/socklog/
http://smarden.org/runit/
AUTHOR
Gerrit Pape <pape@smarden.org>
socklog-check(8)