Failed to execute external program 'mmgplsrv' from location '/usr/bin/mmgplsrv'

The place to discuss linux version of MakeMKV
Post Reply
Message
Author
tw_psycho
Posts: 9
Joined: Thu Jan 25, 2024 4:55 pm

Failed to execute external program 'mmgplsrv' from location '/usr/bin/mmgplsrv'

#1 Post by tw_psycho » Tue Jan 30, 2024 5:50 pm

Hi,

I tried 3 different DVDs and I can't backup it. Here is the log:

Code: Select all

pi64@raspberrypi:/media/pi64/Elements/Temp/DISC COPIES $ makemkvcon backup --decrypt --cache=1024 --noscan --minlength=120 -r --progress=-same disc:0 "/media/pi64/Elements/Temp/DISC COPIES/POWROT_DO_TAMTYCH_DNI"
MSG:1005,0,1,"MakeMKV v1.17.6 linux(arm64-release) started","%1 started","MakeMKV v1.17.6 linux(arm64-release)"
PRGT:5018,0,"Scanning CD-ROM devices"
PRGC:5018,0,"Scanning CD-ROM devices"
PRGV:0,0,65536
PRGV:0,0,65536
PRGV:65536,0,65536
PRGV:65536,65536,65536
DRV:0,0,999,0,"BD-RE HL-DT-ST BD-RE  WH16NS60 1.03 KLAM6DG5012","","/dev/sr0"
DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
PRGV:0,65536,65536
PRGV:0,0,65536
MSG:1011,0,1,"Using LibreDrive mode (v06.3 id=4083C4CCDB14)","%1","Using LibreDrive mode (v06.3 id=4083C4CCDB14)"
MSG:5072,131072,1,"Backing up disc into folder \"file:///media/pi64/Elements/Temp/DISC COPIES/POWROT_DO_TAMTYCH_DNI\"","Backing up disc into folder \"%1\"","file:///media/pi64/Elements/Temp/DISC COPIES/POWROT_DO_TAMTYCH_DNI"
PRGT:5047,0,"Copying all files"
PRGC:3102,0,"Processing title sets"
PRGV:0,0,65536
PRGV:0,0,65536
PRGV:5957,0,65536
PRGV:11915,0,65536
PRGV:17873,0,65536
PRGV:23831,0,65536
PRGV:29789,0,65536
PRGV:35746,0,65536
PRGV:41704,0,65536
PRGV:47662,0,65536
PRGV:53620,0,65536
PRGV:59578,0,65536
PRGC:3120,1,"Scanning contents"
PRGV:0,0,65536
MSG:4041,0,2,"Failed to execute external program 'mmgplsrv' from location '/usr/bin/mmgplsrv'","Failed to execute external program '%1' from location '%2'","mmgplsrv","/usr/bin/mmgplsrv"
PRGV:65536,0,65536
PRGV:65536,1,65536
PRGC:5046,0,"Copying file"
PRGV:0,1,65536
MSG:5069,128,0,"Backup failed","Backup failed"
MSG:5080,516,0,"Backup failed.","Backup failed."
/usr/bin/mmgplsrv is empty:

Code: Select all

pi64@raspberrypi:/media/pi64/Elements/Temp/DISC COPIES $ ls -all /usr/bin/mmgplsrv
-rwxr-xr-x 1 root root 0 Jan 30 12:17 /usr/bin/mmgplsrv
pi64@raspberrypi:~ $ file /usr/bin/mmgplsrv
/usr/bin/mmgplsrv: empty
Bluray discs work fine. It happens only on DVD discs.

I would be very grateful for any suggestions...

Best regards
Tomasz

Woodstock
Posts: 10324
Joined: Sun Jul 24, 2011 11:21 pm

Re: Failed to execute external program 'mmgplsrv' from location '/usr/bin/mmgplsrv'

#2 Post by Woodstock » Wed Jan 31, 2024 12:36 am

DVDs don't do "backup". They rip. Bluray was the first disk type that MakeMKV offered a backup option.

tw_psycho
Posts: 9
Joined: Thu Jan 25, 2024 4:55 pm

Re: Failed to execute external program 'mmgplsrv' from location '/usr/bin/mmgplsrv'

#3 Post by tw_psycho » Wed Jan 31, 2024 12:38 am

Ok, what I should do then?

beandog
Posts: 36
Joined: Sun Feb 18, 2018 7:42 am
Location: /usa/utah
Contact:

Re: Failed to execute external program 'mmgplsrv' from location '/usr/bin/mmgplsrv'

#4 Post by beandog » Wed Jan 31, 2024 1:15 am

How did you install makemkv? It should be part of it. Check if it's in /usr/local/bin

beandog
Posts: 36
Joined: Sun Feb 18, 2018 7:42 am
Location: /usa/utah
Contact:

Re: Failed to execute external program 'mmgplsrv' from location '/usr/bin/mmgplsrv'

#5 Post by beandog » Wed Jan 31, 2024 1:16 am

Oh wait, my bad, it says the file is there, just empty. Going back to my original question, though, what did you use to install it

tw_psycho
Posts: 9
Joined: Thu Jan 25, 2024 4:55 pm

Re: Failed to execute external program 'mmgplsrv' from location '/usr/bin/mmgplsrv'

#6 Post by tw_psycho » Wed Jan 31, 2024 5:24 pm

Ok, I found it. I think some issue happened during previous compilation. Perhaps because I tried to do that with ffmpeg. Even in out subfolder file was empty (0 bytes).

Solution was to remove the folder and unpack it again from the archive. And then redo ./configure, make and sudo make install.
Thank you! :)

Post Reply