Hi

I am performing All-In-One-Image installation, and performing manual build, but 
somehow the S99zclearwater-aio-first-boot is not function, properly related to 
my environment is being proxy, so I execute the command line by line.

Ev erything go fine, except when creating the number using the python script 
"python create_numbers.py --start 6505550000 --count 1000", any idea?

adm@CW-AIO-01:/usr/share/clearwater/ellis/src/metaswitch/ellis/tools$ python 
create_numbers.py --start 6505550000 --count 1000
/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/ellis-0.1-py2.7.egg/metaswitch/__init__.py:38:
 UserWarning: Module metaswitch was already imported from 
/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/ellis-0.1-py2.7.egg/metaswitch/__init__.pyc,
 but 
/usr/share/clearwater/ellis/env/lib/python2.7/site-packages/metaswitchcommon-0.1-py2.7.egg
 is being added to sys.path
  import pkg_resources
Traceback (most recent call last):
  File "create_numbers.py", line 73, in <module>
    logging_config.configure_logging("create_db")
  File 
"/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/ellis-0.1-py2.7.egg/metaswitch/ellis/logging_config.py",
 line 52, in configure_logging
    maxBytes=settings.LOG_FILE_MAX_BYTES)
  File "/usr/lib/python2.7/logging/handlers.py", line 118, in __init__
    BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.7/logging/handlers.py", line 65, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.7/logging/__init__.py", line 897, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 916, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/var/log/ellis/ellis-create_db.log'

If using sudo, error as below.

adm@CW-AIO-01:/usr/share/clearwater/ellis/src/metaswitch/ellis/tools$ sudo 
python create_numbers.py --start 6505550000 --count 1000
Traceback (most recent call last):
  File "create_numbers.py", line 44, in <module>
    from metaswitch.ellis import logging_config
ImportError: No module named metaswitch.ellis

_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to