03-18-2014
The scripts we were calling were all there. I would cd to their directory and check they were there with an ls before calling them.
The cp command was completely successful. The thousands of files were all copied to the other directory without issue. We had a nightly backup fail that same night so that might be more related to the actual problem than the copy command, unless there was some sort of struggle for control between them. However they've run simultaneously in the past without issue.
Nothing showed in errpt. I didn't check PATH but someone else might have.
To resolve the problem, our networking team did a reboot of the server. From what I understand, just to do that they had to do some sort of adjustment to /etc/rc.shutdown. After the reboot, everything was back to normal.
10 More Discussions You Might Find Interesting
1. Programming
$ make
ksh: make: not found
Hello, when i use the "make" command in Solaris, it says the "make" command is not found!
Any help appreciated!
BobK (3 Replies)
Discussion started by: bobk544
3 Replies
2. Shell Programming and Scripting
Hi All,
I am trying to run a script to FTP files from one UNIX server to another UNIX server. Actually I can able to FTP file successfully by manually or paste whole script at prompt. But when I am trying to run script it is giving error.
Please let me know the cause.
#!/bin/sh... (3 Replies)
Discussion started by: nz80qy
3 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
I am new to solaris world but worked in unix for a while . I have this solaris box version 8 .I am trying to run a simple unix file . Q.shl
cat Q.shl
#!/bin/ksh
db2 get connection state
When I run the file I get following error :
Q.shl
ksh: Q.shl: not found
This is... (6 Replies)
Discussion started by: capri_drm
6 Replies
4. Shell Programming and Scripting
Hi,
I have a strange problem and I'm sure its because I'm doing something stupid.
When I loop through all of the files in a directory they cannot be found.
Any help would be greatly appreciated.
Thanks,
-E
$ touch a.txt
$ touch b.txt
$ ls
a.txt b.txt
$ for f in `ls` ; do... (3 Replies)
Discussion started by: earls
3 Replies
5. Shell Programming and Scripting
I've a simple .sh file:
#!/bin/ksh
sort -t: -k 1.13,1.13 -k 1.16,1.29 sort.txt > output.txt
When i try to run this sort.sh file
./sort.sh
it gives me the error:
ksh: ./sort.sh: not found
I've tried the following:
1) echo $SHELL
/bin/ksh
2) echo $PATH... (4 Replies)
Discussion started by: kajal_ind
4 Replies
6. Shell Programming and Scripting
Hi all,
I need to replace certain robots.txt files with an empty file. I use the following to find the files I want to empty out:
find /Sites -type f -name "robots.txt" -exec grep -il "STAGE" {} \;
(finds all robots.txt files which contain the string 'STAGE')
Now what do I add to this... (3 Replies)
Discussion started by: Evert
3 Replies
7. Shell Programming and Scripting
Hi,
i used to run oracle queries in unix and then transfer the result in to csv files. it was working fine for a month.but today it showed an error like
ksh>dimens_minus_scpt.sh not found.
Can someone please help.
Thanks.
:wall: (4 Replies)
Discussion started by: varadharajan87
4 Replies
8. Shell Programming and Scripting
I have a config file with a bunch of these type of blocks:
<concat destfile="${standard.js.file}" append="true">
<filelist dir="${js.dir}/foo" files="foo.js, foo2.js"/>
<filelist dir="${js.dir}" files="foo3.js"/>
<filelist dir="${js.dir}/bar/js"... (11 Replies)
Discussion started by: Validatorian
11 Replies
9. Shell Programming and Scripting
I am using a perl file to run a batc job from unix prompt. I am inside the correct directory where the perl file is located. I can even find the file using ls command. But when I run the perl file , it says 'ksh: <perl_file.pl> not found'.
Could anyone please let me know what is wrong? (4 Replies)
Discussion started by: Subhasis
4 Replies
10. Shell Programming and Scripting
Hi, I have a control file which will contain all filenames(300) files. Loop through all the file names in the control files and check the existence of this file in another directory(same server). I need to infinitely(2 hrs) run this while loop until all the files are found. Once a file is found,... (5 Replies)
Discussion started by: laknar
5 Replies