2023/09/26

linux mount 沒反應 後來出現 mount.nfs input/output error

 有一台linux主機在重開機後要重新mount其他機器的分享資料夾,執行執令後,畫面上沒任何反應。

過了一下子才會出現 mount.nfs input/output error,這是因為 /etc/init.d/portmap 這個服務沒有啟動的關係,

 先 執行/etc/init.d/portmap status, 確認該服務是stop。

接著用執行啟用的指令/etc/init.d/portmap start,就可以再執行mount的動作了。


A Linux host fails to mount a shared folder from another machine after a reboot. After executing the mount command, the screen is blank.

After a while, an error message "mount.nfs input/output error" appears. This is because the service "/etc/init.d/portmap" is not running.

First, execute the command "/etc/init.d/portmap status" to confirm that the service is stopped.

Then, execute the command "/etc/init.d/portmap start" to start the service. After that, you can mount the shared folder again.

2023/09/25

VMWARE匯入OVA失敗-硬體系列 vmx-18 不受支援

在新建虛擬機,從esxi要匯入一個 ova檔時,最後一步出現錯誤:硬體系列 vmx-18 不受支援



原因是此ova是比較新的esxi建的,現在要匯入到比較舊的esxi所以無法支援,只要在esxi升級就行了。



When creating a new virtual machine, an error occurs in the last step when importing an ova file from ESXi: "Hardware series vmx-18 is not supported."

The reason for this error is that the ova was created with a newer version of ESXi and is now being imported to an older version of ESXi, which does not support the vmx-18 hardware series. The solution is to upgrade ESXi to a version that supports the vmx-18 hardware series.


2023/09/18

更新KESS到最新版3.2後 無法連線到中控台Server

將KESS升級到最新版後,連同Network Agent也一起更新到14版。

裝好後卻一直無法跟中控台連線,測了一下發現是Network Agent 有啟用,但連不到中控台。

原來是Network Agent 14版不支援比較舊的作業系統了,規格可參考下列的kaspersky官網說明

https://support.kaspersky.com/KSC/14.2/en-US/255797.htm


After upgrading KESS to the latest version, the Network Agent  were also updated to version 14.

After installation, the connection to the central console was not possible. Testing revealed that the Network Agent were running, but could not connect to the central console.

It turned out that Network Agent version 14 no longer supports older operating systems. The specifications can be found in the following Kaspersky website documentation:

https://support.kaspersky.com/KSC/14.2/en-US/255797.htm


2023/09/13

WIN10筆電突然麥克風無法收音

 筆電突然無法收音,但裝置都還在。

重上驅動也沒用。

可以換個帳號登入試試,有時後是profile的問題,如果換個帳號登入,麥克風是正常的,重把有問題的使用者profile重建即可。




The Windows10 laptop microphone suddenly stopped working, but the device is still there.

Reinstalling the driver did not work.

You can try logging in with a different account. Sometimes it is a profile issue. If the microphone works normally when you log in with a different account, you can rebuild the user profile with the problem.

2023/09/11

Office2010安裝 錯誤1402

 Office突然不能用,無法移除,安裝也跳這個錯誤1402的錯誤。


執行 secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose 
就可重新安裝。




Office suddenly stopped working, could not be removed, and the installation failed with error code 1402.

Executing the following command will allow you to reinstall Office

secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose


2023/09/08

選擇權操作-停止所有組合單策略

雙買只有明顯趨勢下才能賺,雙賣是一有趨勢就慘了。

價差單也差不多,看你怎麼組,也是有上面的問題,怎麼做都不順。

追蹤一個長期獲利的雙賣交易者對帳單,是用大口數來產生比較好的收益,如果只看單口的獲利,可能都不到50塊,過程中要一直調整部份,這個實在難做。

趨勢就是這樣,做賣方,他就很愛動,做買方就不太動,總是常在小賠,偶爾小賺一點點,期望值依然是負的,所以還是先暫停吧,專心做買方當沖。


2023/08/29

OCS Inventory 多筆重複電腦

 OCS Inventory 是一套免費的資產盤點軟體。

在使用的時後,會發現,同一台電腦會重複多次,這樣就會造成軟體盤點數量不準。

明明只有裝1套,但因為該台電腦重覆了3次,就會以為是裝了3套。

可以在"Manage"-->"Duplicates"功能中,設定要用什麼條件把重覆的電腦合併。

裡面已經有幾個定義好的,想要用哪個,就去點選後面的數字。

進去後可以看到列出的清單,每個都可以點開,看到相關的電腦資訊,看要合併哪一個,就打勾,選好後,最下面有一個merge的按鈕,按下去系統就會把重覆的合併。



OCS Inventory is a free asset inventory software.

When using it, you may notice that the same computer is listed multiple times. This can lead to inaccurate software inventory quantities.

For example, if you only have one copy of a software installed on a computer, but that computer is listed three times in the inventory, the software will think you have three copies installed.

To fix this, you can use the "Manage"-->"Duplicates" function to merge duplicate computers.

This function lets you choose the criteria you want to use to merge computers. There are a few pre-defined criteria, or you can create your own.

Once you've selected the criteria, you'll see a list of all the duplicate computers. You can click on each one to see more information.

To merge a duplicate computer, check the box next to it. Once you've selected all the computers you want to merge, click the "Merge" button.

The system will then merge the duplicate computers into a single entry.









安裝Kaspersky 的KESS,出現電腦上遺失SHA-256(SHA-2)數位簽章支援的錯誤訊息。

 



安裝Kaspersky 的KESS防毒軟體時,出現電腦上遺失SHA-256(SHA-2)數位簽章支援的錯誤訊息。
可參 考錯誤訊息下方的說明網站。
主要的解法就是去安裝kb4474419的更新即可。

When installing Kaspersky's KESS antivirus software, an error message may appear indicating that the computer is missing SHA-256 (SHA-2) digital signature support. This is because Kaspersky uses SHA-2 to verify the authenticity of its software and files.

To fix this error, you need to install the kb4474419 update. This update is available from Microsoft's website.
Once you have installed the update, you should be able to install Kaspersky's KESS software without any problems.

2023/08/24

GPO佈署EDGE IE瀏覽模式突然失效 被略過

原本有透過GPO在使用者的電腦,佈署EDGE政策,讓EDGE在開啟一些特定網頁時,會啟用IE瀏覽模式。

但這兩天開始有電腦的IE瀏覽模式沒被啟用,查看GPO確定是有套用沒錯,所以不是GPO的問題。

開啟EDGE查看設定,發現套用的政策被略過了,但只有少數人有這個狀況。


查了一下才知道是因為EDGE最近升級後,有一些改變。
如果使用者在EDGE裡登入了私人帳號,GPO佈署的政策就會被略過,只要登出帳號,就會恢愎正常了。



Originally, we deployed EDGE policies via GPO on users' computers to enable IE browsing mode when opening certain websites.


However, in the past two days, some computers have failed to enable IE browsing mode. After checking the GPO, we confirmed that it is being applied correctly. Therefore, the issue is not with the GPO.


When we opened EDGE and checked the settings, we found that the applied policies were being ignored. However, this was only happening for a small number of users.


After some investigation, we learned that this is because EDGE was recently updated. If a user is logged in to a personal account in EDGE, the policies deployed via GPO will be ignored. Simply logging out of the account will restore normal behavior.


2023/08/18

Python Excel書推薦

 Python操作Excel:最強入門邁向辦公室自動化之路 王者歸來

這本書裡面範例多,而且都很簡短,好上手,想要Python來處理Excel資料的很適合。