zmdc Bad file descriptor

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
Nenes71
Posts: 3
Joined: Thu Mar 21, 2019 10:31 am

zmdc Bad file descriptor

Post by Nenes71 » Thu Mar 21, 2019 10:48 am

Hello,
First of all I wanted to say that I’m a newbee.
I have Fatal error zmdc Bad file descriptor and zmeventnotification exit status 255 after adding a disk on my server.
My storage is on lvm and i had a disk and extend the Volume Disk. After restarting the server this error apear.
The server seem work fine...
How can i debug and solve this
Thanks for your help.

kitkat
Posts: 77
Joined: Sun Jan 27, 2019 5:17 pm

Re: zmdc Bad file descriptor

Post by kitkat » Thu Mar 21, 2019 1:05 pm

Did you resize the file system after resizing the LV?

Code: Select all

resize2fs /dev/my_vg/my_lv
If you've already done that then I suggest umounting the disk and running fsck to see if there are any errors with the file system...

Code: Select all

umount /dev/my_vg/my_lv
fsck -fC0 /dev/my_vg/my_lv

rockedge
Posts: 1098
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: zmdc Bad file descriptor

Post by rockedge » Thu Mar 21, 2019 2:14 pm

I can not start zmeventnotification.pl with

Code: Select all

zmdc.pl start zmeventnotification.pl
so ZM never starts it and I get Can't Execute Bad File Descriptor every few minutes.
I disable the ZMES in Options->System and use

Code: Select all

sudo -u webuser zmeventnotification.pl
which will start and ZMES works as expected.
I have tried to approach this by checking ownership and permissions but have for a few days not found out why this is happening.
This did pop up before but went away without me being able to figure out why
Last edited by rockedge on Thu Mar 21, 2019 2:25 pm, edited 1 time in total.

rockedge
Posts: 1098
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: zmdc Bad file descriptor

Post by rockedge » Thu Mar 21, 2019 2:20 pm

UPDATE
I pulled the latest ZMES from git and installed. Now ZM starts zmeventnotification.pl normally.

Nenes71
Posts: 3
Joined: Thu Mar 21, 2019 10:31 am

Re: zmdc Bad file descriptor

Post by Nenes71 » Thu Mar 21, 2019 3:53 pm

Thank’s for your ansers.
I think rockedege is on the good way.
It’s just a hazard this happen when I add a disk.
Which version work for you
I comme back to you

Nenes71
Posts: 3
Joined: Thu Mar 21, 2019 10:31 am

Re: zmdc Bad file descriptor

Post by Nenes71 » Thu Mar 21, 2019 5:43 pm

I follow pliablepixels zmeventnotification install guide and it’s work.
Not perfectly but it’s do the job.
Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests