廣告

2025 年 9 月
1234567
891011121314
15161718192021
22232425262728
2930  

彙整

WIN7信封套用合併列印設定教學(解決載入連絡人地址當機問題)

2016.11.4 遇到還會當的,試試把會當的那筆資料重建一次看看。
==================

使用之前WORD 2003與OUTLOOK 2003合併列印信封範本載入連絡人地址會當機,這邊使用初始化來製作不會當機的範本:

clip_image002

clip_image003

clip_image004

clip_image005

clip_image006

clip_image007

clip_image008

新增文件後存檔當範本

clip_image009

開範本出線警告訊息按否進入範本,只要選好連絡人地址直接列印即可,若位置跑了再重設定紙張位置後存檔即可。

clip_image010

vCenter SQL無法啟動與vSphere Client 的 Hardware Status 與 Service Status異常

今早發現SQL啟動不了,vCenter也跟著啟動不了,跟最早發現問題一樣,之前我是回朔備份解決此問題,但今天發現是自動更新SQL20018 SP4後會發生這樣的問題,現在把系統再回朔一次,停止WSUS更新SQL2008 SP4………..

更新前:
clip_image001

更新後

clip_image002
========================
原先安裝版本為VMware-VIMSetup-all-5.1.0-2308386.iso,出問題後也重新安裝過VMware-VIMSetup-all-5.1.0-2308386.iso還是一樣沒解決。
剛下載目前最新的版本直接更新重啟SERVER後,再連到SERVER抓vSphere Client最新版更新在個人電腦上,就全癒了。
VMware-VIMSetup-all-5.1.0-3900744.iso
=========================
這張是個人電腦上執行vSphere Client會出錯。
clip_image003
這張是在vSphere Server上執行vSphere Client就沒問題。
clip_image004

POSTFIX設定對方MX記錄過濾IP規則防垃圾郵件-check_sender_mx_access

參考網址 http://blogger.liaohaha.tw/2015/07/postfix-smtp.html

check_sender_mx_access cidr:/etc/postfix/check_bad_mx  #使用設定的主機檢查表/etc/postfix/check_bad_mx ,判斷MAIL FROM後接的寄件者位址,其MX主機是否在禁用黑名單內,若是則拒絕連線

對照表/etc/postfix/check_bad_mx內容大致如下:

192.168.2.0/24     550 Bad mx

check_bad_mx使用cidr格式,設定好可以直接使用。

=========

正式設定

 

編輯POSTFIX設定檔

#vim /etc/postfix/main.cf

加入

smtpd_recipient_restrictions =

permit_mynetworks

permit_sasl_authenticated

check_sender_mx_access cidr:/etc/postfix/mx_access

 

建立DB初始檔案

#touch /etc/postfix/mx_access

 

編輯要阻擋的MX IP位置

#vim /etc/postfix/mx_access

185.153.228.0/24 550 Bad MX IP

218.161.54.0/24 550 Bad MX IP

 

建立DB

#postmap /etc/postfix/mx_access

 

重新載入POSTFIX設定作用

#/etc/init.d/postfix reload

Postfix設定對付惱人的垃圾信

垃圾信標頭:

Return-Path: <webmd@healthylifestyle1.website>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
    mail.t3ex-techiview.com
X-Spam-Level: ***
X-Spam-Status: No, score=3.4 required=5.0 tests=BAYES_00,HTML_MESSAGE,
    RDNS_NONE,T_REMOTE_IMAGE,URIBL_BLOCKED,URIBL_DBL_SPAM,XPRIO autolearn=no
    version=3.3.1
Delivered-To: roger.lin@XXX.com
Received: from eo09t.healthylifestyle1.website (unknown [185.153.228.53])
    by mail.t3ex-techiview.com (Postfix) with ESMTP id BB00D7A01DE
    for <it@XXX.com>; Wed, 20 Jul 2016 20:43:18 +0800 (CST)
