Pages

Thursday, 31 May 2012

Windows Server Firewall Disabling.

It's some time seen that, the server goes offline frequently after rebooting several time. I faced this issue once. When contacted the DC they replayed that, that may be some firewall error. 

1.To check the server first enable the recovery mode with the help of DC

2.Get into the server using TightVNC

3. Run > regedit

4.Click on "HKEY_LOCAL_MACHINE"

5.Click under "File-Menu" on that  "Load Hive"

6.Load the correct file -> C:\Windows\system32\config\SYSTEM

7. click on SYSTEM

8.Give it a name (z.B. "RegTemp")

9.Click "OK" to load the file

10.Open HKEY_LOCAL_MACHINE\RegTemp\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\

11.Open "PublicProfile" and "StandardProfile" and change the value "EnableFirewall" and "DoNotAllowExceptions" to 0

12.Go again to "RegTemp"

13.Open "File"-Menu and "Unload Hive"

14.Close the registry and cancel the WinRecovery

Done..!

Tuesday, 29 May 2012

If Your IP Is Blocked By Some Site.

Some time it can be happen, some URL can block the IP of your system. Then how can you login to that particular URL....?

Everything can be possible :) just use this link to login to the particular URL >> http://anonymouse.org/

from here first select your language [English OR Deutsch] >> then there may a space to enter the URl
that blocked the IP of yours.

It will connect to that particular URL.

Enjoy..!

Monday, 28 May 2012

RDP PASSWORD RESET.

To reset the RDP [REMOTE DESKTOP PROTOCOL]Password for windows servers. you need to do few simple steps.

1.Login to server using the current Username & Password
2.Then go to >> Start>>Windows Security
3.There you can see >> Change Password.
4.In that Change the Password for the Administrator.
5.Click OK.

DONE..!

Friday, 25 May 2012

RDP PASSWORDS RESET.

Remote Desktop Protocol [RDP]
-----------------------------------

In Linux setting admin password for RDP is simple compare to Windows. Lets try the password resetting in windows 2008,2003 servers.

First of all we want to check the existing "username" & "password" is working with the RDP. if yes then login using that details then reset password as normal admin password change.

If  not then its sounds like little handy.

1. First we want to know the DC which holds the Server. Then go for Hardware >> Recovery in that find the server and enable the recovery mode.[it will be activated with in 5 min.]. on setting the recovery mode they will ask for a "password" save that that will help you if any future trouble..!

2. Then you need a software called TightVNC viewer. you can download it from http://www.tightvnc.com/download.php. Only install the client "NOT THE SERVER". Then using the ip of the server and the password of the previous [typed to turn the server to recover mode in DC] you can log in to the server desktop.

3. There you can see a folder "Information" enter into that there you can found some folders select EN [for English] in that you can find the password resetting steps

4. There may be some confusion in the text file first go for start >> programs >> password rest. after that follow the instructions in that "password reset.text"

5.After completing the steps there  may be a request for server reboot. Do it. you can find a red color button in that desktop of the server with option "REBOOT"

6. Clicking the reboot button, go to the DC and disable the "RECOVERY MODE".

7. Then go to the Terminal then check the server is "PINGING". If yes [after some time only the server will ping] then try to login to the server using RDP with new password. It will work. If not then contact the DC with this issue.!


Thursday, 24 May 2012

PUTTYCM ERROR

An unexpected error occurred 

Error found in puttycm.log
================================================
RUNTIME ERROR : Unknown exception occured
  Error : Object reference not set to an instance of an object.
  StackTrace : 
     at x650e12b2512cbeed.x7fbe3d3b15648174.x765e6a19136b68b9()
===========================================================
Solution: 
  • Open "Registry Editor" in command prompt type regedit
  • Go to HKEY_CURRENT_USER/Software/ACS/PuTTY Connection Manager
  • Delete PuTTY Connection Manager key and all sub keys.

Wednesday, 16 May 2012

Load Management.

The another problem with the server is "LOAD".

we are monitoring the load using the "w" & "top" commands in Linux. So using this we can find out the process which is taking more memory. On the leftmost side we can find the process id for that process. The next step is to find out which container [in the case of vps]. So we user the command  #"ll /proc/ID" 


By this we can get the information about the process. In that info we can find the container ID from the details.


then get into that container then kill the process [Do not kill the MySQL process]. Try it

Monday, 14 May 2012

Server Monitoring Tips.

If you are handling server monitoring this site is helpful for you..

http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html

Friday, 11 May 2012

"Chroot" in linux

To find what chroot means & what its function in the security go through..

http://docs.1h.com/Chrooting

Wednesday, 9 May 2012

SSH Trouble

Here i am working as Linux administer trainee. during my training i got some trouble and got the solutions by digging for it a long time.

i got a problem with the connection to SSH virtual machine. when I'm trying to connect my vz machine through
==================================================

#ssh root@x.x.x.x (x.x.x.x is my ip)

it shows

ssh: connect to host x.x.x.x port 22: Connection refused

i first checked the sshd is working or not by,

#pgrep sshd

if it shows any number (pid) then it is working;

then check the network by pinging to the ip;

if everything is fine then go to the another mechine n get into your vz then re-install

#yum install openssh-server.x86_64 openssh-clients.x86_64 libssh2-devel.x86_64

then connect through your machine it will work..!