Statistics/Descriptive.pm missing


#1

I’m trying to run dreamReboot.pl on my PS. However, I keep running into this error:

Can’t locate Statistics/Descriptive.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .)

What can I do about this?


#2

Log in as root (you’ll need to create a create an admin user through the panel at https://panel.dreamhost.com/index.cgi?tree=vserver.adminusers and switch to this user), and run:

sudo cpan Statistics::Descriptive


#3

Just remove the line “use Statistics::Descriptive;” from the script. It doesn’t actually use that library at all.

That being said, there is no real benefit in rebooting your server regularly. We certainly won’t stop you from doing it if it makes you feel better, but don’t expect to see anything change (besides that your server will go down for a minute or two while it reboots).