[rrd-users] Re: Correct syntax in RRDs module ?

Nelis Lamprecht nelis at brabys.co.za
Tue Jun 10 16:30:03 MEST 2003


whoops sorry, I'm getting these errors:

Bareword found where operator expected at
/usr/local/www/cgi-bin/dev/rrdstat.pl line 60, near ""DEF"
  (Might be a runaway multi-line "" string starting on line 59)
        (Missing operator before DEF?)
Unquoted string "inbytes" may clash with future reserved word at
/usr/local/www/cgi-bin/dev/rrdstat.pl line 60.
Bareword found where operator expected at
/usr/local/www/cgi-bin/dev/rrdstat.pl line 60, near "/usr/rrdata"
        (Missing operator before rrdata?)
Unquoted string "rrdata" may clash with future reserved word at
/usr/local/www/cgi-bin/dev/rrdstat.pl line 63.Unquoted string
"webrouter" may clash with future reserved word at
/usr/local/www/cgi-bin/dev/rrdstat.pl line 63.
Unquoted string "rrd" may clash with future reserved word at
/usr/local/www/cgi-bin/dev/rrdstat.pl line 63.
Unquoted string "output" may clash with future reserved word at
/usr/local/www/cgi-bin/dev/rrdstat.pl line 63.String found where
operator expected at /usr/local/www/cgi-bin/dev/rrdstat.pl line 64, near
"""
  (Might be a runaway multi-line "" string starting on line 63)
        (Missing semicolon on previous line?)
Bareword found where operator expected at
/usr/local/www/cgi-bin/dev/rrdstat.pl line 64, near ""CDEF"
        (Missing operator before CDEF?)
Unquoted string "inbits" may clash with future reserved word at
/usr/local/www/cgi-bin/dev/rrdstat.pl line 64.Unquoted string "inbytes"
may clash with future reserved word at
/usr/local/www/cgi-bin/dev/rrdstat.pl line 64.
syntax error at /usr/local/www/cgi-bin/dev/rrdstat.pl line 60, near
""DEF"
Execution of /usr/local/www/cgi-bin/dev/rrdstat.pl aborted due to
compilation errors.

Regards,
Nelis

On Tue, 2003-06-10 at 16:18, Serge Maandag wrote:
> It would help if you added the error message (it's in your webservers
> error-log).
> 
> Anyhow, it might be this:
> 
> "LINE1:outbits#0000FF:\"Outgoing traffic\n"\");
> 
> You seem to have escaped the wrong "
> 
> Serge.
> 


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list