Re: Stratos installation successful but console not showing up

2015-06-17 Thread Swapnil Patil
Hi Lasindu, Thanks for the information. Regards, Swapnil On Wed, Jun 17, 2015 at 5:28 AM, Lasindu Charith wrote: > Hi Swapnil, > > This is fixed in commit 816500987c4e2fc9e3361ff58c34f6ca6044cb25. You can > take a pull and verify again. > Thanks for reporting. > > Thanks, > > On Tue, Jun 16, 2

Re: Stratos installation successful but console not showing up

2015-06-16 Thread Lasindu Charith
Hi Swapnil, This is fixed in commit 816500987c4e2fc9e3361ff58c34f6ca6044cb25. You can take a pull and verify again. Thanks for reporting. Thanks, On Tue, Jun 16, 2015 at 10:06 PM, Swapnil Patil wrote: > Hi Lasindu, > > Thanks for the information. > > Regards, > Swapnil > > On Tue, Jun 16, 2015

Re: Stratos installation successful but console not showing up

2015-06-16 Thread Swapnil Patil
Hi Lasindu, Thanks for the information. Regards, Swapnil On Tue, Jun 16, 2015 at 4:27 PM, Lasindu Charith wrote: > Hi Swapnil, > > Your observation is correct. This issue has already been reported in [1] > and fixed in carbon 4.3.0. We need to replace above with "if ps -p $PID > > /dev/null ;

Re: Stratos installation successful but console not showing up

2015-06-16 Thread Lasindu Charith
Hi Swapnil, Your observation is correct. This issue has already been reported in [1] and fixed in carbon 4.3.0. We need to replace above with "if ps -p $PID > /dev/null ; then" We will fix this and let you know. [1] https://wso2.org/jira/browse/CARBON-14477 Thanks, On Tue, Jun 16, 2015 at 9:34

Re: Stratos installation successful but console not showing up

2015-06-16 Thread Swapnil Patil
After building Stratos again on latest code, it is now working fine. Stratos is now started and I can see the console. Thanks everyone for your inputs! Though, I would like to bring one issue to notice. While I was facing 'ps: write error: Bad file descriptor' error, I looked into stratos.sh for

Re: Stratos installation successful but console not showing up

2015-06-16 Thread Gayan Gunarathne
I think it is OK to use JRE as we are only running the Stratos here. I guess issue with the swap memory size as per your logs. [2015-06-16 04:51:41,076] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - Swap Memory size (MB): 1905 of the system is below the recommended

Re: Stratos installation successful but console not showing up

