101TECH is a South Florida based I.T Solution Provider.
We Deliver Enterprise Class I.T Solutions For Small , Mid-Market Business and Startup Companies.

We Can help you :
  • Maintain Your Existing Computers and Network.
  • Evaluate & recommend technology solutions.
  • Secure your vital business information and infrastructure.
  • Assist in establishing business continuity plans.
  • Monitor and Tune your Servers and Applications
  • Design and Maintain your Web site.
  • Host your Servers , Email and Other Web Services.

Create ISO in MacOS

July 7th, 2010 No comments

open terminal ( of course )

# get drive name
$ drutil status
#un mount
$ diskutil unmountDisk /dev/disk1
#make iso
$ dd if=/dev/disk1 of=file.iso bs=2048
#test iso
$ hdid file.iso

kudos to the original post

Delete all OSSIM incidents

April 8th, 2010 No comments

If you’re just starting out with OSSIM, chances are you have thousands of incidents due to misconfiguration.
One way to “start fresh” is to to launch ossim-db and run the following :

DELETE FROM incident;

This will delete ALL incidents and tickets.
Note: Backup first, and keep that backup for reference.

Issues with FTP on CentOS 5.4

April 7th, 2010 2 comments

If you’re getting “data connection refused errors” when trying to ftp onto a CentOS box, make sure your ip_conntrack_ftp is loaded.
The default RH/CentOS iptables script includes a conntrack statement :

-A RH-Firewall-1-INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT

but does not load the ftp module.
to fix on the fly run :

modprove ip_conntrack_ftp

to make sure it happens again on boot modify your /etc/sysconfig/iptables-config modules list :

IPTABLES_MODULES=”ip_conntrack_netbios_ns ip_conntrack_ftp”

Missing “sync with google” on mac os 10.5.8 address book

February 4th, 2010 No comments

If you want to sync your address book to google, you can do it directly from your address book.
some Leopard macs will not show this options and the following will fix it.

Open terminal
Copy and paste the following:

echo "\"{ Devices = { red-herring = { 'Family ID' = 10001; }; }; }\"" >>
~/Library/Preferences/com.apple.iPod.plist

quit/start your address book

Clean up your mac caches

February 4th, 2010 No comments

This is an aggressive fix, but one I had to take after numerous ( thousands ) or syslog errors :

2/3/10 6:08:50 PM com.apple.launchd.peruser.502[407] (com.akamai.client.plist) Throttling respawn: Will start in 10 seconds
2/3/10 6:08:59 PM [0x0-0x12012].com.adiumX.adiumX[452] (process:452): Json-CRITICAL **: json_node_get_int: assertion `node != NULL' failed
2/3/10 6:09:00 PM com.apple.launchd.peruser.502[407] (com.akamai.client.plist[6584]) Bug: launchd_core_logic.c:4103 (23932):13
2/3/10 6:09:00 PM com.apple.launchd.peruser.502[407] (com.akamai.client.plist[6584]) posix_spawn("/Applications/Akamai/loader.pl", ...): No such file or directory
2/3/10 6:09:00 PM com.apple.launchd.peruser.502[407] (com.akamai.client.plist[6584]) Exited with exit code: 1

I followed this process ( found in mac forums ):

WARNING: “rm -rf” IS A DANGEROUS COMMAND, MAKE SURE YOU KNOW WHAT YOU ARE ERASING !!!

boot to single user : (CMD+Option+S) and run the following commands :

fsck -fy
rm -rf /Library/Caches
rm -rf /Users/YOURUSERNAME/Library/Caches
rm -rf /.Spotlight-V100

reboot