Archive for August, 2017

Killing a zombie process in Solaris

Friday, August 11th, 2017

Yes we do have a couple Solaris servers around and I had a case of a zombie preventing a user from accessing it. How do I kill those again?

A zombie is the slang identifier for what is called a defunct process. The child processes are gone but the image remains.

How to find them:

ps -ef | grep -i defunt

The preap command is needed to kill it.  Find the one that is causing your problem and enter:

preap 11111

It should give you a message with status code 0 to show it worked. You can also verify by entering:

ps -ef | grep 11111

The only thing that should be seen is the grep command.

Advertisement

Named Pipes Provider, error: 40 – Could not open a connection to SQL Server

Friday, August 11th, 2017

This is a small entry mainly for my part.  For the life of me, I keep forgetting this with SQL Express.

We are using it for small Citrix sites and get the big long error when I try to establish my Xendesktop Controller.

In this matter, pipe and TCP/IP have to be enabled!

The steps:

  • SQL Configuration Manager
  • SQL Server Network Configuration.
  • Change Named Pipes to Enabled
  • Change TCP/IP to Enabled.
  • Start SQL Server Management Studio
  • Right-Click the Server entry
  • Select restart
  • Wait

After that the SQL portion of the Xendesktop setup works.

*sighs*