LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-25-2010, 01:51 PM   #1
vaibhavs17
Member
 
Registered: Mar 2009
Posts: 49

Rep: Reputation: 1
script is not working


Hi All,

Please help on below snippet of code.

below snippet of code is working on some environment...but onother it is now working saying invalid username/password

local SPOOL_FILE=$TMPDIR/sac_rtba_check.$$
rm -f $SPOOL_FILE
sqlplus -s /nolog <<-! > /dev/null
whenever sqlerror exit 1
whenever oserror exit 1
connect $DSUSER/$DSPASS$sqlnetDB
invalid username/password

Thanks,
vaibhav
 
Old 08-25-2010, 02:58 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,316

Rep: Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878
Quote:
Originally Posted by vaibhavs17 View Post
Hi All,

Please help on below snippet of code.

below snippet of code is working on some environment...but onother it is now working saying invalid username/password

local SPOOL_FILE=$TMPDIR/sac_rtba_check.$$
rm -f $SPOOL_FILE
sqlplus -s /nolog <<-! > /dev/null
whenever sqlerror exit 1
whenever oserror exit 1
connect $DSUSER/$DSPASS$sqlnetDB
invalid username/password

Thanks,
vaibhav
Help with what??? You don't say what version/distro of Linux, what the rest of the script looks like, where it gets those variables, etc.

If it says "invalid user name/password", then I'll take a wild guess that the user name or password is wrong. Fix it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] df script not working kma07 Linux - Newbie 2 07-22-2010 01:07 AM
Crontab is not working, the script is working arfal SUSE / openSUSE 6 02-08-2010 09:48 PM
startup script not working! Deewanagan Linux - General 14 12-23-2009 10:01 AM
SH Script not working PEACEYALL Linux - General 3 03-21-2005 09:58 AM
Help get this script working please rickenbacherus Linux - General 2 03-24-2004 07:25 PM


All times are GMT -5. The time now is 06:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration