Exchange 2003 – Callback DLL not found. Unable to find the callback library jcb.dll (or one of its dependencies). Copy in the file and hit OK to retry, or hit Cancel to abort

You are trying to Defragment or repair an exchange Database using eseutil. THe message comes up saying:

Callback DLL not found. Unable to find the callback library jcb.dll (or one of its dependencies). Copy in the file and hit OK to retry, or hit Cancel to abort

You have checked the c:\program files:exchsrvr\bin folder and the jcb.dll file is there………What is the problem?

This seems to be all over the net without a good solution. i stumbled apon one by accident. (many thanks to ismail.mohammed whose post is here http://forums.msexchange.org/Ms_Exchange_2003_ofline_defragmentation/m_1800452411/tm.htm

Here is what I did to fix the problem.
1) Create a directory called c:\exchfix (name does not matter but in the root of c is best)
2) Copy Eseutil.exe, Ese.dll, Jcb.dll, Exosal.dll, and Exchmem.dll from the c:\program files\exchsrvr\bin folder to your new c:\exchfix folder
3) run your eseutil command from there and the jcb.dll error will not come up

I dont exactly understand why….but I suspect it has something to do with PATH length.

Uninstall IE8 and Rollback to IE7

Issue: when you try to uninstall IE8 from Control Panel>Add or Remove Programs>Add/Remove Windows components, it appears to be removed. However when you try to install IE7 you see the error message: “Setup cannot continue because a more recent version of Internet Explorer has been detected on this computer”.

Solution: it turns out IE8 does not get completely uninstalled and to completely remove it you need to run the spuninst.exe found at this location: “C:\WINDOWS\ie8\spuninst\spuninst.exe“.

Once complete it will ask to restart and after that you can install IE7 once again.

July 30, 2009 • Posted in: Uncategorized • No Comments

Exchange 2007: Message Size Limits

How to set message size limits in Exchange 2007

The prefered method for setting message size limits is to use the Exchange Management Shell (EMS).

1. Change Global settings

Enter: GET-TRANSPORTCONFIG.

This shows the current settings (which in the above example are ‘unlimited’).  To change the size limit for incoming emails to 30Mb, for example,

enter:  Set-TransportConfig -MaxReceiveSize 30Mb

1. Change Connector settings

The command get-receiveconnector | list outputs a huge list of settings, grouped into settings for ‘identities’. You need to change the size limit for each identity listed.

Type Set-ReceiveConnector –MaxMessageSize 30MB

You will then be prompted to enter the identity name, for example

SERVER-NAME\Default SERVER-NAME

Repeat this for every identity in this list.

3. Change Server Limits

GET-TRANSPORTSERVER | LIST

ExternalDsnMaxMessageAttachSize

4.  to be completed….

June 25, 2009 • Posted in: How to's • No Comments

How to: Hamachi VPN server

  1. Download Hamachi and install. https://secure.logmein.com/products/hamachi/list.asp
  2. Create Network with strong password
  3. Join remote users to network
  4. Go to http://my.hamachi.cc and create admin account
  5. Add new VPN clients and have remote users accept invitations
  6. Ensure that Windows Simple File Sharing is activated (Windows Explorer > Tools > Options > View > scroll to bottom)
  7. Ensure Hamachi Network Interface has File sharing activated.
  8. Unblock newly added users on server hamachi (right click network member, uncheck “Block”)
  9. Change all machines to the same workgroup (only for browsing by “view workgroup computers”)
  10. Use Task Scheduler to set Hamachi to start when Windows starts. See MS article re Task Scheduler and Hamachi start on Boot reference

February 2, 2009 • Posted in: Hamachi, How to's • No Comments

How to: Ubuntu LAMP server

Download Ubuntu Server iso file, burn to disc and run install.

Install GUI and Webmin: Reference article

After installation, run
sudo apt-get update
Then install desktop:
sudo apt-get install ubuntu-desktop
Install Webmin – first install dependencies
sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl
Download lastest Webmin package, eg
wget http://garr.dl.sourceforge.net/sourceforge/webadmin/webmin_1.441_all.deb
Then install
sudo dpkg -i webmin_1.441_all.deb
Login to Webmin at https://server-ip:10000
:)

Upgrade 8.04 to 8.10 : Reference article

Backup!
Install Update-manager core
sudo aptitude install update-manager-core
Edit /etc/update-manager/release-upgrades

sudo vi /etc/update-manager/release-upgrades
and set
Prompt=normal
Launch the upgrade tool using the following command
sudo do-release-upgrade

Shell & VNC access

Install openssh-server via System > Admin > Synaptic Package manager (search ’sshd’)
Set up VNC via System > Preferences > Remote Desktop

Install vim, phpmyadmin, vsftpd via Synaptic Package Manager
Install Webmin module for vsftpd via Webmin Modules – download here: http://provider4u.com/images/stories/DOWNLOADS/vsftpd.tar.gz
set local user can write in Webmin > Servers > vsftpd > Local Users

Install Usermin
download latest .deb package with wget
sudo dpkg -i usermin_1.3…._all.deb

Start / Restart Services
sudo /etc/init.d/serviceName (start|stop|restart)

Change DHCP to static IP

sudo vi /etc/network/interfaces
change:
auto eth0
iface eth0 inet dhcp
to:
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
then:
sudo /etc/init.d/networking restart

Create Virtual Hosts in Apache2 on Ubuntu Server

Edit apache2.conf file
sudo vi /etc/apache2/apache2.conf
add line to bottom of file
NameVirtualHost *:80

Add new user for VirtualHost home directory
sudo adduser
Prompts for all the User details

Alternatively
sudo useradd -d /home/tcgtech -m tcgtech
Set password
sudo passwd tcgtech

Create www directory in new user’s home directory & set permissions
sudo mkdir /home/tcgtech/www
sudo chmod 775 -R /home/tcgtech/www

Go to /etc/apache2/sites-available/ create a file named after each domain.
sudo vi /etc/apache2/sites-available/
tcgtech.com.au

#
#
tcgtech.com.au
#
<VirtualHost *:80>
ServerName tcgtech.com.au
ServerAlias www.tcgtech.com.au
DocumentRoot /home/tcgtech/www
CustomLog /var/log/apache2/
tcgtech.com.au-access.log combined
ErrorLog /var/log/apache2/
tcgtech.com.au-error.log
</VirtualHost>


Edit Hosts file
sudo vi /etc/hosts
add lines
127.0.0.1    www.
tcgtech.com.au tcgtech.com.au
127.0.0.1    www.back2now.com.au
back2now.com.au

Enable new site (creates link between sites-available and sites-enabled)
sudo a2ensite tcgtech.com.au

Restart Apache
sudo /etc/init.d/apache2 reload

Reference: http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/

Create FTP access to more than one user home directory
sudo useradd -d /home webadmin
This makes the home dir the chroot for the ftp user webadmin

Set file permissions for FTP users uploading files
sudo vi /etc/vsftpd.conf
Uncomment local_umask=022

Create a Group “ftp” and join users (via command line?)

Set permission of users home directory to ftp group
sudo chown -R <username>:ftp /home/<username>/

then allow users directory for writable by group
sudo chmod 775 -R /home/<username>/

December 8, 2008 • Posted in: How to's, Ubuntu • No Comments