Cannot connect to the citrix xenapp server. Protocol driver error.

Submitted by Tom L'Ecluse on Thu, 10/05/2012 - 23:15

I've received this error when I tried to launch a simple app (Calc.exe) with session reliability which was default on, on my Citrix Secure Gateway.

Cannot connect to the citrix xenapp server.
Protocol driver error.

This was caused by the fact that the Citrix Secure Gateway was installed on the same machine as the Xenapp server itself. The secure gateway changed a registry key:

The trust relationship between this workstation and the primary domain failed.

Submitted by Tom L'Ecluse on Sun, 22/04/2012 - 20:36

This week I had a client pc which gave the following error:

"The trust relationship between this workstation and the primary domain failed."

while trying to logon when the computer was connected to the domain network. Pulling the network plug and logging in worked just fine even when you connected the pc back to the network. Of course this was very irritating to the user.

Copy wireless lan info

Submitted by Tom L'Ecluse on Wed, 18/04/2012 - 21:14

For a customer I had to deploy 10 laptops on a wlan. All 10 laptops weren't part of a domain so using gpo's wasn't a real option.

Of course you could do this manually. This works just fine for wpa/wpa2 but not for wep keys. Wep keys are long and a mistake is easily made.

So I've created a batch script which backups a wireless lan configuration after that you've connected manually to the network. And use another batch script to import the settings onto the 10 laptops using an usb stick. You could automate it using autorun but clicking 2 times more isn't that big of a deal.

Slow Microsoft Sql queries.

Submitted by Tom L'Ecluse on Fri, 02/03/2012 - 03:16

I am working to improve the performance of an asp application.
But how can you find which queries slows you down the most?

You run a query:

 

SELECT TOP 20 SUBSTRING(qt.text, (qs.statement_start_offset/2)+1, 
        ((CASE qs.statement_end_offset
          WHEN -1 THEN DATALENGTH(qt.text)
         ELSE qs.statement_end_offset
         END - qs.statement_start_offset)/2)+1), 
qs.execution_count, 
qs.total_logical_reads, qs.last_logical_reads,
qs.min_logical_reads, qs.max_logical_reads,
qs.total_elapsed_time, qs.last_elapsed_time,
qs.min_elapsed_time, qs.max_elapsed_time,
qs.last_execution_time,
qp.query_plan
FROM sys.dm_exec_query_stats qs
CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) qt
CROSS APPLY sys.dm_exec_query_plan(qs.plan_handle) qp
WHERE qt.encrypted=0
ORDER BY qs.total_logical_reads DESC
 

Vmware Data Recovery error -3948 ( vcb api exception).

Submitted by Tom L'Ecluse on Fri, 18/11/2011 - 23:16

I needed to backup the complete server because of an SAN firmware upgrade. This just to be save and to prevent data loss. You could do a running backup but most backups are still better and smaller when the VM is powered off.

But after the powering off of the servers the Vmware Data Recovery stopped working. Every backup failed with the error: "error -3948 ( vcb api exception)".

I feared that something like this would happen because all our DNS servers are virtualised and so they were off. Basicly VDR needs to resolve the esxi servers name to an ip.

Ubuntu 11.04: Install vmware tools.

Submitted by Tom L'Ecluse on Mon, 26/09/2011 - 20:51

This is how you can install vmware tools on Ubuntu 11.04 from a esxi server.

Add the Vmware tools cd to your host.

First select Install / upgrade vmware tools using the Vsphere client

Ubuntu 11.04: piix4_smbus 0000:00:007.3: Host SMBus controller not enabled!

Submitted by Tom L'Ecluse on Mon, 26/09/2011 - 19:51

Since my new ubuntu 11.04 I had this error while booting:

piix4_smbus 0000:00:007.3: Host SMBus controller not enabled!

You can fix this by adding some extra line to /etc/modprobe.d/blacklist.conf.

blacklist i2c_piix4

Ubuntu 11.04: udevd-work [87]: inotify_add_watch(6, /dev/sdb5, 10) no such directory

Submitted by Tom L'Ecluse on Mon, 26/09/2011 - 18:51

Since my new ubuntu 11.04 I had this error while booting:

udevd-work [95]: inotify_add_watch(6, /dev/sdb5, 10) no such directory

The easiest solution is just to install cryptsetup.

sudo apt-get install cryptsetup

 

 

Scst and scstadmin on Ubuntu 11.04

Submitted by Tom L'Ecluse on Fri, 02/09/2011 - 18:25

After searching a lot for documentation on how to get fiber channel running on ubuntu I've found some snippets which has let to this how to. I must warn people this is not for the ubuntu newbies! Yes you can follow the guide to get it working but if anything is different from my setup then this guide won't help that much.

Install necessairy packages

First we need to install some packages that we will need to compile our kernel and other packages for getting scst & scstadmin

Openelec: Could not open frame buffer : no such file or directory exists

Submitted by Tom L'Ecluse on Wed, 24/08/2011 - 20:30

After trying openelect as my main mediacenter I've found this booting error:

Could not open frame buffer : no such file or directory exists.

The fix is the following:

mount -o remount,rw /flash
nano /flash/extlinux.conf

add "vga=792" (without quotes) to the APPEND line like:

LABEL linux
 KERNEL /KERNEL
 APPEND boot=LABEL=System disk=LABEL=Storage vga=792 quiet

Now the splashscreen should work.

Syndicate content