Cron <root@server> /root/bin/sys-snap --cron

tripleo

Member
May 14, 2005
6
0
151
I always get that email, subject Cron <root@server> /root/bin/sys-snap --cron.
Body:
/bin/sh: /root/bin/sys-snap: No such file or directory

I did a search and could not find anything relating to it ?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
Hello,

sys-snap is a server monitoring tool that sometimes is suggested for use on servers by our technical support department. It was created by us and is suggested to users with the understanding that they must manage installation and use.

You can view the scripts here:

original:

newer version:
 

tripleo

Member
May 14, 2005
6
0
151
How do i turn it off since its not installed on my server.

I did a search on the crontab and did not find anything relating to it.

Please help.

Thanks
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
There should be a cron entry for it though. It's being run as a cron job you can see that in the notice you receive. What's the output of the following:

Code:
crontab -u root -l
 

tripleo

Member
May 14, 2005
6
0
151
Nothing below about it.


Code:
SHELL="/bin/bash"
30 1 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1

SHELL="/bin/bash"
48 0 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1

SHELL="/bin/bash"
28 13 * * * /etc/upcp_control

SHELL="/bin/bash"
35 18 * * * /usr/local/cpanel/scripts/cpbackup

SHELL="/bin/bash"
26 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check

SHELL="/bin/bash"
26 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_mailman_cache && /usr/local/cpanel/scripts/update_mailman_cache

SHELL="/bin/bash"
52 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache

SHELL="/bin/bash"
19 */2 * * * /usr/local/cpanel/bin/mysqluserstore > /dev/null 2>&1

SHELL="/bin/bash"
42 */2 * * * /usr/local/cpanel/bin/dbindex > /dev/null 2>&1

SHELL="/bin/bash"
10 */6 * * * /usr/local/cpanel/scripts/autorepair recoverymgmt > /dev/null 2>&1

SHELL="/bin/bash"
*/5 * * * * /usr/local/cpanel/scripts/dcpumon-wrapper > /dev/null 2>&1

SHELL="/bin/bash"
31 10 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify

SHELL="/bin/bash"
24,39,54,9 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1

SHELL="/bin/bash"
0 2 * * * /usr/local/cpanel/bin/backup

SHELL="/bin/bash"
@reboot /usr/local/cpanel/bin/onboot_handler

0 * * * * /usr/sbin/tmpwatch -am 4 /tmp
5,20,35,50 * * * * /usr/local/cpanel/scripts/eximstats_spam_check 2>&1
0 */2 * * * /usr/local/cpanel/scripts/shrink_modsec_ip_database -x 2>&1
15 19 * * * /usr/local/cpanel/3rdparty/quickinstall/scripts/getCache.pl
#28 13 * * 5 (/usr/local/cpanel/scripts/fix-cpanel-perl; /usr/local/cpanel/scripts/upcp --cron > /dev/null)
22 22 * * 7 /usr/local/cpanel/scripts/send_api_notifications > /dev/null 2>&1
09,39 * * * * /usr/local/cpanel/scripts/clean_user_php_sessions > /dev/null 2>&1
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!
 

tripleo

Member
May 14, 2005
6
0
151
I forgot my password and the reset password seems to have issues. Since my email is already active :/

Ill try again tomorrow
 

rolandgust

Registered
May 27, 2020
3
0
1
right here
cPanel Access Level
Root Administrator
Code:
drwx------.  2 root     root     4096 Mar  2 22:19 .
drwxr-xr-x. 13 root     root     4096 Apr 17  2013 ..
-rw-------   1 beautyev beautyev 1368 Mar 11  2019 beautyev
-rw-------   1 root     root     1546 Mar  2 22:19 root
-rw-r--r--   1 root     root     1179 Aug 31  2015 root-1441087419
-rw-r--r--   1 root     root     1220 Jul 20  2016 root-1469011960
-rw-r--r--   1 root     root     1141 Aug  4  2016 root-1470298691
 

eLIANT

Active Member
Aug 14, 2006
30
3
158
Same problem here, and the answer to your last question about the content of the crontabs is, "the string 'snap' is not in any of them." I've executed "perl /root/sys-snap.pl --stop" but of course I get the error "no such file."

Should I install SNAP so I can stop the cron?

Do you need to open a ticket?

The content of /var/spool/cron/root is:

23 15 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
48 14 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
#5,35 * * * * /usr/local/bandmin/bandmin
#27 0 * * * /usr/local/bandmin/ipaddrmap
#3 21 * * 1 (/usr/local/cpanel/scripts/fix-cpanel-perl; /usr/local/cpanel/scripts/upcp --cron > /dev/null)
3 21 * * * (/usr/local/cpanel/scripts/fix-cpanel-perl; /etc/upcp_control)
27 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
6 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_mailman_cache && /usr/local/cpanel/scripts/update_mailman_cache
38 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
22 */2 * * * /usr/local/cpanel/bin/mysqluserstore >/dev/null 2>&1
32 */2 * * * /usr/local/cpanel/bin/dbindex >/dev/null 2>&1
8 */6 * * * /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1
*/5 * * * * /usr/local/cpanel/scripts/dcpumon-wrapper >/dev/null 2>&1
43 0 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
8,23,38,53 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
0 2 * * * /usr/local/cpanel/bin/backup
5,20,35,50 * * * * /usr/local/cpanel/scripts/eximstats_spam_check 2>&1
0 */2 * * * /usr/local/cpanel/scripts/shrink_modsec_ip_database -x 2>&1
@reboot /usr/local/cpanel/bin/onboot_handler
12 21 * * * /usr/local/cpanel/3rdparty/quickinstall/scripts/getCache.pl
55 2 * * * /usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings
22 22 * * 7 /usr/local/cpanel/scripts/send_api_notifications > /dev/null 2>&1
09,39 * * * * /usr/local/cpanel/scripts/clean_user_php_sessions > /dev/null 2>&1