Jade's weblog

A few things I discovered.

The 64 bit server version did not work for me -- the 32 bit desktop version did.

12:21 PM, 22 Oct 2007 by Jade Rubick Permalink | Comments (0)

How to encrypt and decrypt files with a password on Linux.

08:22 PM, 18 Jan 2007 by Jade Rubick Permalink | Comments (0)

Splitting files onto CDs

split -C 600m 10201_database_linux_x86_64.cpio.gz oracle10_2.cpio.gz.

Splits Oracle onto 600m sized files.

Then you can cat them back together

08:04 PM, 18 Jan 2007 by Jade Rubick Permalink | Comments (0)

Neat trick with tar

(cd /directory; tar -cfv - files) | (ssh other-hostname 'cd /another-directory; tar -xf -')

05:11 PM, 03 Nov 2006 by Jade Rubick Permalink | Comments (0)

Helpful.

06:48 PM, 26 Oct 2006 by Jade Rubick Permalink | Comments (0)

How to kill a defunct process

You can find it on Linux with:

ps -ef --forest | less

06:00 PM, 06 Oct 2006 by Jade Rubick Permalink | Comments (0)

Oracle broken on upgrade to FC5 [forums.oracle.com]

This thread may help fix an issue with the upgrade breaking Oracle 10.2:

sqlplus: error while loading shared libraries: /u01/app/oracle/oracle/product/10.2.0/db_1/lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied

solution:
root
tail -f /var/log/audit/audit.log | tee oracle.log
oracle
sqlplus / as sysdba
root
crtl c to abort the tail
audit2allow -M oracle < oracle.log
semodule -i oracle.pp
that's it

01:15 PM, 15 May 2006 by Jade Rubick Permalink | Comments (0)

Problems with Tektonic.net

I've been having some problems with my ISP. This is the third time in three months that they've had a significant outage (of more than 4-8 hours).

So I'm going through the annoying process of switching.

By the way, if someone from Tektonic reads this, feel free to reply by leaving a comment on this posting. :)

Jade

09:22 AM, 27 Apr 2006 by Jade Rubick Permalink | Comments (0)

Resending email from an mbox

I forgot to forward email from an account to another account, and a bunch of email had been sitting around in an mbox file.

So I created a little script to send the email gradually (so as to not hit Gmail's filters):

> cat mysendmail
sleep 10
/usr/sbin/sendmail myemailaddress@gmail.com

Then I send it through

grep -v ^Delivered-To: /home/safe/testmbox | formail -s /home/safe/mysendmail &

03:32 PM, 24 Apr 2006 by Jade Rubick Permalink | Comments (0)

Fedora Core 5 is out... [fedora.redhat.com]

Fedora Core 5 is out. Looking forward to installing it soon..

06:40 AM, 22 Apr 2006 by Jade Rubick Permalink | Comments (0)

Of course, the network card doesn't work out of the box..

06:19 PM, 08 Feb 2006 by Jade Rubick Permalink | Comments (0)

Set up the VNC Server in Fedora [www.raoul.shacknet.nu]

Setting up VNC Server in Fedora

10:24 AM, 31 Dec 2005 by Jade Rubick Permalink | Comments (0)

Very high load on Fedora Core 4 (96!)

My load on my laptop is now 96. (I wonder what the record is for high load?)

Top does show nsd (Aolserver) taking up a lot of CPU. I restarted it just now.

10:41 AM, 20 Oct 2005 by Jade Rubick Permalink | Comments (1)

Resending emails from a maildir

A user on one of my linux boxes had accumulated a bunch of email in a maildir, and wanted them forwarded to a new email address.

I wrote a script that did this:

#!/bin/bash

echo

for file in *.org

do
/usr/sbin/sendmail hisemail@safe4all.org hisemail@safe4all.org < "$file"
echo "$file name";
done
exit 0


Our domain name ends in .org, so that would change if you were at a .com or otherwise.

08:25 PM, 18 Oct 2005 by Jade Rubick Permalink | Comments (0)

Sftp and resuming interrupted downloads

I was downloading very large files via sftp, and having the connection die midway. I found that you can resume downloads using lftp and still do the download over a secure connection.

Very nice!

03:15 PM, 23 Sep 2005 by Jade Rubick Permalink | Comments (0)

Fedora Core 4 complete freezing

I installed Fedora Core 4 on my laptop last night.

During the install, the installer says that the install disks didn't work. See linux media check issue with Fedora Core 4 disks. The solution? Start up the installer with:

linux ide=nodma

I installed Fedora Core 4 last night, and found that it would periodically freeze (every ten minutes or so). I couldn't find much pattern behind it, except that subversion was usually running. Upgrading subversion did not help, however.

I'm reinstalling again this morning, running memory checks and any other sort of checks that it has. I'd really like to get this working as quickly as possible, but I also want it to not freeze..

It looks like the 3rd install disk was corrupted. I reinstalled, and thought I was fine, but after about 4 hours of use this morning (and getting a lot of things installed), it froze again.

02:39 PM, 19 Sep 2005 by Jade Rubick Permalink | Comments (13)

Fedora Core 3 crashing

I don't know what's doing it, but a couple of times today, my Fedora Core 3 linux laptop has completely locked up. I can't even log in or get to a terminal to kill services...

Looks like the hard disk got corrupted a bit as well.

It turns out the swap partition was corrupted, and not mounting. I was getting my system load up to about 60, which is the highest I've ever seen.

I fixed it by using mkswap on the partition, and sudo /sbin/swapon /dev/hda5

05:07 PM, 02 Aug 2005 by Jade Rubick Permalink | Comments (0)

Startup issues with Fedora Core 3 and HP Pavilion zd8000

A very annoying thing about my Fedora Core 3 (2.6.11-1.27_FC3smp kernel) startup on my HP Pavilion zd8000 laptop: about 50% of the time, and often much more than that, the startup will freeze at:

Starting udev:
Initializing hardware... storage network audio

Sometimes it freezes there, sometimes it doesn't. Right now, I am restarting over and over and it isn't coming up. Annoying.

03:24 PM, 04 Jun 2005 by Jade Rubick Permalink | Comments (0)

touch /service/servicename/down

04:03 PM, 12 Jan 2005 by Jade Rubick Permalink | Comments (0)

Patch for smtp-auth. I'm having trouble getting it to work.

09:56 AM, 29 Dec 2004 by Jade Rubick Permalink | Comments (0)

How to see which files are in one directory but not another

find directory1 -type f > file1
find directory2 -type f > file2
diff -u file1 file2

01:53 PM, 03 Dec 2004 by Jade Rubick Permalink | Comments (0)

Automated backups on Linux [www-106.ibm.com]

Good article summarizing techniques for backups on Linux.

03:52 PM, 12 Jul 2004 by Jade Rubick Permalink | Comments (0)

XML

Notifications

You may request notification for Jade's weblog.

Syndication Feed

XML

Recent Comments

  1. Jade Rubick: And... yes and no
  2. Jade Rubick: Using hoptoad
  3. Jade Rubick: Much better
  4. Bodo Tasche: Link changed :)
  5. Bodo Tasche: Better commt emails. Now with color :)
  6. Jade Rubick: Filed a ticket
  7. Vinod Kurup: Wow
  8. Jade Rubick: Then what
  9. Paul Post: Percentages
  10. Paul Post: I might be an ENFJ?