Wednesday, December 12, 2012

Event ID : 4001 A transient failure has occurred. The problem may resolve itself in awhile. The service will retry in 56 seconds.

1. Check out the database where is the location of Microsoft System Attendant; Use the below command;
Get-MailboxStatistics | Where-Object {$_.DisplayName -eq "Microsoft System Attendant"} | fl
2. Make sure the database is mounted.
*for my lovely Chubby*

Friday, June 22, 2012

Error updating public folder with free/busy information on virtual machine EOBMAIL02. The error number is 0x80004005. On exchange 2007

In the Exchange Management Shell, run the following command: get-publicfolder -Identity "\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY" -Recurse | fl name,Replicas Notice that at least one of the SCHEDUE+ FREE BUSY folders is missing an Exchange 2010 or Exchange 2007 server listed as a replica. For example, the output may appear as follows: Name : EX:/o=contoso/ou=Exchange Administrative Group (FYDIBOHF23SPDLT) Replicas : {} In the Exchange Management Shell, run the following command: set-publicfolder -Identity "\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\" -replicas "" For example, type: Set-publicfolder –identity "\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=contoso/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)” –Replicas “Server\Storage Group\Public Folder Database” Verify that the public folder group now has a replica using the command from step 1. In the following example, the folder now has a replica object. Name : EX:/o=contoso/ou=Exchange Administrative Group (FYDIBOHF23SPDLT) Replicas : {Public Folder Database}

Tuesday, March 20, 2012

Some users cannot access Exchange Server 2007 OWA

To resolve this problem, follow these steps:

1. Open Active Directory Users and Computers.
2. Click View, and then click Advanced Features.

Note To make the Security tab available at both the user level and the organizational unit level, you must enable the Advanced Features option in Active Directory Users and Computers. This option is available under the View menu.
3. Open the properties for both the user level and the organizational unit level that the users are located in, and then locate the Security tab.
4. Click Advanced.
5. Make sure that the following check box is selected:
Allow inheritable permissions from the parent to propagate to this object and all child objects. Include these with entries explicitly defined here.
6. Force Active Directory replication.

Tuesday, March 13, 2012

stop recovery document at libreoffice

To stop the recovery process, you can delete the file Documents and settings//Application data/Openoffice.org2/user/registry/data/org/openoffice/Office/Recovery.xcu.

Beware, it resets the settings for Autosave in the Tools>Options>Load/Save>General dialog

Monday, March 12, 2012

Renew Self Certificate for Exchange 2007

Dari exchange management shell;


[PS] C:\Windows\system32>Get-ExchangeCertificate -thumbprint "D5AD872B9DF0428478
051463929E85573FF8A4E8" | New-ExchangeCertificate

Confirm
Overwrite existing default SMTP certificate,
'D5AD872B9DF0428478051463929E85573FF8A4E8' (expires 5/31/2012 10:33:18 AM),
with certificate 'D02FA4CB9596FC240B3583811A8A517E76FC2780' (expires 3/12/2017
1:34:12 PM)?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y")

dan untuk meng-enable kan iis nya

Enable-ExchangeCertificate -thumbprint “D02FA4CB9596FC240B3583811A8A517E76FC2780” -services IIS

 Remove-ExchangeCertificate –Thumbprint "D5AD872B9DF0428478051463929E85573FF8A4E8"

Wednesday, November 09, 2011

Bare Metal backup at Windows 2008

Using WBADMIN to crate bare metal backup windows 2008

wbadmin start backup -include:c:,d:,e: -backupTarget:\\SERVER\SHARE -allcritical -quiet

Done

Wednesday, November 02, 2011

Backup and restore With WBAdmin

To script the backups, you'll need to create a batch file and use the wbadmin start backup command. For a list of the options you can use with wbadmin, you can go to the command prompt and type in, "wbadmin start backup -help".

A sample command you'll use will be:

wbadmin start backup -include:c:,d:,e: -backupTarget:\\SERVER\SHARE -quiet

