Solving "WSUS administration console was unable to connect to the WSUS Server via the remote API" error

ဒီနေ့ ကျတော့် WSUS Server ရဲ့ WSUS Console ကိုဝင်တဲ့အခါ အောက်လို Error ပဲ ပေါ်လာပြီး Connect လုပ်မရပါဘူး။



Event Log မှာ ဝင်ကြည့်တော့လဲ အောက်ကလိုမျိုး Log တွေပဲ မြင်ရပါတယ်။

The WSUS administration console was unable to connect to the WSUS Server via the remote API. 

Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.
The WSUS administration console was unable to connect to the WSUS Server via the remote API.
Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.
System.Net.Sockets.SocketException -- No connection could be made because the target machine actively refused it 172.16.99.98:80
Source
System
Stack Trace:
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
** this exception was nested inside of the following exception **

System.Net.WebException -- Unable to connect to the remote server
Source
Microsoft.UpdateServices.Administration
Stack Trace:
   at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
   at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
   at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
   at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.GetUpdateServer(PersistedServerSettings settings)
   at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServer()
   at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServerAndPopulateNode(Boolean connectingServerToConsole)
   at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.OnExpandFromLoad(SyncStatus status)

ဒါနဲ့ စုံစမ်းစစ်ဆေးမှုတွေလုပ်ရတော့တာပေါ့ဗျာ။

ပထမဆုံး Log က ပြောသလို Update Services service, IIS နဲ့ SQL Service တွေကို Restart လုပ်ပြီး ပြန်စမ်းကြည့်ပါတယ်။ အလုပ်မလုပ်သေးပါဘူး။

ဒါနဲ့ တခြား Server ကနေ WSUS server ကို Telnet WSUS Server Name/IP 80 နဲ့ port ပွင့်နေ မနေ စစ်ပါတယ်။
Port 80 ပွင့်မနေပါဘူး။ သေချာပါပြီ WSUS ရဲ့ Default Web Site Service ရပ်နေပြီဆိုတာ။

IIS Manager ကို သွားပြီး Default Web Site ကို Start လုပ်ပြီး WSUS Console ကိုဝင်တဲ့အခါ Connect လုပ်လို့ရတာကို ဝမ်းသာစွာပဲ မြင်ရပါတယ်။




တကယ်တော့ ဒီပြဿနာက ကျတော် WhatsUp Gold ဆိုတဲ့ Network Monitoring Application ကို WSUS Server ပေါ်မှာတင် စမ်းပြီး ပြန်ဖြုတ်တဲ့အခါမှာ သူကလဲ IIS ကိုသုံးတဲ့အတွက် အခုလို WSUS ကို ဝင်မရတော့တာပါ။

သင်တို့လဲ ဒီလိုအဖြစ်မျိုးကြုံပြီဆိုရင် အပေါ်က နည်းလေးတွေနဲ့ အရင်ဖြေရှင်းကြည့်ဖို့ မမေ့နဲ့နော်။

ကျတော့် Server က Windows Server 2008 R2 SP2 ပါ။ WSUS ကတော့ 3.0 SP2 ပါ။

ပျော်ရွှင်ပါစေဗျာ။
(Be knowledgeable, pass it on then)

Putty Command Line Error - unknown option "-wt" in GNS3

GNS3 နောက်ပိုင်း Version တွေမှာ Console ဖွင့်တာနဲ့ အောက်ကလို Putty Command Line Error ပေါ်လာပါတယ်။



ဒီလို Error မျိုးကြုံနေသူများအတွက်...အောက်က GNS3 Forum ကနေ ပေးထားတဲ့ Putty.exe ဖိုင်လေးကို Download လုပ်ပြီး
မိမိ စက်ထဲက Putty.exe ရှိတဲ့နေရမှာ Overwrite လုပ်လိုက်ပါ။

Download Putty for GNS3

