scripts no longer running (solaris 8)


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users scripts no longer running (solaris 8)
# 1  
Old 01-25-2006
scripts no longer running (solaris 8)

hello:

I am a somewhat experienced unix user, but brand new to this forum. I am encountering a strange new problem.

I have a shell script called foo.ksh it has been running for years (literally) on my Sun (Solaris 8) machine.

Recently we put a version of samba on this machine to streamline a backup process. now I can no longer run this script.

I have checked and reset the permissions on the file to 777 just to make sure. I have copied the file to another file name. nothing allows this to run.

Any help would be most appreciated.

Thanks

smcadoo
# 2  
Old 01-25-2006
A little more information

The system is saying that the script is not found. Yet I can list it, more it and edit it.

I simply cannot run it without reading

foo.ksh not found
# 3  
Old 01-25-2006
Your PATH probably does not have . anymore (which is a good thing!). Try:
./foo.ksh
# 4  
Old 01-25-2006
New user opens script in windows editor

puts unwanted marker ^M at the end of every line.

Really gums up the works.

Thanks for helping me.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

awk program date function no longer running

I work at a company that uses a program written in AWK to track various data and prepare reports. Worked with this program for three years plus (the author is no longer with us) and the YTD Production report will not return a report with a date after 123119. This is a problem. Below is the (I... (3 Replies)
Discussion started by: paulgdavitt
3 Replies

2. UNIX for Beginners Questions & Answers

How to check the processes running longer than 2 hours.?

HI can someone help me to check the process running more than 2 hours. I have the below command which shows the time and process id, however, I only need the processes running more than 2 hours. (8 Replies)
Discussion started by: Vinod
8 Replies

3. Shell Programming and Scripting

Solaris: New files in a directory for longer than 1h

Hi guys, I have an interesting problem. I have looked on the forums for simular solutions but i need a differnt approach. On an evening i have files that are created and sit in a directory, then someone will send these files on. Sometimes they forget..... I am trying to create something... (7 Replies)
Discussion started by: twinion
7 Replies

4. Solaris

Copy via samba on vmware workstation with Solaris taking much longer than usual

i have a vmware workstation with solaris 10 installed on this. i copying 2 gb data via samba from windows to this vmware workstation. copy speed is 24 kb/sec. how i can speed up this copy process ? (7 Replies)
Discussion started by: rehantayyab82
7 Replies

5. Solaris

Graphical program no longer works after Solaris 10 upgrade

This is a fairly complex issue. I do not have a lot of knowledge on X11. But here are the things. I am running a program called Synergy off a Solaris server. The server sits in a remote network and can be accessed via NAT. Using Putty, I will enable X11 forwarding and launch Synergy via Putty.... (0 Replies)
Discussion started by: Leion
0 Replies

6. Solaris

solaris 10 mysql no longer able to restart

Came in tonight, and some people started getting this error message note: users were getting this error in IE6 and in firefox, pages seemed to process fine in Chrome. :confused: anyway... So I decided to restart the MySQL service, now it will not restart. First tried: root@bender:/>... (2 Replies)
Discussion started by: ippy98
2 Replies

7. Shell Programming and Scripting

Running scripts within scripts from cron

Hi all, I have set up a cron job which calls another shell script shell script which in turn calls a Java process. The cron tab looks so. 0,30 7-18 * * 1-5 /u01/home/weblogic/brp/bin/checkstatus.sh >> /u01/home/weblogic/logs/checkstatus.log The checkstatus.sh scripts looks like this. ... (4 Replies)
Discussion started by: sirbrian
4 Replies

8. Shell Programming and Scripting

Running scripts via su

Hi All, Am using the below command to start my application using the root user su - bin -c "/home/bin/test/start.sh" but am getting the error becaue i have set some environment varibales in bin .profile when i execute the command start.sh by logging directly into bin account it's... (8 Replies)
Discussion started by: ravi.sri24
8 Replies

9. Shell Programming and Scripting

Running scripts in parallel

Hi, Iam having the scripts as follows. i jus want to run those in parallel. main aim is to minimise the time for overall execution of the script. now out.txt is having 1 lac records. script1(split.sh) split -1000 out.txt splitout ls -A splitout* > filelist.txt cat filelist.txt... (6 Replies)
Discussion started by: nivas
6 Replies

10. UNIX for Advanced & Expert Users

unix shell scripts for running on solaris

am new to programmming any body suggest , how to execute, shell script interactively and like stream line edit (3 Replies)
Discussion started by: srini_ibmadmin
3 Replies
Login or Register to Ask a Question