Getting error when starting server

Hi ,


I just gettings this error

./env/bin/honcho start
05:11:55 web.1        | started with pid 9580
05:11:55 worker.1     | started with pid 9581
05:11:55 workerbeat.1 | started with pid 9583
05:11:55 web.1        |  * Running on http://0.0.0.0:8000/
05:11:55 web.1        |  * Restarting with reloader
05:11:57 workerbeat.1 | Stale pidfile exists. Removing it.
05:11:57 worker.1     | /root/frappe-bench/env/local/lib/python2.7/site-packages/celery/platforms.py:762: RuntimeWarning: You are running the worker with superuser privileges, which is
05:11:57 worker.1     | absolutely not recommended!

05:11:57 worker.1     | Please specify a different user using the -u option.

05:11:57 worker.1     | User information: uid=0 euid=0 gid=0 egid=0

05:11:57 worker.1     |   uid=uid, euid=euid, gid=gid, egid=egid,
05:11:57 workerbeat.1 | [2014-06-11 05:11:57,561: INFO/MainProcess] beat: Starting...
05:11:57 worker.1     | [2014-06-11 05:11:57,791: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:11:57 worker.1     | Trying again in 2.00 seconds...

05:11:57 workerbeat.1 | [2014-06-11 05:11:57,892: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 2.0 seconds...
05:11:59 worker.1     | [2014-06-11 05:11:59,793: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:11:59 worker.1     | Trying again in 4.00 seconds...

05:11:59 workerbeat.1 | [2014-06-11 05:11:59,895: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 4.0 seconds...
05:12:03 worker.1     | [2014-06-11 05:12:03,798: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:12:03 worker.1     | Trying again in 6.00 seconds...

05:12:03 workerbeat.1 | [2014-06-11 05:12:03,900: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 6.0 seconds...
05:12:09 worker.1     | [2014-06-11 05:12:09,804: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:12:09 worker.1     | Trying again in 8.00 seconds...

05:12:09 workerbeat.1 | [2014-06-11 05:12:09,906: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 8.0 seconds...
05:12:17 worker.1     | [2014-06-11 05:12:17,814: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:12:17 worker.1     | Trying again in 10.00 seconds...

05:12:17 workerbeat.1 | [2014-06-11 05:12:17,915: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 10.0 seconds...
05:12:27 worker.1     | [2014-06-11 05:12:27,825: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:12:27 worker.1     | Trying again in 12.00 seconds...


please help...

and i need information about where the server save the logs because im gettign error when creating stock entry , i got messages that error happend and i should check the logs, but i have no idea where the log was... im checking at frape-bench/logs folders and its empty


Thanks



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/13b7bb9f-053e-4f26-b26d-9d533872d4a4%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Hi

i assume you start the service as root
perhaps start as regular user, erpnext or something

hth

On Wednesday, June 11, 2014 4:23:46 PM UTC+7, Bobby Hartanto wrote:
Hi ,


I just gettings this error

./env/bin/honcho start
05:11:55 web.1        | started with pid 9580
05:11:55 worker.1     | started with pid 9581
05:11:55 workerbeat.1 | started with pid 9583
05:11:55 web.1        |  * Running on http://0.0.0.0:8000/
05:11:55 web.1        |  * Restarting with reloader
05:11:57 workerbeat.1 | Stale pidfile exists. Removing it.
05:11:57 worker.1     | /root/frappe-bench/env/local/lib/python2.7/site-packages/celery/platforms.py:762: RuntimeWarning: You are running the worker with superuser privileges, which is
05:11:57 worker.1     | absolutely not recommended!

05:11:57 worker.1     | Please specify a different user using the -u option.

05:11:57 worker.1     | User information: uid=0 euid=0 gid=0 egid=0

05:11:57 worker.1     |   uid=uid, euid=euid, gid=gid, egid=egid,
05:11:57 workerbeat.1 | [2014-06-11 05:11:57,561: INFO/MainProcess] beat: Starting...
05:11:57 worker.1     | [2014-06-11 05:11:57,791: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:11:57 worker.1     | Trying again in 2.00 seconds...

05:11:57 workerbeat.1 | [2014-06-11 05:11:57,892: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 2.0 seconds...
05:11:59 worker.1     | [2014-06-11 05:11:59,793: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:11:59 worker.1     | Trying again in 4.00 seconds...

05:11:59 workerbeat.1 | [2014-06-11 05:11:59,895: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 4.0 seconds...
05:12:03 worker.1     | [2014-06-11 05:12:03,798: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:12:03 worker.1     | Trying again in 6.00 seconds...

05:12:03 workerbeat.1 | [2014-06-11 05:12:03,900: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 6.0 seconds...
05:12:09 worker.1     | [2014-06-11 05:12:09,804: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:12:09 worker.1     | Trying again in 8.00 seconds...

05:12:09 workerbeat.1 | [2014-06-11 05:12:09,906: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 8.0 seconds...
05:12:17 worker.1     | [2014-06-11 05:12:17,814: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:12:17 worker.1     | Trying again in 10.00 seconds...

05:12:17 workerbeat.1 | [2014-06-11 05:12:17,915: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 10.0 seconds...
05:12:27 worker.1     | [2014-06-11 05:12:27,825: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:12:27 worker.1     | Trying again in 12.00 seconds...


please help...

and i need information about where the server save the logs because im gettign error when creating stock entry , i got messages that error happend and i should check the logs, but i have no idea where the log was... im checking at frape-bench/logs folders and its empty


Thanks



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/c739bdf0-6bea-45d5-afb8-cc482d7e0ed8%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
wow its working thanks for quick reply




On Wednesday, June 11, 2014 4:23:46 PM UTC+7, Bobby Hartanto wrote:
Hi ,


I just gettings this error

./env/bin/honcho start
05:11:55 web.1        | started with pid 9580
05:11:55 worker.1     | started with pid 9581
05:11:55 workerbeat.1 | started with pid 9583
05:11:55 web.1        |  * Running on http://0.0.0.0:8000/
05:11:55 web.1        |  * Restarting with reloader
05:11:57 workerbeat.1 | Stale pidfile exists. Removing it.
05:11:57 worker.1     | /root/frappe-bench/env/local/lib/python2.7/site-packages/celery/platforms.py:762: RuntimeWarning: You are running the worker with superuser privileges, which is
05:11:57 worker.1     | absolutely not recommended!

05:11:57 worker.1     | Please specify a different user using the -u option.

05:11:57 worker.1     | User information: uid=0 euid=0 gid=0 egid=0

05:11:57 worker.1     |   uid=uid, euid=euid, gid=gid, egid=egid,
05:11:57 workerbeat.1 | [2014-06-11 05:11:57,561: INFO/MainProcess] beat: Starting...
05:11:57 worker.1     | [2014-06-11 05:11:57,791: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:11:57 worker.1     | Trying again in 2.00 seconds...

05:11:57 workerbeat.1 | [2014-06-11 05:11:57,892: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 2.0 seconds...
05:11:59 worker.1     | [2014-06-11 05:11:59,793: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:11:59 worker.1     | Trying again in 4.00 seconds...

05:11:59 workerbeat.1 | [2014-06-11 05:11:59,895: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 4.0 seconds...
05:12:03 worker.1     | [2014-06-11 05:12:03,798: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:12:03 worker.1     | Trying again in 6.00 seconds...

05:12:03 workerbeat.1 | [2014-06-11 05:12:03,900: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 6.0 seconds...
05:12:09 worker.1     | [2014-06-11 05:12:09,804: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:12:09 worker.1     | Trying again in 8.00 seconds...

05:12:09 workerbeat.1 | [2014-06-11 05:12:09,906: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 8.0 seconds...
05:12:17 worker.1     | [2014-06-11 05:12:17,814: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:12:17 worker.1     | Trying again in 10.00 seconds...

05:12:17 workerbeat.1 | [2014-06-11 05:12:17,915: ERROR/MainProcess] beat: Connection error: Error 111 connecting localhost:6379. Connection refused.. Trying again in 10.0 seconds...
05:12:27 worker.1     | [2014-06-11 05:12:27,825: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error 111 connecting localhost:6379. Connection refused..
05:12:27 worker.1     | Trying again in 12.00 seconds...


please help...

and i need information about where the server save the logs because im gettign error when creating stock entry , i got messages that error happend and i should check the logs, but i have no idea where the log was... im checking at frape-bench/logs folders and its empty


Thanks



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/38a5bd91-5b23-46be-b79d-92e7ff17dc12%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.