I dont have any restrictive security. Also I noted that I am getting
this error while running sudo synaptic

on command line, if I do , I am getting similar error

python/sudo python
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Python 2.6.4 (r264:75706, Dec  7 2009, 18:45:15)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.

seems like something during installation has changed a path or
something. any ideas / suggestions ?



On Jul 20, 6:55 pm, Christian Hammond <[email protected]> wrote:
> It sounds like you have a busted Python setup. If it's unable to import os,
> which is a fundamental Python module, you have problems.
>
> Do you have any extra restrictive security on there that could prevent an
> Apache process from accessing Python?
>
> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
>  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
> 3, in <module>
>    import os, sys
> ImportError: No module named os
>
> Christian
>
> --
> Christian Hammond - [email protected]
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
>
>
>
>
> On Wed, Jul 20, 2011 at 9:47 AM, valiant <[email protected]> wrote:
> > Hi,
> > I am pretty new to RB, I've managed to install, mysql, apache web
> > server + fastcgi and review board as per instructions given or RB
> > website.
>
> > When I try to access the RB site, i get message : Review board is
> > taking a nap.
>
> > The log file is here : (I enabled debug = true in my site's conf
> > directory )
>
> > [Wed Jul 20 16:12:26 2011] [error] [client 127.0.0.1] (4)Interrupted
> > system call: FastCGI: comm with server "/var/www/reviews.example.com3/
> > htdocs/reviewboard.fcgi" aborted: select() failed, referer:
> >http://mfirldtu-sghaff/
> > [Wed Jul 20 16:12:26 2011] [error] [client 127.0.0.1] FastCGI:
> > incomplete headers (0 bytes) received from server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi", referer:
> >http://mfirldtu-sghaff/
> > [Wed Jul 20 16:12:26 2011] [notice] caught SIGTERM, shutting down
>
> > [Wed Jul 20 16:12:26 2011] [warn] FastCGI: server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi" has failed to remain
> > running for 30 seconds given 3 attempts, its restart interval has been
> > backed off to 600 seconds
> > [Wed Jul 20 16:12:42 2011] [notice] Apache/2.2.12 (Ubuntu) mod_fastcgi/
> > 2.4.6 configured -- resuming normal operations
> > [Wed Jul 20 16:12:42 2011] [notice] FastCGI: process manager
> > initialized (pid 32599)
> > Could not find platform independent libraries <prefix>
> > Could not find platform dependent libraries <exec_prefix>
> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> > [Wed Jul 20 16:12:42 2011] [warn] FastCGI: server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi" started (pid 32604)
> > 'import site' failed; use -v for traceback
> > Traceback (most recent call last):
> >  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
> > 3, in <module>
> >    import os, sys
> > ImportError: No module named os
> > [Wed Jul 20 16:12:42 2011] [warn] FastCGI: server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi" (pid 32604) terminated
> > by calling exit with status '1'
> > [Wed Jul 20 16:12:47 2011] [warn] FastCGI: server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi" restarted (pid 32659)
> > Could not find platform independent libraries <prefix>
> > Could not find platform dependent libraries <exec_prefix>
> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> > 'import site' failed; use -v for traceback
> > Traceback (most recent call last):
> >  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
> > 3, in <module>
> >    import os, sys
> > ImportError: No module named os
> > [Wed Jul 20 16:12:47 2011] [warn] FastCGI: server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi" (pid 32659) terminated
> > by calling exit with status '1'
> > [Wed Jul 20 16:12:52 2011] [warn] FastCGI: server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi" restarted (pid 32660)
> > Could not find platform independent libraries <prefix>
> > Could not find platform dependent libraries <exec_prefix>
> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> > 'import site' failed; use -v for traceback
> > Traceback (most recent call last):
> >  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
> > 3, in <module>
> >    import os, sys
> > ImportError: No module named os
> > [Wed Jul 20 16:12:52 2011] [warn] FastCGI: server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi" (pid 32660) terminated
> > by calling exit with status '1'
> > [Wed Jul 20 16:12:57 2011] [warn] FastCGI: server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi" restarted (pid 32661)
> > Could not find platform independent libraries <prefix>
> > Could not find platform dependent libraries <exec_prefix>
> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> > 'import site' failed; use -v for traceback
> > Traceback (most recent call last):
> >  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
> > 3, in <module>
> >    import os, sys
> > ImportError: No module named os
> > [Wed Jul 20 16:12:57 2011] [warn] FastCGI: server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi" (pid 32661) terminated
> > by calling exit with status '1'
> > [Wed Jul 20 16:12:57 2011] [warn] FastCGI: server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi" has failed to remain
> > running for 30 seconds given 3 attempts, its restart interval has been
> > backed off to 600 seconds
> > [Wed Jul 20 16:14:16 2011] [error] [client 127.0.0.1] FastCGI: comm
> > with server "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi"
> > aborted: idle timeout (30 sec)
> > [Wed Jul 20 16:14:16 2011] [error] [client 127.0.0.1] FastCGI:
> > incomplete headers (0 bytes) received from server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi"
> > [Wed Jul 20 16:14:46 2011] [error] [client 127.0.0.1] FastCGI: comm
> > with server "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi"
> > aborted: idle timeout (30 sec)
> > [Wed Jul 20 16:14:46 2011] [error] [client 127.0.0.1] FastCGI:
> > incomplete headers (0 bytes) received from server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi"
> > [Wed Jul 20 16:15:46 2011] [error] [client 127.0.0.1] FastCGI: comm
> > with server "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi"
> > aborted: idle timeout (30 sec), referer:http://mfirldtu-sghaff/
> > [Wed Jul 20 16:15:46 2011] [error] [client 127.0.0.1] FastCGI:
> > incomplete headers (0 bytes) received from server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi", referer:
> >http://mfirldtu-sghaff/
> > [Wed Jul 20 16:16:16 2011] [error] [client 127.0.0.1] FastCGI: comm
> > with server "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi"
> > aborted: idle timeout (30 sec)
> > [Wed Jul 20 16:16:16 2011] [error] [client 127.0.0.1] FastCGI:
> > incomplete headers (0 bytes) received from server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi"
> > [Wed Jul 20 16:17:16 2011] [error] [client 127.0.0.1] FastCGI: comm
> > with server "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi"
> > aborted: idle timeout (30 sec), referer:http://mfirldtu-sghaff/
> > [Wed Jul 20 16:17:16 2011] [error] [client 127.0.0.1] FastCGI:
> > incomplete headers (0 bytes) received from server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi", referer:
> >http://mfirldtu-sghaff/
> > [Wed Jul 20 16:17:46 2011] [error] [client 127.0.0.1] FastCGI: comm
> > with server "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi"
> > aborted: idle timeout (30 sec)
> > [Wed Jul 20 16:17:46 2011] [error] [client 127.0.0.1] FastCGI:
> > incomplete headers (0 bytes) received from server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi"
> > [Wed Jul 20 16:17:57 2011] [warn] FastCGI: server "/var/www/
> > reviews.example.com3/htdocs/reviewboard.fcgi" has failed to remain
> > running for 30 seconds given 3 attempts, its restart interval has been
> > backed off to 600 seconds
> > [Wed Jul 20 16:18:46 2011] [error] [client 127.0.0.1] FastCGI: comm
> > with server "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi"
> > aborted: idle timeout (30 sec), referer:http://mfirldtu-sghaff/
> > [Wed Jul 20 16:18:46 2011] [error] [client 127.0.0.1] FastCGI:
> > incomplete headers (0 bytes) received from server "
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to