The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What is the use of interval Service ?

Discussion in 'General Discussion' started by vipin, Feb 13, 2015.

  1. vipin

    vipin Active Member

    Joined:
    Aug 23, 2013
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,


    "Interval" service shows status as down from WHM >> Service Status , We have restarted cpanel several times but the service status still down. What is the use of this service and how can we restart or manage it ?

    Please see the attachment


    pic.png
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    That's not a standard service included with cPanel. Review the "/etc/chkserv.d/" directory for a file name matching the service and open the file to see if you can find out more information about it's purpose. It could be a rogue file in that directory, or part of a plugin that you have installed.

    Thank you.
     
  3. Venomous21

    Venomous21 Well-Known Member

    Joined:
    Jun 28, 2012
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Michael,

    I have the same issue. I checked /etc/chkserv.d and do -not- see the service listed. Crond is enabled on my server but I did not have it setup to be monitored under service configuration in whm (to restart it if it crashes). I added it to be monitored and saved the configuration under service configuration in WHM. Upon viewing service status, I saw crond up and interval up (a new service that didn't exist before). I viewed process manager, top, chkserv.d, crontab -e, etc. and have no clue why this came up after adding crond to monitoring in cpanel. All the dates of the files in chkserv.d were from 2011 when the server was originally setup. I removed crond from monitoring and the interval service also disappeared again. Very strange, thoughts?

    Thank you.
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The names in that table come from entries in /var/run/chkservd. You should check there for errant entries.
     
  5. Venomous21

    Venomous21 Well-Known Member

    Joined:
    Jun 28, 2012
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    'someuser' is for a suspended website account that was the first account setup on this server. it controls the dns zone for the hostname of the server.

    [~]# cd /var/run/chkservd
    [/var/run/chkservd]# ls -al
    total 76
    drwxr-xr-x 3 root root 4096 Apr 30 02:42 ./
    drwxr-xr-x 19 root root 4096 Apr 30 23:05 ../
    -rw-r--r-- 1 root root 1 Apr 30 23:02 clamd
    -rw-r--r-- 1 root root 1 Apr 30 23:02 cpanellogd
    -rw-r--r-- 1 root root 1 Apr 30 23:02 cpsrvd
    -rw-r--r-- 1 root root 1 Apr 30 23:02 dnsadmin
    -rw-r--r-- 1 root root 1 Apr 30 23:02 entropychat
    -rw-r--r-- 1 root root 1 Apr 30 23:02 exim
    -rw-r--r-- 1 root root 1 Apr 30 23:02 httpd
    -rw-r--r-- 1 root root 1 Apr 30 23:02 imap
    -rw-r--r-- 1 root root 1 Apr 30 23:02 interchange
    -rw-r--r-- 1 root root 1 Apr 30 23:02 mailman
    -rw-r--r-- 1 root root 1 Apr 30 23:02 mysql
    -rw-r--r-- 1 root root 1 Apr 30 23:02 named
    -rw-r--r-- 1 root root 1 Apr 30 23:02 queueprocd
    drwx------ 2 root someuser 4096 Apr 30 02:09 restart_track/
    -rw-r--r-- 1 root root 1 Apr 30 23:02 spamd
    -rw-r--r-- 1 root root 1 Apr 30 23:02 sshd
    -rw-r--r-- 1 root root 1 Apr 30 23:02 syslogd


    root@ [/var/run/chkservd/restart_track]# ls -al
    total 84
    drwx------ 2 root someuser 4096 Apr 30 02:09 ./
    drwxr-xr-x 3 root root 4096 Apr 30 02:42 ../
    -rw-r--r-- 1 root root 1 Apr 30 23:07 clamd
    -rw-r--r-- 1 root someuser 1 Apr 30 23:07 cpanellogd
    -rw-r--r-- 1 root someuser 1 Apr 30 23:07 cpsrvd
    -rwx------ 1 root root 1 Apr 30 02:24 crond*
    -rw-r--r-- 1 root root 1 Apr 30 23:07 dnsadmin
    -rw-r--r-- 1 root root 1 Apr 30 23:07 entropychat
    -rw-r--r-- 1 root someuser 1 Apr 30 23:07 exim
    -rw-r--r-- 1 root someuser 1 Apr 30 23:07 httpd
    -rw-r--r-- 1 root someuser 1 Apr 30 23:07 imap
    -rw-r--r-- 1 root root 1 Apr 30 23:07 interchange
    -rw-r--r-- 1 root root 1 Apr 22 05:33 interval
    -rw-r--r-- 1 root root 1 Apr 30 23:07 mailman
    -rw-r--r-- 1 root someuser 1 Apr 30 23:07 mysql
    -rw-r--r-- 1 root someuser 1 Apr 30 23:07 named
    -rw-r--r-- 1 root someuser 1 Sep 20 2012 pop
    -rw-r--r-- 1 root someuser 1 Apr 30 23:07 queueprocd
    -rw-r--r-- 1 root someuser 1 Apr 30 23:07 spamd
    -rw-r--r-- 1 root someuser 1 Apr 30 23:07 sshd
    -rw-r--r-- 1 root someuser 1 Apr 30 23:07 syslogd
     
  6. Venomous21

    Venomous21 Well-Known Member

    Joined:
    Jun 28, 2012
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I have a second server with this service in the same location but a much older date:

    -rw-r--r-- 1 root root 1 Sep 16 2013 interval

    This server uses crond monitoring unlike the one above and does not show the interval service under Service Status when this monitoring is enabled. This second server is a year older than the server above. The server above is the oldest server we have. The two newer servers from this same company have a couple different services but not this one...I wonder if the hosting company put this here. Depending on what you say, I may reach out to them for further info but they unfortunately haven't been too helpful in the past.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    I've seen a couple of reports regarding the "interval" service in support tickets, but our analysts were unable to determine the source of it's existence. Feel free to reach out to the hosting company and let us know if they are able to provide you with additional information.

    Thank you.
     
  8. Venomous21

    Venomous21 Well-Known Member

    Joined:
    Jun 28, 2012
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    According to my hosting company, these servers used to use some old version of cpanel 11.28 prior to being updated. They believe the service came from this legacy version of cpanel that they pre-loaded on servers prior to updating. It only applies to my two oldest servers. Can you confirm? Thank you.
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I don't see any reference to that service in previous versions of cPanel, but if that's the case, removing the entries as mentioned in the earlier posts should address the issue.

    Thank you.
     
  10. weetabix

    weetabix Well-Known Member

    Joined:
    Oct 26, 2006
    Messages:
    56
    Likes Received:
    1
    Trophy Points:
    8
    I have that same service listed, but showing as running. This is only on one of my servers.

    However, I can't find any service matching this and there is no configuration files for it under /etc/chkserv.d/ other than it's mentioned in /etc/chkserv.d/chkservd.conf and the files under /var/run/chkservd.

    Did you sort out where this came from? The server in question is not very old, set up at March 2014.

    /Tommy
     
  11. vipin

    vipin Active Member

    Joined:
    Aug 23, 2013
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Nope , even fresh installations have this.
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Are you installing cPanel from a specific image, is your hosting provider installing it for you, or are you installing it manually using the installation instructions in our documentation?

    Thank you.
     
  13. vipin

    vipin Active Member

    Joined:
    Aug 23, 2013
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm installing cPanel manually using cpanel & WHM documentation. This service is not available in fresh cPanel 11.52 installations. Not sure but I think only older versions have this.
     
  14. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's safe to remove those entries from /etc/chkserv.d/chkservd.conf and under the /var/run/chkservd directory. It likely stems from a file leftover on older versions of cPanel/WHM.

    Thank you.
     
Loading...

Share This Page