1 script 8 boxes and it is erroring on 3 of them

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 1  
1 script 8 boxes and it is erroring on 3 of them

am trying to place a script from one hp11-unix box (where it works) onto three others where it won't.
I am using csh and in the script I use the lines

set F_SYSTEMS=(/dbs01 /dbs02 /dbm01 /dbm02 /ora_home/app/oracle)

on this one the three others throw up on pulling the files. there should be 3 files pulled for ora_home. The 2 that are missing are
/ora_home/app/oracle/product/10.2 and

It also won't pull them if I give the complete file name.

The other point it is erroring on is


grep -v Filesystem ${WRKFILE} | grep % | tr -s "" " " | sed -e 's/^

On two of the scripts it doesn't recognize bdf, yet if I change it to df it errors df: open of /db01 failed

I am getting really frustrated and cannot seem to figure these out.
The script is the same on all 4 boxes , but obviously the boxes are exactly the same.
# 2  
what are the permissions on /db01 and the underlying mount point?

and is it different then the other servers?
# 3  
thanks for your help!!!

you started me thinking in another direction and I got them to work.
one of the things I needed to do was include the entire path for those directories. What I had tried before turned out to be only a partial path, and the system didn't recognize it. I know, duh......
Anyway, I got them to work, so thanks again
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #333
Difficulty: Easy
Linux was first developed as an alternative to Windows XP.
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk problem - erroring out - unexpected token

can anyone help identify where the issue is here? awk 'BEGIN { c="perl -e 'print scalar(localtime("'${EPOCHTIME}'")), "\n"'"; c|getline; close( c ); print $2" "$3" "$4" "$6; }' bash: syntax error near unexpected token `(' can't seem to figure it out. i tried this: awk 'BEGIN {... (5 Replies)
Discussion started by: SkySmart
5 Replies

2. Shell Programming and Scripting

Need a script to scp a file to multiple boxes

Hello All, I am new to scripting and I am trying to write a script which can scp a file from one box to multiple boxes. I am thinking to do like this. 1) create a file with list of all server names 2)write a script which will pick up each server line by line from server list and copy it to... (1 Reply)
Discussion started by: sintilash
1 Replies

3. Shell Programming and Scripting

shell script to collect information from current and remote unix boxes

I am using AIX ; I need a script to find out each remote AIX boxes Hostname, Model name and Serial number in following format Hostname Modelname SerialID AIXMC01 IBM,7026-B80 IBM,0110BBA1F AIXMC02 IBM,7026-H50 IBM,0110BBA56 AIXMC03 IBM,7026-H50 IBM,0110BBARR... (12 Replies)
Discussion started by: amir07
12 Replies

4. Shell Programming and Scripting

Shell script to login into multiple linux boxes

I have requirement to login into a multiple linux boxes by running the shell script in a single linux box and to find the count of files in a specific folder in each box and log them in a log file in the box where i m runnning the script. Box names will be stored in a text file host.txt. Please... (2 Replies)
Discussion started by: Mani2512
2 Replies

5. AIX

mtime command erroring

I am calling this paramters from a controlfile CONTROLFILE="/u01/scripts/admin/filesystem.ctl" SEARCH_PATH="`grep SEARCH_PATH $CONTROLFILE | awk -F: '{print $2}' `" FILE_TYPE="`grep FILE_TYPE $CONTROLFILE | awk -F: '{print $2}' `" DEL_RETENTION_SIZE="`grep DEL_RETENTION_SIZE $CONTROLFILE |... (5 Replies)
Discussion started by: javeedkaleem
5 Replies

6. Shell Programming and Scripting

Need a help in the Shell script which is erroring out

Hi all I want to add this line after a line This is the line which needs to be add after the word permission echo 'profile: /export/home/unix1/auto.pr' >> $xxyy if ;then cd $unixserv/unix sed ' /permission/ a\ echo 'profile: /export/home/unix1/auto.pr' >> $xxyy... (13 Replies)
Discussion started by: ranga27
13 Replies

7. Shell Programming and Scripting

I need a Script to rsh multiple hp boxes and shutdown

Hello I'm serving on a ship that has frequent power issues. Currently if we loose power we need to rush around to multiple UNIX machines and login to Sysadmin and power down each machine before we loose our ups. If sysadmin is asleep or not in the space we have some real problems. I would like to... (2 Replies)
Discussion started by: blackfam972
2 Replies

8. UNIX for Dummies Questions & Answers

Getting one script to run on multiple boxes

I have a script that generates an output file after pulling data from a local DB on one of my boxes. There are other nearly-identical boxes on the network, each with their own local DB, and I'd like to run the script there too. Copying the script to each box and then running them individually... (11 Replies)
Discussion started by: bschnair
11 Replies

9. Programming

text boxes, radio buttons , check boxes in c++ on unix

Hi ! Please tell me how to get radio buttons, text boxes , check boxes , option buttons , pull down menus in C++ on Unix. I think it would be done using curses.h ..but that's all i know. TIA, Devyani. (3 Replies)
Discussion started by: devy8
3 Replies

Featured Tech Videos