2017年2月26日 星期日

pfsense WebGui Slow and Not Responding a minutes

Try Disable Updates Check on Dashboard under "System > Update > Update Settings"




2017年2月24日 星期五

pfsense SSD Harddisk Enable TRIM

The first, you should identify your TRIM is enabled or disabled.

WebGUI Interface > Diagnostics > Command Prompt

















You also can press [8] on VGA console and type command "tunefs -p /"


tunefs: POSIX.1e ACLs: (-a)                                disabled
tunefs: NFSv4 ACLs: (-N)                                   disabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 enabled
tunefs: soft update journaling: (-j)                       enabled
tunefs: gjournal: (-J)                                     disabled
tunefs: trim: (-t)                                         disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  4096
tunefs: average file size: (-f)                            16384
tunefs: average number of files in a directory: (-s)       64
tunefs: minimum percentage of free space: (-m)             8%
tunefs: space to hold for metadata blocks: (-k)            6408
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)


OK Now going to enabled TRIM



Now reboot your pfsense to Single User, when the following screen prompt up, Press "2" or "S" to boot Single User.

          __ ____
   _ __  / _/ ___|  ___ _ __  ___  ___
  | '_ \| |_\___ \ / _ \ '_ \/ __|/ _ \
  | |_) |  _|___) |  __/ | | \__ \  __/
  | .__/|_| |____/ \___|_| |_|___/\___|
  |_|


 +------------Welcome to pfSense-----------+
 |                                         |                 ______
 |  1. Boot Multi User [Enter]             |                /      \
 |  2. Boot [S]ingle User                  |          _____/    f   \
 |  3. [Esc]ape to loader prompt           |         /     \        /
 |  4. Reboot                              |        /   p   \______/  Sense
 |                                         |        \       /      \
 |  Options:                               |         \_____/        \
 |  5. [K]ernel: kernel (1 of 2)           |               \        /
 |  6. Configure Boot [O]ptions...         |                \______/
 |                                         |
 |                                         |
 |                                         |
 +-----------------------------------------+

run shell command  "cat /etc/fstab", show the following device, write down the highlight red color string, FStype is ufs.
cd /
cat /etc/fstab
# Device  Mountpoint FStype Options  Dump Pass#
/dev/ufsid/58b03b253575d41a  /  ufs rw  1 1
/dev/label/swap0  none  swap sw  0 0
Type the following command, highlight red color string should same as above.
# /sbin/tunefs -t enable /dev/ufsid/58b03b253575d41a
then press enter, if success will show the following message.

tunefs: issue TRIM to the disk set
then type reboot and verify the TRIM status again.
# /sbin/reboot


2017年2月17日 星期五

UniFi Controller Run as Windows Services and UniFi Cloud Access got Error : An error occurred. Cloud access is not compatible with this OS architecture

This page is slowing how to let UniFi Controller run as Windows Services and it also can fix can't enable the Cloud function.

Link
UniFi Account Page : https://account.ubnt.com
UniFi Cloud Access Page : https://unifi.ubnt.com/#/



Enabled UniFi got problem and get "An error occurred. Cloud access is not compatible with this OS architecture."


Step 1 :
 - Make sure you already create account on UniFi

Step 2 :
 - You need install update both x86 & x64 Java

Step 3 :
 - add "C:\Program Files (x86)\Java\jre1.8.0_121\bin" to Path on "Environment Variables..."


















Step 4 :
  1. Close any instances of the UniFi software on the controller
  2. Open the command prompt as an Administrator
  3. Run Command Prompt as an Administrator, then change directory to the location of UniFi in your computer, using the command:

    cd "%UserProfile%\Ubiquiti UniFi\"
  4. Once in the root of the UniFi folder, issue the following:

    java ‐jar lib\ace.jar installsvc
Step 5 :
 - Restart a computer, now you can access https://localhost:8443 without turn on the UniFi Controller


Remark :
After run as services, you don't need to open UniFi shortut ("%username%\Ubiquiti UniFi\lib\ace.jar" ui), if you double click open the UniFi Controller Windows, please click "Hide", if you close this windows and click yes to confirm close the UniFi Controller, the services will close and you would not get the connection on Browser.

2017年2月9日 星期四

About Copier Support ( Xerox / Ricoh / Canon )

Fuji Xerox Customer Hotline : 2513-2513

Fuji Xerox Information :

Default Admin ID : 11111
Web Admin ID : 11111
Web Admin Password : x-admin

Error Code :
016-749 - Printer Driver not support (for example using PS driver when print out show this message that mean the Copier does not support PS)

Reset and Clean Cache
 - Hold "Start" and "Stop" Button (Green+Red Button), switch Power Off the Copier, it will automatically start the machine again and clean the cache.

2017年1月17日 星期二

Exchange 2010 OWA can't search e-mail

Source : http://exchangegloves.blogspot.hk/2012/10/exchange-2010-outlook-indexing-not.html

Exchange 2010, Outlook indexing not working



Key:
1)      When this issue occurs, you will see the following events in the application log:

