Skip Navigation

Perl less that 5.8.8 required

Fedora Core 4

Fedora Core 5

Files

ozflunhwco

sqcoyqxghe

jqlpffdhbe

vfkfuquvzd

xen-fc5-perl-modules

Sign Up

If you sign up for an account on this web site you can customise elements of this site and subscribe to an email newsletter.

If you have an account on this web site you may login.

If you have an account on this site but have forgotten your user name and / or your password then you can request an account reminder email.

Fedora Core 5

The test machine used for this is a FC5 virtual Xen server. It has the default FC5 apache listening on port 80 which forwards requests to a compiled apache and mod_perl on port 8080.

The MKDoc sites on the box were deleted and the box was rebooted.

Site Installs

The MKDoc code was updated:

[chris@xen-fc5 ~]$ cd /usr/local/mkdoc-1-6/
[chris@xen-fc5 mkdoc-1-6]$ cvs -q up -dP

The env was set:

[chris@xen-fc5 mkdoc-1-6]$ source mksetenv.sh
[chris@xen-fc5 mkdoc-1-6]$ printenv | grep MKD
MKDOC_DIR=/usr/local/mkdoc-1-6

Then the two sites were installed using the default value for everything:

[chris@xen-fc5 mkdoc-1-6]$ tools/install-site.pl /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk
1 - Basic MKDoc configuration
2 - Database connection
3 - Organization details
4 - First user details
S - Save Makefile.PL and exit
X - eXit without without saving
Input Choice: s
Checking config...  OK
Creating /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk
Creating /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk/su
Creating /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk/httpd
Creating /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk/resources
Creating /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk/resources/templates
Creating /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk/resources/skin
Creating /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk/data
Creating /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk/static
Creating /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk/static/files
Creating /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk/static/images
Creating /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk/log
Creating /usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk/cache
Writing apache config files
It appears that your database is not empty.
Do you want to (K)eep your current database or (E)rase it? [K,e] e
Your mkdoc site has been installed. You should now restart
your http server. Once this is done, go to the following
address:
  http://users.xen-fc5.webarchitects.co.uk/
Your default connection parameters will be:
  user: admin
  password: thessifo

And then the second site was installed:

[chris@xen-fc5 mkdoc-1-6]$ tools/install-site.pl /usr/local/mkdoc-sites/linktest.webarchitects.co.uk
1 - Basic MKDoc configuration
2 - Database connection
3 - Organization details
4 - First user details
S - Save Makefile.PL and exit
X - eXit without without saving
Input Choice: s
Checking config...  OK
Creating /usr/local/mkdoc-sites/linktest.webarchitects.co.uk
Creating /usr/local/mkdoc-sites/linktest.webarchitects.co.uk/su
Creating /usr/local/mkdoc-sites/linktest.webarchitects.co.uk/httpd
Creating /usr/local/mkdoc-sites/linktest.webarchitects.co.uk/resources
Creating /usr/local/mkdoc-sites/linktest.webarchitects.co.uk/resources/templates
Creating /usr/local/mkdoc-sites/linktest.webarchitects.co.uk/resources/skin
Creating /usr/local/mkdoc-sites/linktest.webarchitects.co.uk/data
Creating /usr/local/mkdoc-sites/linktest.webarchitects.co.uk/static
Creating /usr/local/mkdoc-sites/linktest.webarchitects.co.uk/static/files
Creating /usr/local/mkdoc-sites/linktest.webarchitects.co.uk/static/images
Creating /usr/local/mkdoc-sites/linktest.webarchitects.co.uk/log
Creating /usr/local/mkdoc-sites/linktest.webarchitects.co.uk/cache
Writing apache config files
It appears that your database is not empty.
Do you want to (K)eep your current database or (E)rase it? [K,e] e
Your mkdoc site has been installed. You should now restart
your http server. Once this is done, go to the following
address:
  http://users.linktest.webarchitects.co.uk/
Your default connection parameters will be:
  user: admin
  password: sedejami