GNS3 ကနေ Router/Switch/Firewall တို့ကို Console ပြန်ဝင်ကြည့်ပါ။
Putty Error မတက်တော့တာကို တွေ့ရပါမယ်။

အသေးစိတ်သိချင်ရင်တော့ ဒီလင့် http://forum.gns3.net/topic5016.html မှာ ဖတ်နိုင်ပါတယ်။

ပျော်ရွှင်ပါစေဗျာ။
(Be knowledgeable, pass it on then)

Finding Server Model and Serial Number in Linux remotely

တခါတလေ Documentation အတွက်ပဲ ဖြစ်ဖြစ် Audit အတွက်ပဲဖြစ်ဖြစ် Warranty ကိစ္စ အတွက်ပဲဖြစ်ဖြစ်
Server Model/Serial Number ကို လိုအပ်မှာပါ။

Windows Server တွေအတွက်တော့ ဒီလိုအပ်ချက်ကို အလွယ်တကူ ရှာလို့ ရနိုင်ပေမယ့်

Linux Server တွေအတွက်ဆို နည်းနည်းတော့ အလုပ်ရှုပ်တတ်ပါတယ်။

ဒီလို မဖြစ်ရအောင် နည်းလမ်းလေး နည်းနည်းဝေမျှချင်ပါတယ်။

အခု ကျတော် သုံးမယ့် Command ကို Red Hat Linux နဲ့ Debian Linux တွေမှာ စမ်းထားပါတယ်။

အောက်က Command လေးကို သင်သိချင်တဲ့ Linux Server ကို Login ဝင်ပြီး ရိုက်ထည့်ပါ။

"dmidecode -t 1"

Red Hat Linux Version 4 နဲ့ တချို့ CentOS တွေမှာ dmidecode package ကို install လုပ်ဖို့ လိုပါလိမ့်မယ်။

Install လုပ်ပုံကတော့ အောက်က Command လေးရိုက်ထည့်ရုံပါပဲ။

"sudo yum install dmidecode"

Result ကိုတော့ အောက်က Screen-shots တွေမှာ နမူနာပြပေးထားပါတယ်။




ပျော်ရွှင်ပါစေဗျာ။
(Be knowledgeable, pass it on then)

7z Cracker, useful tool

ZIP application တွေထဲမှာ 7 zip ကို အတော်လေးသဘောကျပါတယ်။ Handy ဖြစ်တာရယ်၊ Zip file format တော်တော်များများကို Support လုပ်တာရယ်ကြောင့်ပါ။

တခါတလေ ကိုယ့်အတွက် အရေးကြီးတာမျိုးကို Password Protected Zip file အနေနဲ့ သိမ်းထားတတ်ကြမှာပါ။

တခြား ZIP application တွေတော့ ဘယ်လိုရှိတယ်မသိ 7 zip နဲ့ လုပ်ထားတဲ့ Password Protected Zip file ကို Password မေ့သွားလို့ ပြန်ဖြေချင်တဲ့အခါ 7z Cracker ဆိုတာလေးက အတော်လေး အဆင်ပြေပါတယ်။

သုံးရလဲ လွယ်ကူပါတယ်။

သူ့ကို အောက်ပါ လင့်ကနေ Download ရယူပါ။

http://sourceforge.net/projects/sevenzcracker/

သူနဲ့ တွဲသုံးဖို့ 7zip Application လေးကို လဲ အောက်ကနေ Download ရယူပါ။ သင့်စက်ထဲမှာ ရှိနေပြီးသား 7zip နဲ့ အသုံးပြုလို့ မရပါဘူး။

http://sourceforge.net/projects/sevenzip/?source=typ_redirect

ပြီးရင် တော့ မိမိ password မေ့သွားတဲ့ 7z ZIP file လေးကို 7z Cracker Application ရဲ့ Directory အောက်မှာထားပါ။

