Fixing PST problems, 2GB limit

Outlook is junk, for example any mailbox file over 2 GB cannot be repaired with the scanpst.exe tool located in C:\Program Files\Common Files\System\MSMAPI\1033.

“Complete recovery of PST files over 2 GB’s is impossible”

BUT, you can trim the fat off of a file over 2GB and recover all the other email:
Search Microsoft.com for:

“Exchange 2000 Tool: PST2GB”

More accurately, there’s a page called Oversized PST and OST crop tool:

http://support.microsoft.com/?kbid=296088

These guys claim they know something about Outlook files although you cannot use their product without pay (not a real trial):

Checkout PSTCompactor:
http://www.PSTcompactor.com

Fixing Up OpenBSD

Add a User for Sudo:
# adduser username
Use option “-silent” if you don’t want to see all warnings and questions.
Reading /etc/shells
Check /etc/master.passwd
Check /etc/group

Ok, let’s go.
Don’t worry about mistakes. I will give you the chance later to correct any input.
Enter username []: username
Enter full name []: FirstName LastName
Enter shell csh ksh nologin sh [csh]:
Uid [1001]:
Login group probert [username]: wheel
Login group is “wheel”. Invite username into other groups: guest no
[no]:
Login class daemon default staff [default]:
Enter password []:
Enter password again []:

Name: Username
Password: ****
Fullname: FirstName LastName
Uid: 1001
Gid: 0 (wheel)
Groups: wheel
Login Class: default
HOME: /home/username
Shell: /bin/csh
OK? (y/n) [y]: y
Added user “username”
Copy files from /etc/skel to /home/username
Add another user? (y/n) [y]: n
Goodbye!

Method 2, Create Super-User to Sudo:
mkdir /home/andrew
useradd andrew
passwd andrew
chown andrew /home/andrew
chgrp wheel /home/andrew
usermod -G wheel andrew

Modify SSH:
vi /etc/ssh/sshd_config
Change “PermitRootLogin yes” to “PermitRootLogin no”
restart sshd: kill -HUP `cat /var/run/sshd.pid`

Stop Sendmail on boot:
as root vi /etc/rc.conf
Change sendmail_flags=”-L sm-mta -C/etc/mail/localhost.cf -bd -q30m”
to sendmail_flags=””

Send messages to another user:
echo andrew >> /root/.forward

Startup Necessary Services on boot:
as root vi /etc/rc.conf
change dhcpd_flags=NO to dhcpd_flags=””

Fast Install of OpenBSD 3.9 i386

STEP 1, Print:
Print this document

STEP 2, Burn:
Get the mini iso at:
ftp://mirror.sese.asu.edu/pub/OpenBSD/3.9/i386/cd39.iso
OR CHECK OUT:
http://openbsd.org/ftp.html#ftp

Burn the iso to CD

STEP 3, Boot:
Boot the CD and answer the following questions:

(I)nstall , (U)pgrade, or (S)hell? type “I” <ENTER>
Terminal [vt220] <ENTER>
kbd(8) mapping [none] <ENTER>
Proceed with install? [no] type “y” <ENTER>
Which one is the root disk [wd0] <ENTER>
Do you want to use all of wd0 for OpenBSD [no] <ENTER>

STEP 4, Configure the Disk:
At the fdisk 1: prompt> type “w” <ENTER>
At the fdisk 1: prompt> type “q” <ENTER>
now view the partitions: type “p m” <ENTER>
delete partition a: type “d a” <ENTER>
delete partition b: type “d b” <ENTER>
delete partition d: type “d d” <ENTER>
delete partition e: type “d e” <ENTER>
delete partition f: type “d f” <ENTER>
delete partition g: type “d g” <ENTER>
delete partition h: type “d h” <ENTER>

