Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




29.13. Perl module Devel::Symdump

If you intend to use the mod_perl programming language support with your Apache web server, it can be interesting to install the small perl module program named Devel::Symdump. This third party module will allow you to inspect perl's symbol table and the class hierarchies within a running program. To build and install it, follow these steps.

These are the package(s)

Devel-Symdump Homepage:
You must be sure to download: Devel-Symdump-2_00_tar.gz
Devel-Symdump version number is 2.00

        [[email protected] ]/# cp Devel-Symdump-version.tar.gz /var/tmp/
        [[email protected] ]/# cd /var/tmp/
        [[email protected] ]/tmp# tar xzpf Devel-Symdump-version.tar.gz

Move into the new Devel-Symdump directory and type the following commands on your terminal to compile and install the module on your Linux server:
        [[email protected] ]/Devel-Symdump-2.00# perl Makefile.PL
        [[email protected] ]/Devel-Symdump-2.00# make 
        [[email protected] ]/Devel-Symdump-2.00# make test 
        [[email protected] ]/Devel-Symdump-2.00# make install 

Once the module has been installed on your system, you must include in your /etc/httpd/conf/httpd.conf file the following lines to be able to see the status of different Perl modules on the server: Edit the httpd.conf file, vi /etc/httpd/conf/httpd.conf and add the following lines:

  1.           <Location /perl-status>
              SetHandler  perl-script
              PerlHandler Apache::Status
              Order deny,allow
              Deny from all
              Allow from

  2. You must restart the Apache web server for the changes to take effect: To restart Apache, use the following commands:
            [[email protected] ]/# /etc/rc.d/init.d/httpd restart
        Shutting down https:                                        	[  OK  ]
            Starting httpd:                                            	[  OK  ]

  3. Finally, we must test the new Devel-Symdump module to be sure that we can see status of different Perl modules on the server.

To verify that it works, points your web browser to the following address: https://my-web-server/perl-status/. The <my-web-server> is the address where your Apache web server resides.

Mod perl

Please as always Cleanup :
        [[email protected] ]/# cd /var/tmp
        [[email protected] ]/tmp# rm -rf Devel-Symdump.version/ Devel-Symdump-version.tar.gz

29.13.1. Installed files


  Published under the terms of the Open Publication License Design by Interspire