Fresh cyberpanel ent install, lsws restarts every 3 minutes. find: ‘/usr/local/lsws/cgid’: No such file or directory

#1
Hello. I did a fresh centos7 install with cyberpanel ent and I get an email every 3 minutes like this:

Subject: Cron <root@myhostname> if ! find /home/*/public_html/ -maxdepth 2 -type f -newer /usr/local/lsws/cgid -name '.htaccess' -exec false {} +; then systemctl restart lsws; fi

Body: find: ‘/usr/local/lsws/cgid’: No such file or directory



Yeah, /usr/local/lsws/cgid doesn't exist.


1619998877246.png


Litespeed also restarts every 3 minutes. I did nothing. Just install centos 7, yum -y update, install cyberpanel ent and emails notifications starts even before script is finished!

Sorry for my english. Is this normal?

It's safe to remove this job "
*/3 * * * * if ! find /home/*/public_html/ -maxdepth 2 -type f -newer /usr/local/lsws/cgid -name '.htaccess' -exec false {} +; then systemctl restart lsws; fi"?
Greets.
 
Last edited:
#2
Hello Pepin0x,
have you resolved the error with

*/3 * * * * if ! find /home/*/public_html/ -maxdepth 2 -type f -newer /usr/local/lsws/cgid -name '.htaccess' -exec false {} +; then systemctl restart lsws; fi

?
I just installed and I have some error
 
Top