Sunday, March 30, 2008

simple backup to usb drive

falcon has a usb drive mounted at /mnt/usbbak. To backup something important like the SVNRepository, do this:

sudo tar -cvf /mnt/usbbak/backup/svnrepository/SVNRepository-3-30-2008.tar /opt/data/SVNRepository/

Thursday, March 27, 2008

apache windows install on laptop error

httpd.exe: Could not reliably determine the server's fully qualified domain na
, using 192.168.2.4 for ServerName
(OS 10048)Only one usage of each socket address (protocol/network address/port
is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Note the errors or messages above, and press the key to exit. 7....

tagged coach versions 0.3.4 and 0.3.4.5

Also included corresponding db backups since the code and db versions are not compatible. I'll bump the 0.3.4.5 version up to 0.4 for this reason, once it's well tested and stabilized.

Wednesday, March 5, 2008

acegi default role

When I try to save a registration I get "Default Role not found."

mysql backup and restore

mysqldump database_name -u root -p > database_name.sql

restore

mysql database_name <> create database racetrack_prod;

mysql> grant all on racetrack_dev.* to
'jason'@'localhost' identified by 'password';

to delete an entry in a table:
delete FROM `rngclient_dev`.`ate_request_reference` where ate_request_id = 150