Showing newest posts with label howto. Show older posts
Showing newest posts with label howto. Show older posts

Hyper-V Guides

Nice compilation of hyper-v guides, touching some of the following subjects:

- Learn about Microsoft virtualization technologies.
- Make decisions about the right licenses for the right scenarios.
- Plan your Hyper-V deployment.
- Manage a virtual machines environment.
- Apply security best practices.

Read it here.

How to Fix Project Server Events Service and Queue Service Event ID: 7000 Error

The following errors will show up in your event log:

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7009
Date: 9/7/2009
Time: 9:24:42 PM
User: N/A
Computer: PS07
Description:
Timeout (30000 milliseconds) waiting for the Microsoft Office Project Server Events Service service to connect.

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7000
Date: 9/7/2009
Time: 9:24:42 PM
User: N/A
Computer: PS07
Description:
The Microsoft Office Project Server Events Service service failed to start due to the following error:
The service did not respond to the start or control request in a timely fashion.

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7009
Date: 9/7/2009
Time: 9:24:42 PM

User: N/A
Computer: PS07
Description:
Timeout (30000 milliseconds) waiting for the Microsoft Office Project Server Queue Service service to connect.

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7000
Date: 9/7/2009
Time: 9:24:42 PM

User: N/A
Computer: PS07
Description:
The Microsoft Office Project Server Queue Service service failed to start due to the following error:
The service did not respond to the start or control request in a timely fashion.


You will face this error most likely if your project server is not connected to the internet. Yet again a simple solution, add the CRL of Microsoft and your service will start again :-)

Source and full description: http://rperreaux.spaces.live.com/blog/cns!5D7BD18D324CBEEF!529.entry

How to import a private key and certificate into a java keystore

Convert to PEM format via openssl :

openssl pkcs8 -topk8 -nocrypt -in key.pem -inform PEM -out key.der -outform DER
openssl x509 -in cert.pem -inform PEM -out cert.der -outform DER


Import private key and cert via ImportKey class

Import the keystore generated above into your existing keystore :

keytool -v -importkeystore -srckeystore "C:\keystore.ImportKey" -destkeystore "C:\.keystore"

(optionally you can specify the alias via –srcalias and –destalias, note that an alias is unique within the keystore)

Sources : http://www.agentbob.info/agentbob/79-AB.html, http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html and http://conshell.net/wiki/index.php/Keytool_to_OpenSSL_Conversion_tips

PCHealth mistery on Windows boot disk

Had a problem today on of our internal web servers and it was not the first this happened. C: disk was full and biggest files were found back in C:\Windows\PCHealth\ErrorRep\QSIGNOFF. A quick google and the answer was found : simply disable error reporting!

Source: http://bdbits.wordpress.com/2008/04/23/reclaiming-space-on-your-windows-servers-c-drive/

How to backup Gmail with fetchmail

I still need to test this out myself and i'll post a summary when i have everything up and running, but in the meantime you can find some interesting reads here:

- http://www.dissociatedpress.net/2009/02/18/back-up-gmail/
- http://lifehacker.com/software/gmail/geek-to-live--back-up-gmail-with-fetchmail-235207.php
- http://grimstveit.no/jakob/blog/2005/12/08/using-fetchmail-against-gmail-over-ssl/
- http://www.marksanborn.net/freebsd/using-fetchmail-to-backup-gmail-with-freebsd/
- http://www.wains.be/index.php/2008/03/19/backup-your-gmail-account-in-maildir-format-using-fetchmail/

How to configure a user on SUN Solaris 10

edit /etc/passwd and update the shell, for example, i want to configure bash for root
root:x:0:0:Super-User:/:/usr/bin/bash

log out and log in again to verify.

within your home folder, also specified in /etc/passwd, above example sets / as the home folder for root, create a .profile file with the following content

export TERM=vt100
export PS1="\$USER@$HOSTNAME:\w> \[\e[0m\]"

this will set your terminal to vt100, which allows for easy editing and does some formatting on your prompt :-)
check http://en.wikipedia.org/wiki/PS1 for more info!

How to configure NTP on SUN Solaris 10

cp /etc/inet/ntp.server /etc/inet/ntp.conf

edit the ntp.conf file.

Syncing to an external NTP server:

(see http://www.pool.ntp.org/ for a list of public time servers)

change `server 127.127.XType.0`
to `server time_server`

you can add multiple servers also, for example:

server 0.be.pool.ntp.org
server 1.be.pool.ntp.org
server 2.be.pool.ntp.org
server 3.be.pool.ntp.org

comment out `fudge 127.127.XType.0 stratum 0`

touch /var/ntp/ntp.drift
svcadm enable svc:/network/ntp


----------------------------------------
Configuring an NTP Client in Solaris 10:
----------------------------------------

cp /etc/inet/ntp.client /etc/inet/ntp.conf
svcadm enable svc:/network/ntp

Taking Screenshots in Mac OS X

I used the Grab app, but there are many ways ..