"unable to open log file for writing: No such file or directory" appears when migrating using iprintmig

  • 7008289
  • 05-Apr-2011
  • 26-Apr-2012

Environment

Novell iPrint for Linux
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2

Situation

"unable to open log file for writing: No such file or directory" appears when migrating using iprintmig on the command line.
 
 

Resolution

Do the following to resolve the issue:
  1. Open a terminal and log in as root.
  2. Create the directory and file for logging.
    #mkdir -p /var/opt/novell/log/migration/;touch iprintmig.log
  3. Rerun the migration.

Additional Information

Cause:  If the /var/opt/novell/log/migration/iprintmig.log path and file doe not exist, the iprintmig command will fail. The iprintmig utility does not create the iprintmig.log file automatically.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.