Programming :: START And STOP Oracle Automatically On System Startup And Shutdown?

Aug 17, 2009

I have installed Oracle 11g on 5.3. Now, I am trying to START and STOP oracle automatically on system startup and shutdown. I am following this link To have this effect, I have created /etc/init.d/dbora

Code:

#!/bin/sh
# chkconfig: 345 99 10
ORA_HOME=/oracle/app/oracle/product/11.1.0/db_1

[code]....

View 4 Replies


ADVERTISEMENT

Programming :: Script To Check Startup For Start Restart Stop Centos?

Jun 16, 2010

I have startup scriptsI want to test themI need a script to do the followingstart restart stop for 100 times (or i can set how many cycle)

View 1 Replies View Related

Fedora :: Automatic Start Stop Script For Oracle 11g?

Aug 28, 2010

i finished installing oracle 11g r2 with EM but i cant find any good script that will close the database completely before rebooting they all start it correctly but for the shutdown they don't wait and the database restart in recovery mode

View 3 Replies View Related

Ubuntu :: Automatically Load/backup Ramdisk On Startup/shutdown

Mar 4, 2011

i have a RAMdisk set up on my desktop with a hidden folder of stuff in it; but i want to know is it possible for me to set ubuntu to copy the files to another directory on shutdown, and copy back again on startup?

View 2 Replies View Related

Ubuntu :: Start Synergy On Startup Wont Start Automatically On Server

Oct 13, 2010

Im trying to run synergy on startup. This works fine on the client, but it wont start automatically on the server. I put this line in an entry in startup applications:

[code]...

but still no dice.

View 9 Replies View Related

General :: Start/stop Recording Automatically When There Is Someone Starts Talking?

Dec 24, 2010

I want to start recording when someone starts talking, and stop recording when it becomes silent. I guess if there is stream audio processing tool like ImageMagick, so I can strip away blank sections like this:

$ rec -t wav - | wavefilter -strip-blank=3sec | lame - >record1.mp3

EDIT This question is resolved by using:

$ rec -t wav - silence 1 0.1 3% -1 1.0 3% | lame - >record1.mp3

View 1 Replies View Related

Software :: VirtualBox : Start And Shutdown Guests VMs On Startup?

Jun 21, 2010

I'm preparing a vitualization server (host) with VirtualBox. This machine, running Debian, is intended to run in HeadLess mode, without GUI.
I've got some guests VMs running. But I was wondering about the best way to start this guests VMs on startup and shut them down kindly when host is shutdwon.

Virtual Machines run under non-root user. I was thinking about making a script in /etc/init.d/ in order to start certain VMs and to stop every VM running when system is halted. Is this really the simplest and most secure approach?
Actually I couldn't find very much on this subject in user manual or googlin' around.

View 3 Replies View Related

General :: Start Script Bash When System Start Stop Reeboot?

Dec 10, 2009

I have 3 script BASH. I want start this script when the system start,stop and reeboot.

View 4 Replies View Related

Debian Configuration :: Making (PPPOE Start) Run At Startup Automatically

Feb 17, 2011

I have to use pppoe because my ISP uses service names, and as far as I know the only program which lets me input a service name is pppoe (inside the pppoe.conf file). Networkmanager is buggy because it tends to disappear from the panel periodically and, worse, it doesn't reconnect (although the option is selected, it does reconnect only once).

So, for peace of mind I open a superuser terminal and enter "pppoe-start" and "pppoe-stop" to have everything I want (reconnects automatically, etc.). Now the question is: how can I have pppoe-start run at startup, automatically, without entering superuser mode, and without having a terminal open for this? Using Debian Testing (Wheezy).

View 2 Replies View Related

Programming :: Create A Shell Script That Would Automatically Backup And Shutdown?

Oct 14, 2010

I would like to develop a shell script that would automatically run a backup program and then shutdown the computers, but I do not know the first thing about script development or even writing scripting.

View 2 Replies View Related

Ubuntu :: How To Stop Ssh Server From Staring At System Startup

Feb 9, 2010

I have just installed the ssh server package for Ubuntu. How can I stop it from running at system startup?

View 3 Replies View Related

Ubuntu Servers :: Schedule Complete System Shutdown/startup?

Feb 10, 2010

Just curious if it is possible to schedule a complete system shutdown and start up?

My box with ubuntu server on it is only used as an ssh/proxy server, so I would like save on energy costs and add a layer of security by completely shutting it down during the hours I do not use it.

View 5 Replies View Related

Ubuntu :: Automatically Activate The Wifi At System Startup?

Feb 19, 2011

Is there any way to automatically activate the wifi at system startup without using the keyboard switch? I have tried this script in gedit, saved as .run and added to startup applications but it doesn't work:

dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Set stringrg.freedesktop.NetworkManager string:WirelessEnabled variant:boolean:true

