Installed McMyAdmin (minecraft manager) on Ubuntu 12.04 32 bit.
Wrote my own service to start McMyAdmin (.net app running in Mono) in its own screen session, and be able to inject proper McMyAdmin commands into that session with the init.d script.
I have a script on an embedded device that calls screen to start if a user logs in via a ssh session...
#!/bin/sh
SCREENRUNNING=`pgrep SCREEN`
if [ -z "$SCREENRUNNING" ]; then
echo "Screen not running so let's start the Master session
sleep 2
screen -dmS Master
sleep 2
screen -x root/Master
else
echo "Screen is already running let's connect to existing sessio
This is driving me nuts. I run an opensim server on system, and currently have a watchdog script used to check that the server is running and either run it or re-start it as necessary (in the event of a server crash).The server itself is run in a gnu screen session so that I can log in to the server remotely via ssh. At the moment I run my watchdog at login, which is not ideal.
I have a python script that's being used as a plugin for NRPE. This script checks to see if a process if running on a virtual machine by doing an SSH one-liner with a "ps ax | grep process" attached. When executing the script manually, it works as expected and returns a single line of output for NRPE as well as a status based on whether or not the process is running.
I used the init.d skeleton template to create an init.d script that starts up a basic java process. When I run my init.d script, the process starts up and works fine. The only problem is that the process doesn't produce the required log files while it's running.
I have a script which starts a daemon process and then sleeps for 20 seconds. If I run the script on SLES11 SP1 or RHEL6 then after the script exits the process is still running.
If I run the script on SLES11 SP3 or RHEL6.3 then after the script exits the process is no longer running.
I have a UI that upon event should POST to a script on that server.
After run my script, i am giving my password as input to script.
First script validates if my given password is correct and then script should start remaining process
In my script.
echo -n "Enter Password: "
stty -echo
read passwd
stty echo
#Here i want to evaluate $passwd having corresponding user's system password or not
# <Then some process start>
Hi All,
I am facing problem running a script which triggers another script in multiple remote servers.