Recreate Logs direcotry

2016-05-02 Thread Zain Abideen
Hi all, I've accidently deleted /var/log/cloudstack dir in order to clean all the logs. I thought, restarting cloudstack-management service will automatically re-create this folder but it didn't happen. Now I'm able to create /var/log/cloudstack/agent directory but management directory is still mi

Re: Recreate Logs direcotry

2016-05-02 Thread Erik Weber
Did you change ownership to your cloudstack user, normally 'cloud'? You might have to recreate the management subfolder, I am not sure if the service does it automatically or not. -- Erik On Mon, May 2, 2016 at 10:48 AM, Zain Abideen wrote: > Hi all, > > I've accidently deleted /var/log/cloud

Re: Recreate Logs direcotry

2016-05-02 Thread Zain Abideen
Thanks a lot weber. Changing owner did it Regards, Zain ul Abideen On Mon, May 2, 2016 at 1:55 PM, Erik Weber wrote: > Did you change ownership to your cloudstack user, normally 'cloud'? > > You might have to recreate the management subfolder, I am not sure if the > service does it automaticall

Re: Recreate Logs direcotry

2016-05-02 Thread Erik Weber
Glad it worked -- Erik On Mon, May 2, 2016 at 11:13 AM, Zain Abideen wrote: > Thanks a lot weber. Changing owner did it > > Regards, > Zain ul Abideen > > On Mon, May 2, 2016 at 1:55 PM, Erik Weber wrote: > > > Did you change ownership to your cloudstack user, normally 'cloud'? > > > > You mi

I cannot start agent - Cloudstack 4.8 - Connection closed with -1 on reading size

2016-05-02 Thread Elie MABO
Hi, I have upgraded my cloudstack from 4.4 to 4.8. After upgrading, the agent on hosts cannot start. I receive the following message:  20:08:45,833 ERROR [cloud.agent.AgentShell] (main:null) (logid:) Unable to start agent: com.cloud.utils.exception.CloudRuntimeException: Unable to start the c

Re: I cannot start agent - Cloudstack 4.8 - Connection closed with -1 on reading size

2016-05-02 Thread Simon Weller
Ellie, Can you try forcing ACS Management to only bind to IPV4? Normally this is done in the JAVA_OPTS by setting -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true I think on the ACS Ubuntu release, JAVA_OPTS is set in your init scripts, but I'm not absolutely sure about that.

Re: I cannot start agent - Cloudstack 4.8 - Connection closed with -1 on reading size

2016-05-02 Thread Rajani Karuturi
also check java version and upgrade nss http://blog.backslasher.net/java-ssl-crash.html ~Rajani On Tue, May 3, 2016 at 7:36 AM, Simon Weller wrote: > Ellie, > > Can you try forcing ACS Management to only bind to IPV4? > Normally this is done in the JAVA_OPTS by setting > -Djava.net.preferIPv4St