Monthly Archives: June 2008

Windows Terminal Server and printing.

I recommend Thinprint to all Microsoft Windows Terminal Servers users.
This be curs it very simple and at the same time one of the best printing tools for terminal server i have seen.

In the 2 years we have been running Thinprint on our Terminal Server, we never have a outage that we can blame Thinprint for.

When you have install Thinprint, it is a best to disable windows printing on the Terminal server, this can be done in Terminal Services Configuration

In the Terminal Server it’s done this way:
Go into Terminal Services Configuration (Start -> Administrative Tools -> Terminal Services Configuration).
Click on connections.
Right click on RDP-TCP and chose properties.
Click the tab “Client settings”, and click on disable Windows printer mapping.

Now you have disabled the Windows Printing, and only Thinprint is now working.

Arcserve (Brightstor) Linux behind Windows Arcserve R12

We have upgraded a Arcserve (Brightstor) R11.5 to version R12. But behind this one there was install some R11.1 Linux agents. We have been told by CA Support that R12 support R11.1 linux clients. That can maybe be true, but not in our setup. We need to upgraded the R11.1 to R11.5. There is not yet a R12 Agent to Linux out there.

R11.5 can be download from CA Trials page: http://www.ca.com/trials, but remember that you need a R11.5 license.

[ad]

Terminal server og Thinprint

Har i nogen sinde oplevet problemet med at personer som skal på terminal server, gerne vil have deres printer med?
Hvis ja, så har i sikkert også oplevet problemet med at for printer driver og alt det andet til at fungere.

Vi har nu i en rum haft flere kunder som har benyttet Thinprint. Til terminal server, skal du benytte Thinprint Application server. Så selvom brugeren har 10 printer tilsluttet lokalt, ja så kommer alle 10 printer også med over på terminal serveren uden nogen former for at man skal installere printer driver og andet.

Kontakt evt. It-afdelingen A/S, som er forhandler af produktet.

Forces delete a printer in windows.

I have a problem, where I could not delete a job, and therefore couldn’t delete a printer. The Spool services were using 100% of my CPU.
You can delete the jobs manual, by doing this:

  • Browse to Start –> Run –> Type “cmd” And in the black console type: “net stop spooler” without the quotes
  • Browse to windows\system32\spool\PRINTERS\ You should see files there ending in .SPL and .SHD created around the time you tried to print – delete these files.
  • Go back to the black console, and type “net start spooler” without the quotes
  • Now to the printers and fax unit, to see if the printer queue is empty.

Everything should now be fine.

[ad]

Install SQL Express 2005 quiet and with DISABLENETWORKPROTOCOLS=0

First you need to download SQL Express 2005 setup files, there can be done from microsoft homepage.

Then when you have download the setup files, you need to extract it, it can be done by typing:
SQLEXPR.EXE -x

It then ask you a location to put the extract files.

Then you can run this

SETUP.EXE /qb ADDLOCAL=SQL_Engine,SQL_Data_Files INSTANCENAME=”dalbjerg” SECURITYMODE=SQL SAPWD=”SAPassword” DISABLENETWORKPROTOCOLS=0

This will install the database name dalbjerg, and with sa password SAPassword.

Hvem linker til mig?

Hvis du ligesom mig gå en lille smule op i SEO (Søgemaskine optimering), så er en af de vigtigste ting, link til din hjemmeside.
Uden en masse links til en hjemmeside kan man godt glemme at komme til at ligge bedre på f.eks. Google.

Google, har selvfølgeligt en services, hvor man kan se hvem som linker til en, men af en eller anden grund er den ikke særligt god, den viser kun et meget lille udplug af hvem som rent faktisk linker til en.

Her er Yahoo’s Sitebuilder noget bedre.
Her er et link til de hjemmeside som linker til min hjemmeside, på min nye adresse
Link til min nye adresse

Hvor i mod der stadigt er mange som linke til min gamle hjemmeside
Link til min gamle adresse

Det er blandt også en god grund til at jeg ikke har pillet dalbjerg.nu ud af mit domæne, men bort omformer linket til min nye hjemmeside.

Grep .gz files on linux

I was looking to a method to search a lot of .gz files through. It was some logfiles, you can use zgrep to do this.
Example:
zgrep ‘Search word’ /path/to/yours.gz

So I do this to search a lot of gz files through:
Zgrep ‘130.226.165.XXX’ /var/log/apache2/access*.gz

If you just want to cat a single gz file, you can use zcat.
Zcat /var/log/apache2/access.log.52.gz

Vmware Server 1.0.5-80187 on Ubuntu 8.04

I have some trouble install vmware-mui on my Ubuntu 8.04.

I got it fix, doing this:

ln -s /usr/lib/vmware-mui/lib/libcrypto.so.4 /lib/libcrypto.so.4
ln -s /usr/lib/vmware-mui/lib/libssl.so.4 /lib/libssl.so.4
ln -s /usr/lib/vmware-mui/lib/libcrypto.so.4 /lib/libcrypto.so.4

And after that i edit /etc/init.d/httpd.vmware
And go line 256.

I change so that vmware_exec “Starting httpd.vmware:” vmware_start_httpd is call over 2 lines se above. And also vmware_exec  “Shutting down http.vmware: ” vmware_stop_httpd this i change to 2 lines.

# See how we were called.
case “$1” in
start)
#vmware_exec “Starting httpd.vmware:” vmware_start_httpd
echo “Starting httpd.vmware:”
vmware_start_httpd
;;
stop)
#vmware_exec  “Shutting down http.vmware: ” vmware_stop_httpd
echo “Shutting down http.vmware: ”
vmware_stop_httpd
;;