Skip to content

Instantly share code, notes, and snippets.

@cliffdickerson
Created July 7, 2009 21:09
Show Gist options
  • Select an option

  • Save cliffdickerson/142373 to your computer and use it in GitHub Desktop.

Select an option

Save cliffdickerson/142373 to your computer and use it in GitHub Desktop.
[root@localhost ~]# chef-client -l debug
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!': 400 "Bad Request" (Net::HTTPServerException)
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/rest.rb:232:in `run_request'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/rest.rb:95:in `post_rest'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:223:in `authenticate'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:74:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:164:in `run_application'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:162:in `loop'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:162:in `run_application'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-client:26
from /usr/bin/chef-client:19:in `load'
from /usr/bin/chef-client:19
[root@cs httpd]# tail -f chef_server-error.log
[Mon Jun 15 23:42:28 2009] [info] [client 192.168.83.20] Connection to child 58 established (server cs.localdomain:443)
[Mon Jun 15 23:42:28 2009] [info] Seeding PRNG with 656 bytes of entropy
[Mon Jun 15 23:42:28 2009] [info] Initial (No.1) HTTPS request received for child 58 (server cs.localdomain:443)
[Mon Jun 15 23:42:28 2009] [info] [client 192.168.83.20] Connection closed to child 58 with standard shutdown (server cs.localdomain:443)
[Mon Jun 15 23:42:28 2009] [info] [client 192.168.83.20] Connection to child 59 established (server cs.localdomain:443)
[Mon Jun 15 23:42:28 2009] [info] Seeding PRNG with 656 bytes of entropy
[Mon Jun 15 23:42:29 2009] [info] Initial (No.1) HTTPS request received for child 59 (server cs.localdomain:443)
[Mon Jun 15 23:42:29 2009] [info] [client 192.168.83.20] Connection closed to child 59 with standard shutdown (server cs.localdomain:443)
[root@localhost ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 cct.localdomain cct
::1 localhost6.localdomain6 localhost6
192.168.83.219 cs.localdomain cs
[root@localhost ~]# ping cs.localdomain
PING cs.localdomain (192.168.83.219) 56(84) bytes of data.
64 bytes from cs.localdomain (192.168.83.219): icmp_seq=1 ttl=64 time=0.285 ms
64 bytes from cs.localdomain (192.168.83.219): icmp_seq=2 ttl=64 time=0.456 ms
--- cs.localdomain ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.285/0.370/0.456/0.087 ms
[root@localhost ~]# ping cs
PING cs.localdomain (192.168.83.219) 56(84) bytes of data.
64 bytes from cs.localdomain (192.168.83.219): icmp_seq=1 ttl=64 time=0.300 ms
64 bytes from cs.localdomain (192.168.83.219): icmp_seq=2 ttl=64 time=0.254 ms
--- cs.localdomain ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.254/0.277/0.300/0.023 ms
[root@localhost ~]# hostname -f
cct.localdomain
[root@localhost ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment