[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-users
Subject:    Re: [Bacula-users] Config token too long - limit of 500 characters?
From:       Kern Sibbald <kern () sibbald ! com>
Date:       2014-03-24 6:47:40
Message-ID: 532FD50C.2060609 () sibbald ! com
[Download RAW message or body]

[Attachment #2 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    -----BEGIN PGP SIGNED MESSAGE-----<br>
    Hash: SHA1<br>
    <br>
    Hello Dan,<br>
    <br>
    This restriction has been removed in version 7.0.0, which will be
    ready in about a week. There just remains compatibility testing
    (being done by Bacula Systems), and document, which I am doing, and
    it is about 1/2 finished.<br>
    <br>
    Best regards,<br>
    Kern<br>
    <br>
    On 03/23/2014 07:53 PM, Dan Langille wrote:<br>
    <span style="white-space: pre;">&gt; For the record, given that I?ve
      found this error in the archives and did not find the answer.<br>
      &gt;<br>
      &gt; I was working on a COPY job today, expanding the SQL to help
      with some testing. I have encountered the config token limit.<br>
      &gt;<br>
      &gt; The error is:<br>
      &gt;<br>
      &gt; ###<br>
      &gt; $ sudo service bacula-dir restart<br>
      &gt; Stopping bacula_dir.<br>
      &gt; Waiting for PIDS: 92978.<br>
      &gt; Starting bacula_dir.<br>
      &gt; 23-Mar 18:48 bacula-dir: ERROR TERMINATION at lex.c:268<br>
      &gt; Config token too long, file:
      /usr/local/etc/bacula/client-crey.conf, line 104, begins at line
      87<br>
      &gt; /usr/local/etc/rc.d/bacula-dir: WARNING: failed to start
      bacula_dir<br>
      &gt; ###<br>
      &gt;<br>
      &gt;<br>
      &gt; The problem lines are:<br>
      &gt;<br>
      &gt; ###<br>
      &gt;&nbsp;&nbsp; Selection Pattern = "<br>
      &gt; SELECT DISTINCT J.JobId, J.StartTime<br>
      &gt;&nbsp;&nbsp;&nbsp; FROM Job J, Pool P<br>
      &gt;&nbsp;&nbsp;&nbsp; WHERE P.Name = 'IncrFile'<br>
      &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND P.PoolId = J.PoolId<br>
      &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND J.Type = 'B'<br>
      &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND J.JobStatus IN ('T','W')<br>
      &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND J.jobBytes &gt; 0<br>
      &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND J.JobId NOT IN<br>
      &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (SELECT \
                PriorJobId<br>
      &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
                FROM Job<br>
      &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WHERE \
                Type IN ('B','C')<br>
      &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
                AND Job.JobStatus IN ('T','W')<br>
      &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
                AND PriorJobId != 0)<br>
      &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND J.endtime &gt; current_timestamp - \
interval '21 day'<br>  &gt;&nbsp;&nbsp;&nbsp; AND J.jobid = 165750<br>
      &gt; ORDER BY J.StartTime<br>
      &gt;&nbsp;&nbsp; LIMIT 1<br>
      &gt; ?<br>
      &gt; ###<br>
      &gt;<br>
      &gt; If I remove a character from the query, any character, the
      problem goes away.<br>
      &gt;<br>
      &gt; It appears that the query cannot be more than 500 characters
      including beginning and ending quotes.<br>
      &gt;<br>
      &gt;<br>
      &gt;<br>
      &gt;
------------------------------------------------------------------------------<br>
      &gt; Learn Graph Databases - Download FREE O'Reilly Book<br>
      &gt; "Graph Databases" is the definitive new guide to graph
      databases and their<br>
      &gt; applications. Written by three acclaimed leaders in the
      field,<br>
      &gt; this first edition is now available. Download your free book
      today!<br>
      &gt; <a class="moz-txt-link-freetext" \
href="http://p.sf.net/sfu/13534_NeoTech">http://p.sf.net/sfu/13534_NeoTech</a><br>  \
&gt;<br>  &gt;<br>
      &gt; _______________________________________________<br>
      &gt; Bacula-users mailing list<br>
      &gt; <a class="moz-txt-link-abbreviated" \
href="mailto:Bacula-users@lists.sourceforge.net">Bacula-users@lists.sourceforge.net</a><br>
  &gt; <a class="moz-txt-link-freetext" \
href="https://lists.sourceforge.net/lists/listinfo/bacula-users">https://lists.sourceforge.net/lists/listinfo/bacula-users</a></span><br>
  <br>
    -----BEGIN PGP SIGNATURE-----<br>
    Version: GnuPG v1.4.11 (GNU/Linux)<br>
    Comment: Using GnuPG with Thunderbird - <a class="moz-txt-link-freetext" \
href="http://www.enigmail.net/">http://www.enigmail.net/</a><br>  <br>
    iEYEARECAAYFAlMv1QwACgkQNgfoSvWqwEh0RQCfR/pd2k6ME77tGY7bWQt7zAP7<br>
    MPAAoPnSFOiDhWoyDmjkOoft21EjqKCq<br>
    =oH57<br>
    -----END PGP SIGNATURE-----<br>
    <br>
  </body>
</html>



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic