Opened 15 years ago

Closed 15 years ago

#74 closed defect (fixed)

Error while trying to run jobmond

Reported by: lari.lloret@… Owned by: somebody
Priority: normal Milestone:
Component: general Version: 0.3.1
Keywords: Cc:
Estimated Number of Hours:

Description

When trying to run /usr/local/sbin/jobmond.py -c /etc/jobmond.conf I get the following message:

[root@hostname ganglia_jobmonarch-0.3.1]# /usr/local/sbin/jobmond.py -c /etc/jobmond.conf Traceback (most recent call last):

File "/usr/local/sbin/jobmond.py", line 1162, in ?

main()

File "/usr/local/sbin/jobmond.py", line 1116, in main

if not processArgs( sys.argv[1:] ):

File "/usr/local/sbin/jobmond.py", line 92, in processArgs

return loadConfig( config_filename )

File "/usr/local/sbin/jobmond.py", line 137, in loadConfig

DEBUG_LEVEL = cfg.getint( 'DEFAULT', 'DEBUG_LEVEL' )

File "/usr/lib64/python2.3/ConfigParser.py", line 315, in getint

return self._get(section, int, option)

File "/usr/lib64/python2.3/ConfigParser.py", line 312, in _get

return conv(self.get(section, option))

ValueError?: invalid literal for int(): 1

Change History (1)

comment:1 Changed 15 years ago by ramonb

  • Resolution set to fixed
  • Status changed from new to closed

was a typo in jobmond.conf.

I should improve error/syntax checking for the config file.

Note: See TracTickets for help on using tickets.