2015-06-16 Thread Imesh Gunaratne
Looks like your JAVA_HOME is set to the JRE not to the JDK: JAVA_HOME environment variable is set to /usr/local/jdk1.7.0_79/jre On Tue, Jun 16, 2015 at 12:21 PM, Swapnil Patil wrote: > Thanks Lasindu for the feedback. I will try that. > > Regards, > Swapnil > > On Tue, Jun 16, 2015 at 6:47 AM,

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Thanks Lasindu for the feedback. I will try that. Regards, Swapnil On Tue, Jun 16, 2015 at 6:47 AM, Lasindu Charith wrote: > Hi Swapnil, > > Yes, first get an update from the latest Git master and try again. > If not try the rc-2 tag( > https://github.com/apache/stratos/releases/tag/4.1.0-rc2)

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Lasindu Charith
Hi Swapnil, Yes, first get an update from the latest Git master and try again. If not try the rc-2 tag( https://github.com/apache/stratos/releases/tag/4.1.0-rc2) to build. Thanks, On Tue, Jun 16, 2015 at 12:13 PM, Swapnil Patil wrote: > Just an update. > > Running stratos.sh from apache-strato

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Just an update. Running stratos.sh from apache-stratos-4.1.0-SNAPSHOT.zip (which I built locally) gives above partial output. So server does not start. But running stratos.sh from apache-stratos-4.0.0.zip (which I downloaded) does start the server. Do you think I should build it again on latest

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Hi Reka, Thanks for the sample log. This is all I got. The command is still running and nothing is added to the log. Thanks and Regards, Swapnil On Tue, Jun 16, 2015 at 5:36 AM, Reka Thirunavukkarasu wrote: > Hi Swapnil, > > You have attached the partial logs only. Do you have the complete st

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Reka Thirunavukkarasu
Hi Swapnil, You have attached the partial logs only. Do you have the complete stratos startup logs? I have attached a sample startup log here with. If the stratos started successfully, then you can see the console in https://localhost:9443/console/ On Tue, Jun 16, 2015 at 10:31 AM, Swapnil Pati

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
I followed steps below. 1. cleaned the earlier setup. So now I don't have userstore database. 2. Started activemq 3. Extratcted apache-stratos-4.1.0-SNAPSHOT.zip to a new folder. 4. Executed the command - sh stratos.sh. I got the output attached and it is still running. How do I check if server

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Imesh Gunaratne
May be you are experiencing a permission issue. Try to extract the Stratos zip file again with your local user into a new folder and run the stratos.sh. On Tue, Jun 16, 2015 at 12:08 AM, Swapnil Patil wrote: > As an experiment, I replaced apache-stratos-*4.1.0*-SNAPSHOT.zip > with apache-stratos

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
As an experiment, I replaced apache-stratos-*4.1.0*-SNAPSHOT.zip with apache-stratos-*4.0.0*.zip and made necessary changes in setup.conf file. With this server was up and I could see console. I thought of trying this because earlier I had tried it and server had started. But as GSoC students shou

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
I tried following commands and got respective output. 1. sh stratos.sh - got permission denied error in stack trace. Please refer attached log. 2. sh stratos.sh start - ps: write error: Bad file descriptor 3. sudo sh stratos.sh - Output as per wso2carbon.log attached earlier. And didn't exit. 4

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Imesh Gunaratne
You could use following: sh stratos.sh sh stratos.sh start On Mon, Jun 15, 2015 at 11:25 PM, Swapnil Patil wrote: > Hi Imesh, Lasindu, > > I did try it without sudo. But still the error "ps: write error: Bad file > descriptor" persists. > > Just to confirm - I need to run "./stratos.sh -Dprofile

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Hi Imesh, Lasindu, I did try it without sudo. But still the error "ps: write error: Bad file descriptor" persists. Just to confirm - I need to run "./stratos.sh -Dprofile=default start" to start the server. Am I right? Thanks and Regards, Swapnil On Mon, Jun 15, 2015 at 5:44 PM, Imesh Gunaratne

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Imesh Gunaratne
Hi Swapnil, According to the carbon log the server has not started. Please try to start the server manually with your local user as Lasindu has mentioned (without the installer). Thanks On Mon, Jun 15, 2015 at 11:08 PM, Swapnil Patil wrote: > Hi Lasindu, > > No, I did not. I will try that. Tha

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Hi Lasindu, No, I did not. I will try that. Thanks! Regards, Swapnil On Mon, Jun 15, 2015 at 4:42 PM, Lasindu Charith wrote: > Hi Swapnali, > > Did you try starting the server without 'sudo'(super user)? > > > On Mon, Jun 15, 2015 at 9:57 PM, Swapnil Patil > wrote: > >> I ran start-server.sh

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Lasindu Charith
Hi Swapnali, Did you try starting the server without 'sudo'(super user)? On Mon, Jun 15, 2015 at 9:57 PM, Swapnil Patil wrote: > I ran start-server.sh -p "default". But still the issue persists. > > Output of start-server.sh is as follows. > > $ sudo ./start-servers.sh -p "default" > source it

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
I ran start-server.sh -p "default". But still the issue persists. Output of start-server.sh is as follows. $ sudo ./start-servers.sh -p "default" source it 'default' profile selected. INFO: Using default configuration (you can configure options in one of these file: /etc/default/activemq /root/.a

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Hi Udara, Ok. I will try that. Thanks, Swapnil On Jun 15, 2015 4:19 PM, "Udara Liyanage" wrote: > Hi Swapnil, > > It seems you are running low on RAM. However could you try just starting > Stratos without the installer. > > *TID: [0] [STRATOS] [2015-06-15 10:02:07,072] WARN > {org.wso2.carbon.

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Udara Liyanage
Hi Swapnil, It seems you are running low on RAM. However could you try just starting Stratos without the installer. *TID: [0] [STRATOS] [2015-06-15 10:02:07,072] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - Swap Memory size (MB): 1905 of the system is below the re

Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Hi All, I have built Stratos locally and using it while installation (apache-stratos-4.1.0-SNAPSHOT.zip and other zips like cartridge agent and load balancer). Installation is successful but Stratos console is not showing up. I waited for half an hour. Output of netstat doesn't show any entry for