IDGLabs.COM - tips, tools and resource

Knowledge Sharing - Want to participate in the discussion?

Configure Web Logs in Apache

Author’s Note: While most of this piece discusses configuration options for any operating system supports, some of the content will be Unix/ (*nix) specific, which now includes Macintosh OS X and its underlying Unix kernel.

One of the many pieces of the Website puzzle is Web logs. analysis is central to most Websites, and the key to getting the most out of your analysis revolves around how you your Web logs. is one of the most — if not the most — powerful solutions for Website . You will find that ’s Web logging features are flexible for the single Website or for managing numerous domains requiring Web log analysis.

(more…)

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Backup Images Of Mybook

Before starting, the MBR included in the files are incorrect, for the mbr, please use the link at the bottom of this post.

What is this
These are backups of a brand new, never booted, Western Digital MyBook World Edition 500GB (single drive not II) Since the only way people as of creating these have to restore a bricked MB WE is to rebuild a Debian edition using the sources available which takes a long time and is confusing to many. I decided to open up an brand new one and rip the hard images, table, master record, and complete file systems keeping all permissions. The Firmware is 01.01.18. I used System Rescue , to obtain access to the drives. Running PartImage fails, so I used DD.


Disclaimer
I have not tested that these work to restore a bricked system or if they will work on other sizes or the two version. So in essence, you screw it up by using any part of this… it’s your fault, I take no blame. I would suggest you have knowledge prior to using or attempting to use these. Of course, if you took the risk of your MyBook World, then you should have already known this. I guestimate that these should be able to recreate a fresh out of the box MyBook World Edition. I am not your tech support, so don’t try to contact me for it. Post to the forum, and if I can I will try to help.


Conversion Table from Mounted Drive to Actual WD FS

Name Type Size File System Mounted On
sda1 ext3fs 2.80 GiB //root and rootfs /
sda2 (v1) 101.98 MiB    
sda3 ext3fs 964.84 MiB //md3 /var
sda4 ext3fs 461.89 GiB //md4 /shares/internal

Files
- Master Record -

  • SDA_MBR

This was acquired by running “dd if=//sda of=sda_mbr bs=512 =1″
You would restore this by “dd if=sda_mbr of=//sda bs=512 =1″

- Table -

  • SDA_PTAB

This was acquired by running “sfdisk -d //sda > sda_ptable”
You would restore this by “sfdisk //sda < sda_ptable”

- BitByBit Copies -
(These are exact copies of the partitions and will extract to be the size)

  • SDA1_IMA.BZ2
  • SDA2_IMA.BZ2
  • SDA3_IMA.BZ2
  • SDA4_IMA.BZ2

These were acquired by running “dd if=//sda1 | bzip2 > sda1_image.bz2″ on each where sda1 is sda1-sda4
You would restore this by “dd if=sda1_ima of=//sda1″, however since I piped them out as bzip2 files you will need to pipe in the std out of bzip into dd. I can’t remember the command line options at this time.
WARNING: SDA4_IMA.BZ2 will extract to 461.89 GiB, as each file will extract to its original size.

- File System Dump Containing Permissions -
(These contain the file system for each while keeping full fs permissions)

  • SDA1FILE.TAR.gz
  • SDA3FILE.TAR.gz
  • SDA4FILE.TAR.gz

This is acquired by mounting each as read-only as ext3 and tar/gzipping them with permissions. I can’t quite remember which command options I did at the time.
You would restore these by mounting the and just extracting and writing over your files in your as root. You may need to delete other files you have created that are not in the archive, especially in your init.d.
You can also grab the files you may have corrupted individually as this is a copy of the files and structure. When mounting the FS you need to specify the type as ext3. Auto will detect the raid configuration and is unable to .


File Downloads
The files are packaged as 7Zip Archives, use 7-Zip or WinRar

Since I am not positive about storing these files and Western Digital’s EULA, I posted them on rapidshare.

Please mirror and post here. Posting back to rapidshare is pointless unless you reencode them in another compression format, as once a file is deleted, so is it’s hash.


This first link is probably the one everyone will probably use. It contains the file structures (with the files) with the mbr and table.

  • SDA1FILE.TAR.gz
  • SDA3FILE.TAR.gz
  • SDA4FILE.TAR.gz
  • SDA_MBR
  • SDA_PTAB
  • ReadMe.pdf
  • ReadMe.txt

WD_MYBOOK_WE_500GB_FILE.7z (59MiB)


This link will probably not be used by many. It contains the raw images with the mbr and table.

  • SDA1_IMA.BZ2
  • SDA2_IMA.BZ2
  • SDA3_IMA.BZ2
  • SDA4_IMA.BZ2
  • SDA_MBR
  • SDA_PTAB
  • ReadMe.pdf
  • ReadMe.txt

WARNING: These expand to the 500GB, mostly of empty space.
WD_MYBOOK_WE_500GB_IMA.7z (57MiB)
I forgot to include SDA3_IMA.BZ2… please get it from here SDA3_IMA.BZ2 (19k)


