Can somebody help me check over my shell scripts??


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Can somebody help me check over my shell scripts??
# 1  
Old 06-12-2014
Can somebody help me check over my shell scripts??

I been having a lot of trouble trying to start up a 3rd party application in Solaris 7 but it seams that its missing entry's when trying to run the files so maybe the start shells scripts have errors and maybe thatr is what is causing the issues I have added two links to the shells can anyone check them out to make sure there no errors?

http://www.livve.com/start-dbfront

http://www.livve.com/sub_start-dbfront

Thanks a lot.
# 2  
Old 06-12-2014
Why are you using Solaris 7? You might want to update your OS to something more current like Solaris 10, which is only 9 years old. Solaris 7 is almost 16 years old. How old is your hardware?!?! Are you using an ultraSparc?

You need to ensure that your start up scripts are written for the bourne shell, and that they are doing logging. Make sure you look through the /var/adm/messages directory for the boot log to see if you trapped any errors during the boot process.
# 3  
Old 06-12-2014
And what issues are you having? What are people supposed to be looking for? It's pretty tough to crawl through a lengthy script looking for errors when the "issues" are unknown
# 4  
Old 06-12-2014
legacy scripts running on legacy hardware we want to upgrade but we need to get orignal software running on the server/OS it was designed for before we even upgrade.

here my log

http://www.livve.com/dbfront.log

thats errors i get when running scripts
# 5  
Old 06-12-2014
Only issues I see are the lack of "quotes" but that's common in these things. No one expects filenames to have spaces (which is usually true).

So perhaps the error is in how they're invoked? Or how it's all configured
# 6  
Old 06-12-2014
If you can't get the application running on boot, then have you been able to start the application from a command prompt? If all you want to do is get the software running so that you can migrate it, then you just need to fix the scripts so that they can get manually started, then figure out how to migrate to a newer application running on a newer OS and hardware.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to check sub scripts execution?

I have a shell script which is used to get the input and have another shell script (a sub script) at the end of this shell script which is used to upload the inputs in the Oracle database. I can check the execution status of the parent script using sh -x script.sh. but this command doesn't show the... (1 Reply)
Discussion started by: srilaxman
1 Replies

2. Shell Programming and Scripting

How to pre-check scrutinize all my shell scripts?

I have a few shell scripts. I need to run them on Flavors of Unix and Linux OS. The problem occurs that a set of commands in the script fail on one Operating System or the other. Below are a list of few commands that did not work on all operating systems i tested specifically becoz they... (15 Replies)
Discussion started by: mohtashims
15 Replies

3. Shell Programming and Scripting

Check existence of a number of files and call other scripts

Hi, I am new to unix scripting and am jus getting to learn about it.. I need to know on how to check for the existence of a number of files in a path..i.e the files are ftp'ed from several other servers, should check if all the files have arrived, if not wait till they arrive..can i use a flag... (5 Replies)
Discussion started by: yohasini
5 Replies

4. Shell Programming and Scripting

calling 'n' number of shell scripts based on dependency in one shell script.

Hello gurus, I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script. i m looking for something like this call 3.1; If 3.1 = "complete" then call 3.2; if 3.2 = ''COMPlete" then call 3.3; else exit The... (1 Reply)
Discussion started by: shashi369
1 Replies

5. Shell Programming and Scripting

check exit status of bg scripts

HI All, I am running one shell script, in that script i am calling 4 scripts in the background. abc.ksh & efg.ksh & xky.ksh & mno.ksh & please let me know, how could i find the success and failure of each script. i Cannot use $?, because i want to run all the scripts in parellel. ... (2 Replies)
Discussion started by: javeed7
2 Replies

6. Shell Programming and Scripting

1 script or multiple scripts?? - check files, run jobs

Question for anyone that might be able to help: My objective is to eheck if a file (a source file) exists in a directory. If it does then, I'd like to call an application (Informatica ETL file...not necessary to know) to run a program which extracts data and loads it into multiple targets. ... (6 Replies)
Discussion started by: jnanasakti
6 Replies

7. Shell Programming and Scripting

Check if script run by a user directly or via other scripts

Hi, i have a script 'a.sh' that should be called only by certain scripts like b.sh, c.sh Inside a.sh, how can i determine 1) if this script was run directly from command prompt (or scheduler) 2) if called via other scripts? Is there an easy way to get parent process name (not just pid),... (2 Replies)
Discussion started by: ysrinu
2 Replies

8. Shell Programming and Scripting

my scripts does not check if directory exists

Hello: Can someone please help me figure out what is wrong here, my script does not move on to the "else" part even though there is no .ssh directory on my remote server: $more putkey.sh #!/bin/ksh for server in `cat list` do if ; then cat $HOME/.ssh/id_rsa.pub |ssh $server ' cat >>... (4 Replies)
Discussion started by: Sara-sh
4 Replies

9. UNIX for Dummies Questions & Answers

How to check the unix scripts currently running

I have a Unix box abcd, where I have script1, script2 and script3 running. I have to write a 4th script script4 which would check my box(abcd) and kill all running scripts. How can I do that? (3 Replies)
Discussion started by: Sibasish
3 Replies

10. AIX

Difference between writing Unix Shell script and AIX Shell Scripts

Hi, Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies
Login or Register to Ask a Question