7zcracker.exe ကို Run ပါ။ ပေါ်လာတဲ့ command box လေးကနေ မိမိ ရဲ့ file name ကို file extension အပြည့်အစုံနဲ့ ရိုက်ထည့်လိုက်ပါ။

Password ဖြေပြီးသား သင့် ZIP File ကို est folder အောက်မှာ တွေ့ပါလိမ့်မယ်။


ဒီပို့စ်ကို ကိုယ့်ဖိုင် Password မေ့သွားလို့ ပြန်ဖြေချင်သူတွေအတွက်နှင့် Educational ရည်ရွယ်ချက်နဲ့ Application သုံးပုံကို ဝေမျှတာပါ။

တလွဲအသုံးချမယ်ဆိုရင်တော့ At your own risk ပေါ့ဗျာ။


ပျော်ရွှင်ပါစေဗျာ။
(Be knowledgeable, pass it on then)

How to check the vpn user list and session in Cisco ASA 5520?

Cisco ASA Firewall ကို သုံးထားမယ်။ AAA Local Server create လုပ်ထားမယ်။
IPsec VPN create လုပ်ပြီး user account တွေကို Local AAA ကနေ Create လုပ်ထားတယ်ဆိုပါစို့။
user အရေအတွက်ကို အမြဲတမ်းစစ်ဆေးပြီး ကိုယ့် Network ကို ဘယ်သူတွေက ဘယ်အချိန်မှာ ဝင်ပြီး
ဘယ်လောက်ကြာကြာသုံးနေလဲ ၊ သုံးသွားလဲ ဆိုတာကို Network Administrator တယောက်အနေနဲ့ စစ်ဆေးရမယ့် တာဝန်ရှိပါတယ်။

ဒီအတွက် ASDM GUI ကို သုံးပြီး စစ်ဆေးလို့ရပါတယ်။ ဒါပေမယ့် user အရေအတွက် များတဲ့ အခါ အတော်လေးလက်ဝင်ပါတယ်။
ဒီတော့ CLI သုံးပြီး စစ်ဆေးနည်းလေး ပြန်လည်ဝေမျှချင်ပါတယ်။

အခု အသုံးပြုမယ့် Command တွေကို Priviledge Mode မှာပဲ အသုံးပြုရမှာပါ။

User List ကို စစ်မယ်ဆိုရင် အောက်ပါ Command များသုံးပြီး စစ်ဆေးနိုင်ပါတယ်။

- show aaa local user
- show run | grep username





လက်ရှိ VPN Session သုံးနေတဲ့ User တွေကို စစ်မယ်ဆိုရင်တော့ အောက်ပါ Command များသုံးပြီး စစ်ဆေးနိုင်ပါတယ်။

- show vpn-sessiondb remote | grep Username (ဒါကတော့ All Active User List ကို ပြပေးပါတယ်။)
- show vpn-sessiondb remote filter name username (username နေရာမှာ မိမိစစ်ဆေးချင်တဲ့ username ထည့်ပေးပြီး အသေးစိတ် စစ်ဆေးနိုင်ပါတယ်။ အပေါ်က Command နဲ့ တွဲသုံးရင် ပိုအဆင်ပြေပါတယ်။)




ကဲ...ဒါပါပဲဗျာ။

ကျနော် နမူနာ ပြထားတဲ့ Cisco ASA က 5520 ဖြစ်ပြီး Software Version က တော့ 8.2 (5) ပဲ ဖြစ်ပါတယ်။

သင့်အနေနဲ့ ကျတော့်ရဲ့ အားထုတ်မှုကို အသိအမှတ်ပြုတယ်ဆိုရင် အောက်က Visits to Money ဆိုတဲ့ လင့် ကို Click ပေးခြင်းဖြင့် ကျတော့်ကို အားပေးရာရောက်ပါတယ်။

Visits to Money

ပျော်ရွှင်ပါစေဗျာ။
(Be knowledgeable, pass it on then)