edit ./manage.py
#!/usr/bin/env python replace with #!/usr/local/bin/python

萧连衣 пишет:
>
> http://www.djangoproject.com/documentation/0.96/fastcgi/
> To easily restart your FastCGI daemon on Unix, try this small shell
> script:
> #!/bin/bash
>
> # Replace these three settings.
> PROJDIR="/home/user/myproject"
> PIDFILE="$PROJDIR/mysite.pid"
> SOCKET="$PROJDIR/mysite.sock"
>
> cd $PROJDIR
> if [ -f $PIDFILE ]; then
>     kill `cat -- $PIDFILE`
>     rm -f -- $PIDFILE
> fi
>
> exec /usr/bin/env - \
>   PYTHONPATH="../python:.." \
>   ./manage.py runfcgi socket=$SOCKET pidfile=$PIDFILE
>  
> I use freebsd 6.2, python 2.4.4, execute this shell and it noticed me:
> env: python: No such file or directory
> Could you tell me what's the Problem?
> How can i  solve it, ths..
>
> >

-- 
Artiom Diomin, Development Dep, "Comunicatii Libere" S.R.L.
http://www.asterisksupport.ru
http://www.asterisk-support.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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