[Xymon] semop failed, Invalid argument

John Horne john.horne at plymouth.ac.uk
Tue Nov 12 20:22:19 CET 2019


On Tue, 2019-11-12 at 17:03 +0000, Rothlisberger, John R. via Xymon wrote:
>
> Does anyone have any helpful ideas?
>
...
>
> 2019-11-01 11:45:07.083973 semop failed, Invalid argument
> 2019-11-01 11:45:07.083982 Dropping message due to semaphore error
>
Not really I'm afraid.

The actual error is the invalid argument bit. It refers to a call to 'semop'. A
very quick look at the xymond code seems to indicate that it would be the
semaphore id that it is objecting to - basically it doesn't exist or the id is
less than zero.

How that came about though, I have no idea. It may be that the code is being
called when it shouldn't be - perhaps a lack of argument checking. It would
require much further checking of the code to see what is happening. Maybe
running xymond is debug mode will give more information.




John.

--
John Horne | Senior Operations Analyst | Technology and Information Services
University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK
________________________________
[http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>

This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, University of Plymouth accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. University of Plymouth does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.


More information about the Xymon mailing list