Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

VNC Server install failed in Ambari: vncservers file or content "doesn't exist".

avatar
New Member

Hi Fellow Techies--

I'm pretty close to standing up VNC--however the install failed with the only clue in Ambari that I could find. The file /etc/sysconfig/vncservers and the file /etc/sysconfig/vncservers.bak exist (read: re-install after the first failure). What should these empty files contain--or is this a "red herring" message?

2016-12-07 01:35:59,048 - Execute['mv /etc/sysconfig/vncservers /etc/sysconfig/vncservers.bak >> /var/log/vnc-stack.log'] {'ignore_failures': True}
2016-12-07 01:35:59,391 - File['/etc/sysconfig/vncservers'] {'owner': 'root', 'content': InlineTemplate(...), 'group': 'root', 'mode': 0644}
2016-12-07 01:35:59,397 - Writing File['/etc/sysconfig/vncservers'] because it doesn't exist
1 ACCEPTED SOLUTION

avatar
New Member

For those newbies following this thread: The file was absent of any data because the default vnc-env-template did not have at least the vnc_user and vnc_geometry set. While this may not be what you want, at least the default entry will there to work with.

View solution in original post

1 REPLY 1

avatar
New Member

For those newbies following this thread: The file was absent of any data because the default vnc-env-template did not have at least the vnc_user and vnc_geometry set. While this may not be what you want, at least the default entry will there to work with.