tailieunhanh - Practical mod_perl-CHAPTER 22:Troubleshooting mod_perl

Tham khảo tài liệu 'practical mod_perl-chapter 22:troubleshooting mod_perl', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Page 662 Thursday November 18 2004 12 46 PM CHAPTER 22 Troubleshooting mod_perl When something goes wrong we expect the software to report the problem. But if we don t understand the meaning of the error message we won t be able to resolve it. Therefore in this chapter we will talk about errors specific to mod_perl as reported by a mod_perl-enabled Apache server. Many reports are produced by Perl itself. If you find them unclear you may want to use the use diagnostics pragma in your development code. With the diagnostics pragma Perl provides an in-depth explanation of each reported warning and error. Note that you should remove this pragma in your production code since it adds a runtime overhead. Errors that may occur during the build and installation stages are covered in the respective troubleshooting sections of Chapter 3. This chapter deals with errors that may occur during the configuration and startup code parsing and compilation runtime and shutdown and restart phases. Configuration and Startup This section covers errors you might encounter when you start the server. libexec open failed No such file or directory If you get this error when you start the server it probably means that your version of Perl was itself compiled with a shared library called . mod_perl detects this and links the Apache executable to the same Perl shared library. This error simply means that the shared library cannot be found by searching the paths that Apache knows about. Make sure you have Perl installed on the machine and that you have in perlroot version architecture CORE for example sun4-solaris CORE . 662 Page 663 Thursday November 18 2004 12 46 PM If the file is there but you still get the error you should include the directory in which the file is located in the environment variable LD_LIBRARY_PATH or the equivalent variable for your operating system . Under normal circumstances Apache should .

TỪ KHÓA LIÊN QUAN