Hi folks,
I was successfully able to install Chef-10.18.0 on a server.
My laptop is acting as client for that server.
I followed the instructions given on OpsCode wiki and
landed to a situation where command line communication
via knife is OK. When I click on link for WebUI, the page
redirects to < server_ip:4040 > which can't be found.
Later, I found that the package itself is not installed, so I
installed it from here https://rubygems.org/gems/chef-server-webui with
the same version.
/etc/init.d/chef-server-webui service doesn't seem to reflect
in /etc/init.d directory. It means that even after doing a
gem install on chef-server-webui package service is not up.
Please let me know where am I going wrong ?
Thank you,
Ashutosh Narayan
What platform are you installing to, and what method did you use to install?
It sounds like you are not using the standalone installer (
http://www.opscode.com/chef/install/, click on Chef Server)
On Wed, Feb 13, 2013 at 8:07 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
Hi folks,
I was successfully able to install Chef-10.18.0 on a server.
My laptop is acting as client for that server.
I followed the instructions given on OpsCode wiki and
landed to a situation where command line communication
via knife is OK. When I click on link for WebUI, the page
redirects to < server_ip:4040 > which can't be found.
Later, I found that the package itself is not installed, so I
installed it from here https://rubygems.org/gems/chef-server-webui with
the same version.
/etc/init.d/chef-server-webui service doesn't seem to reflect
in /etc/init.d directory. It means that even after doing a
gem install on chef-server-webui package service is not up.
Please let me know where am I going wrong ?
Thank you,
Ashutosh Narayan
http://ashutoshn.wordpress.com/
I am installing it on CentOS 6.3.
I am installing via bootstrap
methodhttp://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo
.
No, I am not installing the standalone installer.
On Wed, Feb 13, 2013 at 7:31 PM, Jesse Campbell hikeit@gmail.com wrote:
What platform are you installing to, and what method did you use to
install?
It sounds like you are not using the standalone installer (
http://www.opscode.com/chef/install/, click on Chef Server)
On Wed, Feb 13, 2013 at 8:07 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
Hi folks,
I was successfully able to install Chef-10.18.0 on a server.
My laptop is acting as client for that server.
I followed the instructions given on OpsCode wiki and
landed to a situation where command line communication
via knife is OK. When I click on link for WebUI, the page
redirects to < server_ip:4040 > which can't be found.
Later, I found that the package itself is not installed, so I
installed it from here https://rubygems.org/gems/chef-server-webui with
the same version.
/etc/init.d/chef-server-webui service doesn't seem to reflect
in /etc/init.d directory. It means that even after doing a
gem install on chef-server-webui package service is not up.
Please let me know where am I going wrong ?
Thank you,
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Ashutosh Narayan
so you put this into a ~/chef.json file:
{
"chef_server": {
"server_url": "http://localhost:4000" http://localhost:4000,
"webui_enabled": true
},
"run_list": [ "recipe[chef-server::rubygems-install]" ]
}
and this in /etc/chef/solo.rb:
file_cache_path "/tmp/chef-solo"
cookbook_path "/tmp/chef-solo/cookbooks"
and then you ran:
sudo chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r http://s3.
Cloud Computing Services - Amazon Web Services (AWS)
and it didn't install chef-server-webui?
On Wed, Feb 13, 2013 at 10:07 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
I am installing it on CentOS 6.3.
I am installing via bootstrap methodhttp://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo
.
No, I am not installing the standalone installer.
On Wed, Feb 13, 2013 at 7:31 PM, Jesse Campbell hikeit@gmail.com wrote:
What platform are you installing to, and what method did you use to
install?
It sounds like you are not using the standalone installer (
http://www.opscode.com/chef/install/, click on Chef Server)
On Wed, Feb 13, 2013 at 8:07 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
Hi folks,
I was successfully able to install Chef-10.18.0 on a server.
My laptop is acting as client for that server.
I followed the instructions given on OpsCode wiki and
landed to a situation where command line communication
via knife is OK. When I click on link for WebUI, the page
redirects to < server_ip:4040 > which can't be found.
Later, I found that the package itself is not installed, so I
installed it from here https://rubygems.org/gems/chef-server-webui with
the same version.
/etc/init.d/chef-server-webui service doesn't seem to reflect
in /etc/init.d directory. It means that even after doing a
gem install on chef-server-webui package service is not up.
Please let me know where am I going wrong ?
Thank you,
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
sorry, this should be in ~/chef.json (from the RHEL section last edited
by... oh... me :] )
{
"chef_server": {
"server_url": "http://localhost:4000" http://localhost:4000,
"webui_enabled": true
},
"build-essential": {
"compiletime": true
},
"run_list": [ "recipe[build-essential]",
"recipe[chef-server::rubygems-install]" ]
}
On Wed, Feb 13, 2013 at 10:17 AM, Jesse Campbell hikeit@gmail.com wrote:
so you put this into a ~/chef.json file:
{
"chef_server": {
"server_url": "http://localhost:4000" http://localhost:4000,
"webui_enabled": true
},
"run_list": [ "recipe[chef-server::rubygems-install]" ]
}
and this in /etc/chef/solo.rb:
file_cache_path "/tmp/chef-solo"
cookbook_path "/tmp/chef-solo/cookbooks"
and then you ran:
sudo chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r http://s3.
Cloud Computing Services - Amazon Web Services (AWS)
and it didn't install chef-server-webui?
On Wed, Feb 13, 2013 at 10:07 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
I am installing it on CentOS 6.3.
I am installing via bootstrap methodhttp://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo
.
No, I am not installing the standalone installer.
On Wed, Feb 13, 2013 at 7:31 PM, Jesse Campbell hikeit@gmail.com wrote:
What platform are you installing to, and what method did you use to
install?
It sounds like you are not using the standalone installer (
http://www.opscode.com/chef/install/, click on Chef Server)
On Wed, Feb 13, 2013 at 8:07 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
Hi folks,
I was successfully able to install Chef-10.18.0 on a server.
My laptop is acting as client for that server.
I followed the instructions given on OpsCode wiki and
landed to a situation where command line communication
via knife is OK. When I click on link for WebUI, the page
redirects to < server_ip:4040 > which can't be found.
Later, I found that the package itself is not installed, so I
installed it from here https://rubygems.org/gems/chef-server-webui with
the same version.
/etc/init.d/chef-server-webui service doesn't seem to reflect
in /etc/init.d directory. It means that even after doing a
gem install on chef-server-webui package service is not up.
Please let me know where am I going wrong ?
Thank you,
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
Yes, Exactly
On Wed, Feb 13, 2013 at 8:47 PM, Jesse Campbell hikeit@gmail.com wrote:
so you put this into a ~/chef.json file:
{
"chef_server": {
"server_url": "http://localhost:4000" http://localhost:4000,
"webui_enabled": true
},
"run_list": [ "recipe[chef-server::rubygems-install]" ]
}
and this in /etc/chef/solo.rb:
file_cache_path "/tmp/chef-solo"
cookbook_path "/tmp/chef-solo/cookbooks"
and then you ran:
sudo chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r http://s3.
Cloud Computing Services - Amazon Web Services (AWS)
and it didn't install chef-server-webui?
On Wed, Feb 13, 2013 at 10:07 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
I am installing it on CentOS 6.3.
I am installing via bootstrap methodhttp://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo
.
No, I am not installing the standalone installer.
On Wed, Feb 13, 2013 at 7:31 PM, Jesse Campbell hikeit@gmail.com wrote:
What platform are you installing to, and what method did you use to
install?
It sounds like you are not using the standalone installer (
http://www.opscode.com/chef/install/, click on Chef Server)
On Wed, Feb 13, 2013 at 8:07 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
Hi folks,
I was successfully able to install Chef-10.18.0 on a server.
My laptop is acting as client for that server.
I followed the instructions given on OpsCode wiki and
landed to a situation where command line communication
via knife is OK. When I click on link for WebUI, the page
redirects to < server_ip:4040 > which can't be found.
Later, I found that the package itself is not installed, so I
installed it from here https://rubygems.org/gems/chef-server-webui with
the same version.
/etc/init.d/chef-server-webui service doesn't seem to reflect
in /etc/init.d directory. It means that even after doing a
gem install on chef-server-webui package service is not up.
Please let me know where am I going wrong ?
Thank you,
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Ashutosh Narayan
if you don't have the build-essentials pieces, try adding that.
Otherwise, can you paste here or in a gist/pastebin the chef-solo log? This
is how I deployed all three of our 10.16.2 chef servers on centos6.3
(centos loaded with the server/shell package group)
On Wed, Feb 13, 2013 at 10:38 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
Yes, Exactly
On Wed, Feb 13, 2013 at 8:47 PM, Jesse Campbell hikeit@gmail.com wrote:
so you put this into a ~/chef.json file:
{
"chef_server": {
"server_url": "http://localhost:4000" http://localhost:4000,
"webui_enabled": true
},
"run_list": [ "recipe[chef-server::rubygems-install]" ]
}
and this in /etc/chef/solo.rb:
file_cache_path "/tmp/chef-solo"
cookbook_path "/tmp/chef-solo/cookbooks"
and then you ran:
sudo chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r http://s3.
Cloud Computing Services - Amazon Web Services (AWS)
and it didn't install chef-server-webui?
On Wed, Feb 13, 2013 at 10:07 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
I am installing it on CentOS 6.3.
I am installing via bootstrap methodhttp://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo
.
No, I am not installing the standalone installer.
On Wed, Feb 13, 2013 at 7:31 PM, Jesse Campbell hikeit@gmail.comwrote:
What platform are you installing to, and what method did you use to
install?
It sounds like you are not using the standalone installer (
http://www.opscode.com/chef/install/, click on Chef Server)
On Wed, Feb 13, 2013 at 8:07 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
Hi folks,
I was successfully able to install Chef-10.18.0 on a server.
My laptop is acting as client for that server.
I followed the instructions given on OpsCode wiki and
landed to a situation where command line communication
via knife is OK. When I click on link for WebUI, the page
redirects to < server_ip:4040 > which can't be found.
Later, I found that the package itself is not installed, so I
installed it from here https://rubygems.org/gems/chef-server-webui with
the same version.
/etc/init.d/chef-server-webui service doesn't seem to reflect
in /etc/init.d directory. It means that even after doing a
gem install on chef-server-webui package service is not up.
Please let me know where am I going wrong ?
Thank you,
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
Hi Jesse,
chef-server-webui is now working for me.
There was some permission issue with
the private key which wasn't readable by
default user. After I rebooted the server,
chef-server-webui service was seen under
/etc/init.d/ directory.
Where can I find solo log ?
sudo find / -iname chef-solo
/usr/lib64/ruby/gems/1.8/gems/chef-10.18.0/bin/chef-solo
/usr/bin/chef-solo
/tmp/chef-solo
Another issue which am having is w.r.t
admin password. Every time I login it
asks me change the password, even
though I changed it during first login.
I had modified server.rb file by appending
a line web_ui_admin_default_password "xyz"
It doesn't allow me to login.
On Wed, Feb 13, 2013 at 9:46 PM, Jesse Campbell hikeit@gmail.com wrote:
if you don't have the build-essentials pieces, try adding that.
Otherwise, can you paste here or in a gist/pastebin the chef-solo log?
This is how I deployed all three of our 10.16.2 chef servers on centos6.3
(centos loaded with the server/shell package group)
On Wed, Feb 13, 2013 at 10:38 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
Yes, Exactly
On Wed, Feb 13, 2013 at 8:47 PM, Jesse Campbell hikeit@gmail.com wrote:
so you put this into a ~/chef.json file:
{
"chef_server": {
"server_url": "http://localhost:4000" http://localhost:4000,
"webui_enabled": true
},
"run_list": [ "recipe[chef-server::rubygems-install]" ]
}
and this in /etc/chef/solo.rb:
file_cache_path "/tmp/chef-solo"
cookbook_path "/tmp/chef-solo/cookbooks"
and then you ran:
sudo chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r http://s3.
Cloud Computing Services - Amazon Web Services (AWS)
and it didn't install chef-server-webui?
On Wed, Feb 13, 2013 at 10:07 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
I am installing it on CentOS 6.3.
I am installing via bootstrap methodhttp://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo
.
No, I am not installing the standalone installer.
On Wed, Feb 13, 2013 at 7:31 PM, Jesse Campbell hikeit@gmail.comwrote:
What platform are you installing to, and what method did you use to
install?
It sounds like you are not using the standalone installer (
http://www.opscode.com/chef/install/, click on Chef Server)
On Wed, Feb 13, 2013 at 8:07 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:
Hi folks,
I was successfully able to install Chef-10.18.0 on a server.
My laptop is acting as client for that server.
I followed the instructions given on OpsCode wiki and
landed to a situation where command line communication
via knife is OK. When I click on link for WebUI, the page
redirects to < server_ip:4040 > which can't be found.
Later, I found that the package itself is not installed, so I
installed it from here https://rubygems.org/gems/chef-server-webui with
the same version.
/etc/init.d/chef-server-webui service doesn't seem to reflect
in /etc/init.d directory. It means that even after doing a
gem install on chef-server-webui package service is not up.
Please let me know where am I going wrong ?
Thank you,
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Ashutosh Narayan