wbadmin start systemstatebackup -backupTarget:\\share\share:

This example shows you how to backup C:, D: and E: drives and backup systemstate - but of course, you should customize this parameter to suit your system.

Optionally, you can use the -user and -password options to explicitly specify the username and password to use when connecting to the share.

Save this batch file to disk - for example, C:\Users\Administrator\Desktop\RunBackup.bat

Note: you should run the file interactively from the command prompt so that you can test running your script before scheduling it.

To perform a system state recovery of the backup from 04/30/2005 at 9:00 A.M. that is stored on the shared resource \\servername\share for server01, type:

wbadmin start systemstaterecovery -version:04/30/2005-09:00 -backupTarget:\\servername\share -machine:server01

Disable Offline Address Book Outlook 2007

Manually Change Offline Address Book Settings

You can manually edit your Registry and configure the following key to DISABLE the Offline Address Book (note that you will need to create the "Cached Mode" Registry key if it is not already present):
Outlook 2007

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Cached Mode
Parameter: DownloadOAB
Type: REG_DWORD
Value: 0

Outlook 2003

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Cached Mode
Parameter: DownloadOAB
Type: REG_DWORD
Value: 0

At this point, Outlook will no longer automatically download the offline address book. However, if you click the "Send/Receive" button within Outlook, by default it will reset your offline address book setting - in effect it re-enables the offline address book. To prevent this from happening, complete the following steps.
Open Outlook
Go to "Tools" > "Send/Receive" > "Send/Receive Settings" > "Define Send/Receive Groups"
Highlight the group "All Accounts" and click "Edit"
In Outlook 2007, check the "Include the selected account in this group" checkbox
Uncheck the "Download offline address book" checkbox
Click "OK"
Click "Close"

Tuesday, November 01, 2011

Install Hyper-V on Windows server 2008

Step 1: Install Hyper-V
You can use Server Manager to install Hyper-V.
To install Hyper-V
1. Update to windows server 2008 SP2
2. Click Start, and then click Server Manager.
3. In the Roles Summary area of the Server Manager main window, click Add Roles.
4. On the Select Server Roles page, click Hyper-V.
5. On the Create Virtual Networks page, click one or more network adapters if you want to make their network connection available to virtual machines.
6. On the Confirm Installation Selections page, click Install.
7. The computer must be restarted to complete the installation. Click Close to finish the wizard, and then click Yes to restart the computer.
8. After you restart the computer, log on with the same account you used to install the role. After the Resume Configuration Wizard completes the installation, click Close to finish the wizard.

Monday, October 31, 2011

OAB get prompting password

If you have enabled web-based publishing of your Offline Address Book (OAB) and your Outlook users get continuously prompted to enter their passwords, you need to check a couple of things:

Make sure Autodiscover is working perfectly before you made the OAB change.
Hold down the CTRL button and right click on the Outlook icon on the task bar, then select Test Email Autoconfiguration. Unselect GuessSmart and Secure GuessSmart and keep Use Autodiscover selected. On the Log tab, make sure Autodiscover is successful and that it was able to bind to an SCP.
Make sure that the autodiscover.domain.com entry is added to your certificate’s Subject Alernative Names list.
If you are facing problems with Autodiscover, you should correct that first before attempting the steps mentioned below.
Make sure that you have defined the External and Internal URLs for the OAB virtual directory in your client access server.

Once you have made sure that Autodiscover is working OK, and that the credentials are being prompted for the OAB URL (and not the mailbox server), you need to check the IIS Authentication setting on the client access server.

On the Client Access Server running Windows Server 2008, open IIS Manager console.
Click on Default Web Site
Open Authentication
Note that only Anonymous Authentication is enabled. All other authentication methods should be disabled.
Temporarily enable Windows Authentication
Right click on Windows Authentication and choose Advanced Settings
Uncheck Enable Kernel Mode Authentication and click OK
Disable Windows Authentication
Do an IISRESET

