Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 832, in main
symlink=options.symlink)
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 994, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 1170, in install_python
mkdir(lib_dir)
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 448, in mkdir
os.makedirs(path)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: 'env'
The answer depends on which Linux variant you use, also what type of user you are logged in as. (See "id" command.)
The most generic answer is: always try "sudo" if there is a permission denied problem, e.g.
you need to use "sudo pip install bottle" (needs to be added to the readme)
You can change the port in service-dns.conf to 127.0.1.1 (instead of 127.0.0.1). otherwise you will have to start nmcontrol with "sudo", too. at least this trick worked on my ubuntu machine. if others can confirm zhis we could maybe change the default ip.
also we might add a part about editing resolv.conf to explain how the system dns can be changed.
nx.bit - some namecoin stats nf.bit - shortcut to this forum
The readme file (https://github.com/namecoin/nmcontrol/b ... /README.md) says "# alternatively start in debug mode:
nmcontrol.py --daemon=0 --debug=1 start"
But when I try that, I get an error saying "--d is not an option."
How do I start in nmcontrol.py debug mode in linux?
barkingdoggy wrote:How do I start in nmcontrol.py debug mode in linux?
Look for plugin-main.conf (probably located in ~/Library/Application Support/Nmcontrol/ ). Edit this file and remove the semicolons in front of debug and daemon. It should then look like this:
Now start with ./nmcontrol.py or python ./nmcontrol.py or sudo python ./nmcontrol.py
You'll get a file log.txt that contains the debug messages (most likely in the same directory as the .conf files).
barkingdoggy wrote:How do I start in nmcontrol.py debug mode in linux?
Look for plugin-main.conf (probably located in ~/Library/Application Support/Nmcontrol/ ). Edit this file and remove the semicolons in front of debug and daemon. It should then look like this:
Now start with ./nmcontrol.py or python ./nmcontrol.py or sudo python ./nmcontrol.py
You'll get a file log.txt that contains the debug messages (most likely in the same directory as the .conf files).
unfortunately it seems this conf option never actually worked.
on Linux it will then go into daemon mode. (check with "ps -aux" whether you have multiple instances running already). you can then do the lookup test and see what the problem is in the log.
I have created a pull request to make setting debug mode via the conf file actually work. also I will look at why "--daemon=0" does not work any more.
nx.bit - some namecoin stats nf.bit - shortcut to this forum
Maybe one of the Linux gurus has a better suggestion. A quick websearch brings up this: http://www.golinuxhub.com/2012/08/chang ... erver.html I can't test at the moment as I don't have a Linux machine in reach today.
nx.bit - some namecoin stats nf.bit - shortcut to this forum