Bench start

Hello everyone, running bench start gives me this error


18:45:57 web.1        | started with pid 3019
18:45:57 worker.1     | started with pid 3020
18:45:57 workerbeat.1 | started with pid 3022
18:45:59 workerbeat.1 | ERROR: Pidfile (celerybeat.pid) already exists.
18:45:59 workerbeat.1 | Seems we’re already running? (pid: 2279)
18:45:59 workerbeat.1 | celery beat v3.1.13 (Cipater) is starting.
18:45:59 web.1        |  * Running on http://0.0.0.0:8000/
18:45:59 web.1        | Traceback (most recent call last):
18:45:59 web.1        |   File “./env/bin/frappe”, line 9, in <module>
18:45:59 web.1        |     load_entry_point(‘frappe==4.1.0’, ‘console_scripts’, ‘frappe’)()
18:45:59 web.1        |   File “/home/nexia/frappe-bench/apps/frappe/frappe/cli.py”, line 53, in main
18:45:59 web.1        |     return run(fn, parsed_args)
18:45:59 workerbeat.1 | process terminated
18:45:59 system       | sending SIGTERM to all processes
18:45:59 system       | sending SIGTERM to pid 3019
18:45:59 system       | sending SIGTERM to pid 3020
18:45:59 web.1        |   File “/home/nexia/frappe-bench/apps/frappe/frappe/cli.py”, line 83, in run
18:45:59 web.1        | process terminated
18:45:59 worker.1     | process terminated
18:45:59 web.1        |     out = globals().get(fn)(**args)
18:45:59 web.1        |   File “/home/nexia/frappe-bench/apps/frappe/frappe/cli.py”, line 67, in new_fn
18:45:59 web.1        |     return fn(*args, **new_kwargs)
18:45:59 web.1        |   File “/home/nexia/frappe-bench/apps/frappe/frappe/cli.py”, line 811, in serve
18:45:59 web.1        |     frappe.app.serve(port=port, profile=profile, site=frappe.local.site, sites_path=sites_path)
18:45:59 web.1        |   File “/home/nexia/frappe-bench/apps/frappe/frappe/app.py”, line 144, in serve
18:45:59 web.1        |     use_debugger=True, use_evalex=True, threaded=True)
18:45:59 web.1        |   File “/home/nexia/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 706, in run_simple
18:45:59 web.1        |     test_socket.bind((hostname, port))
18:45:59 web.1        |   File “/usr/lib/python2.7/socket.py”, line 224, in meth
18:45:59 web.1        |     return getattr(self._sock,name)(*args)
18:45:59 web.1        | socket.error: [Errno 98] Address already in use

Not sure what the issue is. I’ve also followed the instructions here https://github.com/frappe/bench#setting-up-erpnext and done the production deployment. That one too going to localhost or localhost:8000 all give me no result.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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/30569327-51ee-4b47-ad3b-76ef392da46a%40googlegroups.com.

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

Somebody (including old bench start) is running on your system.

What is the output of

ps aux | grep gunicorn
ps aux | grep serve

Kill the existing server and bench start will work for you again.

On Wed, Aug 20, 2014 at 12:22 AM, Seraaj Muneer si...@gmail.com wrote:

Hello everyone, running bench start gives me this error

18:45:57 web.1 | started with pid 3019
18:45:57 worker.1 | started with pid 3020
18:45:57 workerbeat.1 | started with pid 3022
18:45:59 workerbeat.1 | ERROR: Pidfile (celerybeat.pid) already exists.
18:45:59 workerbeat.1 | Seems we’re already running? (pid: 2279)
18:45:59 workerbeat.1 | celery beat v3.1.13 (Cipater) is starting.
18:45:59 web.1 | * Running on http://0.0.0.0:8000/
18:45:59 web.1 | Traceback (most recent call last):
18:45:59 web.1 | File “./env/bin/frappe”, line 9, in
18:45:59 web.1 | load_entry_point(‘frappe==4.1.0’,
‘console_scripts’, ‘frappe’)()
18:45:59 web.1 | File
“/home/nexia/frappe-bench/apps/frappe/frappe/cli.py”, line 53, in main
18:45:59 web.1 | return run(fn, parsed_args)
18:45:59 workerbeat.1 | process terminated
18:45:59 system | sending SIGTERM to all processes
18:45:59 system | sending SIGTERM to pid 3019
18:45:59 system | sending SIGTERM to pid 3020
18:45:59 web.1 | File
“/home/nexia/frappe-bench/apps/frappe/frappe/cli.py”, line 83, in run
18:45:59 web.1 | process terminated
18:45:59 worker.1 | process terminated
18:45:59 web.1 | out = globals().get(fn)(**args)
18:45:59 web.1 | File
“/home/nexia/frappe-bench/apps/frappe/frappe/cli.py”, line 67, in new_fn
18:45:59 web.1 | return fn(*args, **new_kwargs)
18:45:59 web.1 | File
“/home/nexia/frappe-bench/apps/frappe/frappe/cli.py”, line 811, in serve
18:45:59 web.1 | frappe.app.serve(port=port, profile=profile,
site=frappe.local.site, sites_path=sites_path)
18:45:59 web.1 | File
“/home/nexia/frappe-bench/apps/frappe/frappe/app.py”, line 144, in serve
18:45:59 web.1 | use_debugger=True, use_evalex=True,
threaded=True)
18:45:59 web.1 | File
“/home/nexia/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py”,
line 706, in run_simple
18:45:59 web.1 | test_socket.bind((hostname, port))
18:45:59 web.1 | File “/usr/lib/python2.7/socket.py”, line 224, in
meth
18:45:59 web.1 | return getattr(self._sock,name)(*args)
18:45:59 web.1 | socket.error: [Errno 98] Address already in use

