Support Questions

Find answers, ask questions, and share your expertise

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

avatar
Contributor

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
Contributor

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
Contributor

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.