← Back to team overview

openerp-india team mailing list archive

[Bug 942482] Re: Error after restart openerp-server only.

 

** Description changed:

  I normally use "tail -F /var/log/openerp-server.log" to see any error or
  message because currently testing using OpenERP+Magento, but found out
  it doesn't product any log/message until yesterday, so I decide to
  restart the openerp server by running "sudo /etc/init.d/openerp stop"
  and run it using "openerp-server" so i can get the output from console.
  But these errors came out on the console:
  
  2012-02-28 08:53:47,933 5967 ERROR template1 openerp.sql_db: Connection to the database failed
  Traceback (most recent call last):
-   File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 421, in borrow
-     result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
+   File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 421, in borrow
+     result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
  OperationalError: fe_sendauth: no password supplied
  
  2012-02-28 08:53:47,944 5967 ERROR template1 openerp.netsvc:
  fe_sendauth: no password supplied
  
  2012-02-28 08:53:47,955 5967 ERROR template1 openerp.sql_db: Connection to the database failed
  Traceback (most recent call last):
-   File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 421, in borrow
-     result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
+   File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 421, in borrow
+     result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
  OperationalError: fe_sendauth: no password supplied
  
  2012-02-28 08:53:47,955 5967 ERROR template1 openerp.netsvc:
  fe_sendauth: no password supplied
  
  2012-02-28 08:53:47,961 5967 INFO template1 werkzeug: 127.0.0.1 - - [28/Feb/2012 08:53:47] "POST /web/database/get_list HTTP/1.1" 200 -
  2012-02-28 08:53:47,964 5967 INFO template1 werkzeug: 127.0.0.1 - - [28/Feb/2012 08:53:47] "POST /web/database/get_list HTTP/1.1" 200 -
  
- 
- 
- 
- 
  And the error below appear on the browser (Chrome).
  
  OpenERP Server Error
  Client Traceback (most recent call last):
-   File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 180, in dispatch
-     response["result"] = method(controller, self, **self.params)
-   File "/usr/lib/pymodules/python2.6/openerp/addons/web/controllers/main.py", line 353, in get_list
-     dbs = proxy.list()
-   File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
-     result = self.connector.send(self.service_name, method, *args)
-   File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 611, in send
-     raise fault
- 
+   File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 180, in dispatch
+     response["result"] = method(controller, self, **self.params)
+   File "/usr/lib/pymodules/python2.6/openerp/addons/web/controllers/main.py", line 353, in get_list
+     dbs = proxy.list()
+   File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
+     result = self.connector.send(self.service_name, method, *args)
+   File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 611, in send
+     raise fault
  
  Server Traceback (most recent call last):
-   File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 592, in send
-     result = openerp.netsvc.dispatch_rpc(service_name, method, args)
-   File "/usr/lib/pymodules/python2.6/openerp/netsvc.py", line 360, in dispatch_rpc
-     result = ExportService.getService(service_name).dispatch(method, params)
-   File "/usr/lib/pymodules/python2.6/openerp/service/web_services.py", line 117, in dispatch
-     return fn(*params)
-   File "/usr/lib/pymodules/python2.6/openerp/service/web_services.py", line 310, in exp_list
-     cr = db.cursor()
-   File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 465, in cursor
-     return Cursor(self._pool, self.dbname, serialized=serialized)
-   File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 173, in __init__
-     self._cnx = pool.borrow(dsn(dbname))
-   File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 366, in _locked
-     return fun(self, *args, **kwargs)
-   File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 421, in borrow
-     result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
+   File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 592, in send
+     result = openerp.netsvc.dispatch_rpc(service_name, method, args)
+   File "/usr/lib/pymodules/python2.6/openerp/netsvc.py", line 360, in dispatch_rpc
+     result = ExportService.getService(service_name).dispatch(method, params)
+   File "/usr/lib/pymodules/python2.6/openerp/service/web_services.py", line 117, in dispatch
+     return fn(*params)
+   File "/usr/lib/pymodules/python2.6/openerp/service/web_services.py", line 310, in exp_list
+     cr = db.cursor()
+   File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 465, in cursor
+     return Cursor(self._pool, self.dbname, serialized=serialized)
+   File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 173, in __init__
+     self._cnx = pool.borrow(dsn(dbname))
+   File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 366, in _locked
+     return fun(self, *args, **kwargs)
+   File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 421, in borrow
+     result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
  OperationalError: fe_sendauth: no password supplied
  
- But the error will goes away if I restart my Linux box. Any idea and
- help is greatly appreciate.
+ Any idea and help is greatly appreciate.
  
  Thank you.
  Max.

** Summary changed:

- Error after restart openerp-server only.
+ Error after restart openerp-server.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/942482

Title:
  Error after restart openerp-server.

Status in OpenERP Server:
  New

Bug description:
  I normally use "tail -F /var/log/openerp-server.log" to see any error
  or message because currently testing using OpenERP+Magento, but found
  out it doesn't product any log/message until yesterday, so I decide to
  restart the openerp server by running "sudo /etc/init.d/openerp stop"
  and run it using "openerp-server" so i can get the output from
  console. But these errors came out on the console:

  2012-02-28 08:53:47,933 5967 ERROR template1 openerp.sql_db: Connection to the database failed
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 421, in borrow
      result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
  OperationalError: fe_sendauth: no password supplied

  2012-02-28 08:53:47,944 5967 ERROR template1 openerp.netsvc:
  fe_sendauth: no password supplied

  2012-02-28 08:53:47,955 5967 ERROR template1 openerp.sql_db: Connection to the database failed
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 421, in borrow
      result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
  OperationalError: fe_sendauth: no password supplied

  2012-02-28 08:53:47,955 5967 ERROR template1 openerp.netsvc:
  fe_sendauth: no password supplied

  2012-02-28 08:53:47,961 5967 INFO template1 werkzeug: 127.0.0.1 - - [28/Feb/2012 08:53:47] "POST /web/database/get_list HTTP/1.1" 200 -
  2012-02-28 08:53:47,964 5967 INFO template1 werkzeug: 127.0.0.1 - - [28/Feb/2012 08:53:47] "POST /web/database/get_list HTTP/1.1" 200 -

  And the error below appear on the browser (Chrome).

  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/controllers/main.py", line 353, in get_list
      dbs = proxy.list()
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 611, in send
      raise fault

  Server Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/usr/lib/pymodules/python2.6/openerp/netsvc.py", line 360, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/usr/lib/pymodules/python2.6/openerp/service/web_services.py", line 117, in dispatch
      return fn(*params)
    File "/usr/lib/pymodules/python2.6/openerp/service/web_services.py", line 310, in exp_list
      cr = db.cursor()
    File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 465, in cursor
      return Cursor(self._pool, self.dbname, serialized=serialized)
    File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 173, in __init__
      self._cnx = pool.borrow(dsn(dbname))
    File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 366, in _locked
      return fun(self, *args, **kwargs)
    File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 421, in borrow
      result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
  OperationalError: fe_sendauth: no password supplied

  Any idea and help is greatly appreciate.

  Thank you.
  Max.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/942482/+subscriptions


References