And apache 1.3 was stopped and started.

Document Creation

On the first site, http://users.xen-fc5.webarchitects.co.uk/ a new document was created:

Title:       News
Description: News
Keywords:    News

Then on the second site, http://users.linktest.webarchitects.co.uk/ the same thing was done.

No content was added to this, and starting at the home page another document was created on both sites:

Title:       Test
Description: Test
Keywords:    Test

Then a Link Component was added to the /test/ document on both sites:

Address (URI): /news/
Title:         News
Description:   News

The /test/ pages are saved OK but when you go to edit them you get 500 errors.

Linktest 500 Error

This is the http://users.linktest.webarchitects.co.uk/test/.admin.content error in the apache logs:

==> linktest.webarchitects.co.uk/log/users_error_log <==
SOFTWARE_ERROR
$VAR1 = {
          'SCRIPT_NAME' => '',
          'MKD__CACHE_DIR' => '/usr/local/mkdoc-sites/linktest.webarchitects.co.uk/cache',
          'PATH_INFO' => '/test/.admin.content',
          'REQUEST_METHOD' => 'GET',
          'HTTP_ACCEPT' => 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
          'SCRIPT_FILENAME' => '/usr/local/mkdoc-1-6/cgi/mkdoc.cgi',
          'SERVER_SOFTWARE' => 'Apache/1.3.34 (Unix) mod_perl/1.29',
          'MKD__PLUGIN_LIST' => '/usr/local/mkdoc-1-6/conf/users.conf',
          'AUTH_TYPE' => 'Basic',
          'QUERY_STRING' => '',
          'REMOTE_PORT' => '35265',
          'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060501 Fedora/1.7.13-1.1.fc5',
          'SERVER_SIGNATURE' => '<ADDRESS>Apache/1.3.34 Server at users.linktest.webarchitects.co.uk Port 8080</ADDRESS>',
          'HTTP_CACHE_CONTROL' => 'max-age=0',
          'HTTP_ACCEPT_LANGUAGE' => 'en',
          'SITE_DIR' => '/usr/local/mkdoc-sites/linktest.webarchitects.co.uk',
          'PERL5LIB' => '/usr/local/mkdoc-1-6',
          'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/mkdoc-1-6/tools:/usr/local/mkdoc-1-6/tools/cron',
          'GATEWAY_INTERFACE' => 'CGI-Perl/1.1',
          'MKDOC_DIR' => '/usr/local/mkdoc-1-6',
          'DOCUMENT_ROOT' => '/usr/local/apache/htdocs',
          'PATH_TRANSLATED' => '/usr/local/mkdoc-1-6/cgi/mkdoc.cgi/test/.admin.content',
          'SERVER_NAME' => 'users.linktest.webarchitects.co.uk',
          'HTTP_REFERER' => 'http://users.linktest.webarchitects.co.uk/test/',
          'SERVER_ADMIN' => '[email protected]',
          'PERL_SEND_HEADER' => 'On',
          'HTTP_ACCEPT_ENCODING' => 'gzip,deflate',
          'HTTP_X_FORWARDED_SERVER' => 'www.linktest.webarchitects.co.uk',
          'USER_DOMAIN' => 'http://users.linktest.webarchitects.co.uk/',
          'HTTP_ACCEPT_CHARSET' => 'UTF-8,*',
          'REMOTE_USER' => 'fred',
          'HTTP_MAX_FORWARDS' => '10',
          'SERVER_PORT' => '8080',
          'PUBLIC_DOMAIN' => 'http://www.linktest.webarchitects.co.uk/',
          'REMOTE_ADDR' => '192.168.1.12',
          'SERVER_PROTOCOL' => 'HTTP/1.1',
          'HTTP_X_FORWARDED_HOST' => 'users.linktest.webarchitects.co.uk',
          'MKD__TIDY' => '/usr/local/mkdoc-1-6/tools/whitelist.sh',
          'HTTP_X_FORWARDED_FOR' => '192.168.1.2',
          'REQUEST_URI' => '/test/.admin.content',
          'SERVER_ADDR' => '192.168.1.12',
          'HTTP_HOST' => 'users.linktest.webarchitects.co.uk:8080',
          'MOD_PERL' => 'mod_perl/1.29'
        };
