Unable to stop zotonic

45 views
Skip to first unread message

Jan Willem Luiten

unread,
Oct 26, 2012, 9:24:48 AM10/26/12
to zotoni...@googlegroups.com
Hello,

I deployed Zotonic on Amazon EC2. Runs fine. Even better: it's unstoppable ;-)

[ec2-user@ip-10-48-245-74 zotonic]$ bin/zotonic start
Starting zotonic zoton...@ip-10-48-245-74.local
[ec2-user@ip-10-48-245-74 zotonic]$ bin/zotonic stop
Stopping zotonic zoton...@ip-10-48-245-74.local
Stopping:'zoton...@ip-10-48-245-74.local'
There is no node with this name
[ec2-user@ip-10-48-245-74 zotonic]$ 


Any hints on what's going on here?

Cordially,

Jan Willem

Kunthar

unread,
Oct 26, 2012, 9:35:51 AM10/26/12
to zotoni...@googlegroups.com
Urgent intervention:

ps -aux | grep zotonic

see the relevant process id(s) from the list.

after this:

kill -9 process_id

also check tcp ports:

netstat -anp | grep beam

to see if there is running ports.


Detailed check:

1. Check FQDN of your machine
2. Check hosts file to see your zotonic site is there
3. Check the already running ports, if ay app is binding the needed ports.
--
BR,
\|/ Kunthar

natxo cabre

unread,
Oct 26, 2012, 10:54:57 AM10/26/12
to zotoni...@googlegroups.com
Hi,

warning: I'm a Zotonic newbie :)

I had a similar issue some weeks ago using Zotonic 0.9 and it was related to the topic discussed on the Zotonic's thread "Cannot add site": hostname. 

I fixed it adding your site name in the /etc/hosts file.

echo "127.0.0.1  yoursite.local" >> /etc/hosts


Maybe you have to stop first the heart and beam processes, make the /etc/hosts change and re-start it again.

regards,
Natxo




2012/10/26 Jan Willem Luiten <janwille...@gmail.com>

Jan Willem Luiten

unread,
Oct 26, 2012, 1:57:50 PM10/26/12
to zotoni...@googlegroups.com
Hello Kunthar and naxto,

Problem solved by changing /etc/hosts...

Cordially,

Jan Willem.


Op vrijdag 26 oktober 2012 15:24:48 UTC+2 schreef Jan Willem Luiten het volgende:
Hello,

I deployed Zotonic on Amazon EC2. Runs fine. Even better: it's unstoppable ;-)

[ec2-user@ip-10-48-245-74 zotonic]$ bin/zotonic start
Starting zotonic zotonic001@ip-10-48-245-74.local
[ec2-user@ip-10-48-245-74 zotonic]$ bin/zotonic stop
Stopping zotonic zotonic001@ip-10-48-245-74.local
Stopping:'zotonic001@ip-10-48-245-74.local'
There is no node with this name
[ec2-user@ip-10-48-245-74 zotonic]$ 
Reply all
Reply to author
Forward
0 new messages