[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Server side scripts not running



Hi all,

I am clearly missing something basic here but I can't figure out what it
is and I can't find anything that looks like my problem in the archives.

I have written a script that should be run on the Xymon server. It does
an LDAP update on my LDAP master server, waits ten seconds then checks
that this value has been replicated to all the other LDAP servers.

The script is /opt/hobbit/server/ext/ldap_check_replication and when run
as the Hobbit user like so:

$ server/bin/bbcmd server/ext/ldap_check_replication

it runs fine and the web pages are updated.

The problem is in getting it to be run by the Xymon server. I created an
entry in the hobbitlaunch.cfg file as that seemed to be the right place
to put it, I created the following entry:

----
# "replicate_ldap" runs the in-house LDAP replication checks.

[replicate_ldap]
        ENVFILE /opt/hobbit/client/etc/hobbitclient.cfg
        CMD /opt/hobbit/server/ext/ldap_check_replication
        LOGFILE $BBSERVERLOGS/replicate_ldap.log
        INTERVAL 5m
----

But it refuses to run and nothing is mentioned in any log files
anywhere!

I would appreciate your input.

|\/|artin

--  
Martin W. Ward
Manager, Technical Assistance
COLT
Unit 12, Powergate Business Park
Volt Avenue, Park Royal, London
NW10 6PW, United Kingdom

Tel: + 44 (0)20 7863 5218   Internal: 8 441 5218
Fax: + 44 (0)20 7863 5610
Email: martin.ward (at) colt.net 
www.colt.net

Data | Voice | Managed Services



*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way. 

The contents of this message and its attachments are confidential and may also be subject to legal privilege.  If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security (at) colt.net and delete the message and any attachments without retaining any copies. 

Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses. 

No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.  

Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.