Tuesday, May 19, 2020

RDP need ICMPv4?

Today we have a replacement of old server in data center, the new server was done the setup in office, and able to remote (RDP) with all the setting of windows firewall.

allow  TCP/UDP for rdp port, scope limited remote's IP

But the thing happen when i plug it in to data center router. (juniper SSG5), it is unable to connect remotely. and after some troubleshooting, and i enable the ICMPv4 in windows firewall.

allow ICMPv4 for any remote's IP (scope IP will fail the rdp)

And finally the remote able to get thru. I try to unable/enable a few time. it was same result.
why?
Anyone able to explain to me, as i know RDP only need TCP/UDP.

Some info:
OS: windows server 2019
Firewall: Juniper SSG5 (very old firewall)
RDP port: not default






OpenOffice change your file content


OpenOffice problem:
When double click on a 0KB csv file, Open with openoffice or even you cancel it, the csv file will become 2KB.

The content of 2KB:
ÐÏ à¡± á                ; þÿ                             þÿÿÿ    þÿÿÿ        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿýÿÿÿþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿR o o t   E n t r y                                              ÿÿÿÿÿÿÿÿÿÿÿÿ                                    þÿÿÿ                                                                            ÿÿÿÿÿÿÿÿÿÿÿÿ                                    þÿÿÿ                                                                            ÿÿÿÿÿÿÿÿÿÿÿÿ                                    þÿÿÿ                                                                            ÿÿÿÿÿÿÿÿÿÿÿÿ                                    þÿÿÿ       


Here is some info:

OS: Windows server 2016
OpenOffice version: 4.1.1
Open with scalc.exe program


Video:









Wednesday, March 11, 2020

Hyper-V Problem

Problem 1 in hyper V:
Create Virtual server failed.

Problem 2 in hyper V:
Apply checkpoint failed.

But this two problem i solve it by one solution:
Restart hyper-v virtual machine management service

Root cause i also not sure, if any one knew please drop me a message.

Friday, March 06, 2020

kernel package: 'linux-generic' error

Description:
1) Case happen when install mini ubuntu 18.04 LTS

2) Process: install system

3) Error message:
Unable to install the selcted kernel
An error was returned while trying to install the kernel into the target system.
kernel package: 'linux-generic'.
check /var/log/syslog or see virtual console 4 for the details.

Solution:
I try expert installation.
and choose "linux-image-5.3.0-40-generic" kernel
and choose all driver (instance of target)

Thursday, March 05, 2020

Tomcat http port not work

For windows user install the tomcat: there is a problem, when you set the HTTP/1.1 port on setup. it may not work. Here is for reference.

Description on case:
When setup the tomcat (UI), it allow to change the shutdown port and HTTP/1.1 port. But after you change this 2 port, only shutdown port will reflect to server.xml, while HTTP/1.1 port will be always default.

To solve this:
You need to manually edit the HTTP/1.1 port on "tomcat folder/conf/server.xml" and restart service.

This list have no problem:
Tomcat v7.0.10 (java 7 x32)

Tomcat v7.0.94 (java 7 x32)
Tomcat v7.0.96 (java 7 x32)
Tomcat v7.0.99 (java 7 x32)
Tomcat v9.0.16 (java 8 x64)
Tomcat v9.0.30 (java 8 x64)

This list have above problem: (this both release year 2020)
Tomcat v7.0.100 (java 7 x32)
Tomcat v9.0.31 (java 8 x64)

* The testing done most with windows server 2016 std, and some in windows 2019 std.





Sunday, January 05, 2020

java 1.8 32bit

To check java version on window:
1) From "programs and features", if there is 64 bit, it will show 64 bit else just show java.



2) With "java -version" Comman,.if 64 bit, it will show "Java HotSpot 64-bit Server VM", else just show java version.