ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lajos papp <lajos.p...@sequenceiq.com>
Subject ambari-server start via ssh doesn't work
Date Thu, 20 Feb 2014 02:00:03 GMT
Hi,

I try to start ambari server remotely via ssh:

> ssh -t ec2-user@54.229.XXX.YYY  'sudo ambari-server start --verbose'

It exits with a success message: "Ambari Server 'start' completed successfully."
But the server is not running.

> ssh -t ec2-user@54.229.66.214 'sudo ambari-server status'

Using python  /usr/bin/python2.6
Ambari-server status
Ambari Server not running. Stale PID File at: /var/run/ambari-server/ambari-server.pid
Connection to 54.229.66.214 closed.

the strange is the in the /var/log/ambari-server/ directory there is no ambari-server.log
just an ambari-server.out with 0 length.

Any tips?
cheers,
lajos

=====================================================================
=== output of: ssh -t ec2-user@54.229.XXX.YYY  'sudo ambari-server start --verbose' ===
=====================================================================
Using python  /usr/bin/python2.6
Starting ambari-server
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Ambari Server is not running... but maybe it will ... i hope so ...
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Ambari Server running with 'root' privileges.
INFO: about to run command: /sbin/service postgresql status
INFO: PostgreSQL is running
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: AMBARI_SERVER_LIB is not set, using default /usr/lib/ambari-server
INFO: Running server: ['/bin/sh', '-c', '/usr/jdk64/jdk1.6.0_31/bin/java -server -XX:NewRatio=3
-XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -XX:CMSInitiatingOccupancyFraction=60 -Xms512m
-Xmx2048m -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf
-Djavax.security.auth.useSubjectCredsOnly=false -cp /etc/ambari-server/conf:/usr/lib/ambari-server/*:/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib/ambari-server/*
org.apache.ambari.server.controller.AmbariServer >/var/log/ambari-server/ambari-server.out
2>&1 & echo $! > /var/run/ambari-server/ambari-server.pid']
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Ambari Server 'start' completed successfully.
Connection to 54.229.XXX.YYY closed.



Mime
View raw message