Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

korn shell problem

Status
Not open for further replies.

thomgreen

IS-IT--Management
Sep 4, 2002
56
US
I lost my root directory on a server. SUN tech came in delete what existed and restored from backup. I am having a problem with my Korn Shell scripts as root user. None are operating correctly. If you consider that this was a brand new install, is there anything that I would have to prep to assure that ksh executes scripts properly.

I am having the issue call from in and outside of cron.

I am using the following heading in the scripts and the ksh binary is in this location. I am fairly new to Solaris administration.
#!/usr/bin/ksh
 
this is correct.
what is your problem, error message ...
 
I am not getting an error message. the script just kills. I have noticed that the root directory is full (initially sized way to small). I am not sure if this has something to do with it. Do you have any advice on what to clean from the root directory. I was told by an SA at my company that this could be the cause of my issue.
 
yes tis is the cause.
you have to resize your disk partitions, i can tell you how, need the output of 'df -k' Einfachheit ist das Resultat der Reife. (Friedrich Schiller)
 
Is your ksh still in existence? ( ls -al /usr/bin/ksh ).
Just something else to think about. I suggest you follow jamisar's advice also.
 
Yes I checked my /usr/bin/ksh. I have made a decision to migrate my db's to another box and totally reconfigure the machine.

Thanks for the help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top