If you want to get a quick check of network problems on your computer then you can check the status of packets in error. By default, only the numbers of bytes received and sent are displayed in the Local Area Connection Status window but you can have the number of errors displayed as well. With this registry tweak you can display an errors counter below the sent and received numbers.

http://www.windows7library.com/blog/tweaks/display-network-errors-tweak/

Prerequisites:

  • Make sure that user who runs nsd has write permissions of folder the PID is written to.
  • Existence of /etc/init.d/aolserver4-projop (see Ubuntu installer script on http://www.project-open.org)

a) Install monit
b) Adjust /etc/monit/monitrc
c) Create /etc/monit/conf.d/aolserver.monitrc

check process aolserver4-projop with pidfile /usr/lib/aolserver4/log/nspid.projop
      start program "/etc/init.d/aolserver4-projop start"
      stop program "/etc/init.d/aolserver4-projop stop"

d) Adjust /etc/default/monit:

startup=1

e) start

sudo /etc/init.d/monit start

Installation von PostgreSQL 8.2 from source:

psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432″?

http://askubuntu.com/questions/50621/cannot-connect-to-postgresql-on-port-5432

I would guess that the server is actually listening on the socket /tmp/.s.PGSQL.5432 rather than the /var/run/postgresql/.s.PGSQL.5432 that your client is attempting to connect to. This is a typical problem when using hand-compiled or third-party PostgreSQL packages on Debian or Ubuntu, because the source default for the Unix-domain socket directory is /tmp but the Debian packaging changes it to /var/run/postgresql.

Configure internet access (Minimal install VM images)

Setting WM Player

Set Network Connection of VM to: Bridged

In some cases you need to set the keyboard:

loadkeys de/es/fr ...

If you copied a VM you need to delete:

/etc/udev/rules.d/70-persistent-net.rules

and reboot:

reboot

Check if

ls /sys/class/net

list now eth0

Settings in VM

/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.localdomain
GATEWAY=192.168.1.1

/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO="static"
IPADDR="192.168.1.39"
NETMASK="255.255.255.0"

/etc/resolv.conf
nameserver 192.168.1.1

Open Port 22:
iptables -A INPUT -p tcp --dport 22 -j ACCEPT

add /etc/init/aolserver.conf

# AOLServer

start on started sshd
stop on runlevel [016]

respawn
exec su -c "/usr/local/aolserver451/bin/nsd-postgres  -it /web/projop/etc/config.tcl" projop
initctl reload-configuration
initctl start aolserver


Location AOLServer:
./usr/local/aolserver451

Location tcl:
./usr/local/aolserver451/

----------------------------------------------------------------

export NS=/usr/local/aolserver451
export PG=/usr/lib/postgresql/8.2/

# Begin Compiling
echo Installing TCL 8.5.6
cd /usr/local/src/tcl8.5.6/unix
./configure --prefix=/usr/local/aolserver451/lib/tcl856 --with-encoding utf-8 --enable-threads --enable-symbols --enable-shared
make
make install
echo Installed TCL

echo Installing AOL Server
cd /usr/local/src/aolserver-4.5.1
./configure --prefix=/usr/local/aolserver451 --with-tcl=/usr/local/aolserver451/lib/tcl856/lib --enable-threads --enable-symbols
/usr/local/aolserver45/bin/tclsh8.4 nsconfig.tcl -debug -install /usr/local/aolserver451
make
make install
echo Installed AOL Server

echo Compiling other required modules
cd /usr/local/src/aolserver-4.5.1/nscache
make install NSHOME=/usr/local/aolserver451
echo Installed nscache

cd /usr/local/src/aolserver-4.5.1/nssha1
make install NSHOME=/usr/local/aolserver451
echo Installed nssha1

#cd /usr/local/src/aolserver-4.5.1/nsopenssl
#sudo make install OPENSSL=/usr/lib AOLSERVER=/usr/lib/aolserver4

cd /usr/local/src/aolserver-4.5.1/nspostgres
# make install POSTGRES=SEPARATELY PGINC=/usr/include/postgresql PGLIB=/var/lib/postgresql/8.2/main ACS=1 AOLSERVER=/usr/lib/aolserver4
# make install POSTGRES=SEPARATELY PGINC=/usr/include/postgresql PGLIB=/usr/lib/pgsql/ ACS=1 AOLSERVER=/usr/local/aolserver451
make install POSTGRES=SEPARATELY PGINC=/usr/local/pgsql/include/ PGLIB=/usr/local/src/aolserver-4.5.1/postgresql-8.2.19/src/interfaces/libpq ACS=1 AOLSERVER=/usr/local/aolserver451

make install POSTGRES=SEPARATELY PGINC=/usr/local/pgsql/include/ PGLIB=/usr/local/pgsql/lib ACS=1 AOLSERVER=/usr/local/aolserver451

cd /usr/local/src
tar xzvf tcllib-1.11.1.tar.gz
cd tcllib-1.11.1
./configure --prefix=/usr/local/aolserver451
make install
echo Installed TCL Lib

