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.

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*

 

Remote Console is unavailable. It is already in use by a different client

Wednesday, May 24th, 2017

I had a situation where I didn’t have the iLO virtual drives for an HP server. Whomever installed it, didn’t apply the iLO license.

After I installed the proper license; I was rewarded with:

iLO “Remote Console is unavailable. It is already in use by 
a different client”

Tried a few things but nothing worked. The iLO was simply locked.

You can force it to reset. On the top level (this is for iLO3), look for the diagnostics link under Information. Click the Diagnostics link

Look for the Reset button.  Click it and you will be tossed for the session. Wait about thirty seconds and login again.

 

Telephone activation is no longer supported

Thursday, April 27th, 2017

I have a secured cluster where there is no Net access. The users had licenses for Office 2013 and wanted to use them inside the cluster.

Office likes to activate itself.  It tried and gave an error.  I restarted Word and it gave the options for Internet and telephone activation.  I selected telephone and I selected my location and was rewarded with:

Telephone activation is no longer supported for your product

Oooooookay.  No Net and no telephone…….

Luckily this is just a “feature.”

I went through the telephone process and activated the installation.  The only problem now are templates which appear to be downloaded from the Net.  But, I will take care of that if they complain.

Failed to download this file. Error code 0x800C0008

Friday, January 6th, 2017

One of our services gave an odd error. External user would attempt to access it and they would get an error about a configuration file not downloading.

The part of the error message that interested me was:

Failed to download this file. Error code 0x800C0008

What was odd was the service worked inside the firewall.

I thought it was browser related and checked the Net.

I tried the suggested registry change:

  1. Start Registry Editor.
  2. For a per-user setting, locate the following registry key:
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings

    For a per-computer setting, locate the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
  3. On the Edit menu, click Add Value, and then add the following value:
    BypassSSLNoCacheCheck“=Dword:00000001
  4. Exit Registry Editor.

This did not need a reboot and the change worked.

To add more “oddness” the service started working before the affected users made the change.

Hmmmmmm?  Network people or Security people?

Mouse selecting many things

Wednesday, January 4th, 2017

Minor odd issue.  For some reason my mouse was selecting all virtual machines in XenCenter.

Problem was simply a stuck shift key.  Banged it a couple times and the problem went away.

 

Adblock Plus now sells ads?

Tuesday, September 13th, 2016

This used to be an add blocker but they have been positioning themselves as an advertiser preaching the nonsense of acceptable ads. It’s an old approach.  Present a new “service” and then start doing what was done before but you have people paying for it.  When cable TV first appeared, the big selling point was “ad free.” Once the base was established; it changed we are going to introduce ads so we don’t have to charge more. Now we pay for the privileged of getting ads.

Adblock at the moment doesn’t charge but in time there will be paid levels to “reduce” ads or better control them.

I am dumping them.

Look into uBlock origin. They have a link for an iOS 9 product and I know they have addons for Chrome and Firefox.

Souce.

 

Office bit level

Wednesday, June 29th, 2016

I had a question about the bit level of Office 2016. Sometimes I try the different versions for testing and forgot what was last installed.

Outlook happened to be open so I clicked File and selected Office Account.

This brought up the Product information but it was not listed.

I clicked the Blue Question mark About Outlook Button.

There the level was listed and it turned out to be 32-bit.

Use a KMS outside of the domain

Tuesday, May 10th, 2016

I had an issue where we needed a small domain to register it’s Windows 2012 virtual machines to the main KMS of the company.

The problem was the small domain had it’s own IP range and it’s own DNS. I attempted to activate the virtual machines and received a message reporting the KMS was not resolvable in DNS.

Since this was a tiny domain and the DNS would not be managed, I needed another way to activate the virtual machines.

Looking at the options of the slmgr script, I found what I needed.

slmgr.vbs /skms <ip address>:<port number>

This tells the system where to look for the KMS and what port to use.

After the “OK” message, I simply attempted activation via:

slmgr.vbs /ato

The virtual machines activated.

 

 

Changing the name on an iLO port

Friday, April 15th, 2016

We have a console network to handle access to all the DRAC and iLo ports. Every so often people forget to change the name assigned to the port.

I was reloading several systems for a new project and of course there was one that was not changed. It is running the xen hypervisor so there wasn’t a quick way to address this.

I accessed the host through the iLO port and was able to rename the system. However, there was a message (aren’t there always?):

There are pending changes that may not take effect until iLO is reset.

I looked around the iLO pages but there wasn’t a command to do this.

What about the iLO port itself?

SSH into the port

enter: CD /map1

enter: reset

Waited a little bit and the correct hostname worked on the console network.