Named Colors

The link below is to names that can be used in CSS instead of the cryptic numbers and most seem to work… (This is tomato on burlywood!)

non-AOL | Named CSS Colors

(How I did that up there:)

&lt SPAN STYLE=”background: burlywood; color: tomato”&gt The link below is to names that can be used in CSS instead of the cryptic numbers and most seem to work… (This is tomato on burlywood!) &lt /SPAN&gt

crontab by hand

The system crontab text file controls events run by the UNIX system scheduler, CRON. It is found at /private/etc/chron. I used Cronnix to update it originally, but Cronnix quit working properly for some reason, so I just updated /private/etc/crontab directly using BBEdit after setting read/write for root using FileBuddy. (Update: I had pasted in a key with a line feed and did not see the extra text. Cleaning out the key fixed this, and Cronnix works fine now. )

Apple added the first 3 cleanup commands. I added the the daily Analog reports and the weekly dump of the MovableType SQL db to Yoda. That way I’ll always have 5 backup copies of the source database. (I’ve masked the password for the mysql user here.)

I’ll end up going to a daily 31 cycle and then a monthly 12 cycle. That will be 43 instances of a 1 meg and growing MYSQL dump.

Update: Using /network/ instead of /volumes/ because I can have a SAMBA volume automount as a network device, but not a volume.

SHELL = /bin/sh

PATH = /etc:/bin:/sbin:/usr/bin:/usr/sbin

HOME = /var/log

0 20 * * * root periodic daily

15 11 * * 6 root periodic weekly

15 11 1 * * root periodic monthly

30 1 * * * root /usr/local/analog/analog

15 4 1 * * root /usr/local/bin/mysqldump -u mysql -p***** mov_type > /volumes/YODAMEDIA/MOV_TYPE/mov_type_1.sql

15 4 7 * * root /usr/local/bin/mysqldump -u mysql -p***** mov_type > /volumes/YODAMEDIA/MOV_TYPE/mov_type_7.sql

15 4 14 * * root /usr/local/bin/mysqldump -u mysql -p***** mov_type > /volumes/YODAMEDIA/MOV_TYPE/mov_type_14.sql

15 4 21 * * root /usr/local/bin/mysqldump -u mysql -p***** mov_type > /volumes/YODAMEDIA/MOV_TYPE/mov_type_21.sql

15 4 28 * * root /usr/local/bin/mysqldump -u mysql -p***** mov_type > /volumes/YODAMEDIA/MOV_TYPE/mov_type_28.sql

Backing Up MovableType MYSQL database

root# /usr/local/bin/mysqldump -u [user] -p[password] mov_type > /volumes/YODAMEDIA/mov_type_bak.sql

Where [user] is the MySQL user i.d. There is no space between “p” and password. The key to finding mov_type database was to drop FileBuddy onto Pseudo. The MySQL data directory was hidden from me, but is not hidden from root.

See docs on mysqldump.

Now playing: Samba de Orpheus by Vince Guaraldi

Continue reading

W32.Sobig on Yoda

Found Norton AntiVirus presenting this message when logging into Yoda today:

Scan type: Realtime Protection Scan

Event: Virus Found!

Virus name: W32.Sobig.F@mm

File: C:\WINNT\TEMP\y.domino.data\st433922.TMP

Location: Quarantine

Computer: YODA

User: SYSTEM

Action taken: Clean failed : Quarantine succeeded : Access denied

Date found: Fri Aug 22 22:40:43 2003

(Thanks Norton.)

Password Protecting Nekid Babies

Nekid Baby CensoredDad did not like the idea of Fiona running around nekid on the beach. Wasn’t very lady like. The idea that digital photos of her might end up on the internet really bothered him. So I spent several hours figuring out how to password protect a directory on the Apache web server. The concept of .htaccess with user/password files is very straightforward, but not straight enough in this article. I kept getting error messages.

I went off looking for more help and found that Onar had written Apache Protect, a little utility that does the job. The only difference I can spot is that I was attempting to use a dot name (.htpasswd) instead of a plain name (users) for the password file. Let someone else figure it out. Three cheers to Onar Vikingstad!

Now playing: Adagio Assai Espressivo by James Galway from “Italian Serenade”

Access To Yoda

Could not get to Yoda from Dell laptop. (2000 client to 2000 server.) Kept getting an error message about “no logon server available.”

This tip (#5) came in handy:

Top workgroup FAQs

Looked like this in DOS:

C:\>net use \\yoda /user:

The password or user name is invalid for \\yoda. <–?

Type the password for :

The command completed successfully.

addendum:

Using the DNS name allows logging in wireless (across subnets)

C:\>net use \\yoda.netcentrix.net /user:

MovableType 2.64

Upgraded to 2.64 by moving appropriate folders/files into MT or MT-STATIC. The instructions say to FTP up to your web server, but since I’m sitting here on the web server, I just dragged the files/folders in the right places, taking extra care to individually copy extlib folders in, since the upgrade contents of extlib are a subset and not replace.

Made exports of all blogs prior to upgrade, just in case.

I wondered if permissions would have to be set on new directories, but apparently not. Perhaps they inherit the parent folder’s permissions.