OS: RHEL 6.5
Following the instructions for RHEL located here:
https://docs.chef.io/install_server.html
This is the RPM that I downloaded (as per instructions)
chef-server-core-12.11.1-1.el6.x86_64.rpm
Install command:
sudo yum -y localinstall chef-server-core-12.11.1-1.el6.x86_64.rpm
Install went fine. Moved on to the next part of the instructions where it tells me to do a chef-server-ctl reconfigure. That went well. If you need the output of that, let me know. (there’s a lot)
Now, next step is to create the admin user, and that keeps failing. Here’s the output of that.
[user@host ~]$ sudo chef-server-ctl user-create admusr Admin User admin@host.com password
ERROR: The object you are looking for could not be found
Response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /users/ was not found on this server.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at 127.0.0.1 Port 443</address>
</body></html>
[user@host ~]$ sudo chef-server-ctl user-create admusr Admin User "admin@host.com" password
ERROR: The object you are looking for could not be found
Response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /users/ was not found on this server.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at 127.0.0.1 Port 443</address>
</body></html>
[user@host ~]$
Not sure why the failure is happening. Also, this is the first time chef has been installed on this machine. Anyone got any suggestions?