[PETAL ERROR] [PETAL ERROR] Can't use string ("HASH(0xb7a4b44)") as a HASH ref while "strict refs" in use at /usr/local/mkdoc-1-6/MKDoc/Util/LinkParser.pm line 454.
. Debug info written in /tmp/petal_debug.1237.1149762723.ozflunhwco at /usr/lib/perl5/site_perl/5.8.8/Petal.pm line 473.
. Debug info written in /tmp/petal_debug.1237.1149762723.sqcoyqxghe at /usr/lib/perl5/site_perl/5.8.8/Petal.pm line 473.

And these are the debug files:

And this is what is in the database:

mysql> use linktest_webarchitects_co_uk;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select Body from Document where Full_Path="/test/";
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Body                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| <block id="flo_block_1" type="link">
<hash id="193832680" bless="flo::editor::Link">
    <item key="internal_link">
        <hash id="191076448">
            <item key="file_name">
                <litteral undef="true" />
            </item>
            <item key="fragment">
                <litteral undef="true" />
            </item>
            <item key="query">
                <litteral undef="true" />
            </item>
            <item key="document_id">
                <litteral>2</litteral>
            </item>
            <item key="scheme">
                <litteral>http</litteral>
            </item>
            <item key="operation">
                <litteral undef="true" />
            </item>
            <item key="is_internal">
                <litteral>1</litteral>
            </item>
            <item key="authority">
                <litteral>www.linktest.webarchitects.co.uk</litteral>
            </item>
        </hash>
    </item>
    <item key="url">
        <litteral>http://www.linktest.webarchitects.co.uk/news/</litteral>
    </item>
    <item key="title">
        <litteral>News</litteral>
    </item>
    <item key="description">
        <litteral>News</litteral>
    </item>
    <item key="uri_name">
        <litteral>news.link</litteral>
    </item>
</hash>
</block> |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
mysql>

Xen-fc5 500 Error

This is the http://users.xen-fc5.webarchitects.co.uk/test/.admin.content error in the apache logs:

==> xen-fc5.webarchitects.co.uk/log/users_error_log <==
SOFTWARE_ERROR
$VAR1 = {
          'SCRIPT_NAME' => '',
          'MKD__CACHE_DIR' => '/usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk/cache',
          'PATH_INFO' => '/test/.admin.content',
          'REQUEST_METHOD' => 'GET',
          'HTTP_ACCEPT' => 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
          'SCRIPT_FILENAME' => '/usr/local/mkdoc-1-6/cgi/mkdoc.cgi',
          'SERVER_SOFTWARE' => 'Apache/1.3.34 (Unix) mod_perl/1.29',
          'MKD__PLUGIN_LIST' => '/usr/local/mkdoc-1-6/conf/users.conf',
          'AUTH_TYPE' => 'Basic',
          'QUERY_STRING' => '',
          'REMOTE_PORT' => '42753',
          'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060501 Fedora/1.7.13-1.1.fc5',
          'SERVER_SIGNATURE' => '<ADDRESS>Apache/1.3.34 Server at users.xen-fc5.webarchitects.co.uk Port 8080</ADDRESS>',
          'HTTP_CACHE_CONTROL' => 'max-age=0',
          'HTTP_ACCEPT_LANGUAGE' => 'en',
          'SITE_DIR' => '/usr/local/mkdoc-sites/xen-fc5.webarchitects.co.uk',
          'PERL5LIB' => '/usr/local/mkdoc-1-6',
          'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/mkdoc-1-6/tools:/usr/local/mkdoc-1-6/tools/cron',
          'GATEWAY_INTERFACE' => 'CGI-Perl/1.1',
          'MKDOC_DIR' => '/usr/local/mkdoc-1-6',
          'DOCUMENT_ROOT' => '/usr/local/apache/htdocs',
          'PATH_TRANSLATED' => '/usr/local/mkdoc-1-6/cgi/mkdoc.cgi/test/.admin.content',
          'SERVER_NAME' => 'users.xen-fc5.webarchitects.co.uk',
          'HTTP_REFERER' => 'http://users.xen-fc5.webarchitects.co.uk/test/',
          'SERVER_ADMIN' => '[email protected]',
          'PERL_SEND_HEADER' => 'On',
          'HTTP_ACCEPT_ENCODING' => 'gzip,deflate',
          'HTTP_X_FORWARDED_SERVER' => 'www.xen-fc5.webarchitects.co.uk',
          'USER_DOMAIN' => 'http://users.xen-fc5.webarchitects.co.uk/',
          'HTTP_ACCEPT_CHARSET' => 'UTF-8,*',
          'REMOTE_USER' => 'fred',
          'HTTP_MAX_FORWARDS' => '10',
          'SERVER_PORT' => '8080',
          'PUBLIC_DOMAIN' => 'http://www.xen-fc5.webarchitects.co.uk/',
          'REMOTE_ADDR' => '192.168.1.12',
          'SERVER_PROTOCOL' => 'HTTP/1.1',
          'HTTP_X_FORWARDED_HOST' => 'users.xen-fc5.webarchitects.co.uk',
          'MKD__TIDY' => '/usr/local/mkdoc-1-6/tools/whitelist.sh',
          'HTTP_X_FORWARDED_FOR' => '192.168.1.2',
          'REQUEST_URI' => '/test/.admin.content',
          'SERVER_ADDR' => '192.168.1.12',
          'HTTP_HOST' => 'users.xen-fc5.webarchitects.co.uk:8080',
          'MOD_PERL' => 'mod_perl/1.29'
        };
[PETAL ERROR] [PETAL ERROR] Can't use string ("HASH(0xb87c73c)") as a HASH ref while "strict refs" in use at /usr/local/mkdoc-1-6/MKDoc/Util/LinkParser.pm line 454.
. Debug info written in /tmp/petal_debug.1237.1149763391.jqlpffdhbe at /usr/lib/perl5/site_perl/5.8.8/Petal.pm line 473.
. Debug info written in /tmp/petal_debug.1237.1149763392.vfkfuquvzd at /usr/lib/perl5/site_perl/5.8.8/Petal.pm line 473.

And following are the debug files:

And this is what the database contains:

mysql> use xen_fc5_webarchitects_co_uk;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select Body from Document where Full_Path="/test/";
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Body                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| <block id="flo_block_1" type="link">
<hash id="174244428" bless="flo::editor::Link">
    <item key="internal_link">
        <hash id="185990236">
            <item key="file_name">
                <litteral undef="true" />
            </item>
            <item key="fragment">
                <litteral undef="true" />
            </item>
            <item key="query">
                <litteral undef="true" />
            </item>
            <item key="document_id">
                <litteral>2</litteral>
            </item>
            <item key="scheme">
                <litteral>http</litteral>
            </item>
            <item key="operation">
                <litteral undef="true" />
            </item>
            <item key="is_internal">
                <litteral>1</litteral>
            </item>
            <item key="authority">
                <litteral>www.xen-fc5.webarchitects.co.uk</litteral>
            </item>
        </hash>
    </item>
    <item key="url">
        <litteral>http://www.xen-fc5.webarchitects.co.uk/news/</litteral>
    </item>
    <item key="title">
        <litteral>News</litteral>
    </item>
    <item key="description">
        <litteral>News</litteral>
    </item>
    <item key="uri_name">
        <litteral>news.link</litteral>
    </item>
</hash>
</block> |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
mysql>

This machine has the following Perl modules installed:

<< | Up

This document was last modified by Chris Croome on 2006-06-19 07:22:24
MKDoc Ltd., 31 Psalter Lane, Sheffield, S11 8YL, UK.
Copyright © 2001-2006 MKDoc Ltd.