OverAdvertisedSize; message size exceeds fixed maximum size

To use ADSI Edit to modify the global message size limits

1. If it is necessary, install the Microsoft Windows Support Tools. For detailed instructions, see Install Windows Support Tools.

2. Click Start, and then select Run. In the Open field, type C:\Program Files\Support Tools\Adsiedit.msc, and then click OK.

3. Open ADSI Edit, expand Configuration, and then expand CN=Configuration..., expand CN=Services, expand CN=Microsoft Exchange, expand CN=, and then select CN=Global Settings.

4. In the result pane, right-click CN=Message Delivery, and then select Properties.

5. In CN=Message Delivery Properties, select the Attribute Editor tab. In the Attributes section, locate the following attributes:
delivContLength This is the incoming message size limit that corresponds to the MaxReceiveSize parameter in the Set-TransportConfig cmdlet.
submissionContLength This is the receiving message size limit that corresponds to the MaxSendSize parameter in the Set-TransportConfig cmdlet.
msExchRecipLimit This is the maximum number of message recipients that corresponds to the MaxRecipientEnvelopeLimit parameter in the Set-TransportConfig cmdlet.

6. To modify an attribute, select the attribute, and then click Edit. We recommend that you set each global message size limit to match the value of the corresponding organization message size limit. In the Integer Attribute Editor, perform one of the following actions:
To remove the global message size limit, select Clear, and then click OK. The value of the attribute will be .
To enter value for a specific global message size limit, in the Value field, type the value, and then click OK. Valid input values are as follows:
delivContLength Valid input for this parameter is 0 to 2097151 KB. The default value is 10240 KB.
submissionContLength Valid input for this parameter is 0 to 2097151 KB. The default value is 10240 KB.
msExchRecipLimit Valid input for this parameter is 0 to 2147483647 recipients. The default value is 5000 recipients.

Repeat step 6 for each global message size limit that you want to modify.

7. To close CN=Message Delivery Properties, click OK and then click File, Exit to close ADSI Edit.

From: http://technet.microsoft.com/en-us/library/bb310771.aspx

Thursday, January 20, 2011

Merubah ukuran hardisk ISCSI

