Consultor Eletrônico



Kbase 3091: How to decrypt "unable to open or create file <file>354
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
How to decrypt "unable to open or create file <file>354

900531-sal01
INTRODUCTION: Date Last Modified: 6/26/90
=============

This Product Services Technical Support Knowledgebase entry describes
what causes the PROGRESS error 354 "Unable to open or create filexx,
error nn" to appear and how to fix it.


PROGRESS ERROR NUMBER: PROGRESS ERROR TEXT:
===================== ====================

354 Unable to open or create filexx, error nn.


POSSIBLE CAUSES OF ERROR:
=========================

When PROGRESS encounters some operating system errors, it returns
the operating system error code as part of the PROGRESS error text.
This is true of error 354. Therefore, the "error nn" (above) part of
the error text is actually the operating system error number

If you are on a UNIX machine, look in /usr/include/sys/errno.h which
lists the UNIX errors by number. An example of how the errno.h file
might look is listed in the section ERROR CODES below.

If you are running on BTOS, DOS or VMS look in the operating system
documentation that lists error codes. Match the error number to the
error description to see why, in this case, PROGRESS is unable to open
or create a file.


CORRECTIVE MEASURES:
====================

Depending on the error code that appears, you follow different solution
steps. The error nn refers to the operating system error code. Consult
your documentation to see what the error number means and what action
to take to correct it.

The filexx part of the error message refers to the file number(xx)
which is the PROGRESS file number it's attempting to open. The number
is system specific but indicates the PROGRESS .bi, .db, .lg or any of
the temporary files it creates during a user session.


ERROR CODES:
============

Here is a listing of the UNIX errno.h file. Where applicable, the
error code explanation is listed next to the "*".

0 O/S not sure of exact problem
#define EPERM 1 Not owner
#define ENOENT 2 No such file or directory
* Directory or file in path does not exist.
#define ESRCH 3 No such process
#define EINTR 4 Interrupted system call
#define EIO 5 I/O error
* Physical hardware problem
#define ENXIO 6 No such device or address
#define E2BIG 7 Arg list too long
#define ENOEXEC 8 Exec format error
#define EBADF 9 Bad file number
#define ECHILD 10 No children
#define EAGAIN 11 No more processes
#define ENOMEM 12 Not enough core
#define EACCES 13 Permission denied
* Do not have write permissions on file or directory
#define EFAULT 14 Bad address
#define ENOTBLK 15 Block device required
#define EBUSY 16 Mount device busy
#define EEXIST 17 File exists
#define EXDEV 18 Cross-device link
#define ENODEV 19 No such device
#define ENOTDIR 20 Not a directory
#define EISDIR 21 Is a directory
#define EINVAL 22 Invalid argument
#define ENFILE 23 File, Mfile, Inode table overflow
#define EMFILE 24 Too many open files
* Unix increase the nfiles in the kernal.
* DOS increase the Files in config.sys.
#define ENOTTY 25 Not a typewriter
#define ETXTBSY 26 Text file busy
#define EFBIG 27 File too large
#define ENOSPC 28 No space left on device
* Disk or device is full
#define ESPIPE 29 Illegal seek
#define EROFS 30 Read-only file system
#define EMLINK 31 Too many links
#define EPIPE 32 Broken pipe


ONLINE PROCEDURES OR UTILITIES:
===============================

UNIX: errno.h error listing


REFERENCES TO WRITTEN DOCUMENTATION:
====================================

Operating System Error Message Reference

Progress Software Technical Support Note # 3091