Archive for the ‘Linux’ Category

The following regular expressions were tested on Gentoo x64

Search for credit card numbers

grep -E ‘(^|[[:space:]])[456][[:digit:]]{3}((-|[[:space:]])?[[:digit:]]{4}){3}([[:space:]]|$)’ <filename>

Search for IP

In the original configuration the RAID-6 over the 6 disks was build using two different SATA controllers. Four disks were connected to RocketRAID and the other two connected to the integrated Intel SATA.
Now, the motherboard has changed to  a new one with 6 SATA connections via the integrated controller. However, it caused tat the CPU [...]

A new kernel was installed and every package on the system was recompiled…
So, here is another attempt. All the files are scp’ed to the second computer onto the RAID-6. And again, there is inconsistency. Tho hashes were calculated OK, all the other FAILED.

I stumbled across a very unusual problem. I have one computer with a number of big files from 1Gb to 10 Gb. The files are dd images of some disk partitions. md5sum, sha1sum and sha256sum hashes are

Comments Off

Mozilla Thunderbird 2.0.0.22 on Gentoo amd64 would not start.
It gives an error:
/usr/lib64/mozilla-thunderbird/mozilla-xremote-client: Error: Failed to send command: 500 command not parseable
Re-emerging world did not fix the problem.
Solution: Run Thunderbid in safe mode
$ thunderbird -safe-mode
After that Thunderbird starts OK in normal mode.