Tuesday, 22 May 2012
Agent admitted failure to sign using the key.
After creating a new SSH key I found I needed to run: ssh-add ~/.ssh/id_rsa before I could authenticate using the key.
How to find out your SSH Fingerprint
The SSH fingerprint it a hash of your ssh key. You can use it as a superficial method of comparing two SSH keys to check that they are (very probably) the same.
The command is: ssh-keygen -lf ~/.ssh/id_rsa.pub
The command is: ssh-keygen -lf ~/.ssh/id_rsa.pub
Tuesday, 14 February 2012
Thursday, 13 October 2011
Accessing Varnish via Telnet
To access Varnish via Telnet you mush start Varnish with the following parameter:
-T localhost:9091
e.g.:
sudo varnishd -F -T localhost:9091
this will allow telnet connections via port 9091.
-T localhost:9091
e.g.:
sudo varnishd -F -T localhost:9091
this will allow telnet connections via port 9091.
Monday, 19 September 2011
Reseting Jboss
JBoss can get it's knickers in a twist and will throw the following errors in some tests:
java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.ChunkedInputStream
The solution is to reset Jboss completely,
Be careful in Live, if you are using JMX, JMS or JEE. Shutting down Jboss can result in messages being lost. You need to find out how to stop the messaging service whilst JBoss is running, then flush it and then you can perform the procedure above.
java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.ChunkedInputStream
The solution is to reset Jboss completely,
- Stop Jboss
- Navigate to
/server/default - Delete data, work and tmp
- Restart JBoss
Be careful in Live, if you are using JMX, JMS or JEE. Shutting down Jboss can result in messages being lost. You need to find out how to stop the messaging service whilst JBoss is running, then flush it and then you can perform the procedure above.
Labels:
Apache,
ChunkedInputStream,
Eclipse,
Error,
Exception,
Java,
JBoss,
NoClassDefFoundError,
Software
Subscribe to:
Posts (Atom)