[PetiteCloud] Petitecloud not starting?

Michael Thoreson m.thoreson at c4labs.ca
Thu Feb 13 14:06:34 PST 2014


Perhaps add that to the documentation. It may be adviseable to add 
checking that required services are running (Tomcat\Apache) to the 
startup routine as well checking for creation of the files you listed 
before saying PC started successfully. Later more advanced features of 
the checking could also including enabling the services in rc.conf or 
issuing a "onestart" command to the services before starting PC.

While PC doesn't have a daemon right now, perhaps adding a daemon for 
monitoring and stats collection should be considered.

Michael Thoreson,

On 13/02/2014 3:50 PM, Aryeh Friedman wrote:
> Also a quick note it does make files in /var/run/petitecloud/XXXX 
> where XXXX is the internal md5 (truncated to 10 chars) instance ID 
> (different then the name) and the file contains the PID of the hyperv 
> that is running the instance currently
>
>
> On Thu, Feb 13, 2014 at 4:29 PM, Jason Garrett <kingedgar at gmail.com 
> <mailto:kingedgar at gmail.com>> wrote:
>
>     Thank You, I enabled tomcat in /etc/rc.conf, rebooted, and
>     everything worked. Thanks for this product!!!
>
>
>     On Thu, Feb 13, 2014 at 3:19 PM, Aryeh Friedman
>     <aryeh.friedman at gmail.com <mailto:aryeh.friedman at gmail.com>> wrote:
>
>         Everything is right either start tomcat or just reboot...
>         there is no pid file because petitecloud does not have a
>         daemon (the rc.d is only to do some system wide configs like
>         setup the bridge and load the kernel modules).... in general
>         it performs all it's tasks when triggered by the WebUI and is
>         completely our of memory other wise... question for mike do we
>         need to be clearer here in the instructions?
>
>
>         On Thu, Feb 13, 2014 at 4:15 PM, Jason Garrett
>         <kingedgar at gmail.com <mailto:kingedgar at gmail.com>> wrote:
>
>             I have installed petitecloud on FreeBSD 10.0-RELEASE
>             successfully (I think). When I run
>             /usr/local/etc/rc.d/petitecloud start it says petitecloud
>             has started, but I see no .pid file in
>             /var/run/petitecloud/ and I am unable to connect to the
>             webserver at localhost:8080.
>
>             Do I need to have tomcat enabled and started? Do I need to
>             have a line in /etc/rc.d to enable petitecloud?
>
>             Please direct me to where I should go next.
>
>             Thanks In Advance!!!
>
>             _______________________________________________
>             petitecloud-general mailing list
>             petitecloud-general at lists.petitecloud.nyclocal.net
>             <mailto:petitecloud-general at lists.petitecloud.nyclocal.net>
>             http://lists.petitecloud.nyclocal.net/listinfo.cgi/petitecloud-general-petitecloud.nyclocal.net
>
>
>
>
>         -- 
>         Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
>
>         _______________________________________________
>         petitecloud-general mailing list
>         petitecloud-general at lists.petitecloud.nyclocal.net
>         <mailto:petitecloud-general at lists.petitecloud.nyclocal.net>
>         http://lists.petitecloud.nyclocal.net/listinfo.cgi/petitecloud-general-petitecloud.nyclocal.net
>
>
>
>     _______________________________________________
>     petitecloud-general mailing list
>     petitecloud-general at lists.petitecloud.nyclocal.net
>     <mailto:petitecloud-general at lists.petitecloud.nyclocal.net>
>     http://lists.petitecloud.nyclocal.net/listinfo.cgi/petitecloud-general-petitecloud.nyclocal.net
>
>
>
>
> -- 
> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
>
>
> _______________________________________________
> petitecloud-general mailing list
> petitecloud-general at lists.petitecloud.nyclocal.net
> http://lists.petitecloud.nyclocal.net/listinfo.cgi/petitecloud-general-petitecloud.nyclocal.net




More information about the petitecloud-general mailing list