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.

restart service error

Discussion in 'General Discussion' started by Nick V/D Bri, Apr 8, 2003.

  1. Nick V/D Bri

    Nick V/D Bri Member

    Joined:
    Apr 8, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    hello,

    when i try to restart a service with whm i get a error called

    Bareword found where operator expected at /scripts/restartsrv line 50, near "'/etc/rc.d/init.d/syslog status'og" (Missing operator before og?) Bareword found where operator expected at /scripts/restartsrv line 52, near "/etc/rc" (Missing operator before rc?) Bareword found where operator expected at /scripts/restartsrv line 56, near "/scripts/ckillall" (Missing operator before killall?) Bareword found where operator expected at /scripts/restartsrv line 56, near "/scripts/ckillall" (Missing operator before killall?) Bareword found where operator expected at /scripts/restartsrv line 56, near "9 sendmail" (Missing operator before sendmail?) Bareword found where operator expected at /scripts/restartsrv line 56, near "/etc/rc" (Missing operator before rc?) Bareword found where operator expected at /scripts/restartsrv line 56, near "/etc/rc" (Missing operator before rc?) Bareword found where operator expected at /scripts/restartsrv line 56, near "/etc/rc" (Missing operator before rc?) Bareword found where operator expected at /scripts/restartsrv line 56, near "/scripts/ckillall" (Missing operator before killall?) Bareword found where operator expected at /scripts/restartsrv line 56, near "9 exim" (Missing operator before exim?) Bareword found where operator expected at /scripts/restartsrv line 56, near "/scripts/ckillall" (Missing operator before killall?) Bareword found where operator expected at /scripts/restartsrv line 56, near "9 sendmail" (Missing operator before sendmail?) Bareword found where operator expected at /scripts/restartsrv line 56, near "/etc/rc" (Missing operator before rc?) syntax error at /scripts/restartsrv line 50, near "'/etc/rc.d/init.d/syslog status'og status" syntax error at /scripts/restartsrv line 52, near "/etc/rc" syntax error at /scripts/restartsrv line 56, near "/scripts/ckillall " syntax error at /scripts/restartsrv line 56, near "/scripts/ckillall " syntax error at /scripts/restartsrv line 56, near "/etc/rc" syntax error at /scripts/restartsrv line 56, near "/etc/rc" syntax error at /scripts/restartsrv line 56, near "/etc/rc" syntax error at /scripts/restartsrv line 56, near "/scripts/ckillall " syntax error at /scripts/restartsrv line 56, near "/scripts/ckillall " syntax error at /scripts/restartsrv line 56, near "/etc/rc" /scripts/restartsrv has too many errors.

    do you now what the problem is??
    i get it at all the services
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Your /scripts/ is corrupted

    run

    rsync -av rsync://rsync.cpanel.net/scripts /scripts


     
  3. Nick V/D Bri

    Nick V/D Bri Member

    Joined:
    Apr 8, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    root@server1 [~]# rsync -av rsync://rsync.cpanel.net/scripts /scripts
    receiving file list ... done
    wrote 71 bytes read 5952 bytes 446.15 bytes/sec
    total size is 2611042 speedup is 433.51
    root@server1 [~]#


    is that good ans must i restart the server now?

    i dont restarted it but i still get the error
     
    #3 Nick V/D Bri, Apr 8, 2003
    Last edited: Apr 8, 2003
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    you might want to delete everything in /scripts before you run that as the sizes might match
     
  5. Nick V/D Bri

    Nick V/D Bri Member

    Joined:
    Apr 8, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    thanks for helping me
     
    #5 Nick V/D Bri, Apr 8, 2003
    Last edited: Apr 8, 2003
Loading...

Share This Page