Using ACTIVEHOST


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Using ACTIVEHOST
# 1  
Old 09-05-2012
Using ACTIVEHOST

Hello everyone, today i bring to you another question, it's about de activehost.
So i need to know the syntax and what's his functionality, cause i need to inclued it in a script to prevent that other user can execute an application that it's share between two different servers.
Please if anyone can help me....
Thanks
# 2  
Old 09-05-2012
activehost is not a command that is part of "standard" or POSIX (another name for standard) UNIX.

What OS are you on? Please show the output of
Code:
uname -a
which activehost
which ACTIVEHOST

-- note you have ACTIVEHOST -- all capital letters, maybe try that, too.
# 3  
Old 09-06-2012
Jim Mcnamara, my servers are running on Red Hat 5 Enterprise.
I really didn't understand anything, i'm a beginner on this frame. That's why, i don't know may be what i'm talking about.
I'll explain to you again.
I have two servers that use the same application and the same directory(share), so this app can't run in both at the same time, it means that if some user execute the script (star) that put it on march this app from one of this server, anoter user can not put on march other instance. That's what i'm trying to avoid.

---------- Post updated at 12:13 AM ---------- Previous update was at 12:05 AM ----------

I have another idea, include on my start script a bucle that check before execute, if my app is running already. I have the ideas, but no the how to do it!
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question