I wrote this for a few co-workers today. We run linux, and giving options for people to fix stuff when I am late coming in.
Firefox or Thunderbird won't work. How to fix.
FIREFOX
user@host:~$ cd .mozilla/firefox/weirdstuff.default/
user@host:~$ rm .parentlock
Commands Meanings:
cd = Change Directory, also "cd ~" will put you back in your home directory.
ls = List Screen, remember DOS days of dir? same thing, dir will also work.
rm = remove. BE CAREFUL with that command.
pwd = print working directory. Basically lets you know where you are.
Also .file means hidden. you can type in ls -a for all files
Notes:
If you hit TAB while typing it will finish what your typing for each directory.
weirdstuff.default is your profile directory, it changes on each machine.
THUNDERBIRD EMAIL
cd .mozilla-thunderbird/weirdstuff.default/
rm .parentlock
example: cd .mozilla-thunderbird/nq92xeeb.default/
P.S.
Also If you have an issue where your bookmarks have dis-appeared and the buttons don't work, mv places.sqlite to places.sqlite2 (You can delete it, but I always like to keep it around just incase.)
Also Firefox Usually does backups everyday, so in 3 you can just roll back. But as always make backups.
Primarily where I write my fixes to things, that I can foresee needing again. InfoSec / Linux stuff.
Thursday, February 05, 2009
Friday, January 30, 2009
Hello. Spent the past 2 hours having an Issue with MYSQL INNODB. So I figured to post the answer.
I was installing RT (Request Tracker) and any time it got to mysql it came up with INNODB not installed or turned off. I was going INSANE, looking through my.cnf and going its RIGHT THERE #### out and everything. Should work fine. No. I am like is this defined somewhere else? Nope.
Guess what the issue was. Permission as usual.
Chmod 777 /tmp and every thing went fine. I will go and tweak it after this blog, wanted people to have an answer available. It drove me nuts.
What it SHOULD Do.
:/etc/mysql# /usr/sbin/rt-setup-database-3.6 --action init --dba root --prompt-for-dba-password
In order to create or update your RT database,this script needs to connect to your mysql instance on localhost as root.
Please specify that user's database password below. If the user has no database
password, just press return.
Password:
Now creating a database for RT.
Creating mysql database rtdb.
Now populating database schema.
Creating database schema.
Done setting up database schema.
Now inserting database ACLs
Done setting up database ACLs.
Now inserting RT core system objects
Checking for existing system user...not found. This appears to be a new installation.
Creating system user...done.
Now inserting RT data
Creating Superuser ACL...done.
Creating groups...3.4.5.6.7.8.9.done.
Creating users...10.12.done.
Creating queues...1.2.done.
Creating ACL...2.3.done.
Creating ScripActions...1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.done.
Creating ScripConditions...1.2.3.4.5.6.7.8.9.10.done.
Creating templates...1.2.3.4.5.6.7.8.9.10.11.12.done.
Creating scrips...1.2.3.4.5.6.7.8.9.10.11.12.13.14.done.
Creating predefined searches...1.2.3.done.
Done setting up database content.
I was installing RT (Request Tracker) and any time it got to mysql it came up with INNODB not installed or turned off. I was going INSANE, looking through my.cnf and going its RIGHT THERE #### out and everything. Should work fine. No. I am like is this defined somewhere else? Nope.
Guess what the issue was. Permission as usual.
Chmod 777 /tmp and every thing went fine. I will go and tweak it after this blog, wanted people to have an answer available. It drove me nuts.
What it SHOULD Do.
:/etc/mysql# /usr/sbin/rt-setup-database-3.6 --action init --dba root --prompt-for-dba-password
In order to create or update your RT database,this script needs to connect to your mysql instance on localhost as root.
Please specify that user's database password below. If the user has no database
password, just press return.
Password:
Now creating a database for RT.
Creating mysql database rtdb.
Now populating database schema.
Creating database schema.
Done setting up database schema.
Now inserting database ACLs
Done setting up database ACLs.
Now inserting RT core system objects
Checking for existing system user...not found. This appears to be a new installation.
Creating system user...done.
Now inserting RT data
Creating Superuser ACL...done.
Creating groups...3.4.5.6.7.8.9.done.
Creating users...10.12.done.
Creating queues...1.2.done.
Creating ACL...2.3.done.
Creating ScripActions...1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.done.
Creating ScripConditions...1.2.3.4.5.6.7.8.9.10.done.
Creating templates...1.2.3.4.5.6.7.8.9.10.11.12.done.
Creating scrips...1.2.3.4.5.6.7.8.9.10.11.12.13.14.done.
Creating predefined searches...1.2.3.done.
Done setting up database content.
Tuesday, September 16, 2008
Thursday, September 11, 2008

Dlink DWL 520+
Wireless hack
I usually come up a quite a few hacks, but since it usually seems simple to me, i never publish them thinking others have done the same before. So i figured to start publishing them.
This Hack includes how to make the Dlink DWL-520+ a bit stronger, theoretically upto 600mw+.
First you will need a DWL-520+ card, another mini-pci wireless card, a phillips head screwdrivers, a soldering iron, new antenna wire, or adapter.
First unscrew the 2 screws (the red circles where i already removed them)

Now You will have access to the mini-pci card. Basically this entire card is a PCI to mini-pci adapter.
Lift the black tab up, and then press the release tabs of the mini-pci card. You can unsolder the wire from the card and add your own adapter to it. or just run a new antenna wire.
Once I get some new wireless cards to test more with I will update this.
******* Follow Up.
I borrowed the antenna lead off of a Linksys Wireless Cable Modem. It died, and I took it apart to see the motherboard. To my surprise it Uses a mini-pci card. And is easily upgrade-able. I swapped the card with an Intel card. Now have a neat toy. Required breaking off the old antenna post, but worth it.

Wireless hack
I usually come up a quite a few hacks, but since it usually seems simple to me, i never publish them thinking others have done the same before. So i figured to start publishing them.
This Hack includes how to make the Dlink DWL-520+ a bit stronger, theoretically upto 600mw+.
First you will need a DWL-520+ card, another mini-pci wireless card, a phillips head screwdrivers, a soldering iron, new antenna wire, or adapter.
First unscrew the 2 screws (the red circles where i already removed them)
Now You will have access to the mini-pci card. Basically this entire card is a PCI to mini-pci adapter.
Lift the black tab up, and then press the release tabs of the mini-pci card. You can unsolder the wire from the card and add your own adapter to it. or just run a new antenna wire.
A card I would love to try with this is the Extreme Range2 card. Its a lovely 600mw card.
Once I get some new wireless cards to test more with I will update this.
******* Follow Up.
I borrowed the antenna lead off of a Linksys Wireless Cable Modem. It died, and I took it apart to see the motherboard. To my surprise it Uses a mini-pci card. And is easily upgrade-able. I swapped the card with an Intel card. Now have a neat toy. Required breaking off the old antenna post, but worth it.

Subscribe to:
Posts (Atom)