Skip to content

Instantly share code, notes, and snippets.

[root@s1 ~]# chef-client -V
[Wed, 29 Dec 2010 22:59:59 +0000] INFO: Starting Chef Run (Version 0.9.8)
[Wed, 29 Dec 2010 22:59:59 +0000] INFO: Starting Chef Run (Version 0.9.8)
[Wed, 29 Dec 2010 23:00:03 +0000] INFO: Installing package[mysql-devel] version 5.0.77-4.el5_5.4
[Wed, 29 Dec 2010 23:00:03 +0000] INFO: Installing package[mysql-devel] version 5.0.77-4.el5_5.4
[Wed, 29 Dec 2010 23:00:16 +0000] WARN: Could not find previously defined grants.sql resource
[Wed, 29 Dec 2010 23:00:16 +0000] WARN: Could not find previously defined grants.sql resource
[Wed, 29 Dec 2010 23:00:17 +0000] INFO: Ran execute[generate-module-list] successfully
[Wed, 29 Dec 2010 23:00:17 +0000] INFO: Ran execute[generate-module-list] successfully
[Wed, 29 Dec 2010 23:00:17 +0000] INFO: Upgrading package[php-mysql] version from uninstalled to 5.1.6-27.el5_5.3
service "thing" do
supports :status => true, :restart => true
action [ :enable, :start ]
only_if "test -f /etc/init.d/thing"
end
template "/etc/init.d/thing" do
source "thing.init.erb"
owner "root"
group "root"
@fishnix
fishnix / gist:946563
Created April 28, 2011 15:24
qpid-stacktrace
2011-04-28 11:52:32,495 INFO [org.apache.qpid.client.AMQConnection] (http-172.28.51.116-8440-2) Connection:amqp://guest:********@client_idtest?brokerlist='tcp://172.28.52.72:5672'
2011-04-28 11:52:32,497 INFO [org.apache.qpid.client.protocol.AMQProtocolSession] (http-172.28.51.116-8440-2) Using ProtocolVersion for Session:0-10
2011-04-28 11:52:32,500 INFO [org.apache.qpid.client.handler.ClientMethodDispatcherImpl] (http-172.28.51.116-8440-2) New Method Dispatcher:AMQProtocolSession[null]
2011-04-28 11:52:32,503 INFO [org.apache.qpid.client.AMQConnection] (http-172.28.51.116-8440-2) Connecting with ProtocolHandler Version:0-10
2011-04-28 11:52:32,602 INFO [org.apache.qpid.client.AMQConnection] (http-172.28.51.116-8440-2) Connected with ProtocolHandler Version:0-10
2011-04-28 11:52:32,603 INFO [org.apache.qpid.client.AMQSession] (http-172.28.51.116-8440-2) Created session:org.apache.qpid.client.XASessionImpl@685ec827
2011-04-28 11:52:32,635 ERROR [org.apache.qpid.client.AMQSession] (http-172.28.51.116-84
@fishnix
fishnix / gist:946574
Created April 28, 2011 15:29
qpid jca datasource
<connection-factories>
<mbean code="org.jboss.resource.deployment.AdminObject"
name="qpid.jca:name=ScheduledRequests">
<attribute name="JNDIName">queue/ScheduledRequests</attribute>
<depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='qpid-ra-0.10.rar'</depends>
<attribute name="Type">javax.jms.Destination</attribute>
<attribute name="Properties">
destinationAddress=ScheduledRequests
</attribute>
@fishnix
fishnix / gist:946577
Created April 28, 2011 15:30
aop injection qpid
<?xml version="1.0" encoding="UTF-8"?>
<aop xmlns="urn:jboss:aop-beans:1.0">
<!-- TODO: Jaikiran - These interceptor declarations need not be here since they
are already declared through the ejb3-interceptors-aop.xml. Duplicating them leads to
deployment errors. However, if this custom-ejb3-interceptors-aop.xml needs to be
independent, then we must find a better way of declaring these. Right now, commenting these
out, can be looked at later. -->
<!--
<interceptor class="org.jboss.ejb3.AllowedOperationsInterceptor" scope="PER_VM"/>
<interceptor class="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor" scope="PER_VM"/>
@fishnix
fishnix / gist:946659
Created April 28, 2011 16:07
qpid-stactrace
after changing
@name@;{create:always,node:{type:queue,durable:True,x-declare:{alternate-exchange:ScheduledRequests-exchange,exclusive:True,auto-delete:True,arguments:{'qpid.auto_delete_timeout':@delay@}}}}
to
@name@;{create:always,node:{type:queue,durable:true,x-declare:{alternate-exchange:ScheduledRequests-exchange,exclusive:True,auto-delete:True,arguments:{'qpid.auto_delete_timeout':@delay@}}}}
2011-04-28 12:04:08,952 INFO [org.apache.qpid.client.AMQConnection] (http-172.28.51.116-8440-1) Connection:amqp://guest:********@client_idtest?brokerlist='tcp://172.28.52.72:5672'
2011-04-28 12:04:08,955 INFO [org.apache.qpid.client.protocol.AMQProtocolSession] (http-172.28.51.116-8440-1) Using ProtocolVersion for Session:0-10
2011-04-28 12:04:08,958 INFO [org.apache.qpid.client.handler.ClientMethodDispatcherImpl] (http-172.28.51.116-8440-1) New Method Dispatcher:AMQProtocolSession[null]
@fishnix
fishnix / gist:949041
Created April 29, 2011 21:04
jboss-qpid-stacktrace
2011-04-29 15:30:18,311 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBPAPP_5_0_0_GA date=200910202128)] Started in 1m:40s:203ms
2011-04-29 15:30:32,989 INFO [edu.yale.its.improv.seed.SeedDataService] (Thread-44) ++++++++++++++++++++++++++++++++++++++++++++++
2011-04-29 15:30:32,991 INFO [edu.yale.its.improv.seed.SeedDataService] (Thread-44) Seeding the database..
2011-04-29 15:30:32,991 INFO [edu.yale.its.improv.seed.SeedDataService] (Thread-44) ++++++++++++++++++++++++++++++++++++++++++++++
2011-04-29 15:30:33,658 INFO [edu.yale.its.improv.seed.SeedDataService] (Thread-44) ++++++++++++++++++++++++++++++++++++++++++++++
2011-04-29 15:30:33,659 INFO [edu.yale.its.improv.seed.SeedDataService] (Thread-44) Database already seeded, doing nothing..
2011-04-29 15:30:33,659 INFO [edu.yale.its.improv.seed.SeedDataService] (Thread-44) ++++++++++++++++++++++++++++++++++++++++++++++
2011-04-29 16:00:01,390 INFO [edu.yale.its.improv.core
@fishnix
fishnix / gist:981630
Created May 19, 2011 20:18
nectar error
Started by user xxxxxxx
Building remotely on vm-dplprdbzr-01.web.xxxxxxx.internal
hudson.util.IOException2: remote file operation failed: /data01/hudson-home-test/workspace/test drupal deploy at hudson.remoting.Channel@d6c2f2:vm-dplprdbzr-01.web.xxxxx.internal
at hudson.FilePath.act(FilePath.java:753)
at hudson.FilePath.act(FilePath.java:739)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:684)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:633)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1182)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:521)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
@fishnix
fishnix / gist:1078934
Created July 12, 2011 20:42
bzr puke on branch
[cf322@vm-dplprdbzr-01 ~]$ echo "Branching from $SRCBRANCH to $DSTBRANCH."
Branching from utilities to utilities-sbx.
[cf322@vm-dplprdbzr-01 ~]$ bzr branch bzr+ssh://dplbzr.web.yale.internal/bzr/drupal/${SRCBRANCH} bzr+ssh://dplbzr.web.yale.internal/bzr/drupal/${DSTBRANCH}
bzr: ERROR: exceptions.AttributeError: ImportError instance has no attribute 'message'
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 835, in exception_to_return_code
return the_callable(*args, **kwargs)
@fishnix
fishnix / gist:1093605
Created July 19, 2011 20:20
catalyst puke on Data::Dumper version
FooBar fish$ perl Makefile.PL
include /Users/fish/tmp/catalyst/FooBar/inc/Module/Install.pm
Data::Dumper object version 2.125 does not match $Data::Dumper::VERSION 2.131 at /opt/local/lib/perl5/5.12.3/XSLoader.pm line 97.
Compilation failed in require at /opt/local/lib/perl5/site_perl/5.12.3/Module/Install/Catalyst.pm line 14.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.12.3/Module/Install/Catalyst.pm line 14.
Compilation failed in require at inc/Module/Install.pm line 307.
Attempt to reload Module/Install/Catalyst.pm aborted.
Compilation failed in require at Makefile.PL line 5.
BEGIN failed--compilation aborted at Makefile.PL line 5.