Showing posts with label CUPS. Show all posts
Showing posts with label CUPS. Show all posts

Wednesday, 28 December 2016

ESXi 6.0 & 6.5 VMware Tools Missing or Not Started

Ran into this one after upgrading my lab to ESXi 6.5, the VMware tools status was showing "Installed but not running" on the VMs:
Then after rebooting them (with "check and upgrade VMware tools before each power on" enabled) the VMware tools status went to "Not installed" on some of the VMs.

It turns out that CUCM, CUC, CIM&P & UCCX are all affected when v10.x of the VMware tools are in use, SELinux interferes with it & the resulting logs can also fill up the free disk space. Full bug details: CSCux90747
There's separate patches for CUCM, CUC, CIM&P & UCCX to resolve this, at the time of writing:

  • CUCM & CUC - ciscocm.VMwareTools2016c.cop.sgn
  • CIM&P - ciscocm.IMP_VMwareTools2016c.cop.sgn
  • UCCX - ciscouccx.VMwareTools2016V2.cop.sgn
At least for UCCX after the patch I still had to reinstall the VMware tools manually via utils vmtools refresh from the CLI after mounting the install ISO.

Wednesday, 11 February 2015

Rebuilding IM & Presence Servers Failing

Now that IM & Presence servers are configured as subscribers in CUCM, rebuilding them isn't quite so straight forward. If you just try reinstalling them then you'll get a nice unhelpful error message like the below:

To avoid this, within CUCM you must first delete the Presence Redundancy Group that contains the IM & P servers, then delete the IM & P servers. You may also need to bulk update all End Users to disable ". Then you'll be able to successfully reinstall the IM & Presence servers without it failing.

Also watch out for bug CSCus27634, which affects certain versions of IM & Presence 10.5, it results in the Cisco Presence Engine refusing to start due to it crashing. If you look the traces for the Cisco Presence Engine you'll see something a bit like this:

*** glibc detected *** /usr/local/pe/bin/pe: free(): invalid next size
(fast): 0x0ada0010 *** ======= Backtrace: =========
/lib/libc.so.6(+0x70b91)[0x787bb91]


Tuesday, 25 February 2014

Jabber for Windows/Mac With Telephone Number as Username

Jabber for Windows & Mac assumes that the sAMAccountName & userPrincipalName in Active Directory provide the correct username. However if in CUCM you're using the telephoneNumber or ipPhone field as the username (which I've seen many times!) Jabber won't work properly. When you view a contact in Jabber the IM address will show the incorrect username, for example dave@example.com instead of 4321@example.com.
In the days of CUPC you could edit the LDAP attribute mappings in the CUPS GUI, but for Jabber you have to create an XML file to configure the attribute mappings. Assuming you're using the telephoneNumber field as the username, create a file in UTF-8 encoded text file named jabber-config.xml containing the following:

<?xml version="1.0" encoding="utf-8"?>
<config version="1.0">
 <Directory>
   <UserAccountName>telephoneNumber</UserAccountName>
   <DomainName>telephoneNumber</DomainName>
 </Directory>
</config>


Upload this file to all your TFTP servers & restart the TFTP service on them. Now when Jabber loads it will download this file & assign the correct LDAP attribute mappings.
There's a bunch of other settings for Jabber that you can only configure via an XML file, fortunately Cisco have released a tool to help automate this process.