This forum is now just an archive. Use the new Q&A website
It is currently Thu Apr 24, 2014 12:04 am

All times are UTC + 2 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 36 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: [Howto] Installing OpenERP 6.0.1 on Centos/RHEL 5.5
PostPosted: Sat Feb 11, 2012 8:35 am 
Offline

Joined: Mon Feb 06, 2012 4:37 pm
Posts: 19
Location: Iasi Romania
This is a dedicated server host we pay with full root control.

It has instaled Whm and Cpanel.


Top
 Profile  
 
 Post subject: Re: [Howto] Installing OpenERP 6.0.1 on Centos/RHEL 5.5
PostPosted: Sat Feb 11, 2012 8:53 am 
Offline

Joined: Mon Feb 06, 2012 4:37 pm
Posts: 19
Location: Iasi Romania
I also check again my web logs and it seams that cherry can't start thread but the web server is running.

I did

Code:
pip freeze


Code:
-------
CherryPy==3.1.2
-----


Code:
[11/Feb/2012:08:44:49] ENGINE Bus STARTING
[11/Feb/2012:08:44:49] ENGINE Started monitor thread '_TimeoutMonitor'.
[11/Feb/2012:08:44:49] ENGINE Started monitor thread 'Autoreloader'.
[11/Feb/2012:08:44:49] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "/opt/python-2.5.5/lib/python2.5/site-packages/cherrypy/process/servers.py", line 73, in _start_http_thread
    self.httpserver.start()
  File "/opt/python-2.5.5/lib/python2.5/site-packages/cherrypy/wsgiserver/__init__.py", line 1603, in start
    self.requests.start()
  File "/opt/python-2.5.5/lib/python2.5/site-packages/cherrypy/wsgiserver/__init__.py", line 1300, in start
    worker.start()
  File "/opt/python-2.5.5/lib/python2.5/threading.py", line 440, in start
    _start_new_thread(self.__bootstrap, ())
error: can't start new thread

[11/Feb/2012:08:44:49] ENGINE Bus STOPPING
[11/Feb/2012:08:44:49] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
[11/Feb/2012:08:44:49] ENGINE Stopped thread 'Autoreloader'.
[11/Feb/2012:08:44:49] ENGINE Stopped thread '_TimeoutMonitor'.
[11/Feb/2012:08:44:49] ENGINE Bus STOPPED
[11/Feb/2012:08:44:49] ENGINE Bus EXITING
[11/Feb/2012:08:44:49] ENGINE Bus EXITED
[11/Feb/2012:08:44:50] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x1e8c1d50>>
Traceback (most recent call last):
  File "/opt/python-2.5.5/lib/python2.5/site-packages/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/opt/python-2.5.5/lib/python2.5/site-packages/cherrypy/_cpserver.py", line 90, in start
    ServerAdapter.start(self)
  File "/opt/python-2.5.5/lib/python2.5/site-packages/cherrypy/process/servers.py", line 60, in start
    self.wait()
  File "/opt/python-2.5.5/lib/python2.5/site-packages/cherrypy/process/servers.py", line 95, in wait
    raise self.interrupt
error: can't start new thread

[11/Feb/2012:08:44:50] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/opt/python-2.5.5/lib/python2.5/site-packages/cherrypy/process/wspbus.py", line 184, in start
    self.publish('start')
  File "/opt/python-2.5.5/lib/python2.5/site-packages/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/opt/python-2.5.5/lib/python2.5/site-packages/cherrypy/_cpserver.py", line 90, in start
    ServerAdapter.start(self)
  File "/opt/python-2.5.5/lib/python2.5/site-packages/cherrypy/process/servers.py", line 60, in start
    self.wait()
  File "/opt/python-2.5.5/lib/python2.5/site-packages/cherrypy/process/servers.py", line 95, in wait
    raise self.interrupt
error: can't start new thread

[11/Feb/2012:08:44:50] ENGINE Bus STOPPING
[11/Feb/2012:08:44:50] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
[11/Feb/2012:08:44:50] ENGINE No thread running for Autoreloader.
[11/Feb/2012:08:44:50] ENGINE No thread running for _TimeoutMonitor.
[11/Feb/2012:08:44:50] ENGINE Bus STOPPED
[11/Feb/2012:08:44:50] ENGINE Bus EXITING
[11/Feb/2012:08:44:50] ENGINE Bus EXITED


Top
 Profile  
 
 Post subject: Re: [Howto] Installing OpenERP 6.0.1 on Centos/RHEL 5.5
PostPosted: Mon Feb 13, 2012 11:22 am 
Offline

Joined: Mon Feb 06, 2012 4:37 pm
Posts: 19
Location: Iasi Romania
I guess all the problems come from CherryPy

I used the default example

Code:
import cherrypy

class HelloWorld:
    def index(self):
        return "Hello world!"
    index.exposed = True

cherrypy.config.update({'server.socket_host': '89.36.27.42',
                        'server.socket_port': 8080,
                       })

cherrypy.quickstart(HelloWorld())


and seems that I get the same error error: can't start new thread

It seems that the port is open

telnet 89.36.27.42 8080
Trying 89.36.27.42...
Connected to server.originals.ro (89.36.27.42).
Escape character is '^]'.

But on address http://89.36.27.42:8080/ I don't get any message.

Is there any alternative to CherryPy or can somebody point me to the right direction ?


Top
 Profile  
 
 Post subject: Re: [Howto] Installing OpenERP 6.0.1 on Centos/RHEL 5.5
PostPosted: Mon Feb 13, 2012 2:32 pm 
Offline

Joined: Mon Feb 06, 2012 4:37 pm
Posts: 19
Location: Iasi Romania
Thanks to everybody.

I managed to finally resolve CherryPy problem.


For everybody with WHM disable "Shell Fork Bomb Protection"


http://forums.cpanel.net/f5/8080-port-257701.html


Top
 Profile  
 
 Post subject: Re: [Howto] Installing OpenERP 6.0.1 on Centos/RHEL 5.5
PostPosted: Wed Mar 07, 2012 9:43 pm 
Offline

Joined: Wed Mar 07, 2012 9:28 pm
Posts: 7
Location: Brasil
Hi,

I was try start openerp-server and openerp-web services on boot with comands chkconfig...
but openerp-server cannot be start with root privilegies... how can I start it on boot without root privilevies?

Thanks!


Top
 Profile  
 
 Post subject: Re: [Howto] Installing OpenERP 6.0.1 on Centos/RHEL 5.5
PostPosted: Thu Oct 18, 2012 9:48 am 
Offline

Joined: Thu Oct 18, 2012 9:41 am
Posts: 1
In OtherPythn.sh the link on line number 8 for epel-release-5-4.noarch.rpm
has changed for:
http://dl.fedoraproject.org/pub/epel/5/ ... noarch.rpm

More info here:
http://lists.fedoraproject.org/pipermai ... 14558.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 36 posts ]  Go to page Previous  1, 2, 3

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP