Hi ,
I am trying to install the chef server on linux virtual machine. I followed the link
docs.chef.io/install_server.html
While creating admin user I am getting following error:
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/omnibus-ctl-0.5.0/lib/omnibus-ctl.rb:693: warning: Insecure world writable dir /apps in PATH, mode 040777
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.19.36/lib/chef/mixin/path_sanity.rb:25: warning: Insecure world writable dir /apps in PATH, mode 040777
ERROR: SSL Error connecting to https://127.0.0.1/users/, retry 1/5
ERROR: Could not establish a secure connection to the server.
Update:
I closed the process running on 443 port then I am getting following error :
ERROR: Errno::ECONNRESET: Error connecting to https://127.0.0.1/users/ - Connection reset by peer - SSL_connect
Linux doesn't have an /apps
directory by default..did you create one, and add it to your $PATH? Also, could we get the exact command you're using (excluding the password and email)?
You can check your path by running echo $PATH
I closed the process running on 443 port then I am getting following error :
ERROR: Errno::ECONNRESET: Error connecting to https://127.0.0.1/users/ - Connection reset by peer - SSL_connect
Assuming that there's nothing else running on this machine other than Chef server, the process running on localhost on 443
is nginx. Out of curiosity, have you made any changes to the /etc/opscode/chef-server.rb
file, or any of the other configuration files? If you've already killed the nginx process, I'd suggest just doing a complete chef-server-ctl reconfigure
.
Hi,
Thanks for your quick reply. I ran chef-server-ctl tail nginx and found that nginx service is waiting for 9999 port which is already locked by some other process. I killed that process and now everything is working fine.
Another possibility is : have you install apache httpd? That is probably listening on 80, 443 ports.
Since you do not need it (with nginx of Chef server being default) you might remove that Service and Package.