Received: from 0102d464.eo09t.healthylifestyle1.website ([127.0.0.1]:10236 helo=eo09t.healthylifestyle1.website)
    by eo09t.healthylifestyle1.website with ESMTP id 01BBAMRQXJT02D4QHCHVLKST64;
    for <it@XXX.com>; Wed, 20 Jul 2016 08:43:15 -0400
To: <it@XXX.com>
Date: Wed, 20 Jul 2016 08:43:15 -0400
Message-ID: <12363301696142412365811837531033@eo09t.healthylifestyle1.website>
From: "WebMD" <WebMD@healthylifestyle1.website>
Subject: Lose 1lb of belly fat every day!
X-Priority: 3 (Normal) 16961424
Importance: Normal
Content-Language: en-us
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: multipart/alternative;
    boundary="—-=Part.600.8474.1469018595"
X-Hiview-MailScanner-Information: Please contact the ISP for more information
X-Hiview-MailScanner-ID: BB00D7A01DE.AC03B
X-Hiview-MailScanner: Found to be clean
X-Hiview-MailScanner-From: webmd@healthylifestyle1.website

MAIL SERVER LOG:

Jul 20 20:43:17 mail postfix/smtpd[4848]: warning: 185.153.228.53: hostname 53144.rdns.hemenhosting.org verification failed: Name or service not known
Jul 20 20:43:17 mail postfix/smtpd[4848]: connect from unknown[185.153.228.53]
Jul 20 20:43:18 mail dovecot: POP3(elodie.yeh): Disconnected: Logged out top=0/0, retr=5/5067560, del=0/1800, size=1195997709
Jul 20 20:43:19 mail postfix/smtpd[4848]: BB00D7A01DE: client=unknown[185.153.228.53]
Jul 20 20:43:20 mail postfix/cleanup[4918]: BB00D7A01DE: hold: header Received: from eo09t.healthylifestyle1.website (unknown [185.153.228.53])??by mail.t3ex-techiview.com (Postfix) with ESMTP id BB00D7A01DE??for <it@XXX.com>; Wed, 20 Jul 2016 20:43:18 +0800 from unknown[185.153.228.53]; from=<WebMD@healthylifestyle1.website> to=<it@XXX.com> proto=ESMTP helo=<eo09t.healthylifestyle1.website>

最後在 /etc/postfix/main.cf 加入reject_unknown_reverse_client_hostname 試試

smtpd_recipient_restrictions =
        permit_mynetworks
        permit_sasl_authenticated
        reject_unauth_destination
        reject_unknown_reverse_client_hostname
        reject_non_fqdn_hostname
        reject_non_fqdn_sender
        reject_non_fqdn_recipient
        check_client_access hash:/etc/postfix/access
        check_sender_access hash:/etc/postfix/sender_access
        reject_invalid_hostname
        reject_unknown_sender_domain
        reject_unknown_recipient_domain
        #下列兩項是讀取網路黑名單資料庫用的
        #參考 http://www.weithenn.org/cgi-bin/wiki.pl?%E5%B0%8E%E5%85%A5_DNSBL_%E5%B0%8D%E6%8A%97%E5%9E%83%E5%9C%BE%E4%BF%A1_(Anti-SPAM)
        reject_rbl_client zen.spamhaus.org
        reject_rbl_client bl.spamcop.net

20160719-事件1530與1058造成加入網域GPO異常無法套用問題

clip_image001

clip_image002

錯誤訊息:

=========================

記錄檔名稱: System

來源: Microsoft-Windows-GroupPolicy

日期: 2016/7/19 下午 04:41:45

事件識別碼: 1058

工作類別: 無

層級: 錯誤

關鍵字:

使用者: SYSTEM

電腦: DC2-2012.winpex-gl.com

描述:

群組原則處理失敗。Windows 嘗試從網域控制站讀取檔案 \\winpex-gl.com\SysVol\winpex-gl.com\Policies\{3B497DE3-6936-489E-87F4-84C28AB4D958}\gpt.ini 失敗。解決此事件之前,可能無法套用群組原則設定。這可能是下列其中一個或多個原因造成的暫時性問題:

a) 到目前網域控制站的名稱解析/網路連線問題。

