14.1 Server Issues

14.1.1 Recreate the Print Manager Database

If you have accidentally deleted the Print Manager, then it can be restored by using the XML backup file. The /var/opt/novell/iprint/<PrintManager.context>.psm/padbtxt.xml file includes all the relevant information to restore the Print Manager database. When the Print Manager is deleted, the padbtxt.xml file is copied to the /tmp folder and renamed with the name of the Print Manager and timestamp.

Perform the following steps to restore the Print Manager:

  1. Locate the XML file. It will be available in the /tmp directory.

    • Syntax:

      <Print Manager name>.<Context>_<Year-Month-Date>__<HR:MN:SEC>

    • Example:

      iPrintnew.iPrintAppliance_202-16__22:58:48

  2. Create the Print Manager object.

    When creating the Print Manager, refer to the backup XML to ensure you are using the same information:

    • Print Manager Name = first part of the <dn> within the XML

    • Container Name = latter part of the <dn> within the XML

    • eDir Server name = <dserver> part of the XML, however, browse to the object. Don't use the network address.

    • Driver Store Name = <ids> part of the XML

    • iPrint Service = <hostname> of the XML. It is very important this part is identical. Changing this value could result in all workstations auto removing and auto re-installing all printers installed to workstations.

  3. Shutdown the Print Manager.

    rcnovell-ipsmd stop

  4. Import the data from the backup XML file:

    • Syntax:

      /opt/novell/iprint/bin/ipsmd -x /tmp/systemd-private-<HEX Value>-apache2.service-<Characters>/tmp/<Print Manager name>.<Context>_<Year-Month-Date>__<HR:MN:SEC> -u cn=<eDir admin name>,o=<OrganizationName>

    • /opt/novell/iprint/bin/ipsmd -x /tmp/systemd-private-ac0dbc6a87f24f2f940484c10937a5f0-apache2.service-WePGnZ/tmp/iPrintnew.iPrintAppliance_2018-02-16__22:58:48 -u cn=admin,o=MyContainer

      Provide the admin password

  5. On successfully completing the import, start the Print Manager:

    rcnovell-ipsmd start

    The Print Manager is successfully loaded.

14.1.2 POODLE Security Vulnerability

LDAPS and HTTPS in eDirectory allow SSLv3 for secure communication, and SSLv3 has been found to have protocol vulnerability as per CVE-2014-3566. After installing the Appliance, ensure that you disable SSLv3 to prevent POODLE security vulnerability.

To disable SSLv3 through LDAP, add number 128 to the ldapBindRestrictions attribute on the LDAP server object.

14.1.3 Error When Configuring Secondary Hard Disk (/vastorage) on Xen

When installing the iPrint, search index, or database appliances on Xen, configuring hard disks (/vastorage or /var) during installation can result in the following error:

PCI: Fatal: No config space access function found.
Unable to read sysrq code in control/sysrq
i8042: No controller found
end_request:I/O error, dev xvda 18576

This issue can cause a small delay; however, the server will operate normally.

Verify that the disks are added as expected by running the following command from the appliance console:

df -h

/dev/xvda1       20G  5.5G   14G  30% /
/dev/xvdc1       12G  2.0G  9.4G  18% /vastorage
/dev/xvdd1      2.0G  257M  1.7G  14% /var

14.1.4 Processor Utilization Increases When 10,000 Users Are Imported from an External LDAP Source

When syncing users from an external LDAP source, the processor utilization increases if you try to import 10,000 users.

The reason for this behavior is that the User Sync is scheduled to run every 8 minutes, by default. Therefore, each time the User Sync is started, which is every 8 minutes, the processor utilization increases to around 50%, and remains in that state for up to 5 minutes. The utilization might further increase if you import over 10,000 users.

To workaround this issue, you can change the sync interval by editing the crontab file.

  1. Launch the crontab file located at /etc/crontab.

  2. Browse to the line where the sync interval is set to 8 minutes.

    # run iprint migrate every 8 minutes

    */8 * * * * root /usr/bin/python /opt/novell/iprintmobile/python/migrate/migrateUsers.pyc >> /var/log/ipmigrate.log 2>&1

  3. Change the time to the desired time interval.

For information on scheduling time intervals for cron jobs, see the article about Cron on Wikipedia.