CUPS starts even when CUPS is disabled

  • 7007383
  • 15-Dec-2010
  • 08-Nov-2012

Environment


SUSE Linux Enterprise Server 10 Service Pack 3
SUSE Linux Enterprise Server 10 Service Pack 2
Novell iPrint for Linux Open Enterprise Server Support Pack 2 Print Manager

Situation

CUPS continues to start after disabling it from start-up.

Resolution

The problem only occurs when installing VMware tools for a VM. The tools uses a start up script that will start CUPS. To fix this do the following

#> chmod 775 /etc/init.d/vmware-tools
 
Next go into vmware-tools and comment out the line
 
$cupsscript start

#> vi /etc/init.d/vmware-tools
 
      # If we found CUPS, start it, wait, then start tpvmlpd
      if [ $cupsscript ]; then
         # $cupsscript start
         sleep 2

#> chkconfig cups off

Reboot to test the new configuration

Additional Information

If iPrint is installed then this can cause problems managing the iPrint server that VMware tools is installed on. It causes a conflict that can not be resolved until CUPS releases the port it is holding open.