You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@v1:/var/www/bin/cassandra# pip install backup/
Unpacking ./backup
Running setup.py egg_info for package from file:///var/www/bin/cassandra/backup
Downloading/unpacking boto>=2.2 (from cassback==0.1.1)
Downloading boto-2.8.0.tar.gz (743Kb): 743Kb downloaded
Running setup.py egg_info for package boto
warning: no files found matching 'boto/mturk/test/*.doctest'
warning: no files found matching 'boto/mturk/test/.gitignore'
Downloading/unpacking watchdog>=0.6. (from cassback==0.1.1)
Downloading watchdog-0.6.0.tar.gz (76Kb): 76Kb downloaded
Running setup.py egg_info for package watchdog
no previously-included directories found matching 'docs/source/_themes/.git*'
Downloading/unpacking pytz>=2012j (from cassback==0.1.1)
Downloading pytz-2013b.tar.gz (331Kb): 331Kb downloaded
Running setup.py egg_info for package pytz
warning: no files found matching '*.pot' under directory 'pytz'
warning: no previously-included files found matching 'test_zdump.py'
Downloading/unpacking PyYAML>=3.09 (from watchdog>=0.6.->cassback==0.1.1)
Downloading PyYAML-3.10.zip (364Kb): 364Kb downloaded
Running setup.py egg_info for package PyYAML
Downloading/unpacking argh>=0.8.1 (from watchdog>=0.6.->cassback==0.1.1)
Downloading argh-0.23.1.tar.gz
Running setup.py egg_info for package argh
Downloading/unpacking pathtools (from watchdog>=0.6.->cassback==0.1.1)
Downloading pathtools-0.1.2.tar.gz
Running setup.py egg_info for package pathtools
Installing collected packages: boto, watchdog, pytz, cassback, PyYAML, argh, pathtools
Running setup.py install for boto
warning: no files found matching 'boto/mturk/test/*.doctest'
warning: no files found matching 'boto/mturk/test/.gitignore'
changing mode of build/scripts-2.7/sdbadmin from 644 to 755
changing mode of build/scripts-2.7/elbadmin from 644 to 755
changing mode of build/scripts-2.7/cfadmin from 644 to 755
changing mode of build/scripts-2.7/s3put from 644 to 755
changing mode of build/scripts-2.7/fetch_file from 644 to 755
changing mode of build/scripts-2.7/launch_instance from 644 to 755
changing mode of build/scripts-2.7/list_instances from 644 to 755
changing mode of build/scripts-2.7/taskadmin from 644 to 755
changing mode of build/scripts-2.7/kill_instance from 644 to 755
changing mode of build/scripts-2.7/bundle_image from 644 to 755
changing mode of build/scripts-2.7/pyami_sendmail from 644 to 755
changing mode of build/scripts-2.7/lss3 from 644 to 755
changing mode of build/scripts-2.7/cq from 644 to 755
changing mode of build/scripts-2.7/route53 from 644 to 755
changing mode of build/scripts-2.7/cwutil from 644 to 755
changing mode of build/scripts-2.7/instance_events from 644 to 755
changing mode of build/scripts-2.7/asadmin from 644 to 755
changing mode of build/scripts-2.7/glacier from 644 to 755
changing mode of build/scripts-2.7/mturk from 644 to 755
changing mode of /usr/local/bin/asadmin to 755
changing mode of /usr/local/bin/bundle_image to 755
changing mode of /usr/local/bin/cfadmin to 755
changing mode of /usr/local/bin/cq to 755
changing mode of /usr/local/bin/cwutil to 755
changing mode of /usr/local/bin/elbadmin to 755
changing mode of /usr/local/bin/fetch_file to 755
changing mode of /usr/local/bin/glacier to 755
changing mode of /usr/local/bin/instance_events to 755
changing mode of /usr/local/bin/kill_instance to 755
changing mode of /usr/local/bin/launch_instance to 755
changing mode of /usr/local/bin/list_instances to 755
changing mode of /usr/local/bin/lss3 to 755
changing mode of /usr/local/bin/mturk to 755
changing mode of /usr/local/bin/pyami_sendmail to 755
changing mode of /usr/local/bin/route53 to 755
changing mode of /usr/local/bin/s3put to 755
changing mode of /usr/local/bin/sdbadmin to 755
changing mode of /usr/local/bin/taskadmin to 755
Running setup.py install for watchdog
no previously-included directories found matching 'docs/source/_themes/.git*'
Installing watchmedo script to /usr/local/bin
Running setup.py install for pytz
warning: no files found matching '*.pot' under directory 'pytz'
warning: no previously-included files found matching 'test_zdump.py'
Running setup.py install for cassback
Installing cassback script to /usr/local/bin
Running setup.py install for PyYAML
checking if libyaml is compilable
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o
build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory
compilation terminated.
libyaml is not found or a compiler error: forcing --without-libyaml
(if libyaml is installed correctly, you may need to
specify the option --include-dirs or uncomment and
modify the parameter include_dirs in setup.cfg)
Running setup.py install for argh
Running setup.py install for pathtools
Successfully installed boto watchdog pytz cassback PyYAML argh pathtools
Cleaning up...
Result of running cassback:
root@v1:/var/www/bin/cassandra# cassback --endpoint local --backup-base /var/lib/cassandra/backup backup
Traceback (most recent call last):
File "/usr/local/bin/cassback", line 9, in <module>
load_entry_point('cassback==0.1.1', 'console_scripts', 'cassback')()
File "/usr/local/lib/python2.7/dist-packages/cassback/scripts.py", line 114, in cassback_main
init_logging(args)
File "/usr/local/lib/python2.7/dist-packages/cassback/scripts.py", line 104, in init_logging
level=getattr(logging, args.log_level))
File "/usr/lib/python2.7/logging/__init__.py", line 1519, in basicConfig
hdlr = FileHandler(filename, mode)
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 2] No such file or directory: '/var/log/cassback/cassback.log'
Fresh install using PIP:
Result of running cassback:
Solved with the following:
The text was updated successfully, but these errors were encountered: