Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Certmonger breaks boot on linux 6.x

Usually it will hang after Starting certmonger: [OK]

Startup the hanging machine (H1) From another machine do:

> ssh H1 > su > mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

Now restart H1.

You can have more explanations by doing a “tail -n 200 /var/logXorg.0.log” on the hanging machine.

just found a strange bug when installing Oracle Linux 6.5. […]

Howto: Enable Automatic Updates in Windows 2008 Server Core

Windows 2008 Server Core uses the SCregEdit.wsf script found in C:\Windows\System32 to configure Automatic Updates behavior.

To view the current Automatic Updates settings, from the command prompt type:

c:\windows\system32\scregedit.wsf /AU /v

The following values correspond to the response generated by the scregedit.wsf script.

1 = Automatic Updates Disabled

4 = Automatic Updates Enabled

To enable […]

Howto: Install VMware Tools on Windows 2008 Server Core

I had just performed my first Windows 2008 Server Core installation on VMware Workstation, and wanted to install the VMware tools to see if the VMs performance would increase.

Logged in as Administator I started installing the tools the normal way – from inside VMware Workstation I selected VM – Install VMware Tools.

Nothing happened. […]

Creating Backups of Windows 2008 Server Core Machines

Windows 2008 Server Core is a minimalist installation of Windows Server 2008. It must be managed from the servers console command line or remotely via Terminal Services.

In previous versions of Windows Server, NTbackup.exe was the program used for creating system backups. NTbackup.exe has been phased out and has been replaced in Windows 2008 by […]

Howto: Configure the Windows 2008 Server Core Screensaver Activation Period

y default the Windows 2008 Server Core screensaver will activate after 600 seconds (10 minutes) of inactivity.

To change the amount of time the screensaver waits to activate, edit the following registry key:

HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaveTimeOut

I changed mine from 600 seconds (10 minutes) to 1200 seconds (20 minutes).

Sander has several other you can configure for […]

Shut down or reboot a Windows 2008 Server Core System

To shut down a Windows 2008 Server Core System, at the command prompt type:

Shutdown -s -t xx

where

-s = shut down

-t xx = time to wait before shutting down in seconds, where xx =0 to 600

To shut down a Windows 2008 Server Core System immediately, at the command prompt type:

Shutdown […]

Improve SSL Support

introduction

Every WebLogic Server installation comes with SSL support. But for some reason many installations get this interesting error message at startup:

Ignoring the trusted CA certificate “CN=Entrust Root Certification Authority – G2,OU=(c) 2009 Entrust, Inc. – for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust, Inc.,C=US”. The loading of the trusted certificate list raised a certificate parsing […]

SSL Certificate Authority in IBM HTTP Server

Creating and working with a SSL Certificate Authority in IBM HTTP Server With thanks to Mike Whale and his excellent blog post here: –  Create your own CA using ikeycmd  from which I have ripped stolen reused this content. This article describes how to create a SSL Certificate Authority using IBM HTTP Server 8.0.0.5, and then generate and […]

shell script for ssh session

#!/bin/bash # max_number_of_ssh_client  max_number_of_ssh_client=3 # lsof is essential if [[ ! -x `which lsof` ]]; then     yum install lsof -y     RETVAL=$?     if [[ “$RETVAL” -ne “0” ]]; then         echo “ERROR: can NOT use lsof command, please check your internet connection or install lsof by manual! ”         exit $RETVAL     fi else     # TODO     # for awk, grep, etc     echo “SUCCESS: This shell script will knock out extra ssh connection ” fi # a main worker # loop while : ; do     ssh_port=`netstat -anopt | grep sshd | awk ‘{print $4}’ | awk -F ‘:’ ‘{print $2}’ | grep -v ^$ | uniq `     ssh_clients=`lsof -i:$ssh_port | grep \> | awk ‘{print $9}’ | awk -F ‘:’ ‘{print $(NF-1)}’ | uniq | awk -F ‘>’ ‘{print $2}’`     for ssh_client in $ssh_clients; do         number_of_ssh_client=`lsof -i:$ssh_port | grep $ssh_client | wc -l`         if [[ $number_of_ssh_client -gt $max_number_of_ssh_client ]]; then             number_pts=`w -hs | grep $ssh_client | awk ‘{print $2}’ | awk -F ‘/’ ‘{print $2}’ | awk ‘BEGIN {max=0} {if ($1>max) max=$1 fi} END {print max}’`             # TODO             # another solution maybe exist             # kill extra logins             pkill -kill -t pts/$number_pts             if [[ $? -eq 0 ]]; then                 echo “SUCCESS: extra connections  $ssh_client@pts/$number_pts has been knocked out! ”             else                 echo “WARNNING: can NOT knock out extra connections! ”             fi         else             # TODO             # too many INFO displayed             echo “INFO: number of ssh connections is NORMAL! ”             # sleep 1             sleep 1         fi     done done […]

More on IHS and SSL – SSL0208E: SSL Handshake Failed, Certificate validation error

if you see: – Error 101 (net::ERR_CONNECTION_RESET): The connection was reset. in Chrome, and: – [Wed Apr 17 05:06:32 2013] [error] [client 192.168.8.1] [7f0eb40028d0] [5144] SSL0208E: SSL Handshake Failed, Certificate validation error. [192.168.8.1:52195 -> 192.168.8.162:8443] [05:06:32.584379] [Wed Apr 17 05:06:32 2013] [error] [client 192.168.8.1] [7f0eb400b3d0] [5144] SSL0208E: SSL Handshake Failed, Certificate validation error. [192.168.8.1:52196 -> […]

Page 1 of 512345