I have put it as localhost. But, still same issue.

Has anybody tried installing strator-4.0.0 on one node?


________________________________
 From: Isuru Perera <isu...@wso2.com>
To: Maria Beckham <mariabeckha...@yahoo.com> 
Cc: dev <dev@stratos.apache.org> 
Sent: Monday, June 23, 2014 4:00 PM
Subject: Re: Error during stratos setup apache-stratos-4.0.0
 


wait. It's "access denied" error. So, I guess it shouldn't be a problem with 
connection. 






On Mon, Jun 23, 2014 at 3:58 PM, Isuru Perera <isu...@wso2.com> wrote:

That's fine. Did you check which IP address is MySQL is bound to? AFAIR, it's 
binding to localhost. When you use IP, I think it's unable to connect. Is it 
possible for you to use localhost and see?
>
>
>
>
>On Mon, Jun 23, 2014 at 3:51 PM, Maria Beckham <mariabeckha...@yahoo.com> 
>wrote:
>
>I mean installing entire stratos product including mysql except for cartridge 
>agent which will be on another machine
>>
>>
>>
>>________________________________
>> 
>>From: Maria Beckham <mariabeckha...@yahoo.com>
>>To: Isuru Perera <isu...@wso2.com>; dev <dev@stratos.apache.org> 
>>Sent: Monday, June 23, 2014 3:49 PM
>>
>>Subject: Re: Error during stratos setup apache-stratos-4.0.0
>>
>>
>>
>>I am installing everything on one machine and its ip is 10.9.20.116 as 
>>mentioned below in db_hostname
>>
>>
>>
>>
>>
>>
>>________________________________
>> From: Isuru Perera <isu...@wso2.com>
>>To: dev <dev@stratos.apache.org>; Maria Beckham <mariabeckha...@yahoo.com> 
>>Sent: Monday, June 23, 2014 3:44 PM
>>Subject: Re: Error during stratos setup apache-stratos-4.0.0
>> 
>>
>>
>>Do you have the database in a different node? You might also want to check 
>>whether root user can access remotely.
>>
>>
>>
>>
>>
>>
>>
>>On Mon, Jun 23, 2014 at 3:39 PM, Maria Beckham <mariabeckha...@yahoo.com> 
>>wrote:
>>
>>I think so. I have provided the info as follows in the setup.conf as per 
>>installation guide.
>>>
>>>
>>>xport userstore_db_hostname="10.9.20.116"
>>>export userstore_db_schema="userstore"
>>>export userstore_db_port="3306"
>>>export userstore_db_user="root"
>>>export userstore_db_pass="root"
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>________________________________
>>> From: Isuru Perera <isu...@wso2.com>
>>>
>>>To: dev <dev@stratos.apache.org>; Maria Beckham <mariabeckha...@yahoo.com> 
>>>Sent: Monday, June 23, 2014 3:34 PM
>>>
>>>Subject: Re: Error during stratos setup apache-stratos-4.0.0
>>>
>>>
>>>
>>>The setup is failing when trying to create required databases.
>>>
>>>Have you configured MySQL credentials correctly?
>>>
>>>
>>>
>>>
>>>On Mon, Jun 23, 2014 at 3:06 PM, Maria Beckham <mariabeckha...@yahoo.com> 
>>>wrote:
>>>
>>>Also, another error now.
>>>>
>>>>
>>>>Creating userstore database
>>>>/opt/stratos-installer/resources /opt/stratos-installer
>>>>/opt/stratos-installer
>>>>ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using 
>>>>password: YES)
>>>>
>>>>
>>>>
>>>>Workaround or resolution pls?
>>>>
>>>>
>>>>
>>>>________________________________
>>>> From: chris snow <chsnow...@gmail.com>
>>>>To: dev <dev@stratos.apache.org>; Maria Beckham <mariabeckha...@yahoo.com> 
>>>>Sent: Monday, June 23, 2014 2:17 PM
>>>>Subject: Re: Error during stratos setup apache-stratos-4.0.0
>>>> 
>>>>
>>>>Hi Maria,
>>>>
>>>>It looks like it is falling over just after this line: [1]
>>>>
>>>>If you change the script for your Iaas from:
>>>>
>>>>./ec2.sh $stratos_extract_path
>>>>to
>>>>bash -x ./ec2.sh $stratos_extract_path
>>>>
>>>>Then run the script again, this will give you some debug output which
>>>>will hopefully identify the sed statement that is struggling, for
>>>>example [2]
>>>>
>>>>Please let me know which sed script is failing.
>>>>
>>>>Be careful not to post the output of running 'bash -x ...' to the
>>>>mailing list because it may contain your IaaS credentials.
>>>>
>>>>Many thanks,
>>>>
>>>>Chris
>>>>
>>>>---
>>>>[1] 
>>>>https://github.com/apache/stratos/blob/master/tools/stratos-installer/setup.sh#L217
>>>>[2] 
>>>>https://github.com/apache/stratos/blob/master/tools/stratos-installer/ec2.sh#L44
>>>>
>>>>
>>>>On Mon, Jun 23, 2014 at 10:05 PM, Maria Beckham
>>>><mariabeckha...@yahoo.com> wrote:
>>>>> Hi All,
>>>>>
>>>>> I am getting the below error when running
>>>>>
>>>>> sudo ./setup.sh -p "default" -s
>>>>>
>>>>>
>>>>> Configuring the Cloud Controller
>>>>> In repository/conf/cloud-controller.xml
>>>>> /opt/stratos/apache-stratos-default /opt/stratos-installer
>>>>> sed: -e expression #1, char 32: unknown option to `s'
>>>>>
>>>>> Please provide resolution or work around ASAP as I am stuck now.
>>>>>
>>>>> thanks,
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>-- 
>>>
>>>Isuru Perera
>>>Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>>Lean . Enterprise . Middleware
>>>
>>>about.me/chrishantha
>>>
>>>
>>
>>
>>-- 
>>
>>Isuru Perera
>>Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>Lean . Enterprise . Middleware
>>
>>about.me/chrishantha
>>
>>
>>
>>
>
>
>-- 
>
>Isuru Perera
>Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>Lean . Enterprise . Middleware
>
>about.me/chrishantha


-- 

Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha

Reply via email to