szradm config error

25 views
Skip to first unread message

Srinivasan Subramanian

unread,
Mar 7, 2012, 7:22:00 AM3/7/12
to scalr-...@googlegroups.com
On the ec2 server, when I execute szradm –query-env –list-role-params or any other command, I always get this error.
 
Traceback (most recent call last):
  File "/usr/local/bin/szradm", line 10, in <module>
    main()
  File "/usr/lib/python2.6/site-packages/scalarizr/util/szradm.py", line 577, in main
    init_script()
  File "/usr/lib/python2.6/site-packages/scalarizr/__init__.py", line 379, in init_script
    kwargs[P2pConfigOptions.SERVER_ID] = ini.get(config.SECT_GENERAL, config.OPT_SERVER_ID)
  File "/usr/lib/python2.6/ConfigParser.py", line 540, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'server_id' in section: 'general'
 
The config.ini file does not have the server id.  What am I missing?

Regards
Srini

Marat

unread,
Mar 7, 2012, 7:33:13 AM3/7/12
to scalr-...@googlegroups.com
If scalarizr properly run on this server /etc/scalr/private.d/config.ini:server_id should be presented.
What is the server status in Scalr management panel? What in /var/log/scalarizr.log ?

Srinivasan Subramanian

unread,
Mar 7, 2012, 8:47:49 AM3/7/12
to scalr-...@googlegroups.com
Server status is running ..

Nothing specific in scalarizr.log .. but the process does not seem to be running.  Strange.  It was fine all the while.
 
I will restart the farm and check

Thanks
Srini
--
You received this message because you are subscribed to the Google Groups "scalr-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/Jwbs89bZMIgJ.
To post to this group, send email to scalr-...@googlegroups.com.
To unsubscribe from this group, send email to scalr-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en.
Reply all
Reply to author
Forward
0 new messages