Author Topic: email alert?  (Read 113 times)

killmasta93

  • Zen Apprentice
  • *
  • Posts: 29
  • Karma: +5/-0
    • View Profile
email alert?
« on: February 27, 2020, 03:15:10 am »
Hi,
I was wondering if someone else is having this issue before? currently running 6.1 and constantly getting email alert with this
Code: [Select]
/etc/cron.hourly/90zentyal-manage-logs:
/etc/cron.hourly/90zentyal-manage-logs: line 3: /usr/share/zentyal/manage-logs: No such file or directory
run-parts: /etc/cron.hourly/90zentyal-manage-logs exited with return code 127

Thank you

killmasta93

  • Zen Apprentice
  • *
  • Posts: 29
  • Karma: +5/-0
    • View Profile
Re: email alert?
« Reply #1 on: March 01, 2020, 04:41:30 am »
bump?

doncamilo

  • Zen Samurai
  • ****
  • Posts: 350
  • Karma: +83/-1
    • View Profile
Re: email alert?
« Reply #2 on: March 09, 2020, 11:48:41 am »
 :)

You lost one of the Perl scripts which checks the logs managing system. Do you have broken packages?

Code: [Select]
dpkg -l | grep -Ev '^(ii|rc)'

https://raw.githubusercontent.com/zentyal/zentyal/master/main/core/src/scripts/manage-logs

Cheers!
"That place... is strong with the
dark side of the Force.  A domain
of evil it is.  In you must go."

Yoda.

killmasta93

  • Zen Apprentice
  • *
  • Posts: 29
  • Karma: +5/-0
    • View Profile
Re: email alert?
« Reply #3 on: March 12, 2020, 04:29:40 am »
Thanks for the reply, so i what i did i had another zentyal installation working copy the script but i rebooted now i cannot access the webGUI i get the 404 error NGINX not found :(

Code: [Select]
root@zentyal:~# dpkg -l | grep -Ev '^(ii|rc)'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                  Version                                         Architecture Description
+++-=====================================-===============================================-============-===============================================================================

then i tried running it manually the script i got this error

Code: [Select]
root@zentyal:/etc/cron.hourly# ./90zentyal-manage-logs
Can't locate EBox.pm in @INC (you may need to install the EBox module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/zentyal/manage-logs line 6.
BEGIN failed--compilation aborted at /usr/share/zentyal/manage-logs line 6.
« Last Edit: March 12, 2020, 04:31:28 am by killmasta93 »