The Master Record of the above files might be wrong. It is probably from a //hda device since this paramater was also used in the description and the MD5 sum was not the same as that of another MyBook WE 500GB device (see discussion in forum). Added to this is a separate sda_mbr file from an out of the box 500GB harddisk from a WD MyBook WE 500GB firmware 01.01.18. (md5sum sda_mbr : be250799bf981aec0fc38a76b5a404b7_.
sda_mbr

(Since wikidot tells browsers this is a text file, please save the file directly from the link or use wget to it.)


It is possible to restore a bricked MBWE from these files. A step-by-step guide to how I did mine:

  1. the “” files from above (the one ending in IMA).
  2. Decompress the “7z” file into a new folder, and transfer these over to your box somewhere.
  3. Attach the S-ATA drive from the MBWE to the system (some older systems will require drivers, ., for S-ATA, but certainly OpenSuse10.3 supports common adapters right from the install DVD). You will probably find using dmesg that it is named sda or similar.
  4. use fdisk to alter the types to 83 - this allows them to be mounted and read. Make NO other changes using fdisk. You may need to reboot the system at this point as the types have changed. If data recovery from the data is your objective, you may well be able to do this at this point by mounting //sda4 (or whatever it’s called in your system)
  5. if you need to replace the MBR of the , do it now, as described in the readme within the archive above.
  6. transfer the from the downloaded file to the appropriate - on mine I only needed to replace sda1 (it was corrupted and wouldn’t ), but you may need to do all 4. Use a command such as this one: bzip2 - SDA1_IMA.BZ2 | dd of=//sda1 (-c is to force stdout and d is to force decompression. Then it is just passed to dd that writes bit by bit into the ) Remember to make sure that you’re writing to the correct (as seen in dmesg above), and that you’re using the correct file and output .
  7. Once you have done that for the partitions you need, use fdisk to alter the types back to fd ( raid), and save the changes back to the .
  8. Shut the system down, refit the drive to the MBWE and you should have a “fresh” MBWE ready to .

I used this last MBR (be250799bf981aec0fc38a76b5a404b7) to restore my bricked WD (v01.01.18). However, since the MBR was not the problem anyway I also had to restore the whole sda1 from the bit by bit copy. Here’s the command I used as it is not given here:

bzip2 - SDA1_IMA.BZ2 | dd of=//sda1

-c is to force stdout and d is to force decompression. Then it is just passed to dd that writes bit by bit into the .

I can tell you that both files (MBR and SDA1_IMA.BZ2) did work smoothly.


Rather than use fdisk to change the types from fd to 83, why not just -t ext3 //sda ~/RecoveryFolder?

Tags: , , , , , , , , , , , , , , , , , , , , , ,
  • Comments Off
  • Filed under: Internet News
  • PCNFS

    * Hostname

    $ uname -u

    * Network Interface

    $ ifconfig -a

    * //hosts, //netmasks definieren

    * Static IP-routes definieren

    //rc2.d/S79staticroutes

    * -ROM rausnehmen

    $ eject cdrom

    * Disklayout kontrollieren

    $ prtvtoc //rdsk/….

    * Automounter konfigurieren

    //auto_master, //auto_home

    * Device File für DAT

    //rmt/0l (tar cvf //rmt/0l)

    * //system definieren konfigurieren (Prestoserve, , Transtec)

    * Logfile der Installation: /var/sadm/system/logs/install_log

    * Installation über serielles an Nullmodem Kabel

    OK cdrom - w ( an )

    Tags: , , , , , , , , , , , , , ,

    Macintosh OS X

    Step1
    Start your and for Mac OS X to load.

    Step2
    Choose ‘About this Mac’ from the menu located on top left corner of the screen.

    Step3
    Open ‘Activity Monitor’ from the Utilities folder.

    Step4
    Click on the System button located at the bottom of the window. You will know the amount of installed and the current usage.

    Step5
    Note that testing in Mac is not very common as the system is comparatively safe.

    Step6
    Use the memtest 86+. the testing memtest 86+ from Microsoft (see link below). It runs on most of the configurations. You need to the diagnostic and read the details.

    Step7
    Testing the with this in the first phase that will take less than 30 minutes.

    Step8
    Reboot your with the or -ROM on which you installed Diagnostic. You will view the interface and the first test pass will be conducted. This will be followed by a second test until you exit. It will identify if there is problem of or the .

    Step9
    Use the ‘Rember’ test if you are using a lot of graphics. This is more of an auto-run test after you launch it. In a few minutes you can view the results in the Rember Log screen.

    Tags: , , , , , , , , , , , , , , , , , , ,
  • 0 Comments
  • Filed under: MacOS
  • Titan Backup 1.2.0.8

    Titan Backup 1.2.0.8 TitanBackup1208

    Titan Backup application is a simple and complete solution for home and small offices, created for secure backups of your important data. It can make automatic backups of your important files and documents, virtually on any type of media including /DVD-RW, removable devices, network drives and remote FTP servers.

    A well designed user interface and a flexible scheduler makes it easy to organize the automatic backups. ZIP compression allows you to save the space. Using 256-bit AES strong encryption will ensure full of your confidential data.

    Tags: , , , , , , , , ,
  • 0 Comments
  • Filed under: Internet News
  • Share Your Score

    Advertise