Fixed ssh connection error. it was a /root folders permission issue.

The other set of erros is about the "Giving up re-registering file agent at
k2 as 192.168.1.12 after 101 retries." and the "Retry connecting to
[email protected], count *" errors
In K2 server (web app server), Faban agent is running and ssh is enabled.
Faban Master server can connect to K2 via ssh without asking for password.
This is faban agent running in K2 server:
*r...@k2:/usr/local/faban/logs# ps aux | grep agent
root      3070  0.0  1.6 1114560 29044 pts/0   Sl   May24   0:03
/usr/lib/jvm/java-6-openjdk/bin/java -client -classpath
/usr/local/faban/lib/commons-codec-1.2.jar:/usr/local/faban/lib/commons-httpclient-3.1.jar:/usr/local/faban/lib/commons-logging.jar:/usr/local/faban/lib/fabanagents.jar:/usr/local/faban/lib/fabancommon.jar:/usr/local/faban/lib/fabandriver.jar
-Djava.rmi.server.RMIClassLoaderSpi=com.sun.faban.harness.agent.RMIClassLoaderProvider
-Dfaban.cli.command=./agent -Dfaban.home=/usr/local/faban
-Djava.security.policy=/usr/local/faban/config/faban.policy
com.sun.faban.harness.agent.AgentBootstrap*
*r...@k2:/usr/local/faban/logs# tail agent.k2.log
Agent(Daemon) starting agent with options: [192.168.1.12, 192.168.1.13,
127.0.1.1, /usr/lib/jvm/java-6-openjdk, -Dfaban.home=/usr/local/faban/,
-Djava.security.policy=/usr/local/faban/config/faban.policy,
-Djava.util.logging.config.file=/usr/local/faban/config/logging.properties,
-Dfaban.registry.port=9998, -Dfaban.logging.port=9999, -Xmx1g, -Xms256m,
-XX:+DisableExplicitGC, faban.benchmarkName=OlioDriver, faban.download=
http://192.168.1.13:9980/, /, :]
*
This is the new run log:
Time Host Level Message 01:27:45 k2 SEVERE Giving up re-registering file
agent at k2 as 192.168.1.12 after 101 retries. 01:28:18   INFO CmdService:
Configured fileag...@makalu on server makalu 01:28:18   INFO CmdService:
Configured [email protected] on server makalu 01:28:28   WARNING Retry
connecting to [email protected], count 1. 01:28:38   WARNING Retry
connecting to [email protected], count 2. 01:28:48   WARNING Retry
connecting to [email protected], count 3. 01:28:58   WARNING Retry
connecting to [email protected], count 4. 01:29:08   WARNING Retry
connecting to [email protected], count 5. 01:29:18   WARNING Retry
connecting to [email protected], count 6. 01:29:28   WARNING Retry
connecting to [email protected], count 7. 01:29:38   WARNING Retry
connecting to [email protected], count 8. 01:29:48   WARNING Retry
connecting to [email protected], count 9. 01:29:58   WARNING Retry
connecting to [email protected], count 10. 01:29:58   SEVERE Could not
connect to [email protected] 01:29:58   SEVERE CmdService setup failed.
Exiting 01:30:03 makalu INFO [/usr/local/faban/bin/fenxi, process,
/usr/local/faban/output/OlioDriver.1G/,
/usr/local/faban/output/OlioDriver.1G//post/, OlioDriver.1G]
stdout:
Creating database ... 1.16s
Parsing raw files ... 0.00s
Processing profile default_profile ...OK
Opening Database ... 0.90s
Executing queries ... 0.05s
Generating html pages ... 0.14s 01:30:03   INFO Killing benchmark 01:30:03
INFO killing cmdag...@makalu 01:30:03   INFO killing [email protected]
01:30:04   INFO OlioDriver Completed/Terminated


*What can be the problem?*


--
Bruno Guimarães Sousa
www.ifba.edu.br
PONTONET - DGTI - IFBA
Ciência da Computação UFBA
Registered Linux user #465914


2010/5/25 Bruno Guimarães Sousa <[email protected]>

> Hi,
> servers are like this:
>
> SERVER 1 (192.168.1.13):
>    - faban master
>    - geocoder (tomcat)
>    - mysql server
> SERVER 2 (192.168.1.12):
>    - faban agent
>    - web app (olio - rails)
>
> When I run tests in faban it reports that can't connect via ssh:
>  20:33:24 makalu INFO Registry started. 20:33:34   WARNING [/usr/bin/ssh,
> -n, 192.168.1.13, /usr/local/faban/bin/agent, 192.168.1.13, 192.168.1.13,
> 127.0.1.1, /usr/lib/jvm/java-6-openjdk, -Dfaban.home=/usr/local/faban/,
> -Djava.security.policy=/usr/local/faban/config/faban.policy,
> -Djava.util.logging.config.file=/usr/local/faban/config/logging.properties,
> -Dfaban.registry.port=9998, -Dfaban.logging.port=9999, -Xmx1g, -Xms256m,
> -XX:+DisableExplicitGC, faban.benchmarkName=OlioDriver, faban.download=
> http://192.168.1.13:9980/]
> stderr:
> Permission denied, please try again.
> Permission denied, please try again.
> Permission denied (publickey,password). 23:36:43 k2 SEVERE Giving up
> re-registering file agent at k2 as 192.168.1.12 after 101 retries.
> 20:35:35   INFO CmdService: Configured fileag...@makalu on server makalu
> 20:35:45   WARNING Retry connecting to [email protected], count 1.
> 20:35:55   WARNING Retry connecting to [email protected], count 2.
> 20:36:05   WARNING Retry connecting to [email protected], count 3.
> 20:36:15   WARNING Retry connecting to [email protected], count 4.
> 20:36:25   WARNING Retry connecting to [email protected], count 5.
> 20:36:35   WARNING Retry connecting to [email protected], count 6.
> 20:36:45   WARNING Retry connecting to [email protected], count 7.
> 20:36:55   WARNING Retry connecting to [email protected], count 8.
> 20:37:05   WARNING Retry connecting to [email protected], count 9.
> 20:37:15   WARNING Retry connecting to [email protected], count 10.
> 20:37:15   SEVERE Could not connect to [email protected] 20:37:15
> SEVERE CmdService setup failed. Exiting 20:37:19 makalu INFO 
> [/usr/local/faban/bin/fenxi,
> process, /usr/local/faban/output/OlioDriver.1C/,
> /usr/local/faban/output/OlioDriver.1C//post/, OlioDriver.1C]
> stdout:
> Creating database ... 1.12s
> Parsing raw files ... 0.00s
> Processing profile default_profile ...OK
> Opening Database ... 0.87s
> Executing queries ... 0.04s
> Generating html pages ... 0.14s 20:37:19   INFO Killing benchmark 20:37:19
>   INFO killing cmdag...@makalu 20:37:20   INFO OlioDriver
> Completed/Terminated
>
> Isn't there a way to used rsh instead? Or how can I make ssh work?
>
> Tried to allow ssh access without asking for password (
> http://www.linuxhorizon.ro/ssh-wo-passw.html) and didn't succeded in
> Debian Squeeze.
>
> regards,
> --
> Bruno Guimarães Sousa
> www.ifba.edu.br
> PONTONET - DGTI - IFBA
> Ciência da Computação UFBA
> Registered Linux user #465914
>

Reply via email to