View 9 Replies View Related

SUSE :: Improperly Shutdown Suse - Restore Gnome To Automatically Load The Default User On Start Up

Jun 30, 2010

I am new to Linux and wow, it did not take me long to run into a huge snag. I am running Suse Linux Enterprise 10 on a laptop and by some strange reason the computer froze from overheating and I was forced to shutdown improperly. Once I restarted it booted right to the command prompt when it usually instead boots to the default user. I managed to get gnome running using the "startx gnome" command. But when gnome loads, none of my normal extentions load like my wireless driver, the sound driver, etc. how to restore gnome to automatically load the default user on start up or fix any other damage I might have done? lol

View 3 Replies View Related

Fedora :: System Keeps Freezing During Start Up And Shutdown?

Jul 21, 2011

I've just installed F15 KDE Edition, and as the title tells, I need to keep pressing F2 and/or Enter to make the system go through the boot up process, otherwise it freezes as long as i keep it without my interference !! and then it takes relatively long time to start the GUI, and when I switch to the console (using ALT + CTRL + F3 for example) and try to write the login or the password, there seem to be some 'bouncing' effect, that if I'm to write the login 'root', I get something like 'rrooott' ... however, this doesn't happen in the GUI .....

I have a multiboot system, with Windows7 and Linux Mint (based on ubuntu 10.4) installed along side. While Windows7 doesn't have any problem with my hardware, Linux mint has also some issues that cause the performance of media players to degrade (sound and video tearing) and cause repeated freezes to some applications (a game actually, 'wesnoth') until I press a key or move the mouse.

I have AMD Athlon 7750 dual core 2.7 GHz system, with 3GB DDR2 800 Ram, and embedded ATI Radeon HD 3200 with about 512 shared memory.

one more thing, when I booted off the live image to run the install program, I booted into the video failsafe mode (not sure of the exact name, but I think you got it, no mode setting) and passed the option 'noapic', so I suppose this options are still passed whenever I boot mysystem, as I get the text version of the progress bar during startup, rather then the graphical fedora logo ( i.e no mode setting) ..

View 3 Replies View Related

Programming :: How To Start/stop Squid Service Using PHP

Oct 21, 2009

Im using PHP and Sun Solaris to do something for Squid Proxy Server. im using......

- LAMP / SAMP
- Linux / Solaris 10
- Squid Server
- PHP

actually i need to know that someone knows about how to start/stop Squid Service using PHP code.

View 2 Replies View Related

Programming :: Start Script Automatically?

Feb 21, 2011

I don't know if this the right section but in anycase the question is:- I made a script containing a never ending loop doing : sleep X then command Y', the problem is:can I start this script from init.d without the effect of blocking forever the boot process ?Or is better to insert a specific entry in inittab ?

View 5 Replies View Related

Fedora Hardware :: Software RAID1 /boot Volume Doesn't Mount Automatically At System Startup

Feb 7, 2010

My software RAID setup is as follows.

/dev/md0 (made from sda1 and sdb1) RAID1 /boot partition
/dev/md1 (made from sda2, sdb2, and sdc2) RAID5 / partition

Earlier on I had some trouble with my sda drive, it dropped itself from both arrays, screwing up the mirroring of my two raid partitions participating in the /boot partition. I eventually got everything sorted out and back in sync. (I also have grub installed to MBR on both sda and sdb). Things are working fine regarding that, but since then I've had this issue:

During boot up, I'll get an error message that it could not mount my /boot partition (when fstab is set to either /dev/md0 or the UUID). It claims c9ab814c-47ea-492d-a3be-1eaa88d53477 does not exist!

My fstab:

Code:

[mark@mark-box ~]$ cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Wed Jan 20 16:34:41 2010

[code]....

As far as I know, it isn't neccessary for /boot to be mounted always, correct? Although, as I understand, I need to have it mounted whenever making kernel changes correct?

View 2 Replies View Related

Debian Configuration :: Can't See System Start And Stop Message From Console After Install

Sep 26, 2015

After install debian 8, I can't see system start and stop message from console ... How can I enable system message from console in debain 8?

debian 7 output
----------------------------------------------
root@demo:~# service apache2 restart
[ ok ] Restarting web server: apache2 ... waiting .
root@demo:~#

debian 8 output
-----------------------------------------------
root@demo:~# service apache2 restart
root@demo:~# <=============================== No message (start or stop)

View 0 Replies View Related

Ubuntu :: Program Irxevent Start Automatic When The System Start Irxevent On Startup?

May 27, 2010

I install lirc and want to prgram irxevent start automatic when the system start

Code:
System->Preferences->Startup Applications
Add an item,but that not works every time,means sometimes cannot work.

View 2 Replies View Related

Ubuntu :: Start 2 Apps On System Startup

