[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - Can't locate auto/RRDs/last.al

Cheshire Cat Computing

Software support and information
It is currently Wed Nov 12, 2025 9:47 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Sat Jan 13, 2007 9:42 am 
Offline
Silver User

Joined: Wed Jan 10, 2007 9:37 am
Posts: 20
Location: Fairbanks, AK


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Jan 15, 2007 8:08 am 
Offline
Silver User

Joined: Wed Jan 10, 2007 9:37 am
Posts: 20
Location: Fairbanks, AK


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Jan 15, 2007 9:33 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
The rrddir bit might cause a separate problem, but the issue you are mentioning earlier is concerned with loading the RRDs perl module. It seems that the perl moduole is having problems loading before it even gets as far as searching for the .rrd file!

Since I don't have any intinate knowledge of how the RRDs perl module works internally I can't say what might be causing this. I have no idea what this 'last.al' file is, but it may be connected with the 'require' directive.

My best guess at the moment is that your chrooted environment has problems with 'require' (which is evaluated at run time) versus 'use' (which is evaluated at compile time). This would explain why that test script I gave you worked OK but the routers2 script doesnt.

So, to test a fix for this, try the following:

Edit the routers2 script. At the beginning, just under 'use POSIX', add the line 'use RRDs;'
Find all the lines matching any of these:
eval { require RRDs; };
eval { require 'rrds.pm'; };
eval { require "RRDs.pm"; };

(yes, I know its inconsistent, but they all do the same thing). Replace these lines with
eval { 1;};
This should cause the RRDs module to load up front rather than on demand.

Then try to run in the chrooted environment again.

If you now get errors like 'Cannot find .rrd file' then you're getting an issue with the WorkDir path being different. The way to fix this is to create a softlink in your chrooted environment so that the path still works.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Jan 15, 2007 2:05 pm 
Offline
Silver User

Joined: Wed Jan 10, 2007 9:37 am
Posts: 20
Location: Fairbanks, AK
Well, that didn't fix the problem, but it did at least give a different error which probably makes a bit more sense:

[error] Can't load '/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/RRDs/RRDs.so' for module RRDs: Cannot load specified object at /usr/libdata/perl5/i386-openbsd/5.8.8/DynaLoader.pm line 230.\n at /cgi-bin/perl/routers2.cgi line 31\nCompilation failed in require at /cgi-bin/perl/routers2.cgi line 31.\nBEGIN failed--compilation aborted at /cgi-bin/perl/routers2.cgi line 31.\n

I verified that RRDs.so exists at that location, both on the root system and the chrooted system. Actually, I copied the entire /usr/local/libdata/perl5 directory into the chroot, so anything it wants in there it should be able to access. Hmm.


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Jan 15, 2007 4:13 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 6:48 am 
Offline
Silver User

Joined: Wed Jan 10, 2007 9:37 am
Posts: 20
Location: Fairbanks, AK
No, the test script was working fine chrooted. But that brought up an interesting point. When I tested it again, the test script didn't work. So I fiddled around a bit, copied/deleted various files, and eventually got the test script running again. Tried again with the routers2.cgi (the modified version) and it would now appear that I am right back where we started, with the "Can't locate auto/RRDs/last.al" error on the main frame. With one difference: every now and then I'll get an [error] Unknown error\nCompilation failed in require at /cgi-bin/perl/routers2.cgi line 31.\nBEGIN failed--compilation aborted at /cgi-bin/perl/routers2.cgi line 31.\n" when a frame tries to load, which fixes itself after a couple of reloads. i.e., I'll get that error, hit refresh, and then it loads properly. Sometimes I have to refresh a couple of times, but it loads eventually. All except for the graph pages. Those still get the original error. Go figure.


Top
 Profile Send private message  
 
PostPosted: Tue Nov 16, 2010 8:58 pm 
Offline
Silver User

Joined: Wed Jan 26, 2005 11:10 pm
Posts: 17


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group