The path is there for root in version 6.2 and 6.3.... is why i originally asked which uid executes the alert...
[r...@chaos ~]# echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbi n:/bin:/usr/sbin:/usr/bin:/opt/dell/srvadmin/bin:/opt/dell/srvadmin/sbin :/root/bin [r...@chaos ~]# And the alert logs that my script generates are owned by root... so it's like the way the script is called doesn't load the env fully. -rw-rw-rw- 1 root root 54756 Sep 30 17:39 ThuSep301739212010.log -rw-r--r-- 1 root root 54399 Sep 30 15:07 WedSep292150382010.log Cheers Steve From: [email protected] [mailto:[email protected]] On Behalf Of Bryan Sent: Friday, 1 October 2010 4:13 PM To: Nils Breunese (Lemonbit) Cc: [email protected] Subject: Re: OpenManage + Alerts In 5.x that was true. The 6.x OMSA installs I've done no longer modify the path to add omreport/omconfig. On Thu, Sep 30, 2010 at 4:46 AM, Nils Breunese (Lemonbit) <[email protected]> wrote: Steve Tempest wrote: > It's working now.. it was a path problem... > > In script I replaced > omreport > with > /opt/dell/srvadmin/bin/omreport > > And now it works... Thanks for your help. Maybe you forgot to restart your login session after installing OMSA? The OMSA installation should have added /opt/dell/srvadmin/bin and /opt/dell/srvadmin/sbin to your $PATH. Nils Breunese. _______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq Notice This email and any attachments are strictly confidential and subject to copyright. They may contain privileged information. If you are not the intended recipient please delete the message and notify the sender. You should not read, copy, use, change, alter or disclose this email or its attachments without authorisation. The company and any related or associated companies do not accept any liability in connection with this email and any attachments including in connection with computer viruses, data corruption, delay, interruption, unauthorised access or unauthorised amendment. Any views expressed in this email and any attachments do not necessarily reflect the views of the company or the views of any of our related or associated companies.
_______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq
