I've gotten this error on 2 servers now, trying to install Kareha.
"No ADMIN_PASS defined in the configuration at /usr/lib/perl5/5.8.4/CGI/Carp.pm line 314.
BEGIN failed--compilation aborted at config_defaults.pl line 59.
Compilation failed in require at kareha.pl line 13.
BEGIN failed--compilation aborted at kareha.pl line 13."
Ideas?
Open config.pl
use constant ADMIN_PASS => 'CHANGEME';
It says CHANGEME for a reason. If you haven't, make sure you have also put in the value for this line:
use constant SECRET => '__INSERT SOMETHING LONG AND NASTY HERE';
Otherwise, Kareha will refuse to rebuild itself without those to set to something other than CHANGEME. I suggest you make both non-dictionary, large with lots of alternating case/numbers etc.
I did all that beforehand, that's why I came here.
Did you remove the # in front of the line too? By default, all config lines are commented out.
There we go, that did it. I fail at reading.
Why's it commented in the first place if it's needed? I'm not a programmer and I don't read directions very concisely so things like checking to see if it's commented out don't cross my mind as a possible solution to things.
It's commented out exactly to make the script complain about it if you forget to set it, because both of those are very important for the security of the board.
I should add some clearer direction in the config file about what needs to be done, though.