my zotonic server teminates every half day

58 views
Skip to first unread message

jiemar

unread,
Aug 25, 2012, 7:17:56 PM8/25/12
to zotoni...@googlegroups.com
zotonic is started with no problem.and  i can visit the web pages successfully.
But after about 6 hours ,the server would teminate fot the reason. I start it again, and 6 hour later, it crash again.
I analysis the erl_crash.dump file and the erlang webtool tells me :"slogan:init terminating in do_boot ()"
i analysis the sasl file ,found it nothing .
My env is erl15.01, zotonic 0.8
So thx for your help

jiemar

unread,
Aug 25, 2012, 7:29:09 PM8/25/12
to zotoni...@googlegroups.com
I am sorry , I analysis the wrong  erl_crash.dump file ,the right one is deleted. About 6hours later ,it would crash again, and then i will report the newly result again.But i am curious about the every 6 hour crash ,any body has the same experience?

在 2012年8月26日星期日UTC+8上午7时17分56秒,jiemar写道:

jiemar

unread,
Aug 25, 2012, 8:11:22 PM8/25/12
to zotoni...@googlegroups.com
I know the answer.
I start the zotonic.sh with my account in vps. When i log out , the session is broken,and zotonic is also terminated.
So i try to start zotonic at system start .I do it and found if root start zotonic the visitor will not avaliable to visit the web pages
Now i am searching how to start a service without root authority

在 2012年8月26日星期日UTC+8上午7时17分56秒,jiemar写道:

Alain O'Dea

unread,
Oct 1, 2012, 9:05:06 PM10/1/12
to zotoni...@googlegroups.com
Hi jiemar:

I am happy to help however I can.  I hope you are still interested in deploying Zotonic :)

The cookbook article at http://zotonic.com/documentation/871/running-on-port-80-and-port-443 provides a nice set of options for running as non-root including iptables, setcap and authbind.

My rather spartan website http://alainodea.com/ runs setcap and works for both my IPv4 and IPv6 addresses.

Best,
Alain
Reply all
Reply to author
Forward
0 new messages