Not sure what the issue is. I’ve also followed the instructions here
https://github.com/frappe/bench#setting-up-erpnext and done the production
deployment. That one too going to localhost or localhost:8000 all give me no
result.


Note:

If you are posting an issue,

  1. ERPNext is a free and open source software and support is given on this
    forum by a team (https://frappe.io/webnotes). So please consider donating if
    you find this forum useful (https://frappe.io/buy). Even a small amount
    would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send
    only the URL via email
  4. 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/30569327-51ee-4b47-ad3b-76ef392da46a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Pratik
erpnext

ps aux | grep gunicorn
nexia 3456 0.6 0.8 13384 8824 ? S 21:36 0:00 /home/nexia/frappe-bench/env/bin/python /home/nexia/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120 frappe.app:application
nexia 3461 0.4 1.1 19972 11512 ? S 21:36 0:00 /home/nexia/frappe-bench/env/bin/python /home/nexia/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120 frappe.app:application
nexia 3462 0.4 1.1 19980 11520 ? S 21:36 0:00 /home/nexia/frappe-bench/env/bin/python /home/nexia/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120 frappe.app:application
nexia 3495 0.0 0.0 5904 828 pts/0 S+ 21:37 0:00 grep --color=auto gunicorn

ps aux | grep serve
redis 2133 0.1 0.6 27868 6528 ? Ssl 21:14 0:02 /usr/bin/redis-server 127.0.0.1:6379
nexia 3497 0.0 0.0 5908 832 pts/0 S+ 21:38 0:00 grep --color=auto serve



Luqman
+233-244-493985





On Tue, Aug 19, 2014 at 8:29 PM, Pratik Vyas <pd...@gmail.com> wrote:

Somebody (including old bench start) is running on your system.



What is the output of

ps aux | grep gunicorn<br>
ps aux | grep serve<br>
```<br>
<br>
Kill the existing server and `bench start` will work for you again.<br>
<div><div class="h5"><br>
On Wed, Aug 20, 2014 at 12:22 AM, Seraaj Muneer &lt;<a href="mailto:si...@gmail.com">si...@gmail.com</a>&gt; wrote:<br>
&gt; Hello everyone, running bench start gives me this error<br>
&gt;<br>
&gt; 18:45:57 web.1        | started with pid 3019<br>
&gt; 18:45:57 worker.1     | started with pid 3020<br>
&gt; 18:45:57 workerbeat.1 | started with pid 3022<br>
&gt; 18:45:59 workerbeat.1 | ERROR: Pidfile (celerybeat.pid) already exists.<br>
&gt; 18:45:59 workerbeat.1 | Seems we&#39;re already running? (pid: 2279)<br>
&gt; 18:45:59 workerbeat.1 | celery beat v3.1.13 (Cipater) is starting.<br>
&gt; 18:45:59 web.1        |  * Running on <a href="http://0.0.0.0:8000/" target="_blank">http://0.0.0.0:8000/</a><br>
&gt; 18:45:59 web.1        | Traceback (most recent call last):<br>
&gt; 18:45:59 web.1        |   File &quot;./env/bin/frappe&quot;, line 9, in &lt;module&gt;<br>
&gt; 18:45:59 web.1        |     load_entry_point(&#39;frappe==4.1.0&#39;,<br>
&gt; &#39;console_scripts&#39;, &#39;frappe&#39;)()<br>
&gt; 18:45:59 web.1        |   File<br>
&gt; &quot;/home/nexia/frappe-bench/apps/frappe/frappe/cli.py&quot;, line 53, in main<br>
&gt; 18:45:59 web.1        |     return run(fn, parsed_args)<br>
&gt; 18:45:59 workerbeat.1 | process terminated<br>
&gt; 18:45:59 system       | sending SIGTERM to all processes<br>
&gt; 18:45:59 system       | sending SIGTERM to pid 3019<br>
&gt; 18:45:59 system       | sending SIGTERM to pid 3020<br>
&gt; 18:45:59 web.1        |   File<br>
&gt; &quot;/home/nexia/frappe-bench/apps/frappe/frappe/cli.py&quot;, line 83, in run<br>
&gt; 18:45:59 web.1        | process terminated<br>
&gt; 18:45:59 worker.1     | process terminated<br>
&gt; 18:45:59 web.1        |     out = globals().get(fn)(**args)<br>
&gt; 18:45:59 web.1        |   File<br>
&gt; &quot;/home/nexia/frappe-bench/apps/frappe/frappe/cli.py&quot;, line 67, in new_fn<br>
&gt; 18:45:59 web.1        |     return fn(*args, **new_kwargs)<br>
&gt; 18:45:59 web.1        |   File<br>
&gt; &quot;/home/nexia/frappe-bench/apps/frappe/frappe/cli.py&quot;, line 811, in serve<br>
&gt; 18:45:59 web.1        |     frappe.app.serve(port=port, profile=profile,<br>
&gt; site=frappe.local.site, sites_path=sites_path)<br>
&gt; 18:45:59 web.1        |   File<br>
&gt; &quot;/home/nexia/frappe-bench/apps/frappe/frappe/app.py&quot;, line 144, in serve<br>
&gt; 18:45:59 web.1        |     use_debugger=True, use_evalex=True,<br>
&gt; threaded=True)<br>
&gt; 18:45:59 web.1        |   File<br>
&gt; &quot;/home/nexia/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py&quot;,<br>
&gt; line 706, in run_simple<br>
&gt; 18:45:59 web.1        |     test_socket.bind((hostname, port))<br>
&gt; 18:45:59 web.1        |   File &quot;/usr/lib/python2.7/socket.py&quot;, line 224, in<br>
&gt; meth<br>
&gt; 18:45:59 web.1        |     return getattr(self._sock,name)(*args)<br>
&gt; 18:45:59 web.1        | socket.error: [Errno 98] Address already in use<br>
&gt;<br>
&gt; Not sure what the issue is. I&#39;ve also followed the instructions here<br>
&gt; <a href="https://github.com/frappe/bench#setting-up-erpnext" target="_blank">https://github.com/frappe/bench#setting-up-erpnext</a> and done the production<br>
&gt; deployment. That one too going to localhost or localhost:8000 all give me no<br>
&gt; result.<br>
&gt;<br>
&gt; --<br>
&gt; Note:<br>
&gt;<br>
&gt; If you are posting an issue,<br>
&gt;<br>
&gt; 1. ERPNext is a free and open source software and support is given on this<br>
&gt; forum by a team (<a href="https://frappe.io/webnotes" target="_blank">https://frappe.io/webnotes</a>). So please consider donating if<br>
&gt; you find this forum useful (<a href="https://frappe.io/buy" target="_blank">https://frappe.io/buy</a>). Even a small amount<br>
&gt; would be helpful.<br>
&gt; 2. We should be able to replicate it at our end. So please give us as much<br>
&gt; information as you can. Please see it from the point of view of the person<br>
&gt; receiving the communication.<br>
&gt; 3. Paste your code at <a href="http://pastebin.com" target="_blank">http://pastebin.com</a> or <a href="http://gist.github.com" target="_blank">http://gist.github.com</a> and send<br>
&gt; only the URL via email<br>
&gt; 4. For sending images, use <a href="http://imgur.com" target="_blank">http://imgur.com</a> or other similar services. Do<br>
&gt; not send images as attachments. Links are good. Same goes for any file you<br>
&gt; are going to send.<br>
&gt;<br>
&gt; End of Note<br>
&gt; ---<br>
</div></div>&gt; You received this message because you are subscribed to the Google Groups<br>
&gt; &quot;ERPNext Developer Forum&quot; group.<br>
&gt; To unsubscribe from this group and stop receiving emails from it, send an<br>
<div class="">&gt; email to <a href="mailto:erpnext-developer-forum%2B...@googlegroups.com">erpnext-developer-forum+un...@googlegroups.com</a>.<br>
&gt; To view this discussion on the web visit<br>
&gt; <a href="https://groups.google.com/d/msgid/erpnext-developer-forum/30569327-51ee-4b47-ad3b-76ef392da46a%40googlegroups.com" target="_blank">https://groups.google.com/d/msgid/erpnext-developer-forum/30569327-51ee-4b47-ad3b-76ef392da46a%40googlegroups.com</a>.<br>


&gt; For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
<br>
<br>
<br>
</div>--<br>
Pratik<br>
erpnext<br>
<div class=""><br>
--<br>
Note:<br>
<br>
If you are posting an issue,<br>
<br>
1. ERPNext is a free and open source software and support is given on this forum by a team (<a href="https://frappe.io/webnotes" target="_blank">https://frappe.io/webnotes</a>). So please consider donating if you find this forum useful (<a href="https://frappe.io/buy" target="_blank">https://frappe.io/buy</a>). Even a small amount would be helpful.<br>


2. 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.<br>
3. Paste your code at <a href="http://pastebin.com" target="_blank">http://pastebin.com</a> or <a href="http://gist.github.com" target="_blank">http://gist.github.com</a> and send only the URL via email<br>
4. For sending images, use <a href="http://imgur.com" target="_blank">http://imgur.com</a> or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.<br>
<br>
End of Note<br>
---<br>
You received this message because you are subscribed to a topic in the Google Groups &quot;ERPNext Developer Forum&quot; group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/erpnext-developer-forum/MVYEvVPX-OE/unsubscribe" target="_blank">https://groups.google.com/d/topic/erpnext-developer-forum/MVYEvVPX-OE/unsubscribe</a>.<br>


To unsubscribe from this group and all its topics, send an email to <a href="mailto:erpnext-developer-forum%2B...@googlegroups.com">erpnext-developer-forum+un...@googlegroups.com</a>.<br>
</div>To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0Env3aYrSnnts228uE0pnMViqDhvfDBAwmLQ%2BVUWKX8c%3Dg%40mail.gmail.com" target="_blank">https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0Env3aYrSnnts228uE0pnMViqDhvfDBAwmLQ%2BVUWKX8c%3Dg%40mail.gmail.com</a>.<br>


<div class="HOEnZb"><div class="h5">For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</div></div></blockquote></div><br></div>

<p></p>

-- <br />
Note:<br />
&nbsp;<br />
If you are posting an issue,<br />
&nbsp;<br />
1. ERPNext is a free and open source software and support is given on this forum by a team (<a href="https://frappe.io/webnotes">https://frappe.io/webnotes</a>). So please consider donating if you find this forum useful (<a href="https://frappe.io/buy">https://frappe.io/buy</a>). Even a small amount would be helpful.<br />
2. 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.<br />
3. Paste your code at <a href="http://pastebin.com">http://pastebin.com</a> or <a href="http://gist.github.com">http://gist.github.com</a> and send only the URL via email<br />
4. For sending images, use <a href="http://imgur.com">http://imgur.com</a> or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.<br />
&nbsp;<br />
End of Note<br />
--- <br />
You received this message because you are subscribed to the Google Groups &quot;ERPNext Developer Forum&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:erpnext-developer-forum+un...@googlegroups.com">erpnext-developer-forum+un...@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/erpnext-developer-forum/CAGqFYqsh42GcLjE26AEPu6o15gdEaXaS_pfmJRcrqKpCNceG8A%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/erpnext-developer-forum/CAGqFYqsh42GcLjE26AEPu6o15gdEaXaS_pfmJRcrqKpCNceG8A%40mail.gmail.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />

On Thu, Aug 21, 2014 at 4:04 AM, Saeed si...@gmail.com wrote:

ps aux | grep gunicorn
nexia 3456 0.6 0.8 13384 8824 ? S 21:36 0:00
/home/nexia/frappe-bench/env/bin/python
/home/nexia/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120
frappe.app:application
nexia 3461 0.4 1.1 19972 11512 ? S 21:36 0:00
/home/nexia/frappe-bench/env/bin/python
/home/nexia/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120
frappe.app:application
nexia 3462 0.4 1.1 19980 11520 ? S 21:36 0:00
/home/nexia/frappe-bench/env/bin/python
/home/nexia/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120
frappe.app:application
nexia 3495 0.0 0.0 5904 828 pts/0 S+ 21:37 0:00 grep
–color=auto gunicorn

ps aux | grep serve
redis 2133 0.1 0.6 27868 6528 ? Ssl 21:14 0:02
/usr/bin/redis-server 127.0.0.1:6379
nexia 3497 0.0 0.0 5908 832 pts/0 S+ 21:38 0:00 grep
–color=auto serve

Luqman
+233-244-493985

Hi Seraaj,

It seems that you’ve setup production environment (with supervisor).
In production setup, you don’t need to use bench start, supervisor
takes care of running all the processes. After you setup nginx, the
site should be available at port 80.

Thanks,

Pratik

Yes your right I've production deployed it. But localhost doesn't work. I get "unable to connect" message

On 21 Aug 2014 08:05, "Pratik Vyas" <pd...@gmail.com> wrote:
On Thu, Aug 21, 2014 at 4:04 AM, Saeed <si...@gmail.com> wrote:
> ps aux | grep gunicorn
> nexia 3456 0.6 0.8 13384 8824 ? S 21:36 0:00
> /home/nexia/frappe-bench/env/bin/python
> /home/nexia/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120
> frappe.app:application
> nexia 3461 0.4 1.1 19972 11512 ? S 21:36 0:00
> /home/nexia/frappe-bench/env/bin/python
> /home/nexia/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120
> frappe.app:application
> nexia 3462 0.4 1.1 19980 11520 ? S 21:36 0:00
> /home/nexia/frappe-bench/env/bin/python
> /home/nexia/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120
> frappe.app:application
> nexia 3495 0.0 0.0 5904 828 pts/0 S+ 21:37 0:00 grep
> --color=auto gunicorn
>
> ps aux | grep serve
> redis 2133 0.1 0.6 27868 6528 ? Ssl 21:14 0:02
> /usr/bin/redis-server 127.0.0.1:6379
> nexia 3497 0.0 0.0 5908 832 pts/0 S+ 21:38 0:00 grep
> --color=auto serve
>
>
>
> Luqman
> +233-244-493985
>
>

Hi Seraaj,

It seems that you've setup production environment (with supervisor).
In production setup, you don't need to use bench start, supervisor
takes care of running all the processes. After you setup nginx, the
site should be available at port 80.

Thanks,
--
Pratik

--
Note:

If you are posting an issue,

1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  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 a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/MVYEvVPX-OE/unsubscribe.

To unsubscribe from this group and all its topics, 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/CAG8U0E%3D1vnmujpqjB2uJyXhdKw0Wa5T3Tirz-8fopXihv8h6Og%40mail.gmail.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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/CAGqFYqsuPP%3D8H4-YdV2Bx7scEy6cQJ_DBu814SfVKpT329q7_w%40mail.gmail.com.

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

I am facing the same issue.

When ever I have installed ERPNEXT on my local machine. Whenever I restart, I am facing this issue.

Please help.

Regards,
Venkat

On Thursday, 21 August 2014 22:50:24 UTC+12, Seraaj Muneer wrote:

Yes your right I've production deployed it. But localhost doesn't work. I get "unable to connect" message

On 21 Aug 2014 08:05, "Pratik Vyas" <pd...@gmail.com> wrote:
On Thu, Aug 21, 2014 at 4:04 AM, Saeed <si...@gmail.com> wrote:
> ps aux | grep gunicorn
> nexia     3456  0.6  0.8  13384  8824 ?        S    21:36   0:00
> /home/nexia/frappe-bench/env/bin/python
> /home/nexia/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120
> frappe.app:application
> nexia     3461  0.4  1.1  19972 11512 ?        S    21:36   0:00
> /home/nexia/frappe-bench/env/bin/python
> /home/nexia/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120
> frappe.app:application
> nexia     3462  0.4  1.1  19980 11520 ?        S    21:36   0:00
> /home/nexia/frappe-bench/env/bin/python
> /home/nexia/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120
> frappe.app:application
> nexia     3495  0.0  0.0   5904   828 pts/0    S+   21:37   0:00 grep
> --color=auto gunicorn
>
> ps aux | grep serve
> redis     2133  0.1  0.6  27868  6528 ?        Ssl  21:14   0:02
> /usr/bin/redis-server 127.0.0.1:6379
> nexia     3497  0.0  0.0   5908   832 pts/0    S+   21:38   0:00 grep
> --color=auto serve
>
>
>
> Luqman
> +233-244-493985
>
>

Hi Seraaj,

It seems that you've setup production environment (with supervisor).
In production setup, you don't need to use bench start, supervisor
takes care of running all the processes. After you setup nginx, the
site should be available at port 80.

Thanks,
--
Pratik

--
Note:

If you are posting an issue,

1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  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 a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/MVYEvVPX-OE/unsubscribe.

To unsubscribe from this group and all its topics, 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/CAG8U0E%3D1vnmujpqjB2uJyXhdKw0Wa5T3Tirz-8fopXihv8h6Og%40mail.gmail.com.

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


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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/67ef26d2-548e-48c0-94c4-c1d9d1699627%40googlegroups.com.

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