O_RDWR is not a valid Fcntl macro

O_RDWR is not a valid Fcntl macro

am 05.01.2011 22:19:30 von Sudhakara.Peram

This is a multi-part message in MIME format.

------_=_NextPart_001_01CBAD1E.3FE08BEA
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi All

=20

I am using NDBM_File to store the users information in hash format, in
that to read/write and create hash file I am using O_RDWR and O_CREAT
macros from Fcntl module. It is working fine for some times and few
times I am getting Internal Server Error and below error message is
printing in error log.

=20

Error Message:=20

[error] O_RDWR is not a valid Fcntl macro at
~/httpd/htdocs/xxxx/gui/xxx.pl line xx.=20

=20

I am using Apache 1.3.42, mod_perl 1.31 and perl 5.12.2 in my
application.

=20

Can anyone please help me on this and let me know if any more
information required.

=20

=20

Regards

Sudhakar

=20

=20


------_=_NextPart_001_01CBAD1E.3FE08BEA
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Hi All



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>I am using NDBM_File to store the users information in hash =
format,
in that to read/write and create hash file I am using O_RDWR and O_CREAT =
macros
from Fcntl module. It is working fine for some times and few times I am =
getting
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:red'>Internal Server Error
style=3D'font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'> and below error message is
printing in error log.



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Error Message:



style=3D'font-size:10.0pt;
font-family:"Arial","sans-serif";color:red'>[error] O_RDWR is not a =
valid Fcntl
macro at ~/httpd/htdocs/xxxx/gui/xxx.pl line xx.



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>I am using Apache 1.3.42, mod_perl 1.31 and perl 5.12.2 in =
my
application.



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Can anyone please help me on this and let me know if any =
more information
required.



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'color:blue'>Regards



style=3D'color:blue'>Sudhakar



style=3D'color:blue'> 



 









------_=_NextPart_001_01CBAD1E.3FE08BEA--