Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

service: command not found

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
ProPuke
Posts: 1
Joined: Tue Nov 01, 2016 2:19 pm

service: command not found
  • Quote

Post by ProPuke » Tue Nov 01, 2016 2:35 pm

Hi There. Debian 7.11 here.

I seem to be receiving emails of this effect at the start of every month:
/usr/local/vesta/bin/v-restart-web: line 21: service: command not found
Can anyone help?

I would guess this script is likely being ran as the wrong user, or the user needs `/usr/sbin` added to their path?

Any advice is appreciated :] Thanks
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: service: command not found
  • Quote

Post by mehargags » Tue Nov 01, 2016 4:29 pm

There may be a cron job left accidentally.

can you paste your cron list ?

from ssh, login as admin and do:

Code: Select all

crontab -l
or if you have multiple vestaCP users then issue as root this command for each user

Code: Select all

crontab -u userName -l
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password