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 »

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.
User avatar
kitkat
Posts: 193
Joined: Sun Jan 27, 2019 5:17 pm

Re: zmdc Bad file descriptor

Post by kitkat »

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: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: zmdc Bad file descriptor

Post by rockedge »

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: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: zmdc Bad file descriptor

Post by rockedge »

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 »

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 »

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