Results 1 to 3 of 3

Thread: ZCS 8 error: Rewrite failed: int() argument must be a string or a number)

  1. #1
    Join Date
    Oct 2012
    Posts
    7
    Rep Power
    3

    Default ZCS 8 error: Rewrite failed: int() argument must be a string or a number)

    Dear ZCS Admins!

    Can anyone inform me about these log lines? Our ZCS 8.0.0_GA_5434.FOSS works perfectly but these rows appear in our log in every minutes.

    Can anyone help where can i start debugging?

    Thank you!


    HTML Code:
    Jan  2 06:32:02 mailserver zmconfigd[1224]: Fetching All configs
    Jan  2 06:32:02 mailserver zmconfigd[1224]: All configs fetched in 0.12 seconds
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Tracking service antispam
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Watchdog: service antispam now available for watchdog.
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Tracking service antivirus
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Watchdog: service antivirus now available for watchdog.
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Tracking service ldap
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Watchdog: service ldap now available for watchdog.
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Tracking service logger
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Watchdog: service logger now available for watchdog.
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Tracking service mailbox
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Watchdog: service mailbox now available for watchdog.
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Tracking service mailboxd
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Watchdog: service mailboxd now available for watchdog.
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Tracking service mta
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Watchdog: service mta now available for watchdog.
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Tracking service sasl
    Jan  2 06:32:03 mailserver zmconfigd[1224]: Watchdog: service sasl now available for watchdog.
    Jan  2 06:32:04 mailserver zmconfigd[1224]: Tracking service stats
    Jan  2 06:32:04 mailserver zmconfigd[1224]: Watchdog: service stats now available for watchdog.
    Jan  2 06:32:04 mailserver zmconfigd[1224]: Watchdog: service antivirus status is OK.
    Jan  2 06:32:04 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 729, in rewriteConfig     f.write(self.transform(line))
    Jan  2 06:32:04 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 972, in transform     line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
    Jan  2 06:32:04 mailserver zmconfigd[1224]:   File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/re.py", line 150, in sub     return _compile(pattern, 0).sub(repl, string, count)
    Jan  2 06:32:04 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 872, in xformConfig     val = int(self.lookUpConfig(cmd,key))
    Jan  2 06:32:04 mailserver zmconfigd[1224]: Rewrite failed: int() argument must be a string or a number (int() argument must be a string or a number)
    Jan  2 06:32:04 mailserver zmconfigd[1224]: All rewrite threads completed in 0.01 sec
    Jan  2 06:32:04 mailserver zmconfigd[1224]: All restarts completed in 0.00 sec
    Jan  2 06:33:04 mailserver zmconfigd[1224]: Fetching All configs
    Jan  2 06:33:04 mailserver zmconfigd[1224]: All configs fetched in 0.05 seconds
    Jan  2 06:33:05 mailserver zmconfigd[1224]: Watchdog: service antivirus status is OK.
    Jan  2 06:33:05 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 729, in rewriteConfig     f.write(self.transform(line))
    Jan  2 06:33:05 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 972, in transform     line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
    Jan  2 06:33:05 mailserver zmconfigd[1224]:   File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/re.py", line 150, in sub     return _compile(pattern, 0).sub(repl, string, count)
    Jan  2 06:33:05 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 872, in xformConfig     val = int(self.lookUpConfig(cmd,key))
    Jan  2 06:33:05 mailserver zmconfigd[1224]: Rewrite failed: int() argument must be a string or a number (int() argument must be a string or a number)
    Jan  2 06:33:05 mailserver zmconfigd[1224]: All rewrite threads completed in 0.02 sec
    Jan  2 06:33:05 mailserver zmconfigd[1224]: All restarts completed in 0.00 sec
    Jan  2 06:34:05 mailserver zmconfigd[1224]: Fetching All configs
    Jan  2 06:34:05 mailserver zmconfigd[1224]: All configs fetched in 0.04 seconds
    Jan  2 06:34:06 mailserver zmconfigd[1224]: Watchdog: service antivirus status is OK.
    Jan  2 06:34:06 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 729, in rewriteConfig     f.write(self.transform(line))
    Jan  2 06:34:06 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 972, in transform     line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
    Jan  2 06:34:06 mailserver zmconfigd[1224]:   File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/re.py", line 150, in sub     return _compile(pattern, 0).sub(repl, string, count)
    Jan  2 06:34:06 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 872, in xformConfig     val = int(self.lookUpConfig(cmd,key))
    Jan  2 06:34:06 mailserver zmconfigd[1224]: Rewrite failed: int() argument must be a string or a number (int() argument must be a string or a number)
    Jan  2 06:34:06 mailserver zmconfigd[1224]: All rewrite threads completed in 0.01 sec
    Jan  2 06:34:06 mailserver zmconfigd[1224]: All restarts completed in 0.00 sec
    Jan  2 06:35:06 mailserver zmconfigd[1224]: Fetching All configs
    Jan  2 06:35:06 mailserver zmconfigd[1224]: All configs fetched in 0.03 seconds
    Jan  2 06:35:07 mailserver zmconfigd[1224]: Watchdog: service antivirus status is OK.
    Jan  2 06:35:07 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 729, in rewriteConfig     f.write(self.transform(line))
    Jan  2 06:35:07 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 972, in transform     line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
    Jan  2 06:35:07 mailserver zmconfigd[1224]:   File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/re.py", line 150, in sub     return _compile(pattern, 0).sub(repl, string, count)
    Jan  2 06:35:07 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 872, in xformConfig     val = int(self.lookUpConfig(cmd,key))
    Jan  2 06:35:07 mailserver zmconfigd[1224]: Rewrite failed: int() argument must be a string or a number (int() argument must be a string or a number)
    Jan  2 06:35:07 mailserver zmconfigd[1224]: All rewrite threads completed in 0.01 sec
    Jan  2 06:35:07 mailserver zmconfigd[1224]: All restarts completed in 0.00 sec
    Jan  2 06:36:07 mailserver zmconfigd[1224]: Fetching All configs
    Jan  2 06:36:07 mailserver zmconfigd[1224]: All configs fetched in 0.06 seconds
    Jan  2 06:36:08 mailserver zmconfigd[1224]: Watchdog: service antivirus status is OK.
    Jan  2 06:36:08 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 729, in rewriteConfig     f.write(self.transform(line))
    Jan  2 06:36:08 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 972, in transform     line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
    Jan  2 06:36:08 mailserver zmconfigd[1224]:   File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/re.py", line 150, in sub     return _compile(pattern, 0).sub(repl, string, count)
    Jan  2 06:36:08 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 872, in xformConfig     val = int(self.lookUpConfig(cmd,key))
    Jan  2 06:36:08 mailserver zmconfigd[1224]: Rewrite failed: int() argument must be a string or a number (int() argument must be a string or a number)
    Jan  2 06:36:08 mailserver zmconfigd[1224]: All rewrite threads completed in 0.01 sec
    Jan  2 06:36:08 mailserver zmconfigd[1224]: All restarts completed in 0.00 sec
    Jan  2 06:37:08 mailserver zmconfigd[1224]: Fetching All configs
    Jan  2 06:37:08 mailserver zmconfigd[1224]: All configs fetched in 0.04 seconds
    Jan  2 06:37:09 mailserver zmconfigd[1224]: Watchdog: service antivirus status is OK.
    Jan  2 06:37:09 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 729, in rewriteConfig     f.write(self.transform(line))
    Jan  2 06:37:09 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 972, in transform     line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
    Jan  2 06:37:09 mailserver zmconfigd[1224]:   File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/re.py", line 150, in sub     return _compile(pattern, 0).sub(repl, string, count)
    Jan  2 06:37:09 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 872, in xformConfig     val = int(self.lookUpConfig(cmd,key))
    Jan  2 06:37:09 mailserver zmconfigd[1224]: Rewrite failed: int() argument must be a string or a number (int() argument must be a string or a number)
    Jan  2 06:37:09 mailserver zmconfigd[1224]: All rewrite threads completed in 0.02 sec
    Jan  2 06:37:09 mailserver zmconfigd[1224]: All restarts completed in 0.00 sec
    Jan  2 06:38:09 mailserver zmconfigd[1224]: Fetching All configs
    Jan  2 06:38:09 mailserver zmconfigd[1224]: All configs fetched in 0.03 seconds
    Jan  2 06:38:10 mailserver zmconfigd[1224]: Watchdog: service antivirus status is OK.
    Jan  2 06:38:10 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 729, in rewriteConfig     f.write(self.transform(line))
    Jan  2 06:38:10 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 972, in transform     line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
    Jan  2 06:38:10 mailserver zmconfigd[1224]:   File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/re.py", line 150, in sub     return _compile(pattern, 0).sub(repl, string, count)
    Jan  2 06:38:10 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 872, in xformConfig     val = int(self.lookUpConfig(cmd,key))
    Jan  2 06:38:10 mailserver zmconfigd[1224]: Rewrite failed: int() argument must be a string or a number (int() argument must be a string or a number)
    Jan  2 06:38:10 mailserver zmconfigd[1224]: All rewrite threads completed in 0.01 sec
    Jan  2 06:38:10 mailserver zmconfigd[1224]: All restarts completed in 0.00 sec
    Jan  2 06:38:34 mailserver clamd[3127]: SelfCheck: Database status OK.
    Jan  2 06:39:10 mailserver zmconfigd[1224]: Fetching All configs
    Jan  2 06:39:10 mailserver zmconfigd[1224]: All configs fetched in 0.03 seconds
    Jan  2 06:39:11 mailserver zmconfigd[1224]: Watchdog: service antivirus status is OK.
    Jan  2 06:39:11 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 729, in rewriteConfig     f.write(self.transform(line))
    Jan  2 06:39:11 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 972, in transform     line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
    Jan  2 06:39:11 mailserver zmconfigd[1224]:   File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/re.py", line 150, in sub     return _compile(pattern, 0).sub(repl, string, count)
    Jan  2 06:39:11 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 872, in xformConfig     val = int(self.lookUpConfig(cmd,key))
    Jan  2 06:39:11 mailserver zmconfigd[1224]: Rewrite failed: int() argument must be a string or a number (int() argument must be a string or a number)
    Jan  2 06:39:11 mailserver zmconfigd[1224]: All rewrite threads completed in 0.01 sec
    Jan  2 06:39:11 mailserver zmconfigd[1224]: All restarts completed in 0.00 sec
    Jan  2 06:40:01 mailserver zimbramon[4808]: 4808:info: 2013-01-02 06:40:01, QUEUE: 0 0
    Jan  2 06:40:11 mailserver zmconfigd[1224]: Fetching All configs
    Jan  2 06:40:11 mailserver zmconfigd[1224]: All configs fetched in 0.04 seconds
    Jan  2 06:40:12 mailserver zmconfigd[1224]: Watchdog: service antivirus status is OK.
    Jan  2 06:40:12 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 729, in rewriteConfig     f.write(self.transform(line))
    Jan  2 06:40:12 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 972, in transform     line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
    Jan  2 06:40:12 mailserver zmconfigd[1224]:   File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/re.py", line 150, in sub     return _compile(pattern, 0).sub(repl, string, count)
    Jan  2 06:40:12 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 872, in xformConfig     val = int(self.lookUpConfig(cmd,key))
    Jan  2 06:40:12 mailserver zmconfigd[1224]: Rewrite failed: int() argument must be a string or a number (int() argument must be a string or a number)
    Jan  2 06:40:12 mailserver zmconfigd[1224]: All rewrite threads completed in 0.01 sec
    Jan  2 06:40:12 mailserver zmconfigd[1224]: All restarts completed in 0.00 sec
    Jan  2 06:41:12 mailserver zmconfigd[1224]: Fetching All configs
    Jan  2 06:41:12 mailserver zmconfigd[1224]: All configs fetched in 0.03 seconds
    Jan  2 06:41:13 mailserver zmconfigd[1224]: Watchdog: service antivirus status is OK.
    Jan  2 06:41:13 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 729, in rewriteConfig     f.write(self.transform(line))
    Jan  2 06:41:13 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 972, in transform     line = re.sub(r"%%([^%]+)%%", self.xformConfig, line)
    Jan  2 06:41:13 mailserver zmconfigd[1224]:   File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/re.py", line 150, in sub     return _compile(pattern, 0).sub(repl, string, count)
    Jan  2 06:41:13 mailserver zmconfigd[1224]:   File "/opt/zimbra/zimbramon/pylibs/state.py", line 872, in xformConfig     val = int(self.lookUpConfig(cmd,key))
    Jan  2 06:41:13 mailserver zmconfigd[1224]: Rewrite failed: int() argument must be a string or a number (int() argument must be a string or a number)
    Jan  2 06:41:13 mailserver zmconfigd[1224]: All rewrite threads completed in 0.01 sec
    Jan  2 06:41:13 mailserver zmconfigd[1224]: All restarts completed in 0.00 sec

  2. #2
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    You have a bad value in some file it is reading in. My guess is you modified something either via zmlocalconfig or on disk, and it doesn't like what was changed.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  3. #3
    Join Date
    Oct 2012
    Posts
    7
    Rep Power
    3

    Default

    Issue solved.
    A deleted spam assasin kill percentage was the problem. (the web admin does not throw validation error on this value)
    We don't want to delete spams without delivering, so we want to turn off this feature. Now we set it to 99% to avoid the error messages.
    Please set a correct input value validation, and/or make an option to set it off.

    Best regards,
    Károly Marton


    Configure -> Global Settings -> AS/AV
    1357545472851.jpg
    Last edited by mdesign; 01-07-2013 at 12:32 AM.

Similar Threads

  1. Replies: 1
    Last Post: 11-29-2012, 01:21 PM
  2. Replies: 1
    Last Post: 12-04-2009, 11:52 AM
  3. parse error: illegal character 'Ăƒ' in quoted string
    By davidfsmith in forum Administrators
    Replies: 2
    Last Post: 01-08-2008, 02:16 PM
  4. Passing Argument from Asterisk to Perl
    By padmaja3 in forum Developers
    Replies: 0
    Last Post: 09-26-2007, 05:55 AM
  5. error number 2147418094
    By hudson in forum Administrators
    Replies: 2
    Last Post: 05-14-2007, 06:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •