Member since
07-27-2017
5
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
471 | 08-24-2017 07:48 AM |
08-24-2017
08:18 AM
Hello everyone. I want to install gui in the sandbox hdp 2.6, i run it with virtual box, i install the vbox guest additions. I also tried to follow the steps on this site : http://ihorbobak.com/index.php/2015/05/07/how-to-add-gnome-gui-to-hortonworks-sandbox-2-1/ who describes the installation of gui in sandbox 2.1 but it doesn't exist anymore. When i'm connected on ssh to the sandbox, i tried to run startx but i get an error that you can see below. Otherwise there is something strange that i want to understand and i think this could be the cause of the problem : when i'm connected to the sandbox via ssh, i'm on centos 6.9, but when i'm directly connected with the sandbox window i'm on centos 7.2 Why this is not the same system ? And how can i install gui on this sandbox ? The error when i run startx when i'm connected to ssh : [root@sandbox ~]# startx
xauth: file /root/.serverauth.19708 does not exist
X.Org X Server 1.17.4
Release Date: 2015-10-28
X Protocol Version 11, Revision 0
Build Operating System: c1bm 3.10.0-514.10.2.el7.x86_64
Current Operating System: Linux sandbox.hortonworks.com 4.11.0-1.el7.elrepo.x86_64 #1 SMP Mon May 1 09:01:59 EDT 2017 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.11.0-1.el7.elrepo.x86_64 root=UUID=0b65bf9e-d227-48fb-be57-b4d72368dcf0 ro crashkernel=auto rhgb quiet LANG=en_US.UTF-8
Build Date: 22 March 2017 02:59:47AM
Build ID: xorg-x11-server 1.17.4-16.el6.centos
Current version of pixman: 0.32.8
Before reporting problems, check http://wiki.centos.org/Documentation
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 24 08:08:03 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
pci id for fd 10: 80ee:beef, driver (null)
gbm: failed to open any driver (search paths /usr/lib64/dri)
gbm: Last dlopen error: /usr/lib64/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory
failed to load driver: kms_swrast
EGL_MESA_drm_image required.
gnome-session[19735]: devkit-power-gobject-WARNING: Couldn't connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
gnome-session[19735]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
gnome-session[19735]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
GNOME_KEYRING_SOCKET=/tmp/keyring-lg8g9a/socket
SSH_AUTH_SOCK=/tmp/keyring-lg8g9a/socket.ssh
GNOME_KEYRING_PID=19762
** (gnome-settings-daemon:19761): WARNING **: Connection failed, reconnecting...
gnome-session[19735]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
gnome-session[19735]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
** (gnome-panel:19797): WARNING **: panel-applet-frame.c:1288: failed to load applet OAFIID:GnoteApplet:
(null)
** (gnome-panel:19797): WARNING **: panel-applet-frame.c:1359: failed to load applet OAFIID:GNOME_FastUserSwitchApplet (cannot get property bag):
Unknown CORBA exception id: 'IDL:omg.org/CORBA/INV_OBJREF:1.0'
(gnome-panel:19797): Gtk-WARNING **: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
** (gnome-settings-daemon:19761): WARNING **: Connection failed, reconnecting...
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
08-24-2017
07:48 AM
Thanks i finally resolve the problem a long time ago, i don't remember exactly what was the solution but i think i had not add kdc credentials. I think i follow this tutorial to resolve the problem : https://community.hortonworks.com/articles/42927/adding-kdc-administrator-credentials-to-the-ambari.html
... View more
07-28-2017
08:07 AM
Hello everyone there is my problem : In order to automated kerberos installation i follow this tutorial for HDP sandbox 2.4 :
https://community.hortonworks.com/articles/29203/automated-kerberos-installation-and-configuration.html I already try to set up it manually but without success because of a connection problem with the kdc when i try to configure it on ambari web interface. So i try the tutorial but now i have this problem when i launch it : 017-07-27,13:50:41 Enabling Kerberos % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 137 513 102 513 0 172 12 4 0:00:42 0:00:40 0:00:02 78 HTTP/1.1 400 Bad Request X-Frame-Options: DENY X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff Cache-Control: no-store Pragma: no-cache Set-Cookie: AMBARISESSIONID=ka633m5h9um01jqyy6uamrb18;Path=/;HttpOnly Expires: Thu, 01 Jan 1970 00:00:00 GMT User: raj_ops Content-Type: text/plain Content-Length: 513 Server: Jetty(8.1.19.v20160209) { "status" : 400, "message" : "java.lang.IllegalArgumentException: Invalid KDC administrator credentials.\nThe KDC administrator credentials must be set as a persisted or temporary credential resource.This may be done by issuing a POST (or PUT for updating) to the /api/v1/clusters/:clusterName/credentials/kdc.admin.credential API entry point with the following payload:\n{\n \"Credential\" : {\n \"principal\" : \"(PRINCIPAL)\", \"key\" : \"(PASSWORD)\", \"type\" : \"(persisted|temporary)\"}\n }\n}" I try to solve the problem by fixing manually the credential but the script seems to modify (it changes my persisted credential by a temporary credential) it and i can't find where it do it (and also i don't know how to see the principal of the credential to understand maybe why it's not working). I also want to specify that in 2.6 ambari's log are :
user : raj_ops
password : raj_ops
I think i configure my ambari.props correctly : CLUSTER_NAME=Sandbox
AMBARI_ADMIN_USER=raj_ops
AMBARI_ADMIN_PASSWORD=raj_ops
AMBARI_HOST=localhost
KDC_HOST=localhost
REALM=EXAMPLE.COM
KERBEROS_CLIENTS=localhost I have no more ideas on how to solve the problem please help me ^^
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
07-28-2017
08:07 AM
Hello everyone there is my problem :
In order to automated kerberos installation i follow this tutorial for HDP sandbox 2.4 :
https://community.hortonworks.com/articles/29203/automated-kerberos-installation-and-configuration.html I already try to set up it manually but without success because of a connection problem with the kdc when i try to configure it on ambari web interface.
So i try the tutorial but now i have this problem when i launch it : 017-07-27,13:50:41 Enabling Kerberos
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent
Left Speed
137 513 102 513 0 172 12 4 0:00:42 0:00:40
0:00:02 78
HTTP/1.1 400 Bad Request
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Cache-Control: no-store
Pragma: no-cache
Set-Cookie: AMBARISESSIONID=ka633m5h9um01jqyy6uamrb18;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
User: raj_ops
Content-Type: text/plain
Content-Length: 513
Server: Jetty(8.1.19.v20160209)
{
"status" : 400,
"message" : "java.lang.IllegalArgumentException:
Invalid KDC administrator credentials.\nThe KDC administrator
credentials must be set as a persisted or temporary credential
resource.This may be done by issuing a POST (or PUT for updating) to
the /api/v1/clusters/:clusterName/credentials/kdc.admin.credential
API entry point with the following payload:\n{\n \"Credential\"
: {\n \"principal\" : \"(PRINCIPAL)\", \"key\"
: \"(PASSWORD)\", \"type\" :
\"(persisted|temporary)\"}\n }\n}" I try to solve the problem by fixing manually the credential but the script seems to modify (it changes my persisted credential by a temporary credential) it and i can't find where it do it (and also i don't know how to see the principal of the credential to understand maybe why it's not working). I also want to specify that in 2.6 ambari's log are :
user : raj_ops
password : raj_ops
I think i configure my ambari.props correctly : CLUSTER_NAME=Sandbox
AMBARI_ADMIN_USER=raj_ops
AMBARI_ADMIN_PASSWORD=raj_ops
AMBARI_HOST=localhost
KDC_HOST=localhost
REALM=EXAMPLE.COM
KERBEROS_CLIENTS=localhost I have no more ideas on how to solve the problem please help me ^^
... View more