1. umount volume (umount /dev/sdxx)
2. restart iscsi initiator (/etc/init.d/open-iscsi restart)
3. jalankan parted (parted /dev/sdx
4. ganti tampilan unit ke sector (unit s)
5. print table partisi dan catat awal sector dan total sector (p)
6. remove partisi yang ada (rm number)
7. create partisi baru dengan awal sector sama dengan diatas: mkpart primary
8. keluar (quit)
9. cehck file system (e2fsck -f /dev/sdxx)
10 rubah ukuran files ystem ( sudo resize2fs /dev/sdxx)

selamt mencoba

Wednesday, January 19, 2011

SSH dan Rsync

1. On host_src, run this command as the user that runs scp/ssh/rsync

$ ssh-keygen -t rsa

This will prompt for a passphrase. Just press the enter key. It'll then generate an identification (private key) and a public key. Do not ever share the private key with anyone! ssh-keygen shows where it saved the public key. This is by default ~/.ssh/id_rsa.pub:

Your public key has been saved in /.ssh/id_rsa.pub

2. Transfer the id_rsa.pub file to host_dest by either ftp, scp, rsync or any other method.

3. On host_dest, login as the remote user which you plan to use when you run scp, ssh or rsync on host_src.
4. Copy the contents of id_rsa.pub to ~/.ssh/authorized_keys

$ cat id_rsa.pub >>~/.ssh/authorized_keys
$ chmod 700 ~/.ssh/authorized_keys

If this file does not exists, then the above command will create it. Make sure you remove permission for others to read this file. If its a public key, why prevent others from reading this file? Probably, the owner of the key has distributed it to a few trusted users and has not placed any additional security measures to check if its really a trusted user.
5. Rsync: synchronizing remote folders with a local machine
rsync -va user@remoteserver:/home/user/* /home/backup/user

Friday, January 14, 2011

Setting koneksi ke HP Lefthand dengan open-iSCSI di Ubuntu 10.10 *

1. di ubuntu 10.10
a. instal package open-iscsi (sudo apt-get install open-iscsi)
b. baca dan catat inititator name di /etc/iscsi/initiatorname.iscsi
ini akan di gunakan untuk membuat koneksi di lefthand

2. di Lefhand

a. Add new server dengan mengunakan initiator name tanpa passowrd.
b. buat volume dan assign ke server yang kita buat di point a.
3 di ubuntu

a. edit file /etc/iscsi/iscsid.conf
[...]
node.startup = automatic
[...]
b. Koneksi ke target (iscsiadm -m discovery -t st -p 192.168.0.1)
c. Login ke target (iscsiadm -m node --targetname "iqn.2003-10.com.lefthandnetworks:ecogreen:110:vol-ubuntu" --portal "192.168.0.1:3260" --login)
d. check harddisk > sudo Fdisk -l
dan akan terlihat tambahan hardisk (/dev/....)
e. format (mkfs.ext4 /dev/sdb1)
f. Mounting (sudo mount /dev/sdb1 /iSCSI


* catatan dari pengalaman membuat koneksi ke lefhand.

Tuesday, September 07, 2010

Memadukan Exchange 2000 And Zimbra 6.0.8

Setelah lama tidak berkesempatan untuk mengoprek dan menulis (maklum di tempat baru super sibuk dibanding tempat lama).

Kali ini berkesempatan menginstall zimbra 6.0.8 di ubuntu 8.04 under VM esxi. Existing mail server kantor mengunakan Exhange 2000 dengan sekitar 300 user. Dan manajemen berkinginan untuk migrasi atau paling tidak mengurangi jumlah user lisense yang harus dibeli. Maka diharapkan zimbra ini sebagai mail server untuk user2 yang hanya perlu beremail dengan rekan sekantor saja. Dan di exchange untuk user2 yang perlu berkomunikasi via email dengan pihak luar.

Domain yang sudah dipublish dan dipakai di exchange adalah .com, sedangkan di zimbra akan mengunakan domain .co.id yang tidak teregister.

checklist yang mesti dilakukan untuk tujuan diatas sebagai berikut;
1. Intall ubuntu 8.04
2. Setting bind dengan domain co.id (bisa dilihat disini.
3. memastikan domain .com bisa diresolve dengan ip private.
4. Install Zimbra
5. Membuat mx record untuk co.id di server AD
6. Configure authentication with AD
7. Create user di zimbra sebagai user AD
8. Configure GAL

untuk detailnya akan dibahas selanjutnya.

Wednesday, August 04, 2010

Mengingatmu

sudah lama engak menulis manual dan semenjak pindah kerja terasa susah sekali untuk menulis. Ada yang hilang. Ya.. kehilangan inspirasi.

Hari ini teringat tentang "someonein somewhere" hehehehe my ispiration. jadinya ya ditandai sja disni.hahahah


Btw emg ini lagi engak ada kerjaan... so ya coret2 saja disini.

Salam untuk orang2 tercinta.
Love you more than You know.

Wednesday, March 03, 2010

Starting OO in headless with Version OpenOffice 3.0 ++

Starting with OO 3.0 you do not need Xvfb anymore you can just use this:

* for Linux: /path/to/openoffice/program/soffice.bin -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
* for Mac OS X: /path/to/openoffice.app/Contents/!MacOS/soffice.bin -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
* for Windows: soffice.exe -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"

Linux (Debian,Ubuntu)
Open Office 2.4 Debian, Ubuntu

There are some improvements related to Openoffice 2.4 version. If you have to run old versions of Openoffice for any reason, please find the old section below. With 2.4, no more xvfb framebuffer needed.
Installation steps (based on Etch 4.0 i386)

1. Set backports for packages

* Check your Debian version, find suitable backport source
* vi(or nano or pico or your very favorite editor) /etc/apt/sources.list
* add this line
* deb http://www.backports.org/debian etch-backports main contrib non-free
* run apt-get update

1. Install packages

* Be sure all packages tagged with 2.4.0-4~bpo40+1
* openoffice.org-headless,
* openoffice.org-base, openoffice.org-writer, openoffice.org-calc, openoffice.org-impress, openoffice.org-draw, openoffice.org-math, openoffice.org-filter-mobiledev, openoffice.org-filter-binfilter, msttcorefonts, pstoedit, libpaper-utils, ttf-dejavu

1. Write startup script for test

* vi ooo.sh

unset DISPLAY
/usr/lib/openoffice/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard

* chmod +x ooo.sh

1. Run the oOo server as root.

* sh ooo.sh
* Check if server started with netstat -an | grep 8100
* Should seem like tcp 0 0 127.0.0.1:8100 0.0.0.0:* LISTEN
* Check you have soffice process running ps aux | grep soffice

1. Test the conversion from command line

* cd /usr/lib/red5/webapps/openmeetings/jod/
* cp /home/userx/testme.ppt . (figure out the copy ppt file to your server, winscp?)
* java -jar jodconverter-cli-2.2.0.jar -f pdf testme.ppt
* The result normally should be like below

com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection connect
INFO: connected
com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection disposing
INFO: disconnected

1. Login to openmeetings and check the conversion from there too.

* Be sure that you select correct file type to convert. For example, pdf files NOT converted by OO but with swftools pdf2swf. Check available file formats from http://www.artofsolving.com/opensource/jodconverter

Check List, Pay ATTENTION to this List!!!

* run ooo.sh as root otherwise converted document cant be written.
* Dont mess with directory permissions of upload, uploadtemp and jod. DO NOT left any file world writable on your behind.
* If your app name is other then "openmeetings" you should find

webapp/src/app/org/openmeetings/app/remote/Application.java line 66 and change to your context (will be fixed in svn)

* check webapps/openmeetings/jod/ dir. You'll see
o BATCHTHUMB_date_time_stamp_thumbnail.sh
o PDFCONVERT_date_time_stamp_jodconverter.sh
o SWFCONVERT_date_time_stamp_swfconverter.sh
o THUMB_date_time_stamp_thumbnail.sh
* Those files created on the fly. Do not attempt to play with jodconverter2.sh
* Check command line error codes;
o com.sun.star.task.ErrorCodeIOException; Be sure all packages installed, check ooo.sh run by root.
o com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one; Be sure all packages installed.
* Always watch openmeetings.log to see what really goes on. tail -f /usr/lib/red5/openmeetings.log from your console.

Todo List

* Create Debian init script for safe oOo operation
* Understand this, why numbered list and bullet item couldnt be used together and always you have repeated number one in wiki :)

Install Open Office Service on Debian/(K)Ubuntu (versions > 2.3)

1. Install OpenOffice-Headless as root (through su, sudo, etc.):

sudo apt-get install openoffice.org-headless

2. Create and edit a file named openoffice.sh (for example) with you favorite editor over /etc/init.d:

vi /etc/init.d/openoffice.sh

#!/bin/bash
# openoffice.org headless server script
#
# chkconfig: 2345 80 30
# description: headless openoffice server script
# processname: openoffice
#
# Author: Vic Vijayakumar
# Modified by Federico Ch. Tomasczik
#
OOo_HOME=/usr/bin
SOFFICE_PATH=$OOo_HOME/soffice
PIDFILE=/var/run/openoffice-server.pid

set -e

case "$1" in
start)
if [ -f $PIDFILE ]; then
echo "OpenOffice headless server has already started."
sleep 5
exit
fi
echo "Starting OpenOffice headless server"
$SOFFICE_PATH -headless -nologo -nofirststartwizard -accept="socket,host=127.0.0.1,port=8100;urp" & > /dev/null 2>&1
touch $PIDFILE
;;
stop)
if [ -f $PIDFILE ]; then
echo "Stopping OpenOffice headless server."
killall -9 soffice && killall -9 soffice.bin
rm -f $PIDFILE
exit
fi
echo "Openoffice headless server is not running."
exit
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0

3. Change the permssions to this file:

chmod 0755 /etc/init.d/openoffice.sh

4. Install openoffice.sh init script links:

update-rc.d openoffice.sh defaults

5. Start the service:

/etc/init.d/./openoffice.sh start

6. You can see if openofice is running with this command:

netstat -nap | grep office

You should get something like this:

tcp 0 0 127.0.0.1:8100 0.0.0.0:*
LISTEN 2467/soffice.bin


****copas from http://code.google.com/p/openmeetings/wiki/OpenOfficeConverter*****

Wednesday, January 13, 2010

GNS3 : belajar Cisco di ubuntu 9.10

GNS3 adalah simulator cisco berbasis grafik yang bisa jalan di windows dan linux. mngkin kita pernah pakai dynagen dan dynamips untuk membuat cisco lab. nah dengan GNS3 membuat cisco lab akan semakin mudah.

pakcage nya bisa di unduh di http://gns3.net.
untuk penguna ubuntu 9.10 macam saya, bisa di instal lewat synaptic package manager dan pilih gns3,

yang kita perlukan adalah mengunduh ios cisco untuk dapat menjalankan simulator. untuk ios cisco bisa di unduh disini .

selanjutnya mensetup ios ke GNS yang akan muncul saat pertama kali kita menjalan kan dns3.

nampak di gambar seperti ini



nah setelah selesai setup ios, anda akan bisa memulai untuk membuat simulator cisco dengan cara drag and drop.

contoh yg telah saya buat untuk simulator frame relay adalah sebagai berikut :



silahkan baca manual di http://gns3.net/documentation untuk mengexplore lebih dalam tentang GNS3.

selamat mencoba.

Tuesday, December 08, 2009

Create openVPN client at Ubuntu 9.10

there is 2 ways to make openvpn connection, using pkcs file and from network manager (using cert, ca and key file)

in my case, i am using openvpn server running at IPCOP. You can see the manual from here.

the first, using PKCs file;
1. install openvpn from synaptec package manager
2. download file pkcs file and configuration from your ipcop machine to /etc/openvpn on zip fle. and you will get 2 file, example con1.p12 and con2ipcop.opvn.
3. copy both of file to /etc/openvpn
4. rename file con2ipcop.opvn to con2ipcop.conf
5. open terminal run the below command
$sudo /etc/openvpn/opevpn con2ipcop.conf
6. you have connected to vpn server and press Crtl+c to close connection

the second, using network manager

1. extrak pkcs file to cert and key file with following command;

openssl pkcs12 -nocerts -in con1.p12 -out userkey.pem
openssl pkcs12 -nokeys -clcerts -in con1.p12 -out usercert.pem
openssl pkcs12 -nokeys -cacerts -in con1.p12 -out userca.pem

2. put the file from step 1 to network manager as following picture



3. ready to go.

Thursday, December 03, 2009

Change Default OS at Ubuntu 9.10

If you have dual OS and want to change to WINDOWS as default OS, follow the below step;

1. See the first screen at your PC or LAPTOP. how many line in the boot screen
in my case, i have 7 line, the 1 line is ubuntu and the 7 line is windows XP.

2. open terminal and run the below command;
$sudo gpedit /etc/default/grub

change GRUB_DEFAULT=0 to GRUB_DEFAULT=6

in my case i change to number 6 if you have 4 line in boot screen so you must change to 3 as follow GRUB_DEFAULT=3

save and close your editor

3. run this command
$ sudo update-grub

then your default os will cahnge to windows.

nice to see you all.