Sponsored Content
Top Forums Shell Programming and Scripting Start Script on system reboot Post 302953706 by thinkingeye on Monday 31st of August 2015 12:51:34 PM
Old 08-31-2015
Quote:
Originally Posted by jim mcnamara
oracle has a statup/shutdown file called oratab. If you could tell us what your OS is we could probably tell you where it is, minus that the find command is your friend.

Read up on oratab syntax first - you are allowed to call ONE shell script per db.
The file is used both for startup & shutdown. If you have oracle installed you probably have the file. A companion file is oraenv.

Oratab - Oracle FAQ

PS your file should be /etc/oratab
https://community.oracle.com/thread/2538383
Thanks Jim,
There are start and stop files. I have this process which needs to startup a service once the "Foundationstarted.txt" exists. The .sh script should come into play as soon as the system reboots. so whenever the linux (gnu/linux) box is rebooted this ".sh" should be executed and this will keep looking for the "Foundationstarted.txt" file every minute until it finds it and then once it finds it restart the Essbase services.
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Intermitent System Reboot's

Hi all, Just started holidays (ya!) and Murphy's Law has kicked in already (doh!). I'm looking after (when at work) two SCO 5.0.5 Systems running on Netfinity 5500 Servers (Model # 8662-3RY). Every once and a while the production server just reboot's itself. There is no mention of a cause... (8 Replies)
Discussion started by: Cameron
8 Replies

2. UNIX for Dummies Questions & Answers

System Reboot Dates

Hi, Can someone advise me how to find the last system rebooted date(s)? Thanx N Regards, Hush (2 Replies)
Discussion started by: hush
2 Replies

3. Solaris

system self reboot

dear all, I have 2 T2000 with solaris 10 and oracle 10g installed on it. these two servers are rebooted by itself. could anyone help me investigate the cause. the message log is attached thanx, (3 Replies)
Discussion started by: fsmadi
3 Replies

4. Solaris

System Reboot Log

Hello Everyone , I am a new member to this forum and came to know about this from so many of my friends . I face one issue last day when suddenly the system got rebooted ( But don,t know why ) . Can someone please help me in investigating this issue as to why the system got rebooted and who... (4 Replies)
Discussion started by: gera_sachin125
4 Replies

5. Linux

xinetd @system reboot

Hi, Once again I came to get rescued in a situation where one of my workstations has this ierd thing that "xinetd" won't start at reboot or shutdown. I have done the follwoing but no change in results. chkconfig --list xinetd xinetd 0:off 1:off 2:on 3:on 4:on 5:on ... (2 Replies)
Discussion started by: harjitsingh
2 Replies

6. Solaris

system reboot procedure

Hi all, i want to know the procedure reboot the server through console if the system is completely down.Please help me if anybody knows this. I would really thanfull to all. regards Krishna Murthy (1 Reply)
Discussion started by: murthy76
1 Replies

7. AIX

Q: how to start a service when system start

As topic, assume we have a service called "blahservice" and we can start it by: startsrc -s blahservice what is the best practice to run such command when system start? - directly use mkitab to add it into /etc/inittab or - drop startup scripts in /etc/rc.d/rcX.d I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies

8. Shell Programming and Scripting

Executing script at system start up

Hi I had written a piece of script . Please let me know is it possible to run / execute this script at system startup ?? Thanks in advance . (5 Replies)
Discussion started by: Ravi Pavanv
5 Replies

9. Red Hat

Disable xen machine to auto start on reboot

Hello Guys - I need to disable xen server not to start when the server is rebooted. 1) What is the parameter to be used to do this..below is the entry in my config file... on_reboot = "restart" 2) What is the default behaviors of the xen on reboot ? in case we comment this line from config... (0 Replies)
Discussion started by: saurabh84g
0 Replies

10. UNIX for Beginners Questions & Answers

Iso - remaster script trying to start chroot run commands then exit but host system gets messed up

The script works and creates a modified iso fine until I added the chrootbeg and chrootend functions and executed them. I'm sorry if I did something wrong this is my first post. I uploaded entire bash script for reference or in case you want to run it to debug it is called isoremast.txt. ... (5 Replies)
Discussion started by: paulhoffusa
5 Replies
FIRESTARTER(8)						      System Manager's Manual						    FIRESTARTER(8)

NAME
firestarter - program to manage and observe firewalls SYNOPSIS
firestarter [options] DESCRIPTION
This manual page documents briefly the firestarter command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in html format (see below). firestarter is a GNOME program that will help you in configuring and monitoring a GNU/Linux firewall using either ipchains or iptables. OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. --generate-scripts Generate firewall scripts from current configuration. If firestarter is updated and you don't want to run the GUI, the scripts in /etc/firestarter are not up-to-date. So you have to run firestarter with this option to update the scripts. -h, --help Show summary of options. --lock Lock the firewall, blocking all traffic. -p, --stop Stop the firewall. -s, --start Start the firewall. --start-hidden Start firestarter with the GUI not visible. -v, --version Show version of program. SEE ALSO
This program is fully documented in http://www.fs-security.com/docs/. AUTHOR
This manual page was written by Ryan M. Golbeck <rmgolbeck@debian.org> and later revised by Rene Engelhard <rene@debian.org> and Yann Ver- ley <yann.verley@free.fr> for the Debian GNU/Linux system (but may be used by others). November 26, 2004 FIRESTARTER(8)
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy