what caused no event found?


 
Thread Tools Search this Thread
Operating Systems Linux what caused no event found?
# 1  
Old 01-09-2012
what caused no event found?

I tried to run nohup command line on my Linux server to connect to a remote server, then execute Oracle binary to run a process at background. My Linux information looks like this:

oracle@myserver:/opt/oracle/scripts
$ uname -a
Linux myserver.domain.com 2.6.18-194.32.1.0.1.el5 #1 SMP Tue Jan 4 16:26:54 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

Then, I run command line like this:

oracle@myserver:/opt/oracle/scripts
$ nohup dgmgrl -silent sys/password@primary ‘start observer' &

The returning error message like this:

-bash: !@primary: event not found

What caused this "event not found" ? is the bash shell or by my oracle account login? I loginto Linux server with my individual passowrd, Then I
$sudo su - oracle, then enter my individual passowrd again into oracle user login path.

Then I run nohup command as sudo oracle. Is this the reason? Please help. Thanks.
# 2  
Old 01-17-2012
Quote:
Originally Posted by duke0001
$ nohup dgmgrl -silent sys/password@primary ‘start observer' &
You mean you're actually running dgmgrl with a password specified on the command line? That doesn't sound like a good idea.... But anyway. It's called history expansion and acts on the exclamation. It's silly nonsense that only happens in an interactive shell, for example:

Code:
mute@eeepc:~$ echo lkajdf!@primary
bash: !@primary: event not found

Either put single quotes around the argument, or turn it off with: set +H
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

/bin/bash: Event not found.

Hi I'm new to scripting - please help me... I'm trying to run a script written by a friend: #!/bin/bash for aStat in .... do .... done when coping the script to the terminal I get: /bin/bash: Event not found. for: Command not found. (7 Replies)
Discussion started by: atira
7 Replies

2. Shell Programming and Scripting

Cant get awk 1liner to remove duplicate lines from Delimited file, get "event not found" error..help

Hi, I am on a Solaris8 machine If someone can help me with adjusting this awk 1 liner (turning it into a real awkscript) to get by this "event not found error" ...or Present Perl solution code that works for Perl5.8 in the csh shell ...that would be great. ****************** ... (3 Replies)
Discussion started by: andy b
3 Replies

3. Post Here to Contact Site Administrators and Moderators

Unsure what caused an infraction on my account.

Hey everyone. I wasn't sure what it meant when my profile said it had 1 infraction against it, so I thought I'd check it out. Unfortunately, I can't find the post in question. The date from the post in question is 07-09-2008 at 04:24 AM, but from what I can tell is marked as 'private'. I'd... (2 Replies)
Discussion started by: glen.barber
2 Replies

4. Shell Programming and Scripting

syntax error near unexpected token...what caused?

Dear all, When I tried to run receive.sh,it returned following errors. syntax error near unexpected token `do #!/usr/bin/ksh GlobalValueReceive=r GlobalValueWorking=w GlobalValueTemp=t $exec 0<Property while read LineInProperty do if then $GlobalValueReceive =... (8 Replies)
Discussion started by: joshuaduan
8 Replies

5. UNIX for Dummies Questions & Answers

why emacs caused "command not found" error

I installed Red Hat Enterprise Linux 5 on my PC. When i typed 'emacs' on the console, "command not found" error occurrd. Why. :mad: (1 Reply)
Discussion started by: cy163
1 Replies

6. Shell Programming and Scripting

0: Event not found. in tcsh

Hello all I have this simple script that checking if file exist but when Im running it im getting error here is the script : #!/usr/bin/tcsh -fx set mod_test = "mod_test" if (-e $mod_hsf) then echo "File Here !!" else echo "File Not Here !!" endif And here is the error .. ... (1 Reply)
Discussion started by: umen
1 Replies
Login or Register to Ask a Question