Kbase 35203: errno=22 reading promsgs file
Autor |
  Adriano Correa - CAT |
Acesso |
  Público |
Publicação |
  19/01/2007 |
|
O erro indica que não foi possível abrir o arquivo de mensagens do Progress (promsgs). O erro 22 é do sistema operacional, e indica que um dispositivo utilizado não reconheceu o comando passado. Isso geralmente ocorre por sobrecarga de recursos no computador quando o Progress é local, ou na rede quando o Progress é instalado via Netsetup, conforme os kbases da Progress descritos abaixo:
--> Descrição do Kbase P22024
Errno=22 reading PROMSGS file, it may have been deleted due to possible file contention
Autor: Progress Software Corporation
Status: Verified
FACT(s) (Environment):
Citrix MetaFrame XP for Windows 2000 Terminal Server
Windows NT 32 Intel/Windows 2000
SYMPTOM(s):
The latest Microsoft and Citrix service packs have been installed on every machine that is member of the Citrix Server Farm.
Errno=22 reading PROMSGS file, it may have been deleted
Progress application files are deployed on each and every member of the Citrix Server Farm using the same path
The application's registry key or .ini file are configured to reflect the same Progress installation directory and application propath
Supported configuration of Progress
Progress was not installed as NetSetup on the Citrix Farm
CAUSE:
The PROMSGS file can be accessed a vast amount of times during a normal client session, if you multiply this by the number of clients using this install on a TS/MF configuration along with the database, the resulting Network overload can then cause file contention and the above errors received.
FIX:
There are two possible Solutions to this issue, the first is strongly recommended for reasons that become apparent in the second.
Option 1: Will alleviate both the Network overload and the file contention
0. Make sure Progress IS installed local to the Terminal Server/MetaFrame machine.
1. Copy the promsgs file located in the %DLC% folder from the main installation machine to the local machine.
2. Define the PROMSGS environment variable and point this to the local copy of the promsgs file on each machine.
3. Set the -T startup parameter on the Client machines to point to where the local copy of promsgs are stored.
Option 2: It is not always possible to use the local machine. The following will therefore alleviate the file contention but increase traffic:
0. Make sure Progress IS installed local to the Terminal Server/MetaFrame machine.
1. Create an individual user directory for each user on the TS/MF machine
2. Copy the PROMSGS file from the %DLC% directory to each of the individual directory's for each user
3. Set the PROMSGS variable in Environment/Registry/INI (depending which is used) to point to each individual directory for each user.
4. Set the -T startup parameter to point to where the individual copy of promsgs are stored
What Option 2 will now facitilitate is to allow each user to have their own copy of PROMSGS on the Terminal Server / MetaFrame machine, therefore not causing anymore file contention on this file.
--> Descrição do Kbase P18217
errno 22 reading promsgs via Citrix clients - network overlo
Autor: Progress Software Corporation
Status: Unverified
SYMPTOM(s):
Error regarding PROMSGS file with Citrix clients
PROMSGS file located on Citrix Server
errno=22 reading PROMSGS file, it may have been deleted.
Network collisions.
9.1C26 patch installed
CAUSE:
Network collisions when trying to have multiple clients access the same PROMSGS file from a file server.
FIX:
Copy PROMSGS file locally to the clients and set PROMSGS variable to point to their local copy of the PROMSGS file.
--> Descrição do Kbase P13779
errno=22 reading promsgs file, network overload
Autor: Progress Software Corporation
Status: Unverified
FACT(s) (Environment):
Metaframe: Citrix Metaframe XPe for Windows version 1.0 Service Pack 3 (Client)
FACT(s) (Environment):
Progress 9.1C25
FACT(s) (Environment):
Terminalserver: Windows 2000, Servicepack 3
SYMPTOM(s):
errno=22 reading promsgs file, it may have been deleted.
The latest Microsoft and Citrix service packs have been installed on every machine that is member of the Citrix Server Farm.
Progress application files are deployed on each and every member of the Citrix Server Farm using the same path
The application's registry key or .ini file are configured to reflect the same Progress installation directory and application propath
CAUSE:
Network overloaded
FIX:
To avoid the network problem:
- Copy the promsgs file located in the %DLC% folder from the main installation machine to the local machine.
- Define the PROMSGS environment variable and point this to the local copy of the promsgs file
- Set the -T startup parameter on the Client machines to point to the local copy of promsgs
--> Descrição do Kbase P20142
Random occurrence of error 22, in a Citrix environment, while trying to read the promsgs file
Autor: Progress Software Corporation
Status: Unverified
FACT(s) (Environment):
Windows 2000
Progress 9.1C
Citrix MetaFrame (for Windows 2000 Terminal Server)
SYMPTOM(s):
Random occurrence of error 22 reading promsgs file. It may have been deleted.
errno=22 reading promsgs file, it may have been deleted.
errno=22 is "The device does not recognize the command."
9.1C11
Each client PC connects to the Windows Terminal Server with Citrix as an ICA client.
ICA clients run the Progress Client on the Terminal server to connect to the database on a remote server
CAUSE:
Time it takes to find the promsgs file under heavy loads on the network.
FIX:
Copy the promsgs file from the database server to any directory locally (on the Citrix server in this case which is local for the ICA client).
Set the PROMSGS variable to point to the local copy of the file:
PROMSGS=<path to directory on Citrix server>\promsgs
A falta de recursos de rede é um fator descartável para esse erro quando o Progress está instalado localmente no servidor metaframe.
Além da falta de recursos, existem ainda duas possíveis causas conhecidas para o erro: a primeira é falha na configuração do atalho de conexão, que apontaria para um arquivo .ini errado, ou com os parâmetros DLC ou PROMSGS configurados para diretórios incorretos.
A segunda causa seria corrupção do arquivo de mensagem, causado basicamente por falha no disco, falta de espaço ou mesmo fragmentação da área ocupada pelo arquivo. Segue abaixo kbase da Progress com essas informações:
--> Descrição do Kbase P7740
Computer server stops responding, errno=22 reading promsgs f
Autor: Progress Software Corporation
Status: Unverified
FACT(s) (Environment):
Windows NT 32 Intel/Windows 2000
SYMPTOM(s):
errno=22 reading promsgs file, it may have been deleted.
errno reading promsgs file
Computer Server stops responding
Event ID 2022 on the event viewer
Event ID 2022: Server was unable to find a free connection 1 times in the last 60 seconds.
Clients are disconnected or stop responding (hang)
CAUSE:
A request was made to grow a file and the disk is fragmented or is nearly full. This causes the free space search to take an extremely long time. You can also check the event viewer for another message such as: The D: disk is at or near capacity. You may need to delete some files. Event ID 2013
FIX:
To resolve this problem, allocate additional disk space. Or defragment the disk.
Porém essas duas ocorrências são difíceis de ocorrer. Geralmente o problema ocorre mesmo quando o Progress está instalado em um servidor diferente do servidor onde está localizado o metaframe.
Se nenhum desses casos resolver o problema, sugere-se adicionalmente copiar o arquivo promsgs de algum computador que funcione e substitue o arquivo no servidor com problema, ou mesmo reinstale o Progress no servidor com problema.