b) 檔案複寫服務延遲 (在其他網域控制站建立的檔案尚未複寫到目前的網域控制站)。

c) 分散式檔案系統 (DFS) 用戶端已被停用。

事件 Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

<System>

<Provider Name="Microsoft-Windows-GroupPolicy" Guid="{AEA1B4FA-97D1-45F2-A64C-4D69FFFD92C9}" />

<EventID>1058</EventID>

<Version>0</Version>

<Level>2</Level>

<Task>0</Task>

<Opcode>1</Opcode>

<Keywords>0x8000000000000000</Keywords>

<TimeCreated SystemTime="2016-07-19T08:41:45.207339500Z" />

<EventRecordID>112939</EventRecordID>

<Correlation ActivityID="{61073465-275A-465D-8C48-06750867CF7D}" />

<Execution ProcessID="868" ThreadID="1052" />

<Channel>System</Channel>

<Computer>DC2-2012.winpex-gl.com</Computer>

<Security UserID="S-1-5-18" />

</System>

<EventData>

<Data Name="SupportInfo1">4</Data>

<Data Name="SupportInfo2">820</Data>

<Data Name="ProcessingMode">1</Data>

<Data Name="ProcessingTimeInMilliseconds">10608</Data>

<Data Name="ErrorCode">3</Data>

<Data Name="ErrorDescription">系統找不到指定的路徑。 </Data>

<Data Name="DCName">DC1-2012.winpex-gl.com</Data>

<Data Name="GPOCNName">cn={3B497DE3-6936-489E-87F4-84C28AB4D958},cn=policies,cn=system,DC=winpex-gl,DC=com</Data>

<Data Name="FilePath">\\winpex-gl.com\SysVol\winpex-gl.com\Policies\{3B497DE3-6936-489E-87F4-84C28AB4D958}\gpt.ini</Data>

</EventData>

</Event>

===================

發現系統無法找到

\\winpex-gl.com\SysVol\winpex-gl.com\Policies\{3B497DE3-6936-489E-87F4-84C28AB4D958}\gpt.ini

開始 => 執行 連到 \\winpex-gl.com\SysVol\winpex-gl.com\Policies

建立 {3B497DE3-6936-489E-87F4-84C28AB4D958} 目錄

再隨便到 {xxx} 其它目錄複製一份到 {3B497DE3-6936-489E-87F4-84C28AB4D958} 目錄

clip_image003

更改GPT.INI

Version=xxxx(自己重編)

clip_image004

重開機後SERVER與CLIENT錯誤訊息不在,且GPO可正常套用。

W124 E220 進廠大保養後煥然一新阿

都不知壞了這麼多東西,保養後有脫胎換骨的感覺阿,E220 這台老車很有味道,希望能伴我走完我的人生。

20160608-賓永誠W124維修菜單-1

BENZ 老賓 W124 冷車一發就動,熱車靜置一陣子難發動問題–更換汽油續壓閥(油壓控制器)

2016.11.4 更換此零件是很危險的事,請要自行DIY的車友要特別注意,嚴重可能會火燒車。
正確更換方式:
電瓶一定要先斷電,正確的手法要把汽油先抽出來油桶裡面沒汽油了才能開始拆解

======================

BENZ 老賓 W124 冷車一發就動,熱車靜置一陣子難發動問題–更換汽油續壓閥(油壓控制器)

1.首先到Y拍或汽材行買個新的汽油壓力閥控制器

1

2

3

 

2.更換前請記得先把油箱蓋打開洩壓,不然就會跟我一樣拆開舊洩壓閥時汽油如湧泉般湧出的冏境………

4

湧泉時用內衣擋後趕緊拿新的塞回去………

8

 

3.更換零件的位置
9

12

 

3.需要一隻尖嘴前鉗,最好有彈簧那種會比較方便,拆C型環用

5

13

6

 

4.更換新的續壓閥後扣上C型環回去

7

10

11

 

後記:

