Posts Tagged ‘command line’

EXT3-fs error (device hda3) in start_transaction: Journal has aborted

If your system abruptly loses power, or if a RAID card is beginning to fail, you might see an ominous message like this within your logs:
EXT3-fs error (device hda3) in start_transaction: Journal has aborted
Basically, the system is telling you that it’s detected a filesystem/journal mismatch, and it can’t utilize the journal any longer. When [...]

Red Hat Perl Issues: unable to call function somefunction on undefined value

Apparently, a recent Red Hat Enterprise Linux update for ES3, 4 and 5 caused some Perl applications to throw errors like these:
unable to call function somefunction on undefined value
Of course, replace somefunction with your function of choice. To correct the issue, you can force CPAN to bring back a more sane version of Scalar::Util:
# [...]

OpenSSL Tricks

Create a strong CSR and private key
openssl req -new -nodes -newkey rsa:2048 -out server.crt -keyout server.key
Parsing out the data within a certificate
openssl asn1parse -in server.crt
Checking a certificate/key modulus to see if they correspond
openssl rsa -in server.key -modulus -noout | openssl md5
openssl x509 -in server.crt -modulus -noout | openssl md5
Convert a key from PEM -> DER
openssl [...]

Attractive aterm/rxvt .Xdefaults configuration

I’ve struggled at times to get a decent-looking terminal on my desktop, and I believe I’ve found a good one. Toss this into your ~/.Xdefaults:
aterm*loginShell:true
aterm*transparent:true
aterm*shading:40
aterm*background:Black
aterm*foreground:White
aterm*scrollBar:true
aterm*scrollBar_right:true
aterm*transpscrollbar:true
aterm*saveLines:32767
aterm*font:*-*-fixed-medium-r-normal–*-110-*-*-*-*-iso8859-1
aterm*boldFont:*-*-fixed-bold-r-normal–*-*-110-*-*-*-*-iso8859-1
Then load up the changes and start aterm:
$ xrdb -load .Xdefaults
$ aterm
Of course, if you like rxvt better for your Unicode needs, just use this configuration:
rxvt*loginShell:true
rxvt*transparent:true
rxvt*shading:40
rxvt*background:Black
rxvt*foreground:White
rxvt*scrollBar:true
rxvt*scrollBar_right:true
rxvt*transpscrollbar:true
rxvt*saveLines:32767
rxvt*font:*-*-fixed-medium-r-normal–*-110-*-*-*-*-iso8859-1
rxvt*boldFont:*-*-fixed-bold-r-normal–*-*-110-*-*-*-*-iso8859-1

Installing package groups with up2date

A few days ago, I began to install a group of packages with up2date, and the person next to me was surprised that up2date even had this functionality. I use it regularly, but I realized that many users might not be familiar with it.
You can install package groups using an at-sign (@) in front [...]