Oct 28, 2010

I need to start vboxwebsrv and x11vnc on startup with a specific username.I tried entering the commands in rc.local as:/bin/su -c "/x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800" user1/bin/su -c "/usr/bin/vboxwebsrv -b" user2.But this does not start the app on startup.

View 2 Replies View Related

Slackware :: Start Conky And Add Module At System Startup?

Jul 21, 2011

my Conky needed the Coretemp, and a friend of LQ told me to run modprobe, and it works greate! no every time I start my system, I need to run the modprobe to add the module to Kernel. How can I put the coretemp to start every startup? (I think there is somenthing to do with a file on the rc.module at /etc/rc.d/, but I'm afraid to do something stupid...) I want to make the conky running after start of the system. How can I do this?

View 2 Replies View Related

Fedora Installation :: System Does Not Connects Automatically When Start's To Eth0 - Changed Host's Name

Mar 26, 2009

now my system does not connects automatically when fedora start's to eth0 i have to connect it manually by pull down menu in the beginning hostnname was dbe272b22.dslam-172-17-161-245-0532-474.dsl.cantv.net i do not remember if the last part ".cantv.net" was there.... i changed hostname "dbe272b22.dslam-172-17-161-245-0532-474.dsl" maybe ending with ".cantv.net" with system-config-network for hostname "edicta" i modified /etc/hosts by hand twice, now do not remember what i did exacly but here you can see /etc/hosts

[Code]....

View 2 Replies View Related

Fedora Networking :: Nmbd Doesn't Want To Start At System Startup

Jan 25, 2010

I It does not start when the system boots. The smbd daemon is present and there are no suspicious messages in the system log, dmesg or the samba logs. The nmb service *is* enabled at all of the relevant run levels and does start if I issue the command "service nmb start" as root after I log in. This particular box's networking is 802.11n via a usb port and is under the control of the network manager. I have another fedora 12 box with an internal intel 5100 802.11n card and it does not have this problem.

View 10 Replies View Related

Fedora :: Add Something To Start When Logged In - System - Preferences - Startup Applications ?

Mar 4, 2010

How to add something to start when you are logged in (System -> Preferences -> Startup Applications), but I want to know, where this parameters stored.

View 2 Replies View Related

General :: Cannot Run Auto Shutdown Script For Oracle Database

Mar 18, 2010

in order to do full backup system, i have to shutdown the oracle database. My backup software can stop the services by running the shutdown script. But in order to shutdown the oracle database, the script must be run under oracle privilege. The conflict is our backup system which is reside under root privilege cannot run the oracle shutdown script which is needed to triggered by oracle privilege.

View 1 Replies View Related

Red Hat / Fedora :: Unable To Stop Oracle Database Services

May 23, 2009

Currently using oracle 9i with 3 database(maindb,arist,samp) in redhat 5.3 server .I want to stop 2 database "maindb" and "samp" manually ( in XP or Vista we can stop service oraclemaindb and oraclesamp ), but in redhat i dont know how to stop services and how to see currently running oracle services.

View 1 Replies View Related

Ubuntu Installation :: Start With The Grub 1.99 On The 11.4 System And All Get Is A Black Screen At Startup?

May 8, 2011

I am running ubuntu 10.4, windows 7, and I had ubuntu 10.10 on a single hard drive. I upgrade the 10.10 system to 11.4 and now my grub menu which is on the 10.4 system shows two windows and two 11.4 installations.

How can I clean this up? Also I have tried to start with the grub 1.99 on the 11.4 system and all I get is a black screen at startup. I am happy with grub on 10.4 except for the extra lines.

[Code]...

View 9 Replies View Related

Programming :: Adjust Startup Script To Start Multiple Portal Servers

Sep 28, 2010

We have 14 portal servers in our environment. Test, Stg deliver and production are in the cluster. They have two nodes in cluster environment. i.e WebSphere_Portal & WebSphere_Portal_2. we have separate script in each portal server to start & stop portal server. Now we wanted to use same script for all servers to start. Here I come to the script:

[code]...

Can any one confirm the script?

View 9 Replies View Related

Programming :: Make System Call From An Automatically Started Daemon?

Apr 2, 2011

i've written small tool in C which makes measurements on my router (OpenWrt White Russian).

It is working as a deamon. If the tool is started manually, everything works fine. If it is started per script on startup, the following system call doesn't work :

Code: sprintf(command,"/bin/cat /root/%s%s | /usr/bin/ssh -p2222 user(at)host -i /root/.ssh/id_rsa "/bin/cat >> result/%s%s"", apmac, source, apmac, dest);

rc = system (command); the returned rc in this case is 256.

first i thought it is a problems with the user rights for the tool, so i have added +s to it. but that didn't help. as i said, when the daemon is started by hand, the system call works fine.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved