# Installing chef-server on debian

**URL:** <https://discourse.chef.io/t/installing-chef-server-on-debian/4922>\
**Category:** Chef Infra (archive)\
**Created:** [January 20, 2014, 4:42pm UTC](https://discourse.chef.io/t/installing-chef-server-on-debian/4922 "2014-01-20T16:42:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alfredo\_Palhares](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/alfredo_palhares/32/335_2.png) [@Alfredo\_Palhares](https://discourse.chef.io/u/Alfredo_Palhares)\
**Post date:** [January 20, 2014, 4:42pm UTC](https://discourse.chef.io/t/installing-chef-server-on-debian/4922/1 "2014-01-20T16:42:13Z")

</div>

Hello chefs,

I wanted to install chef-server on debian, since you do not provide debian package  
I tried the Ubuntu one.

wget [https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86\_64/chef-server\_11.0.10-1.ubuntu.12.04\_amd64.deb](https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.10-1.ubuntu.12.04_amd64.deb)

sudo dpkg -i — Smooth here

and on then,

masterkorp@boobierack:~/chef\_server$ sudo chef-server-ctl reconfigure  
/opt/chef-server/embedded/bin/ruby: /lib/x86\_64-linux-gnu/libc.so.6: version `GLIBC\_2.14’ not found (required by /opt/chef-server/embedded/lib/libruby.so.1.9)

I just stopped here, because i cannot be the only one to use debian, How did you guys did it ?

–  
Regards,  
Alfredo Palhares

---

<div class="post-metadata">

**Author:** ![Jeff\_Moody](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/jeff_moody/32/398_2.png) [@Jeff\_Moody](https://discourse.chef.io/u/Jeff_Moody)\
**Post date:** [January 20, 2014, 4:42pm UTC](https://discourse.chef.io/t/installing-chef-server-on-debian/4922/2 "2014-01-20T16:42:56Z")

</div>

Try the Ubuntu 10.04 package.

–  
Jeff Moody  
Datapipe Cloud Engineer  
Datapipe Managed IT Services  
1.888.749.5821 x2505

-----Original Message-----  
From: Alfredo Palhares [[mailto:masterkorp@masterkorp.net](mailto:masterkorp@masterkorp.net)]  
Sent: Monday, January 20, 2014 11:42 AM  
To: chef  
Subject: [chef] Installing chef-server on debian

Hello chefs,

I wanted to install chef-server on debian, since you do not provide debian package I tried the Ubuntu one.

wget [https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86\_64/chef-server\_11.0.10-1.ubuntu.12.04\_amd64.deb](https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.10-1.ubuntu.12.04_amd64.deb)

sudo dpkg -i — Smooth here

and on then,

masterkorp@boobierack:~/chef\_server$ sudo chef-server-ctl reconfigure  
/opt/chef-server/embedded/bin/ruby: /lib/x86\_64-linux-gnu/libc.so.6: version `GLIBC\_2.14’ not found (required by /opt/chef-server/embedded/lib/libruby.so.1.9)

I just stopped here, because i cannot be the only one to use debian, How did you guys did it ?

–  
Regards,  
Alfredo Palhares

* * *

This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See [http://www.datapipe.com/legal/email\_disclaimer/](http://www.datapipe.com/legal/email_disclaimer/) for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you. Unless otherwise specified in a written agreement, this e-mail neither constitutes an agreement to conduct transactions by electronic means nor creates any legally binding contract or enforceable agreement.

---

<div class="post-metadata">

**Author:** ![Alfredo\_Palhares](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/alfredo_palhares/32/335_2.png) [@Alfredo\_Palhares](https://discourse.chef.io/u/Alfredo_Palhares)\
**Post date:** [January 20, 2014, 7:15pm UTC](https://discourse.chef.io/t/installing-chef-server-on-debian/4922/3 "2014-01-20T19:15:24Z")

</div>

Hello Jeff,

> Try the Ubuntu 10.04 package.  
> I did tried it before, but without success.

masterkorp@boobierack:~/chef\_server$ sudo chef-server-ctl reconfigure  
[sudo] password for masterkorp:  
Starting Chef Client, version 11.6.0  
Compiling Cookbooks...  
Recipe: chef-server::default

- directory[/etc/chef-server] action create (up to date)  
[2014-01-20T18:07:49+01:00] WARN: Cloning resource attributes for directory[/var/opt/chef-serve  
r/chef-server-webui/etc] from prior resource (CHEF-3694)  
[2014-01-20T18:07:49+01:00] WARN: Previous directory[/var/opt/chef-server/chef-server-webui/etc  
]: /opt/chef-server/embedded/cookbooks/chef-server/recipes/chef-server-webui.rb:31:in `block in from_file' [2014-01-20T18:07:49+01:00] WARN: Current directory[/var/opt/chef-server/chef-server-webui/etc]: /opt/chef-server/embedded/cookbooks/chef-server/definitions/unicorn_config.rb:21:in `block i  
n from\_file'  
Generating RSA private key, 2048 bit long modulus  
............................+++  
...........+++  
e is 65537 (0x10001)  
Converging 204 resources
  - directory[/etc/chef-server] action nothing (skipped due to action :nothing)  
Recipe: chef-server::users
  - user[chef\_server] action create (up to date)
  - group[chef\_server] action create (up to date)  
Recipe: chef-server::default
  - directory[/etc/chef] action create (up to date)
  - directory[/var/opt/chef-server] action create (up to date)  
Recipe: runit::sysvinit
  - execute[echo 'SV:123456:respawn:/opt/chef-server/embedded/bin/runsvdir-start' \>\> /etc/initt  
ab] action run (skipped due to not\_if)
  - execute[init q] action nothing (skipped due to action :nothing)  
Recipe: chef-server::rabbitmq
  - directory[/var/opt/chef-server/rabbitmq] action create (up to date)
  - directory[/var/opt/chef-server/rabbitmq/etc] action create (up to date)
  - directory[/var/opt/chef-server/rabbitmq/db] action create (up to date)
  - directory[/var/log/chef-server/rabbitmq] action create (up to date)
  - link[/var/opt/chef-server/rabbitmq/db] action create (skipped due to not\_if)
  - link[/opt/chef-server/embedded/bin/rabbitmqctl] action create (up to date)
  - link[/opt/chef-server/embedded/bin/rabbitmq-env] action create (up to date)
  - link[/opt/chef-server/embedded/bin/rabbitmq-multi] action create (up to date)
  - link[/opt/chef-server/embedded/bin/rabbitmq-server] action create (up to date)
  - template[/opt/chef-server/embedded/service/rabbitmq/sbin/rabbitmq-env] action create (up to  
date)
  - template[/var/opt/chef-server/rabbitmq/etc/rabbitmq.conf] action create (up to date)
  - directory[/opt/chef-server/sv/rabbitmq] action create (up to date)
  - directory[/opt/chef-server/sv/rabbitmq/log] action create (up to date)
  - directory[/opt/chef-server/sv/rabbitmq/log/main] action create (up to date)
  - template[/opt/chef-server/sv/rabbitmq/run] action create (up to date)
  - template[/opt/chef-server/sv/rabbitmq/log/run] action create (up to date)
  - file[/opt/chef-server/sv/rabbitmq/down] action delete (up to date)
  - link[/opt/chef-server/init/rabbitmq] action create (up to date)
  - link[/opt/chef-server/service/rabbitmq] action create (up to date)
  - ruby\_block[supervise\_rabbitmq\_sleep] action run

And it just hangs here for several hours.  
Thank you for you reply.

--  
Regards,  
Alfredo Palhares

---

<div class="post-metadata">

**Author:** ![Yauhen\_Artsiukhou](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/yauhen_artsiukhou/32/112_2.png) [@Yauhen\_Artsiukhou](https://discourse.chef.io/u/Yauhen_Artsiukhou)\
**Post date:** [January 20, 2014, 9:11pm UTC](https://discourse.chef.io/t/installing-chef-server-on-debian/4922/4 "2014-01-20T21:11:42Z")

</div>

Just get required dependencies/libraries. For me it works.

2014/1/20 Alfredo Palhares [masterkorp@masterkorp.net](mailto:masterkorp@masterkorp.net):

> Hello Jeff,
> 
> > Try the Ubuntu 10.04 package.  
> > I did tried it before, but without success.
> 
> masterkorp@boobierack:~/chef\_server$ sudo chef-server-ctl reconfigure  
> [sudo] password for masterkorp:  
> Starting Chef Client, version 11.6.0  
> Compiling Cookbooks...  
> Recipe: chef-server::default
> 
> - directory[/etc/chef-server] action create (up to date)  
> [2014-01-20T18:07:49+01:00] WARN: Cloning resource attributes for directory[/var/opt/chef-serve  
> r/chef-server-webui/etc] from prior resource (CHEF-3694)  
> [2014-01-20T18:07:49+01:00] WARN: Previous directory[/var/opt/chef-server/chef-server-webui/etc  
> ]: /opt/chef-server/embedded/cookbooks/chef-server/recipes/chef-server-webui.rb:31:in `block in from_file' [2014-01-20T18:07:49+01:00] WARN: Current directory[/var/opt/chef-server/chef-server-webui/etc]: /opt/chef-server/embedded/cookbooks/chef-server/definitions/unicorn_config.rb:21:in `block i  
> n from\_file'  
> Generating RSA private key, 2048 bit long modulus  
> ............................+++  
> ...........+++  
> e is 65537 (0x10001)  
> Converging 204 resources
> - directory[/etc/chef-server] action nothing (skipped due to action :nothing)  
> Recipe: chef-server::users
> - user[chef\_server] action create (up to date)
> - group[chef\_server] action create (up to date)  
> Recipe: chef-server::default
> - directory[/etc/chef] action create (up to date)
> - directory[/var/opt/chef-server] action create (up to date)  
> Recipe: runit::sysvinit
> - execute[echo 'SV:123456:respawn:/opt/chef-server/embedded/bin/runsvdir-start' \>\> /etc/initt  
> ab] action run (skipped due to not\_if)
> - execute[init q] action nothing (skipped due to action :nothing)  
> Recipe: chef-server::rabbitmq
> - directory[/var/opt/chef-server/rabbitmq] action create (up to date)
> - directory[/var/opt/chef-server/rabbitmq/etc] action create (up to date)
> - directory[/var/opt/chef-server/rabbitmq/db] action create (up to date)
> - directory[/var/log/chef-server/rabbitmq] action create (up to date)
> - link[/var/opt/chef-server/rabbitmq/db] action create (skipped due to not\_if)
> - link[/opt/chef-server/embedded/bin/rabbitmqctl] action create (up to date)
> - link[/opt/chef-server/embedded/bin/rabbitmq-env] action create (up to date)
> - link[/opt/chef-server/embedded/bin/rabbitmq-multi] action create (up to date)
> - link[/opt/chef-server/embedded/bin/rabbitmq-server] action create (up to date)
> - template[/opt/chef-server/embedded/service/rabbitmq/sbin/rabbitmq-env] action create (up to  
> date)
> - template[/var/opt/chef-server/rabbitmq/etc/rabbitmq.conf] action create (up to date)
> - directory[/opt/chef-server/sv/rabbitmq] action create (up to date)
> - directory[/opt/chef-server/sv/rabbitmq/log] action create (up to date)
> - directory[/opt/chef-server/sv/rabbitmq/log/main] action create (up to date)
> - template[/opt/chef-server/sv/rabbitmq/run] action create (up to date)
> - template[/opt/chef-server/sv/rabbitmq/log/run] action create (up to date)
> - file[/opt/chef-server/sv/rabbitmq/down] action delete (up to date)
> - link[/opt/chef-server/init/rabbitmq] action create (up to date)
> - link[/opt/chef-server/service/rabbitmq] action create (up to date)
> - ruby\_block[supervise\_rabbitmq\_sleep] action run
> 
> And it just hangs here for several hours.  
> Thank you for you reply.
> 
> --  
> Regards,  
> Alfredo Palhares

---

<div class="post-metadata">

**Author:** ![Arnold\_Krille](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/arnold_krille/32/285_2.png) [@Arnold\_Krille](https://discourse.chef.io/u/Arnold_Krille)\
**Post date:** [January 20, 2014, 10:45pm UTC](https://discourse.chef.io/t/installing-chef-server-on-debian/4922/5 "2014-01-20T22:45:57Z")

</div>

Hi,

I did hit the same 'obstacle'. The glib on debian wheezy is not new  
enough. But whith wheezy fixed as the main distribution[1], adding a  
sources.list-entry for jessy [2] and then updating glib from jessy [3],  
it worked.

[1] Put in /etc/apt/apt.conf (for example):  
APT::Default-Release "wheezy";

[2] Put in /etc/apt/sources.list.d/debian-jessie.list:  
deb [Index of /debian](http://ftp.de.debian.org/debian/) jessie main  
deb-src [Index of /debian](http://ftp.de.debian.org/debian/) jessie main

[3] On a root-console (or with sudo):  
apt-get install libc6/jessy  
or was it  
apt-get install libc6/testing  
?

On Mon, 20 Jan 2014 17:42:13 +0100 Alfredo Palhares  
[masterkorp@masterkorp.net](mailto:masterkorp@masterkorp.net) wrote:

> Hello chefs,
> 
> I wanted to install chef-server on debian, since you do not provide  
> debian package I tried the Ubuntu one.
> 
> wget  
> [https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86\_64/chef-server\_11.0.10-1.ubuntu.12.04\_amd64.deb](https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.10-1.ubuntu.12.04_amd64.deb)
> 
> sudo dpkg -i --- Smooth here
> 
> and on then,
> 
> masterkorp@boobierack:~/chef\_server$ sudo chef-server-ctl reconfigure  
> /opt/chef-server/embedded/bin/ruby: /lib/x86\_64-linux-gnu/libc.so.6:  
> version `GLIBC\_2.14' not found (required  
> by /opt/chef-server/embedded/lib/libruby.so.1.9)
> 
> I just stopped here, because i cannot be the only one to use debian,  
> How did you guys did it ?
> 
> --  
> Regards,  
> Alfredo Palhares

---

<div class="post-metadata">

**Author:** ![Alfredo\_Palhares](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/alfredo_palhares/32/335_2.png) [@Alfredo\_Palhares](https://discourse.chef.io/u/Alfredo_Palhares)\
**Post date:** [January 21, 2014, 3:21pm UTC](https://discourse.chef.io/t/installing-chef-server-on-debian/4922/6 "2014-01-21T15:21:32Z")

</div>

Hello Arnoild,

> I did hit the same 'obstacle'. The glib on debian wheezy is not new  
> enough. But whith wheezy fixed as the main distribution[1], adding a  
> sources.list-entry for jessy [2] and then updating glib from jessy [3],  
> it worked.  
> Thank you that worked !

> [3] On a root-console (or with sudo):  
> apt-get install libc6/jessy  
> or was it  
> apt-get install libc6/testing  
> ?  
> Its testing.

Now i have another problem, rabbitmq starts and here is a log,  
2014-01-21\_14:39:41.08940 -- message delivery logic ready  
2014-01-21\_14:39:41.08953 starting error log relay ...done  
2014-01-21\_14:39:41.09018 starting networking ...done  
2014-01-21\_14:39:41.09810 starting direct\_client ...done  
2014-01-21\_14:39:41.09830 starting notify cluster nodes ...done  
2014-01-21\_14:39:41.09845  
2014-01-21\_14:39:41.09846 broker running

root@boobierack:/home/masterkorp/chef\_server# chef-server-ctl start  
ok: run: rabbitmq: (pid 21252) 2393s

Is it supposed to be just this ??

Also nmap says there is nothing on 4000, as well as knife gets a connection refused.

There is nothing on /var/log/chef-server (or /var/log/chef) besides the rabbitmq service.

Any ideas how i can approach this ?

--  
Regards,  
Alfredo Palhares

---

<div class="post-metadata">

**Author:** ![Alfredo\_Palhares](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/alfredo_palhares/32/335_2.png) [@Alfredo\_Palhares](https://discourse.chef.io/u/Alfredo_Palhares)\
**Post date:** [January 21, 2014, 3:32pm UTC](https://discourse.chef.io/t/installing-chef-server-on-debian/4922/7 "2014-01-21T15:32:40Z")

</div>

Ok right after this,

I came to the solution that the init q command wasn’t doing anything.

/opt/chef-server/embedded/bin/runsvdir-start

Runing this manually, and then chef-server-ctl reconfigure ends up in a successful run.

root@boobierack:/home/masterkorp# chef-server-ctl start  
ok: run: bookshelf: (pid 22935) 99s  
ok: run: chef-expander: (pid 22892) 101s  
ok: run: chef-server-webui: (pid 23121) 90s  
ok: run: chef-solr: (pid 22839) 102s  
ok: run: erchef: (pid 23296) 86s  
ok: run: nginx: (pid 23487) 2s  
ok: run: postgresql: (pid 22743) 109s  
ok: run: rabbitmq: (pid 21252) 2930s

Everything up !

To solve the runsvdir-start, either reboot on send init 6.

–  
Regards,  
Alfredo Palhares

---

<div class="post-metadata">

**Author:** ![Steffen\_Gebert1](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@Steffen\_Gebert1](https://discourse.chef.io/u/Steffen_Gebert1)\
**Post date:** [January 21, 2014, 9:54pm UTC](https://discourse.chef.io/t/installing-chef-server-on-debian/4922/8 "2014-01-21T21:54:40Z")

</div>

We are successfully running the Ubuntu 11.04 version on Debian Wheezy.

Steffen

On 20/01/14 23:45, Arnold Krille wrote:

> Hi,
> 
> I did hit the same 'obstacle'. The glib on debian wheezy is not new  
> enough. But whith wheezy fixed as the main distribution[1], adding a  
> sources.list-entry for jessy [2] and then updating glib from jessy [3],  
> it worked.
> 
> [1] Put in /etc/apt/apt.conf (for example):  
> APT::Default-Release "wheezy";
> 
> [2] Put in /etc/apt/sources.list.d/debian-jessie.list:  
> deb [Index of /debian](http://ftp.de.debian.org/debian/) jessie main  
> deb-src [Index of /debian](http://ftp.de.debian.org/debian/) jessie main
> 
> [3] On a root-console (or with sudo):  
> apt-get install libc6/jessy  
> or was it  
> apt-get install libc6/testing  
> ?
> 
> On Mon, 20 Jan 2014 17:42:13 +0100 Alfredo Palhares  
> [masterkorp@masterkorp.net](mailto:masterkorp@masterkorp.net) wrote:
> 
> > Hello chefs,
> > 
> > I wanted to install chef-server on debian, since you do not provide  
> > debian package I tried the Ubuntu one.
> > 
> > wget  
> > [https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86\_64/chef-server\_11.0.10-1.ubuntu.12.04\_amd64.deb](https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.10-1.ubuntu.12.04_amd64.deb)
> > 
> > sudo dpkg -i --- Smooth here
> > 
> > and on then,
> > 
> > masterkorp@boobierack:~/chef\_server$ sudo chef-server-ctl reconfigure  
> > /opt/chef-server/embedded/bin/ruby: /lib/x86\_64-linux-gnu/libc.so.6:  
> > version `GLIBC\_2.14' not found (required  
> > by /opt/chef-server/embedded/lib/libruby.so.1.9)
> > 
> > I just stopped here, because i cannot be the only one to use debian,  
> > How did you guys did it ?
> > 
> > --  
> > Regards,  
> > Alfredo Palhares
