Try this: find . -type f -size +90M -exec ls -l -h {} \;
Finding Files Over a Certain Size
Backoffice 4.5 Patches/Upgrades
We put together a list of files needed to update Backoffice 4.5. This includes NT 4.0, Exchange 5.5, SQL Server 7.0, SMS 2.0, Site Server 3.0, SNA server 4.0, and Proxy Server 2.0. This is what is available from Microsoft as of July 5th, 2001. Get the files while you can. Note that these files […]
Recovery From Msgina.dll Errors With Windows 2000 Service Pack 3
There is a problem with Windows 2000 Service Pack 3 that affects some systems (including ours). Microsoft has documented this problem here. It turns out there is a dependency between two services that start at the same time. If you are unlucky enough to finish one before the other, you can’t log on and see […]
NT 4.0 MCSE Certification will not expire
For those of you out there who have an MCSE in NT 4.0, but haven’t been motivated to upgrade your certification, Microsoft has decided not to expire the certification. Instead, they will offer separate certifications for Win2k and XP. Check it out here.
MySQL installation and initial configuration
Uncompress the source: [src]# tar -xzf mysql-3.23.40.tar.gz Change to mysql source root, and add mysql group and user: [src]# cd my* [mysql-3.23.40]# groupadd mysql [mysql-3.23.40]# useradd -g mysql mysql Run configure, specifying installation directory as /usr/local/mysql: [mysql-3.23.40]# ./configure –prefix=/usr/local/mysql creating cache ./config.cache checking host system type… i586-pc-linux-gnu . . . Remember to check the platform […]
Backing up and restoring MySQL databases
To back up MySQL, log on as the root user and run: mysqldump –opt -u user -p dbname > {path}/backup.sql To restore the database run: mysql -u user -p dbname < {path}/backup.sql
Changing the root password on MySQL
Many distributions of Linux have an option to install MySQL. In this case, or even if you compile MySQL, the default password is blank. MySQL can also run on Windows boxes. When you install MySQL, make sure that you set the root password. You can do this: root@u-1:/home/u-1# mysql -u root mysql Reading table information […]
Using phpMyAdmin to Administer MySQL on Red Hat 8.0
One excellent MySQL administration tool is phpMyAdmin. The installation is straightforward, just extract and follow Documentation.txt. One gotcha is that it requires an Apache server with php support, and MySQL, of course. It is fairly easy to install Apache and MySQL, but getting everything installed in the right order to run a PHP web site […]
Using Perl With MySQL
To communicate with MySQL via Perl, use the DBI and DBD-MySQL modules. With Red Hat 8.0, just install perl-DBD-MySQL-2.1017-3 and perl-DBI-1.30-1 off of the CDs. Why would you want to do such a thing? Well, say you had a tab delimited text file: sam 33 red sarah 32 blue ed 23 black russell 13 yellow […]
Using Arkeia for Linux Backup
If you have a single Linux file server that you want to back up, and maybe a client or two, you can use the full featured Arkeia for free. This is particularly useful for home use, or if you are migrating to Linux in your shop and wish to just back up one server. Arkeia […]
Cloning Hard Drives with GNU/Linux
It is quite easy to clone identical hard drives using the dd command on GNU/Linux. Make sure that you put the source drive and destination drive in the system so that they don’t affect the boot. If you have a SCSI system, this is most likely done by making the SCSI IDs higher. With IDE, […]
Mirroring a Website Using rsync
If you would like to mirror a website, or any part of a filesystem over the Internet, you can use rsync over ssh. Here is an example: [opt]# rsync -e ssh -avz root@website.com:/opt/webroot /opt/ root@website.com’s password: receiving file list … done webroot/logs/web1.access webroot/logs/web2.access webroot/logs/web3.access webroot/logs/web4.access wrote 156644 bytes read 345589 bytes 3475.66 bytes/sec total size […]
Using Dump to Migrate Hard Disks
One method to move filesystems around, particularly if you are moving your root filesystem, is to use dump. Dump is a lower level backup program than tar, but this also makes dump quicker, because it doesn’t have all of the overhead. Another advantage is that depth of directories, symlinks, etc. aren’t a big deal. In […]
Bull-Headed Booting
One handy tool for booting linux systems and mounting the root partition is Loadlin. Now, Loadlin is *really* old, but there have been many times it has saved our sorry arses. You can get loadlin here. Loadlin needs some kind of *DOS on the floppy to boot from. MS-DOS 6.22 works fine; however, if you […]
Nightly Mirroring via Rsync
In this article we showed how to use rsync to mirror a website. Well, rsync can also be used to provide a lukewarm recovery system. On this workstation, the root filesystem is on /dev/hda3, and we will mirror it to /dev/sda3, which we have mounted on /mnt. If you don’t have rsync, grab rsync from […]
Creating an NT boot disk
NT gets a BSOD when you sneeze at the drivers/config. We have to do some upgrades on some NT boxes, but, first, we need to make sure we can recover from a system that can’t boot. This site started out with NT (cough… ntadmintools.com), but it has been a long time. Many Linux and Windows […]
Using the Windows 2000 Recovery Console to Fix NT
In this article, we created a boot disk that could recover from a rename of ntldr. Well, what if you needed access to other files on the NTFS file system to recover. It would be nice if you could use something like the Windows 2000 Recovery Console to fix the filesystem. Well, guess what? You […]
Using Last Known Good Configuration To Restore an NT System
In this article we used the Windows 2000 recovery console to fix the filesystem on an NT server. Let’s use the recovery console to make a BSOD. We’ll just disable a required boot service: Let’s reboot: Nice!! That is what we wanted. Now, we could boot again and fix with the recovery console: That works […]
Checking the Root Filesystem without Rebooting
I’m not making any guarantees about this or even recommending it, but this is a procedure you can use to fsck a Linux root filesystem in a situation where a reboot is impossible but you suspect filesystem corruption. Example: Remote web server suspected of having filesystem corruption. Can be taken out of service for maintenance […]
Serial Port Multiplexer
As we mentioned in the Remote Power Console article, we have a lab of 16 servers that we are using to test various configurations we will use in articles for NetAdminTools.com. We needed a way to access the consoles of the servers via a serial port, but we didn’t want to plunk down $500 or […]

