Hi,
i have strange problem to compile my intelmq dev enviroment. I have stopped intelmq
and try to compile, but i get
OSError: [Errno 16] Resource busy: '/opt/intelmq/var/log'
Has anyone ever had that?
Regards Majid
git clone https://github.com/certtools/intelmq.git /opt/dev_intelmq cd opt/dev_intelmq/ /opt/dev_intelmq # pip3 install -e . Obtaining file:///opt/dev_intelmq Requirement already satisfied: dnspython>=1.11.1 in /usr/lib/python3.5/site-packages (from intelmq==1.2.0a1) Requirement already satisfied: psutil>=1.2.1 in /usr/lib/python3.5/site-packages (from intelmq==1.2.0a1) Requirement already satisfied: python-dateutil>=2.5 in /usr/lib/python3.5/site-packages (from intelmq==1.2.0a1) Requirement already satisfied: python-termstyle>=0.1.10 in /usr/lib/python3.5/site-packages (from intelmq==1.2.0a1) Requirement already satisfied: pytz>=2012c in /usr/lib/python3.5/site-packages (from intelmq==1.2.0a1) Requirement already satisfied: redis>=2.10 in /usr/lib/python3.5/site-packages (from intelmq==1.2.0a1) Requirement already satisfied: six>=1.5 in /usr/lib/python3.5/site-packages (from python-dateutil>=2.5->intelmq==1.2.0a1) Requirement already satisfied: setuptools in /usr/lib/python3.5/site-packages (from python-termstyle>=0.1.10->intelmq==1.2.0a1) Installing collected packages: intelmq Found existing installation: intelmq 1.0.4 Uninstalling intelmq-1.0.4: Exception: Traceback (most recent call last): File "/usr/lib/python3.5/shutil.py", line 538, in move os.rename(src, real_dst) OSError: [Errno 16] Resource busy: '/opt/intelmq/var/log' -> '/tmp/pip-6vus5dcm-uninstall/opt/intelmq/var/log'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python3.5/site-packages/pip/commands/install.py", line 342, in run prefix=options.prefix_path, File "/usr/lib/python3.5/site-packages/pip/req/req_set.py", line 778, in install requirement.uninstall(auto_confirm=True) File "/usr/lib/python3.5/site-packages/pip/req/req_install.py", line 754, in uninstall paths_to_remove.remove(auto_confirm) File "/usr/lib/python3.5/site-packages/pip/req/req_uninstall.py", line 115, in remove renames(path, new_path) File "/usr/lib/python3.5/site-packages/pip/utils/__init__.py", line 267, in renames shutil.move(old, new) File "/usr/lib/python3.5/shutil.py", line 550, in move rmtree(src) File "/usr/lib/python3.5/shutil.py", line 478, in rmtree onerror(os.rmdir, path, sys.exc_info()) File "/usr/lib/python3.5/shutil.py", line 476, in rmtree os.rmdir(path) OSError: [Errno 16] Resource busy: '/opt/intelmq/var/log' You are using pip version 9.0.1, however version 10.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. /opt/dev_intelmq #