The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Running scripts from home mastachef UNIX for Dummies Questions & Answers 2 12-07-2007 06:51 PM
running multiple scripts nvuradi Shell Programming and Scripting 3 08-13-2007 09:53 AM
Running scripts parallely santho UNIX for Dummies Questions & Answers 4 07-23-2006 12:42 PM
Running three scripts parallelly anwarsait Shell Programming and Scripting 1 07-18-2006 01:20 AM
unix shell scripts for running on solaris srini_ibmadmin UNIX for Advanced & Expert Users 3 06-07-2006 03:28 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-25-2006
smcadoo smcadoo is offline
Registered User
  
 

Join Date: Jan 2006
Location: Boston
Posts: 3
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 (permalink)  
Old 01-25-2006
smcadoo smcadoo is offline
Registered User
  
 

Join Date: Jan 2006
Location: Boston
Posts: 3
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 (permalink)  
Old 01-25-2006
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
Your PATH probably does not have . anymore (which is a good thing!). Try:
./foo.ksh
  #4 (permalink)  
Old 01-25-2006
smcadoo smcadoo is offline
Registered User
  
 

Join Date: Jan 2006
Location: Boston
Posts: 3
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:49 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0