Log Name: Application
Source: MSExchangeIS Mailbox Store
Event ID: 9877
Task Category: Content Indexing
Level: Error
Description:
Content Indexing function 'CISearch::EcGetRowsetAndAccessor' received an unusual and unexpected error code from MSSearch. Mailbox Database: <Database Name> Error Code: 0x80043629


Log Name: Application
Source: MSExchangeIS Mailbox Store
Event ID: 9842
Task Category: Content Indexing
Level: Error
Description:
Function CISearch::EcGetRowsetAndAccessor detected that content indexing was disabled for database '<Database Name>' because of error '0x80041820' from MSSearch.

22)      Content index state is failed for multiple databases. Rebuilding them does not bring them out of a failed state.


Solution

You will need to execute a script on the affected Mailbox servers that re-installs the symbolic links:
1. Download the script Repair-ExchangeSearchSymlinks.ps1 from the Script Center (http://gallery.technet.microsoft.com/scriptcenter/16afe88b-6c6d-49a3-8b03-2a2ece27f61a) .
2. Copy the Repair-ExchangeSearchSymlinks.ps1 script to the Scripts folder on the Mailbox server (default location is C:\Program Files\Microsoft\Exchange Server\v14\Scripts).
3. Within the Exchange Management Shell, navigate to the Exchange Scripts directory (default location is C:\Program Files\Microsoft\Exchange Server\v14\Scripts).
4. Within the Exchange Management Shell, run the following script:
.\Repair-ExchangeSearchSymlinks.ps1

5. Within the Exchange Management Shell, run the following script (without the symbols [] and substitute the database name(s) for any databases you wish to reset:
.\ResetSearchIndex.ps1 <-force> <dbname> [<dbname>]...
.\resetsearchindex.ps1 –force db001
6. In the event viewer on the mailbox server you will see Event ID 109 when the rebuilding of the index starts for each database and an Event ID 110 for each database when the index rebuild has completed.
8. After receiving Event ID 110 for each database, test to make sure search functions correctly with both OWA and Outlook operating in Online Mode.


2016年10月30日 星期日

Windows Live Mail Migration 遷移及需注意事項

First, you should watching this video to understand how to transfer and i will explain how and why.

https://www.youtube.com/watch?v=96R86ZbBvHA

注意 :
1. 除上的影片教學外, 我不建議其他方式的遷移, 因為只有這個方法是最完整及最小問題出現
2. 這個遷移只限 Old PC to New PC 並使用Windows Live Mail
3. Windows Live Mail 以下會簡稱 WLM
4. Windows 程式集 2012 套件將於 2017 年 1 月 10 終止支援
下載連結 : http://go.microsoft.com/fwlink/?LinkID=255475


遷移步驟 :
1. WLM 預設的資料檔資料夾包含 Mail + Calendar + E-Mail Account Setting, 並不包含Contact List.

頂設資料夾位置 :
%userprofile%\appdata\local\windows live mail\
e.g. : 
C:\Users\sales11\appdata\local\windows live mail\  << If this is Windows 7 and username is sales11

如這個地方找不到你的郵件資料夾, 可以在WLM執行後查詢
WLM 功能表 > 選項 > 郵件 > 進階 > 維護 > 郵件檔資料夾




2. 關閉WLM程式, 把整個資料夾Copy到新電腦或硬碟

3. 新的電腦先開啟已安裝好的WLM, 跟從步驟1找到資料夾後, 把WLM程式關閉並刪除Windows Live Mail資料夾, 把需要遷移的資料夾補上便可

4. 開啟WLM時可能會出現密碼不正確, 請輸入密碼一次便可, 要注意如果資料夾Size很大的話, 開啟WLM需等待一段時間

Q&A
Q: 我討厭WLM如果我需要Migrate 到其他軟件有什麼選擇?
A: 基本上沒有軟件支援 Import WLM的郵件, 但WLM有Export功能到Microsoft Outlook

Q: 如果舊電腦已經壞了, 不能啟動電腦可以怎麼辦?
A: 程序一樣, 把舊電腦的硬碟內的Windows Live Mail資料夾copy出來照做便可

Q: 我的WLM郵件太大, 我只想遷移部份資料夾, WLM內有Import & Export功能這樣不是更方便嗎?
A: 我會建議你先把不要的郵件及資料夾在WLM內先delete及清空垃圾桶再跟上面的程序去migrate, 不建議使用Import & Export, 因為import及export時會經常出現找不到文件而失敗, 而import and export不會以你WLM內的資料夾結構作import & export, 及後你會發現找不到你的郵件, 如 WLM內的一個資料夾名稱為 "Master Record for IT Purchase" 在import & export後這個資料夾名稱會變成 "Master Re b3b" 當你有數十個很長名稱的folder變成你看不懂的folder你會後悔使用import and export.


最後總結 :
我絕不建議使用 WLM, 如更換新電腦請使用Microsoft Outlook 或使用Webmail, 這個Migration的用意是方便查看舊的e-mail, 如migrate到新電腦依然使用 WLM的話, 會出現很多問題.