[ Varying Disk sizes will change this input ]
add partition a: type “a a” <ENTER>
offset [##] <ENTER>
size [#############] type “1500m” <ENTER>
Rounding to the nearest cylinder: ########
FS Type [4.2BSD] <ENTER>
mount point [none] type “/” <ENTER>

[ Swap should be twice your memory ]
add partition b: type “a b” <ENTER>
offset [#####] <ENTER>
size [#############] type “2000m” <ENTER>
Rounding to the nearest cylinder: ########
FS Type [4.2BSD] <ENTER>
mount point [swap] <ENTER>

[ C is skipped ]
add partition d: type “a d” <ENTER>
offset [#####] <ENTER>
size [#############] type “2000m” <ENTER>
Rounding to the nearest cylinder: ########
FS Type [4.2BSD] <ENTER>
mount point [none] type /tmp <ENTER>

add partition e: type “a e”<ENTER>
offset [#####] <ENTER>
size [#############] type “3000m” <ENTER>
Rounding to the nearest cylinder: ########
FS Type [4.2BSD] <ENTER>
mount point [none] type /var <ENTER>

add partition f: type “a f” <ENTER>
offset [#####] <ENTER>
size [#############] type “3000m” <ENTER>
Rounding to the nearest cylinder: ########
FS Type [4.2BSD] <ENTER>
mount point [none] type /usr <ENTER>

add partition g: type “a g”<ENTER>
offset [#####] <ENTER>
size [#############] type “5000m” <ENTER>
Rounding to the nearest cylinder: ########
FS Type [4.2BSD] <ENTER>
mount point [none] type /home <ENTER>

view the partition table: type “p m” <ENTER>
type “q” <ENTER>
Write new label? [y] <ENTER>
Go through the mount point <ENTER> x 6
Type “done” <ENTER>

The next step destroys all existing data on these partitions!
Are you really sure you want to proceed? type “y” <ENTER>

STEP 5, Configure the Host:

hostname: type “hostname” <ENTER>
Configure the network? [yes] <ENTER>
Available interface are: xl0
Which one do you want to initialize [xl0] <ENTER>
Symbolic (host) name for xl0 [servername]
The media options for xl0 are currently media: ethernet autoselect
Do you want to change the media options? [no] <ENTER>
IPv4 address for xl0? type “###.###.##.##” <ENTER>
Netmask [255.255.255.0] <ENTER>
IPv6 address for xl0? [none] <ENTER>
DNS domain name? type “andrewkrone.com” <ENTER>
DNS name server? type the ip “###.###.###.###” <ENTER>
Use the name server now? [yes] <ENTER>
Default IPv4 route? type “###.####.###.1” <ENTER>
Edit hosts with ed? [no] <ENTER>
Do you want to do any manual netowrk configuration? [no] <ENTER>
Password for root account? (will not echo) Type “uniquepasshere” <ENTER>
Password for root account? (again) Type “uniquepasshere” <ENTER>

STEP 6, Install the sets:
Let’s install the sets!
Location of sets? Type “ftp” <ENTER>
HTTP/FTP Proxy URL? [none] <ENTER>
Display the list of known servers? [yes] <ENTER>
Server? type “8” <ENTER>
Server? [rt.fm] <ENTER>
Does the server support passive mode? [yes] <ENTER>
Server Directory? [pub/OpenBSD/3.9/i386] <ENTER>
Login [anonymous] <ENTER>

[Select ALL packages] <ENTER> x 7
Set name type “done” <ENTER>

Ready to install sets? [yes] <ENTER>
Getting bsd ….
100% |**************************************************| 5332 KB 00:23
Getting bsd.rd …
100% |**************************************************| 4622 KB 00:19
Getting bsd.mp …
100% |**************************************************| 5374 KB 00:23
Getting base39.tgz …
100% |**************************************************| 39523 KB 02:49
Getting etc39.tgz …
100% |**************************************************| 1126 KB 00:04
Getting misc39.tgz …
100% |**************************************************| 2222 KB 00:09
Getting comp39.tgz …
100% |**************************************************| 73524 KB 05:20
Getting man39.tgz …
100% |**************************************************| 7258 KB 00:30
Getting game39.tgz …
100% |**************************************************| 2538 KB 00:10
Getting xbase39.tgz …
100% |**************************************************| 10313 KB 00:44
Getting xetc39.tgz …
100% |**************************************************| 90404 KB 00:00
Getting xshare39.tgz …
100% |**************************************************| 2029 KB 00:08
Getting xfont39.tgz …
100% |**************************************************| 32456 KB 02:10
Getting xserv39.tgz …
100% |**************************************************| 19410 KB 01:25
Location of sets? [done] <ENTER>

STEP 7, Finish Up:
Start sshd by default? [yes] <ENTER>
Start ntpd(8) by default? [no] <ENTER>
Do you expect to run the X Window System [yes] <ENTER>
Change the default console to com0? [no] <ENTER>
What timezone are you in? type “?” <ENTER>
What sub-timezone are you in? type “?” <ENTER>
What sub-timezone are you in? type “Los_Angeles” <ENTER>
Setting local timezone…
Making all device nodes…
CONGRATULATIONS!!!
type “halt” <ENTER>

YOUR DONE!!!!!

Serial Console Hangs in Solaris

Sometimes the serial console becomes unresponsive on SunFire Systems. The ONLY thing that can be done to resolve this is to restart the system. Other fixes might be plugging in a keyboard. This is very frustrating for any type of remote maintenance because the serial console is also the ONLY method to console some SunFire’s making remote resets nearly impossible unless someone reset the power via a UPS which would be a complete pain.

Here’s a quote from the sun website available at: http://sunsolve.sun.com/search/document.do?assetkey=1-26-25589-1

—–START PASTE ————
A “tip” serial port may hang and become unresponsive. When this occurs any commands used to access the port will not respond. This may result in having to reboot the system to regain access to the port.

2. Contributing Factors This problem can occur in the following releases:

SPARC

* Solaris 2.5.1
* Solaris 2.6
* Solaris 7
* Solaris 8

Intel

* Solaris 2.5.1
* Solaris 2.6
* Solaris 7
* Solaris 8

3. Symptoms When the described problem occurs the serial port becomes unresponsive. Regardless of what commands are used to access the port there will be no response. The processes can not be killed to regain access to the port.

Solution Summary Top
4. Relief/Workaround It might be possible to gain access to the port by disabling and then enabling the port monitor using the following command sequence: