FAT [Can't exec: No such file or directory]

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
hikcity
Posts: 10
Joined: Sun Dec 13, 2020 2:54 pm

FAT [Can't exec: No such file or directory]

Post by hikcity »

I have a unexpected error form exec. It appears only ones during start command.

Code: Select all

â zoneminder.service - ZoneMinder CCTV recording and surveillance system
   Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2020-12-16 09:26:09 GMT; 1s ago
  Process: 26439 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
 Main PID: 26451 (zmdc.pl)
    Tasks: 8 (limit: 4915)
   Memory: 620.7M
   CGroup: /system.slice/zoneminder.service
           ââ26451 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
           ââ26481 /usr/bin/zmc -m 9
           ââ26485 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=1 --daemon
           ââ26489 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=2 --daemon
           ââ26495 /usr/bin/perl -wT /usr/bin/zmwatch.pl
           ââ26501 /usr/bin/perl -wT /usr/bin/zmupdate.pl -c
           ââ26505 /usr/bin/perl -wT /usr/bin/zmtelemetry.pl
           ââ26514 /usr/bin/perl -wT /usr/bin/zmstats.pl

Dec 16 09:26:09 asuk zmdc[26451]: INF [Starting pending process, zmeventnotification.pl]
Dec 16 09:26:09 asuk sudo[26511]: pam_unix(sudo:session): session closed for user www-data
Dec 16 09:26:09 asuk zmdc[26515]: INF ['zmeventnotification.pl' started at 20/12/16 09:26:09]
Dec 16 09:26:09 asuk zmdc[26451]: INF ['zmeventnotification.pl' starting at 20/12/16 09:26:09, pid = 26515]
Dec 16 09:26:09 asuk systemd[1]: Started ZoneMinder CCTV recording and surveillance system.
Dec 16 09:26:09 asuk zmdc[26515]: FAT [Can't exec: No such file or directory]
Dec 16 09:26:09 asuk zmdc[26451]: ERR ['zmeventnotification.pl' exited abnormally, exit status 255]
Dec 16 09:26:09 asuk zmstats[26514]: INF [Stats Daemon starting in 30 seconds]
I am struggling with it around two day so far no luck.
I appreciate any help.
all best
h
No other errors appears but no video streaming (the error is related to topic):
viewtopic.php?f=40&t=30283
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: FAT [Can't exec: No such file or directory]

Post by Magic919 »

Try it without ZMES.
-
hikcity
Posts: 10
Joined: Sun Dec 13, 2020 2:54 pm

Re: FAT [Can't exec: No such file or directory]

Post by hikcity »

No API no error

Code: Select all

â zoneminder.service - ZoneMinder CCTV recording and surveillance system
   Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2020-12-16 10:43:20 GMT; 7s ago
  Process: 30221 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
 Main PID: 30234 (zmdc.pl)
    Tasks: 8 (limit: 4915)
   Memory: 610.6M
   CGroup: /system.slice/zoneminder.service
           ââ30234 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
           ââ30262 /usr/bin/zmc -m 9
           ââ30266 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=1 --daemon
           ââ30271 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=2 --daemon
           ââ30277 /usr/bin/perl -wT /usr/bin/zmwatch.pl
           ââ30282 /usr/bin/perl -wT /usr/bin/zmupdate.pl -c
           ââ30286 /usr/bin/perl -wT /usr/bin/zmtelemetry.pl
           ââ30291 /usr/bin/perl -wT /usr/bin/zmstats.pl

Dec 16 10:43:20 asuk sudo[30287]:     root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl start zmstats.pl
Dec 16 10:43:20 asuk sudo[30287]: pam_unix(sudo:session): session opened for user www-data by (uid=0)
Dec 16 10:43:20 asuk zmdc[30234]: INF ['zmstats.pl' starting at 20/12/16 10:43:20, pid = 30291]
Dec 16 10:43:20 asuk zmdc[30291]: INF ['zmstats.pl' started at 20/12/16 10:43:20]
Dec 16 10:43:20 asuk sudo[30287]: pam_unix(sudo:session): session closed for user www-data
Dec 16 10:43:20 asuk systemd[1]: Started ZoneMinder CCTV recording and surveillance system.
Dec 16 10:43:20 asuk zmstats[30291]: INF [Stats Daemon starting in 30 seconds]
But CORS policy error, and I need API anyway.
Any way around it?
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: FAT [Can't exec: No such file or directory]

Post by Magic919 »

Follow the steps to debug ZMES.
-
hikcity
Posts: 10
Joined: Sun Dec 13, 2020 2:54 pm

Re: FAT [Can't exec: No such file or directory]

Post by hikcity »

Thank you for early reply.
I have got it.

Code: Select all

2020-12-16 11:13:50 35387 [Warning] Aborted connection 35387 to db: 'zm' user: 'zmuser' host: 'localhost' (Got an error reading communication packets)
2020-12-16 11:13:50 35379 [Warning] Aborted connection 35379 to db: 'zm' user: 'zmuser' host: 'localhost' (Got an error reading communication packets)
when i try to access mysql i have

Code: Select all

mysql: unknown option '--innodb_file_per_table'
I am guessing I need to refresh mysql knowledge
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: FAT [Can't exec: No such file or directory]

Post by Magic919 »

If you have any recent MySQL version, you won't need to specify that option as far as I know.
-
Post Reply