Thank you for your reply.

The problem was in the psycop2 library.
Running these commands now I'm able to run the web2py workers:

mv env env.old2
virtualenv --python $HOME/opt/bin/python2.7 env
source env/bin/activate
pip2 install uwsgi psycopg2-binary http://effbot.org/downloads/
Imaging-1.1.7.tar.gz 
./stop
sleep 3
./start 

Il giorno martedì 24 novembre 2020 alle 08:04:19 UTC+1 roge...@gmail.com ha 
scritto:

> Have you tried running it as sudo? 
> What does it say in the nohup.out file? Maybe a permissions issue?
>
> ___________________________
> *www.TenOutOfTen.org* <https://www.TenOutOfTen.org>
> roge...@gmail.com
> (+95) 09 250018669 <+95%209%20250%20018%20669> (Myanmar)
>
>
>
> On Sat, 21 Nov 2020 at 05:51, Gaël Princivalle <gaelpri...@gmail.com> 
> wrote:
>
>> Hi.
>>
>> I'm still having troubles to start a worker on Opalstack for my 
>> schedulers.
>> I've this error:
>> ----------
>> [myuser web2pyfolder]$ nohup env/bin/python web2py/web2py.py -K myapp &
>> [1] 21916
>> [ myuser web2pyfolder ]$ nohup: ignoring input and appending output to 
>> ‘nohup.out’
>>
>> [1]+  Exit 1                  nohup env/bin/python web2py/web2py.py -K 
>> myapp
>> -----------------
>>
>> If I don't put the & at the end it sometimes runs, sometimes not.
>>
>> I've tried to use the older Web2py version that I was using on Webfaction 
>> and the error still the same.
>>
>> Is there another way to start a worker?
>>
>> Or can I run some functions of my application with cron?
>>
>> Thanks, regards.
>>
>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/bff7c13e-7766-4d78-973a-1a075352c61cn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/web2py/bff7c13e-7766-4d78-973a-1a075352c61cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/20ebb757-2434-403f-b3ed-5fe49f93cd85n%40googlegroups.com.

Reply via email to