07-03-2003
so i should call the script from rc.local?
10 More Discussions You Might Find Interesting
1. Linux
Hi all,
i have a script in /etc/init.d directory.
-rwxr-xr-x 1 root root 26 Mar 28 16:00 myscript
I need it to run when my linux reboots/startup. However is it not being executed. Do i need to put in in the rc.local directory? (1 Reply)
Discussion started by: new2ss
1 Replies
2. AIX
I am using AIX 5.3 in P6 machine.
I have a script "test.sh", when i run it manually it runs properly.
I want to run the script automatically when system starts.
I kept the script in /etc/rc.d/init.d and also in /etc/rc.d/rc2.d but it is not working.
Do i have to write it in inittab instead of... (1 Reply)
Discussion started by: pchangba1
1 Replies
3. Shell Programming and Scripting
Hi guys ,
I Need to run a specific command (pinging a particular machine).
Which need to run every time i reboot the server till the time it shut down.
What is the preferred way of doing this.
Will it impact my system performance.
My Operating system is as below.
# lsb_release -a... (3 Replies)
Discussion started by: pinga123
3 Replies
4. UNIX for Dummies Questions & Answers
hi,
i am using rhel 5, and i wanna run a script as soon as the operating system open. How can i do this ? ( i was reading rc.d files but i could not understand exactly what are the run levels and where should i put the my shell script.
my script will be :
#!/bin/ksh
iptables -I INPUT... (1 Reply)
Discussion started by: futi
1 Replies
5. Shell Programming and Scripting
hi.
i need to start a shellscript AFTER full system startup
the script will then run permanently in a loop checking the server every minute and in case of major hangs it just reboots the machine.
i put it into /etc/rc.local file like this:
#!/bin/sh -e
#
# rc.local
#
# This script is... (4 Replies)
Discussion started by: scarfake
4 Replies
6. SuSE
Hi
I have a script myscript.sh that needs to be run whenever the server boots. The script is actually logging Syslog-ng messages to sql server. I need to lauch it at startup
I have copied the script in etc/init.d
i have also added the link
ln -s /etc/init.d/syslog-ng-mssql-pipe.sh... (5 Replies)
Discussion started by: SystemEng
5 Replies
7. AIX
Run script with different user at the startup ..
I have created this user appuser
And I have a script should to be up thru the startup by this user appuser
I have defined the path of the script /user/appstart.sh in /etc/rc
But at the startup starting will be by root , I’d like to keep... (6 Replies)
Discussion started by: Mr.AIX
6 Replies
8. Shell Programming and Scripting
We have a Windows Service written in C# ported over to linux using Mono Develop... The code is working 100% when we run a script file which runs the exe... but we want the application to run at startup.... The application gathers info of the computer eg. Hard Disk Space etc... And compress it into... (1 Reply)
Discussion started by: yodzaan
1 Replies
9. Shell Programming and Scripting
Dear Experts ,
I want to stop and Start tomcat at the time of shutdown and startup of our server . I was trying to stop tomcat with following command
# su - dm -c "/export/home/Finder/FinderWeb/jakarta-tomcat-3.3.1a/bin/shutdown.sh"
but i am getting following error. Please suggest .... (1 Reply)
Discussion started by: Amit.saini333
1 Replies
10. Shell Programming and Scripting
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
lvmpud(1M) lvmpud(1M)
NAME
lvmpud - LVM daemon handling online shared volume group reconfiguration
SYNOPSIS
DESCRIPTION
is the daemon that handles LVM online shared volume group reconfiguration. Only users with sufficient privileges can run this daemon. The
online reconfiguration of shared volume groups is available on volume groups version 2.1 and higher.
The daemon is automatically started when the system boots if is in the file. To manually start have in then enter To manually stop enter
Only one instance of the daemon can run on a system. An attempt to start a second instance would fail.
Options
The following options are supported:
Display the usage of
Log informational messages in the system log.
See syslogd(1M).
Log debug messages in the system log.
See syslogd(1M).
Shared Volume Group Considerations
Note that the daemon must be running on all the nodes sharing a volume group activated in shared mode. LVM shared mode is currently only
available in Serviceguard clusters.
AUTHOR
was developed by the Hewlett-Packard Company.
SEE ALSO
lvchange(1M), lvcreate(1M), lvextend(1M), lvmerge(1M), lvreduce(1M), lvremove(1M), lvsplit(1M), pvmove(1M), syslogd(1M), vgextend(1M),
vgmodify(1M), vgmove(1M), vgreduce(1M).
lvmpud(1M)