Chef 11 only localhost works


#1

I have just finished install of Chef 11 on a CentOS 6 server. I have confirmed
that hostname is setup and reports back correctly. I have confirmed that DNS
is configured and work. Can SSH to the box with host name. I can use
wget/curl localy on the box and see the webui login page. But when trying to
connect from any workstation with knife, browser, wget to webui I get no
response. I have checked IPtables (default from install) which has allow all
enable. I am able to ssh to machine with no problem. Chef-server-ctl test
reports no error. I have changed the lb[‘vip’] to both host name and IP
address for the machine same results. Did a reconfigure and restart. I can
see the setting change. I have not seen any errors in the logs. Any advice
would be appriciated.

Thanks
Daniel D.


#2

Hello,

Do you have GUI in the server? Can you put https://127.0.0.1 to see if
it is working?
If you don’t have GUI try with lynx.

Check if nginx is running on port 80 and 443

The browser are redirecting you to somewhere else?

Cheers.

On Wed, May 21, 2014 at 4:51 PM, d@danield.us wrote:

I have just finished install of Chef 11 on a CentOS 6 server. I have confirmed
that hostname is setup and reports back correctly. I have confirmed that DNS
is configured and work. Can SSH to the box with host name. I can use
wget/curl localy on the box and see the webui login page. But when trying to
connect from any workstation with knife, browser, wget to webui I get no
response. I have checked IPtables (default from install) which has allow all
enable. I am able to ssh to machine with no problem. Chef-server-ctl test
reports no error. I have changed the lb[‘vip’] to both host name and IP
address for the machine same results. Did a reconfigure and restart. I can
see the setting change. I have not seen any errors in the logs. Any advice
would be appriciated.

Thanks
Daniel D.