更換完後,我就直接去試車,開到引擎溫度來到正常的80上下,息火上樓洗澡後,下樓發車,一發就動,照更換前的狀況得補上油門才能發動,且引擎會頓一下下後才會正常。

又開出去,辦事約20分鐘後上車一發就動

又去吃早餐,約20分鐘,上車一發就動

引擎待速變穩了,也不會嚴重抖動,加速感覺較有力,以上我會再觀察一陣子。

Windows 7 印表機常發生遺失無法列印問題(重啟Print Spooler無效)

查到這個原因,目前正在測試中

https://blogs.technet.microsoft.com/win7/2011/01/11/windows-7-clients-may-not-be-able-to-print-to-windows-server-2003-print-server/

我是使用GPO讓WIN7 CLIENT自動加入此機碼

regedit /s EnabledProtocols.reg

機碼內容:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers]
"EnabledProtocols"=dword:00000006

=========================================
之前手動解決方式:

症狀(WIN7):

WIN7 開啟印表機後印表機遺失無法顯示

任何應用程式要列印無法列印

 

解決方式:

切換到管理者帳號(admin 或 IT自己的帳號)

InsertPic_(05-19-10-42-35)

我的電腦 => 右鍵選管理

InsertPic_E6D1(05-19-10-42-35)

服務 => 停用 print spooler服務

InsertPic_E0C5(05-19-10-42-35)

WIN+E 開檔案總管到 C:\Windows\System32\spool\drivers\x64 底下將PCC目錄以外的所有檔案剪下暫存到桌面(開TEMP資料夾),清空C:\Windows\System32\spool\drivers\x64底下所有目錄跟檔案

InsertPic_4500(05-19-10-42-35)

啟用print spooler服務

InsertPic_E0C5(05-19-10-42-35)[1]

開啟 裝置與印表機 畫面按F5整理看印表機是否恢復顯示,若有請把桌面TEMP的檔案CP回C:\Windows\System32\spool\drivers\x64底下。

此時若對印表機按右鍵選 "印表機內容" 可正確顯示即正常。

登出後請USER登入使用看看是否正常。


Levono X3650 M5 + 美光MX200 500G SSD * 12 Raid 5 在ESXi上跑WIN7簡易測試

SSD


SAS 900G 萬轉 * 4 RAID 5(忘了存到IOPS,因為跑太久懶的重跑)

看測試數據是快很多,沒買fastpath……

ESXI5.5U3 INSTALL FAIL ON NEW X3650 M5 – FAILED TO RESOLVE CIRCULAR RELOCATION

新買的Levono X3650 M5 Server 安裝ESXi 5.1 U3 一半時出現 FAILED TO RESOLVE CIRCULAR RELOCATION,查了一下資料,發現有人有一樣的問題,測試後真的可以安裝,只是不知安裝完後需不需要改回BIOS設定值?

=======================

https://kitkatneko.wordpress.com/2015/06/10/esxi5-5u2-install-fail-on-new-x240-m5-failed-to-resolve-circular-relocation/

ESXI5.5U2 INSTALL FAIL ON NEW X240 M5 – FAILED TO RESOLVE CIRCULAR RELOCATION

Posted on 10/06/2015 by kitkatneko

The other day I ran into a strange issue. Just received a bunch of Flex Blade x240 for a Vmware cluster and trying to get ESXi installed I was stopped by the following message: Failed to Resolve circular relocation.

clip_image002failed to resolve circular relocation

It happened on one server so I tried the next one and the next, same thing!

I opened a case with Vmware which resulted in the following KB:2050443http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2050443

It seems like ESXi doesn’t support MMIO regions above 4GB.

It took me for ever to find the relevant IBM/Lenovo information. Eventually found it athttps://www-947.ibm.com/support/entry/myportal/docdisplay?lndocid=MIGR-5096729&brandind=5000020 not thanks to Lenovo support!

So I made the following changes in my BIOS, from 64-Bit resource allocation: Enabled to Disabled. And MM Config Base from 2GB to 3GB.

You will find the above settings under the BIOS>System Settings> Devices and IO ports

clip_image004

I hope this helps.