/etc/init.d/IBSng restart
هم اینو می نوسیه:
root@accounting-server:~# /etc/init.d/IBSng restart
Stopping IBSng-tg: Successful
Stopping IBSng: Failed
Starting IBSng Core:
Reading Configuration file ...
Importing modules ...
forking ...
Calling Initializer routins ...
IBSng started with pid=3678
Shutting down on error
IBSng Failed to start!
Traceback (most recent call last):
File "ibs.py", line 137, in start
File "ibs.py", line 62, in mainThreadInitialize
File "/usr/local/IBSng/core/main.py", line 51, in init
server.init()
File "/usr/local/IBSng/core/server/server.py", line 15, in init
getConfig().getint("XMLRPC SERVER", "port"))
File "/usr/local/IBSng/core/server/xmlrpcserver.py", line 187, in __init__
SocketServer.TCPServer.__init__(self, addr, requestHandler)
File "/usr/lib/python2.5/SocketServer.py", line 330, in __init__
self.server_bind()
File "/usr/lib/python2.5/SocketServer.py", line 341, in server_bind
self.socket.bind(self.server_address)
File "<string>", line 1, in bind
error: (98, 'Address already in use')
Starting IBSng-tg: Traceback (most recent call last):
File "start-ibsng.py", line 135, in <module>
IBSng-tg Failed to start!
initServer()
File "start-ibsng.py", line 74, in initServer
cherrypy.server.start(init_only=True)
File "/var/lib/python-support/python2.5/cherrypy/_cpserver.py", line 72, in start
Engine.start(self)
File "/var/lib/python-support/python2.5/cherrypy/_cpengine.py", line 106, in start
self._start()
File "/var/lib/python-support/python2.5/cherrypy/_cpserver.py", line 79, in _start
self.start_http_server()
File "/var/lib/python-support/python2.5/cherrypy/_cpserver.py", line 99, in start_http_server
wait_for_free_port(host, port)
File "/var/lib/python-support/python2.5/cherrypy/_cpserver.py", line 252, in wait_for_free_port
raise cherrypy.NotReady("Port not free.")
cherrypy._cperror.NotReady: Port not free.