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 RHEL/CentOS
  • Search

Syntax error in domain.sh / Vesta not backing up all domains

RHEL/CentOS related topics
Locked
  • Print view
Advanced search
14 posts
  • Previous
  • 1
  • 2
sjoerdvdwielen
Posts: 3
Joined: Mon Nov 16, 2015 8:46 am

Re: Syntax error in domain.sh / Vesta not backing up all dom

Post by sjoerdvdwielen » Mon Nov 16, 2015 9:09 am

Code: Select all

-- WEB --
2015-11-14 11:10:01 hosting.tweakitnow.nl
2015-11-14 11:10:59 eindhovengoesibiza.nl
2015-11-14 11:11:12 whirlpoolinfocentrum.nl
2015-11-14 11:11:12 spa-aanbiedingen.nl
2015-11-14 11:11:12 italworks.nl
sed: invalid option -- '2'
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

  -n, --quiet, --silent
              	 suppress automatic printing of pattern space
  -e script, --expression=script
                 add the script to the commands to be executed
  -f script-file, --file=script-file
                 add the contents of script-file to the commands to be executed
  --follow-symlinks
                 follow symlinks when processing in place
  -i[SUFFIX], --in-place[=SUFFIX]
                 edit files in place (makes backup if SUFFIX supplied)
  -c, --copy
                 use copy instead of rename when shuffling files in -i mode
  -b, --binary
                 does nothing; for compatibility with WIN32/CYGWIN/MSDOS/EMX (
                 open files in binary mode (CR+LFs are not treated specially))
  -l N, --line-length=N
                 specify the desired line-wrap length for the `l' command
  --posix
                 disable all GNU extensions.
  -r, --regexp-extended
           	 use extended regular expressions in the script.
  -s, --separate
                 consider files as separate rather than as a single continuous
                 long stream.
  -u, --unbuffered
                 load minimal amounts of data from the input files and flush
                 the output buffers more often
  -z, --null-data
                 separate lines by NUL characters
  --help
                 display this help and exit
  --version
           	 output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret.  All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
sed: invalid option -- '2'
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

  -n, --quiet, --silent
                 suppress automatic printing of pattern space
  -e script, --expression=script
                 add the script to the commands to be executed
  -f script-file, --file=script-file
                 add the contents of script-file to the commands to be executed
  --follow-symlinks
                 follow symlinks when processing in place
  -i[SUFFIX], --in-place[=SUFFIX]
                 edit files in place (makes backup if SUFFIX supplied)
  -c, --copy
                 use copy instead of rename when shuffling files in -i mode
  -b, --binary
                 does nothing; for compatibility with WIN32/CYGWIN/MSDOS/EMX (
                 open files in binary mode (CR+LFs are not treated specially))
  -l N, --line-length=N
                 specify the desired line-wrap length for the `l' command
  --posix
                 disable all GNU extensions.
  -r, --regexp-extended
           	 use extended regular expressions in the script.
  -s, --separate
                 consider files as separate rather than as a single continuous
                 long stream.
  -u, --unbuffered
                 load minimal amounts of data from the input files and flush
                 the output buffers more often
  -z, --null-data
                 separate lines by NUL characters
  --help
                 display this help and exit
If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret.  All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
/usr/local/vesta/func/domain.sh: line 339: 3
37: syntax error in expression (error token is "37")
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Syntax error in domain.sh / Vesta not backing up all dom

Post by skurudo » Mon Nov 16, 2015 10:06 am

sjoerdvdwielen wrote: GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
/usr/local/vesta/func/domain.sh: line 339: 3
37: syntax error in expression (error token is "37")[/code]
sjoerdvdwielen, you can do "Rebuild web" for user or users. It's helps.

If you don't mind, please tell more about your server: OS, panel version, templates for apache/nginx (hosting, basedir..)
Top

sjoerdvdwielen
Posts: 3
Joined: Mon Nov 16, 2015 8:46 am

Re: Syntax error in domain.sh / Vesta not backing up all dom

Post by sjoerdvdwielen » Mon Nov 16, 2015 11:23 am

Thanks that fixed the problem for me!
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Syntax error in domain.sh / Vesta not backing up all dom

Post by skurudo » Mon Nov 16, 2015 1:57 pm

sjoerdvdwielen wrote:Thanks that fixed the problem for me!
Glad to help you, If you don't mind, please tell more about your server: OS, panel version, templates for apache/nginx (hosting, basedir..)
Top


Locked
  • Print view

14 posts
  • Previous
  • 1
  • 2

Return to “RHEL/CentOS”



  • 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