October 20th, 2003

The Gir
  • stbjr

Memcache problem

-bash-2.05b$ /home/journal/bin/checkconfig.pl
[Checking for Perl Modules....]
[Checking LJ Environment...]
Problem:
* Failed to load ljlib.pl: Undefined subroutine &LJ::MemCache::init called at /home/journal/cgi-bin/ljlib.pl line 66.
Compilation failed in require at /home/journal/bin/checkconfig.pl line 103.

I am running perl 5.8.0 on RH9 Anything would help Thanks!

LJ Troubleshooting

Does anyone have any good troubleshooting tips for messages like this:

Sorry
We're currently working on something. The site will be back up shortly.

I know there could be a variety of reasons, from database connections troubles to everything else, but I don't have a good grasp of where to start looking for the problem.

(no subject)

[riot5co@murdoc.towardex.com] [/usr/home/riot5co/www]$ $LJHOME/bin/checkconfig.pl
[Checking for Perl Modules....]
[Checking LJ Environment...]
Problem:
* Failed to load ljlib.pl: Bareword "OK" not allowed while "strict subs" in use at /usr/home/riot5co/www/cgi-bin/ljfeed.pl line 95.
Compilation failed in require at /usr/home/riot5co/www/cgi-bin/ljlib.pl line 31.
Compilation failed in require at /usr/home/riot5co/www/bin/checkconfig.pl line 103.


Boo....:(
  • Current Mood
    sad sad

(no subject)

This is showing up in my error_log for apache...

ljconfig.pl reloaded
[Mon Oct 20 16:19:30 2003] [error] Can't call method "selectrow_array" on an undefined value at /usr/home/riot5co/www/cgi-bin/ljlib.pl line 5844.

I haven't messed with the ljlib.pl file, I do have a ljlib-local.pl file though, could something in my code be causing this? or is it ljlib.pl itself?

Hooks

I've look in this journal for the code to include the account type in the persons User Info. I tried looking in the DOCS but it only mentioned , "came from a need to make distinctions between account status types, without leaving a lot of kludge in the code base..." and then the next page gave no mention of it. So I was wondering if I missed it or maybe it's just not there so maybe someone could help me with getting the right code in the right spots...thanks!!
  • Current Mood
    busy
Dale// HCT
  • daliusx

Populate the Database Problem

When running: $ bin/upgrading/update-db.pl --runsql --populate
[root@vintige lj]# bin/upgrading/update-db.pl --runsql --populate
Can't locate Apache/Constants.pm in @INC (@INC contains: /home/lj/cgi-bin /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /home/lj/cgi-bin/ljfeed.pl line 6.
BEGIN failed--compilation aborted at /home/lj/cgi-bin/ljfeed.pl line 6.
Compilation failed in require at /home/lj/cgi-bin/ljlib.pl line 32.
Compilation failed in require at bin/upgrading/update-db.pl line 12.
BEGIN failed--compilation aborted at bin/upgrading/update-db.pl line 13.

$ bin/upgrading/texttool.pl load
[root@vintige lj]# bin/upgrading/texttool.pl load
Can't locate Apache/Constants.pm in @INC (@INC contains: /home/lj/cgi-bin /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /home/lj/cgi-bin/ljfeed.pl line 6.
BEGIN failed--compilation aborted at /home/lj/cgi-bin/ljfeed.pl line 6.
Compilation failed in require at /home/lj/cgi-bin/ljlib.pl line 32.
Compilation failed in require at bin/upgrading/texttool.pl line 62.

Any ideas?

(no subject)

I know graghs arn't supported by lj, but I thought I'd ask about this, I had this problem on my Solaris box when I was running the lj code on there, but now I'm using FreeBSD. I get the same basic error...

[riot5co@murdoc.towardex.com] [/usr/home/riot5co/www]$ bin/ljmaint.pl genstatspics
Running task 'genstatspics':

Clock skew of 27 seconds between web(murdoc.towardex.com) and db(scylla.towardex.com)
-I- new accounts by day.
-I- posts in last 60 days.
Can't call method "png" on an undefined value at /usr/home/riot5co/www/bin/maint/statspics.pl line 77.