Hello Rick,

Address already in use, tells you that on 127.0.0.1 specific port 8000
already a process is running. I guess you have your Apache already
running their, right!?

you have to listen with your Apache to the proper port where fastcgi is
serving the data for Apache. I think you have to re-read the tutorial
you are working on.

Good luck!
Ionic
Electronics Platform
http://develissimo.com


On Fri, 2011-07-15 at 12:06 -0700, Rick Beacham wrote:
> I'm having alot of trouble with setting up django with fastCGI. I was
> able to use the default test server made with django no problem.  But
> I'm having trouble setting it up with httpd and fastCGI in scientific
> linux(centos)..   Here is the error message after running this
> command  ./manage.py runfcgi daemonize=false host=127.0.0.1
> port=8000  .
> 
> 
> 
> 
> 
> Traceback (most recent call last):
>   File "./manage.py", line 14, in <module>
>     execute_manager(settings)
>   File "/opt/python2.7/lib/python2.7/site-packages/django/core/
> management/__init__.py", line 438, in execute_manager
>     utility.execute()
>   File "/opt/python2.7/lib/python2.7/site-packages/django/core/
> management/__init__.py", line 379, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/opt/python2.7/lib/python2.7/site-packages/django/core/
> management/base.py", line 191, in run_from_argv
>     self.execute(*args, **options.__dict__)
>   File "/opt/python2.7/lib/python2.7/site-packages/django/core/
> management/base.py", line 220, in execute
>     output = self.handle(*args, **options)
>   File "/opt/python2.7/lib/python2.7/site-packages/django/core/
> management/commands/runfcgi.py", line 16, in handle
>     runfastcgi(args)
>   File "/opt/python2.7/lib/python2.7/site-packages/django/core/servers/
> fastcgi.py", line 180, in runfastcgi
>     WSGIServer(WSGIHandler(), **wsgi_opts).run()
>   File "build/bdist.linux-x86_64/egg/flup/server/fcgi_fork.py", line
> 131, in run
>   File "build/bdist.linux-x86_64/egg/flup/server/fcgi_base.py", line
> 1018, in _setupSocket
>   File "/opt/python2.7/lib/python2.7/socket.py", line 222, in meth
>     return getattr(self._sock,name)(*args)
> socket.error: [Errno 98] Address already in use
> 


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to