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:
- Open a terminal and log in as root.
- Create the directory and file for logging.
#mkdir -p /var/opt/novell/log/migration/;touch iprintmig.log - 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.