cd /usr/local/src/
tar xzvf xotcl-1.6.2.tar.gz
cd xotcl-1.6.2
./configure --enable-threads --enable-symbols --prefix=/usr/local/aolserver451 --exec-prefix=/usr/local/aolserver451 --with-tcl=/usr/local/aolserver451/lib/tcl856/lib
make
make install
echo Installed XOTcl

cd /usr/local/src/aolserver-4.5.1/tdom/unix
../configure --enable-threads --disable-tdomalloc --prefix=/usr/local/aolserver451 --exec-prefix=/usr/local/aolserver451 --with-aolserver=/usr/local/aolserver451 --with-tcl=/usr/local/aolserver451/lib/tcl856/lib
make install
echo Installed TDom

————————
Backup
————————
/etc/init.d/pound /etc/init.d/pound.bak
/etc/pound.cfg /etc/pound.cfg.bak

————————
Download 2.5
————————
wget http://www.invoca.ch/pub/packages/pound/RPMS/ils-5/SRPMS/pound-2.5-6.el5.src.rpm

————————
rebuild:
————————
cd /usr/src/redhat/SPECS
rpmbuild -bb package.spec

————————
Resolve dependencies:
————————
openssl-devel is needed by pound-2.5-6.i386
pcre-devel is needed by pound-2.5-6.i386

yum install …

————————
rebuild – 2nd try:
————————
rpmbuild –rebuild pound-2.5-6.el5.src.rpm

————————
Set up RPM rollback
————————

/etc/yum.conf add the line:
tsflags=repackage

/etc/rpm/macros add the line:
(create this file if it doesnt exist)
%_repackage_all_erasures 1

WATCH OUT:

————————
Remove pound 2.2
————————

(Note: Updating package [rpm -Uvh pound-2.5-6.i386.rpm ] resulted in two pound procesees )

Find package name [rpm -qa | grep -i pound ]
Delete package:
rpm -e pound-2.2-1.el5.rf

————————
Install pound 2.5
————————
cd /usr/src/redhat/RPMS/i386/
rpm -ivvh pound-2.5-6.i386.rpm

————————
Start pound
————————

Aug 062011
################################################################
#
#   klaus.hofeditz@project-open.com
#   v0.1  - Last changed: 15/07/2011
#
###############################################################

TIMESTAMP=$(date +%Y%m%d%H%M%S)
/bin/cp /web/projop/log/error.log /web/projop/log/error.log.$TIMESTAMP
cat /web/projop/log/error.log | sed '1!d' > /web/projop/log/error.log

Crontab:

30 2 * * * sh /usr/local/etc/logroll.sh
C:\....>vmware-vdiskmanager -d "c:..\project-open-v34.vmdk"
  Defragment: 100% done.
Defragmentation completed successfully.
 
C:\....>vmware-vdiskmanager -k "c:..\project-open-v34.vmdk"
  Shrink: 100% done.
Shrink completed successfully.
 
C:\....>vmware-vdiskmanager -r "c:..\project-open-v34.vmdk" -t 0 "c:..\project-open-v34-merged.vmdk"
Creating disk 'C:\....>project-open-v34-merged.vmdk'
  Convert: 100% done.
Virtual disk conversion successful.
Mar 022011
 
;; default to better frame titles
(setq frame-title-format
      (concat  "%b - emacs@" (system-name)))
 
;; default to unified diffs
(setq diff-switches "-u")
 
(setq scroll-step 1)
(mouse-wheel-mode t)
 
(setq mouse-wheel-progressive-speed nil)
 
(setq scroll-margin 1
scroll-conservatively 0
scroll-up-aggressively 0.01
scroll-down-aggressively 0.01)
 
(global-set-key '[(f12)]          'call-last-kbd-macro)
(global-set-key '[(shift f12)]    'toggle-kbd-macro-recording-on)
 
    (defun toggle-kbd-macro-recording-on ()
      "One-key keyboard macros: turn recording on."
      (interactive)
      (define-key
        global-map
        (events-to-keys (this-command-keys) t)
        'toggle-kbd-macro-recording-off)
      (start-kbd-macro nil))
 
    (defun toggle-kbd-macro-recording-off ()
      "One-key keyboard macros: turn recording off."
      (interactive)
      (define-key
        global-map
        (events-to-keys (this-command-keys) t)
        'toggle-kbd-macro-recording-on)
      (end-kbd-macro))
 
;; turn on font-lock mode
 (when (fboundp 'global-font-lock-mode)
  (global-font-lock-mode t))
 
;; set TAB width
(setq default-tab-width 4)
 
; change TAB behaviour 
(defvar just-tab-keymap (make-sparse-keymap) "Keymap for just-tab-mode")
(define-minor-mode just-tab-mode
  "Just want the TAB key to be a TAB"
  :global t :lighter " TAB" :init-value 0 :keymap just-tab-keymap
  (define-key just-tab-keymap (kbd "TAB") 'indent-for-tab-command))

Links:
http://www.masteringemacs.org/articles/2011/02/08/mastering-key-bindings-emacs/