[chef] Re: Re: Re: Re: Re: Re: Chef WebUI issues


Chronological Thread 
  • From: Ashutosh Narayan < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Chef WebUI issues
  • Date: Thu, 14 Feb 2013 12:44:25 +0530

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 < " target="_blank"> > 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 < " target="_blank"> > wrote:
Yes, Exactly


On Wed, Feb 13, 2013 at 8:47 PM, Jesse Campbell < " target="_blank"> > wrote:
so you put this into a ~/chef.json file:
{
  "chef_server": {
    "server_url": "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.amazonaws.com/chef-solo/bootstrap-latest.tar.gz

and it didn't install chef-server-webui?


On Wed, Feb 13, 2013 at 10:07 AM, Ashutosh Narayan < " target="_blank"> > wrote:
I am installing it on CentOS 6.3.
I am installing via bootstrap method.
No, I am not installing the standalone installer.


On Wed, Feb 13, 2013 at 7:31 PM, Jesse Campbell < " target="_blank"> > 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 < " target="_blank"> > 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 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/




Archive powered by MHonArc 2.6.16.

§