10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am installing Oracle DBD to PERL 5.16.3 and during make test , I am running into this error :rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/opt/oracle/product/11.2.0/racdb11204/lib" gcc -m32 -shared -O2 -L/usr/local/lib -fstack-protector Oracle.o dbdimp.o oci8.o -o... (3 Replies)
Discussion started by: talashil
3 Replies
2. UNIX for Dummies Questions & Answers
Hello,
A crontab script is failiing everyday but when we execute manually it runs fine
Below is the script scheduled:
00 23 * * * sh /db2backup/scripts/db2_hot_backup.ksh TRAVFF > /dev/null 2>&1
Error:
cat TRAVFF_online_04022014_2300.log
Started : Wed Apr 2 23:00:00 EDT 2014... (2 Replies)
Discussion started by: Vishal_dba
2 Replies
3. Shell Programming and Scripting
I have a following script to evaluate if file exist in the directory and then archive it.
#!/bin/bash
#master directory
scriptdir="/flex/sh/interfaces" #change this path only - all other paths are connected with it
filedir="/flex/interfaces" #change this path only - all other paths are... (3 Replies)
Discussion started by: viallos
3 Replies
4. Shell Programming and Scripting
I create a file that may contain several full path name files on a remote Linux that are to be copied. This file, called AWKOUTPUT is created from another script.
It contains:
X/picture1.png
The script is very simple
-------------------------------------------
REMOTEDIR="/var/CC/Stuff"... (4 Replies)
Discussion started by: mohrsville12
4 Replies
5. Shell Programming and Scripting
Hey all. Sometimes I'm tasked to change some router configs for the entire network (over 3,000 Cisco routers). Most of the time its a global config parameter so its done with a loop and an IP list as its the same configuration change for all routers. This is working OK.
However, sometimes an... (3 Replies)
Discussion started by: mrkz1974
3 Replies
6. Shell Programming and Scripting
So I have a script that monitors my drives (/dev/sda and /dev/sdb) using smartctl (smartmontools). I'm by no means an expert in scripting, so this was my attempt at creating a way to email me if one of the values in smartctl output goes above a set threshold.
My question is, I'm trying to edit... (5 Replies)
Discussion started by: bound4h
5 Replies
7. Shell Programming and Scripting
I have a script and code is like this ..
if ]; then
it's compiling about @ . what's the wrong in Solaris 10 with this?
Thanks (1 Reply)
Discussion started by: talashil
1 Replies
8. UNIX for Dummies Questions & Answers
i am basically DWH professional.
I want to
write a script such that whenver the file size is greather than 0 the script fails
plz help me in this (1 Reply)
Discussion started by: er_zeeshan05
1 Replies
9. Shell Programming and Scripting
Hi,
I'm ssh-in to a remote machine (ubuntu) and trying to execute a little script in there.The script looks like this:
ssh user@ubuntu <<EOF
cd ~/test
ls -l
echo "Continue counting files starting with a`s ?"
read answer
if
then
ls -l a*
else
exit
fi
EOF
Now everything works... (9 Replies)
Discussion started by: rubionis
9 Replies
10. UNIX for Advanced & Expert Users
Hi folks,
I have written down a UNIX script which actually FTP the file to other server. What is happening now , this script is not working only for 1 server , as it is working for 32 different FTP server .
In this particular server , we are getting message “FTp:550 access denied”... (1 Reply)
Discussion started by: khan1978
1 Replies