2013/7/5 Anze Staric <[email protected]> > Virtual environments usually stop working when you move them around. > Can you try recreating the virtualenv? (virtualenv step ... followed > by pip install -r ...).
Thanks Anze. Now, I can run localhost without "Address already in use" error. However, after I ran *tracd --port=8000 /home/usr/bh/sqlite* I got: *sqlite: Error* Then I ran: *trac-admin /home/usr/bh/sqlite upgrade* I got: *The upgrade failed. Please fix the issue and try again.* * IntegrityError: Columns prefix, name are not unique.* > You should also check your environment > configuration if it contains any paths pointing to the old location. I have checked *trac.ini* . It looks OK. > Anze > > On Fri, Jul 5, 2013 at 2:31 PM, Hua Xiang <[email protected]> wrote: > > Hi! > > > > I have moved my sqlite directory from /home/user/bhenvironment to > > /home/user/bh. > > > > Then I ran: > > $ tracd -r --port=8000 /home/user/bh/sqlite > > It gave me: > > Error starting Trac server on 0.0.0.0:8000 view at > > http://127.0.0.1:8000/ > > [Errno 112] Address already in use > > > > I tried to check if there was anything listening on port 8000: > > $ netstat -anp |grep LISTEN |grep :8000\ > > I got: > > > 1215726126 [main] sh 9016 child_info::sync: wait failed, pid > > 7800,.......... > > /bin/sh: fork: Resource temporarily unavailable > > > > What am I missing? > > BTW, I have had always run bloodhound from the original directory > > successfully. > > > > Cheers! > > > > Hua >
