Archive for October, 2008

Webmin Error: Perl module Authen::PAM needed for PAM is not installed

Monday, October 13th, 2008

If you guys are getting this error on your Webmin log file /var/webmin/miniserv.error here’s how I solved the problem.

miniserv.pl started
Perl module Authen::PAM needed for PAM is not installed : Can't locate Authen/PAM.pm in @INC (@INC contains: /usr/libexec/webmin /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl .) at (eval 10) line 1.
BEGIN failed--compilation aborted at (eval 10) line 1.

(more…)

Workstation October 11, 2008

Saturday, October 11th, 2008

Just wanted to post this for archiving. Here’s my current workstation setup and yes, it still has the same specs as before and I’m just waiting for the new generation of CPUs.

(more…)

Display GNU/Linux & Unix Uptime Command In PHP

Saturday, October 11th, 2008

I was looking for a solution on how to display the /usr/bin/uptime command in PHP and I came across this simple yet very useful script for me since sometimes I don’t want to login or anything.

So to display your box’s uptime just create a file called uptime.php or whatever you want to call it. And then paste the following code.

<?php

$uptime = passthru ("/usr/bin/uptime");
echo "$uptime";

?> 

Take note that this has no formatting whatsoever, so that’s all up to you if you want to use a style sheet or not.

If you can’t see the uptime command being displayed make sure that passthru is not in your disable_functions in your php.ini file (Thanks to Luis ‘SquarePants’ Valecillos for pointing this out).

Q9650 It Is

Friday, October 10th, 2008

I have decided to just buy a Q9650 for the dedicated server and probably 2 more sticks of 2GB DDR2 ram making my dedicated server one ‘Kick Ass’ dedicated server! I can’t wait! I’ll probably wait until around thanksgiving to buy all this, hopefully the prices will go down since Intel’s new i7 is just around the corner.

(more…)

Grades Are Going Down

Thursday, October 9th, 2008

This is not good and I can feel my manic depression kicking in and it’s not on being overly high, it’s being overly low…since it’s Fall, every ‘ber’ month I get depressed no matter what the situation is. I can feel it and I can see my grades falling down. I’m going to ask my mother who is a Psychiatrist for help there is just no work around with it for me. I can’t control it and I can’t stop it. I just a couple of bad grades ever since September started and it’s not just C+ grades, they’re F – F is FAIL by the way. And here’s the thing that gets me confused wihch is why I need help. Do I need to distance myself from people or to actually interact more with them? I interact with a lot of people and sometimes they take away my attention too much. Bah, I’ll let the medicines take care of that work.