Member since
11-04-2015
44
Posts
18
Kudos Received
3
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1340 | 03-17-2017 06:17 AM | |
62840 | 02-29-2016 12:25 PM | |
12246 | 02-03-2016 01:25 PM |
02-03-2016
01:25 PM
1 Kudo
The problem with PostgreSQL is now solved.
error log from /var/lib/pgsql/pgstartup.log says: "Starting PostgreSQL
FATAL: could not create lock file "/tmp/.s.PGSQL.5432.lock":
Permission denied" Resolution: As root user
type "chmod 1777 /tmp"in terminal. PostgreSQL will now start successfully. > service postgresql start Cause: Postgres cannot
write a file to /tmp because of permissions set on /tmp directory.
... View more
02-02-2016
02:01 PM
@Neeraj Sabharwal Ambari server can't start at all!
... View more
02-02-2016
01:54 PM
@Geoffrey Shelton Okot I followed all the above steps but Ambari server and PostgreSQL can not start. Hue also failed to start. > /etc/init.d/hue start # failed The PostreSQL is embedded by default with HDP Sandbox 2.3. So, I did not do any configuration and it was working fine before some time. Do I have to go for reinstalling the Sandbox?
... View more
02-02-2016
12:14 PM
@Artem Ervits The Sandbox is deployed on CentOS server (base OS) not on virtual machine.
I have no GUI access to the server. I can access it only with PuTTY (remotely).
... View more
02-02-2016
11:57 AM
@Geoffrey Shelton Okot Thanks for your prompt response! I think the cause for the failure is that the PostgreSQL failed to connect. service postgresql start results in : Starting postgresql service: [FAILED] you can look at the below screen shot too. vi /var/log/ambari-server/ambari-server.out Any further fix?
... View more
02-02-2016
11:14 AM
Ancil McBarnett Much respect and thanks for your dedication! I tried all the options, but no luck! /etc/hosts file looks like this: eth0 IP address is 10.0.225.60 Ambari Server failed to start. Look at the screen shot "Connection refused" I can see ambari-server process though running netstat -nltu | grep 8080 returns nothing. Any thing about port forwarding? netstat -nltu 8080 is not in the list of listening ports.
... View more
02-02-2016
08:48 AM
1 Kudo
In the HDP configuration documentation, it says "To enable HDP communication, open the specific ports that HDP uses." How can achieve this in CentOS? What about port forwarding? For example if I want to access the Web UIs from browser on remote machine, how can I achieve it?
I tried this : ssh -L 0.0.0.0:8080:10.0.225.60:8080 root@sandbox -g to make other people on the subnet reach the machine on SSH. and when I run : netstat -nltu | grep 8080, I can see the service is listening on the port.
But when I run telnet <hostname-name> 8080, error " Connection closed by foreign host" occured. Look at the screen shot. Any workaround will be highly appreciated!
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
02-02-2016
07:44 AM
Note: I am working on a network protected by firewall. My Local PC and the remote Sandbox Host are on the same LAN. I am remotely accessing the Sandbox Host (deployed onCentOS ) from my Window PC using PuTTY.
... View more
02-02-2016
07:16 AM
Thanks @Artem Ervits for your prompt response! I am able to start the ambari server by issuing the command 'ambari-server start' now. But I can't still open Ambari on the browser from my Windows PC. http://<server-name>:8080 shows error: " ERR_CONNECTION_REFUSED". How can I add the HDP service ports to the list of listening ports? I think the issue could be related to port forwarding. How can I forward HDP service ports so that I can access the services from remote machine?
... View more
02-01-2016
02:06 PM
I have been working on Hortonworks Sandbox. The Sandbox is deployed on CentOS 6.7 server. I was, at some point in time, able to access the Web UIs on my browser from remote PC. But most of the services are not accessible except the welcome page on port 8888. When I try to start the services with command line in PuTTY, no success! That is, the services are not running. When I run this command, netstat -nltu , I can't see the service ports in the list of listening ports. How can I make the ports listen for TCP connection. Any walk through on configuration of iptables and port forwarding would also be highly appreciated!
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
- « Previous
- Next »