11-09-2010
thanks you!!
Thanks for helping...
a sample of my an error in the log would be: (ip and port is replace by X's)
11-04 06:56:46 LOG ERROR Socket Read Error
11-04 06:56:46 LOG DEBUG -> ConnInfo=2xx.2xx.1xx.xx,xxxxx,N/A,N/A<28>
11-04 06:56:46 LOG DEBUG -> Exch=NAMEOFEXCHANGE<9>
11-04 06:56:46 LOG DEBUG -> Status=DOWN<4>
a sample of a good log is a little different: It does not really have a connected sign, it is just different that the error log.
11-05 06:51:56 LOG INFO Reading the socket for data , if any.....
11-05 09:11:02 LOG DEBUG Total msg received: >X<
11-05 09:11:02 LOG INFO Raw Body Msg
I used your script and modified it, however I can not get it to email any status. When I run the script I get the message at the end of the script
"Socket State not found, please check access and content of (Value of $(LOGFILE))"
Does this mean that the script can see the file?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want a script which will run in the background.
$ sh s.sh&
523
Then this script should provide input to the Login command.
$ login
login:
i.e instead of the user typing in the username and password, the script running in the background should provide the username and password assuming... (1 Reply)
Discussion started by: rahulrathod
1 Replies
2. AIX
hi all,
i do search for a file in solaris box in the following format
find / -name 'file' -print 2>/dev/null
i tried the same thing on AIX box;
as i am searching from the root the same way i redirected the errors to /dev/null but find is showing strip off errors and when i just continued... (1 Reply)
Discussion started by: matrixmadhan
1 Replies
3. Programming
I am calling "void syslog(int, const char *, ...);" from my c++ application (definition taken from man page for syslog.h". Is there any way to detect that the syslog is not working, so that I can re-direct logging information to stderr?
Thanks in advance.
David (2 Replies)
Discussion started by: dmirza
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
If in a shell script i write a command
ls > bla &
ls
The output is redirected to bla and the next ls starts as first one is going on in background.
I want to find the PID of the first command.
Thanks in advance (2 Replies)
Discussion started by: vibhor_agarwali
2 Replies
5. UNIX for Advanced & Expert Users
Hi All,
when is run this manually it work's
i am UNable to get the proper .sql so that i can use this in my input file. I need to do this way only bcz of requirment.
Sample script
isql -Sxxx -Usa -Pyyyy -D master -o "abc_script.sql" << EOF
echo USE master >> "abc_script.sql"... (1 Reply)
Discussion started by: oracle_coorgi
1 Replies
6. Shell Programming and Scripting
I trying to write a script in bash that take a list of users in “fileA” and searches another list user in “fileB” if the user does not exist in “file B” write the user to another file “file C”.
Please note “fileA” and “fileB” contains over 1000 users
Basically
“fileA” “fileB”
... (2 Replies)
Discussion started by: hassan1
2 Replies
7. Programming
Hello,
Can some one help me by writing me the script of a program that does the following simple functions on a Linux Mint:
1. it runs in the background all the time, doing nothing except of checking if there is any external device mounted.
2. when the device is detected, it copies files... (1 Reply)
Discussion started by: Black_Ardilla
1 Replies
8. What is on Your Mind?
For the first time in the history of the site Google Search Console (GSC) has unix.com showing "no mobile viewability errors". This is no small achievement considering the hundreds of thousand of lines of legacy code we run at a site which has been around much longer than Facebook or LinkedIn:
... (0 Replies)
Discussion started by: Neo
0 Replies
9. What is on Your Mind?
Getting a bit more comfortable making quick YT videos in 4K, here is:
Search Engine Optimization | How To Fix Soft 404 Errors and A.I. Tales from Google Search Console
https://youtu.be/I6b9T2qcqFo (0 Replies)
Discussion started by: Neo
0 Replies