- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hpov and script
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 07:10 PM
09-29-2003 07:10 PM
hpov and script
I check the directory of my script and check the permission and set it to 755. My script is a test because i want to know if the script is launch:
#!/bin/sh
/bin/echo "that work" >> /directory/file
And the file never appear, so i think that the script doesnt launch! help please!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 07:16 PM
09-29-2003 07:16 PM
Re: hpov and script
I think u have not set the directory in PATH
U pls set the directory in path useing
$PATH=$PATH:/
or
use the sh
or
you can use the complete path of your script to run
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 07:19 PM
09-29-2003 07:19 PM
Re: hpov and script
I recall that you have to check a few things. One of them is that this command:
# agsysdb -l
must say:
Exec Actions : always
If it does not the scripts attached to actions will not be executed. Enable it this way:
# agsysdb â actions always
regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 07:19 PM
09-29-2003 07:19 PM
Re: hpov and script
see this OLD thread and I think you will find the solution there.
Be not angry with me, these question was made hundred times. So search first in the forum before you ask a question.
HTH
Roland
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x9d17543254bfd611abdb0090277a778c%2C00.html&admit=716493758+1064906173253+28353475
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 07:21 PM
09-29-2003 07:21 PM
Re: hpov and script
sorry. The command should have been:
# agsysdb -actions always
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 07:24 PM
09-29-2003 07:24 PM
Re: hpov and script
I haven't test to add the path in $PATH but as i try to launch it with sh and the directory, i have think (<--preterit ?) that it will not work. I will test now just for see if it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 07:45 PM
09-29-2003 07:45 PM
Re: hpov and script
There isn't an "echo" command in /bin. It's either a shell internal or "/usr/bin/echo".
Hope that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 08:05 PM
09-29-2003 08:05 PM
Re: hpov and script
try launching your script like this:
# sh -x /directory/myscript
what output do you get?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 08:44 PM
09-29-2003 08:44 PM
Re: hpov and script
-there is a file name ALLOW_ALL in my $OV_CONF/trustedCmds.conf directory, i try xnevents -event and ovstop ovactiond then ovstart ovactiond and that doesnt work.
now i try to see if script launch when i put it in a system directory that is in the $PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 08:46 PM
09-29-2003 08:46 PM
Re: hpov and script
i haven't the command : agsysdb -actions always
;(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 08:55 PM
09-29-2003 08:55 PM
Re: hpov and script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 09:02 PM
09-29-2003 09:02 PM
Re: hpov and script
It is in $OV_LOG/ovactiond.log
Can you attach this file here!!
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 09:17 PM
09-29-2003 09:17 PM
Re: hpov and script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 09:20 PM
09-29-2003 09:20 PM
Re: hpov and script
and the file is created (that work)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 09:32 PM
09-29-2003 09:32 PM
Re: hpov and script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 10:02 PM
09-29-2003 10:02 PM