Webalizer not working on Ubuntu

Linux, Tutorials, Ubuntu
One of my Ubuntu based VPS had Webalizer installed to collect stats from webserver but it was not working because I could see not stats at /webalizer/. If thats the case with you try the following 1) Try running the webalizer crontab [code]root@backups:~# /etc/cron.daily/webalizer Error Opening file /usr/share/GeoIP/GeoIP.dat[/code] So we have identified the culprit that geoip-database is not installed. 2) Fix this by installing geoip-database [code]root@backups:~# apt-get install geoip-database[/code] (more…)
Read More

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!

How to
Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. Return from whence you came   Just do the following [code highlight="1,3,4,6"]root@nagios:~# ls -l /var/lib/nagios3/rw/nagios.cmd prw-rw---- 1 nagios nagios 0 Aug 11 22:27 /var/lib/nagios3/rw/nagios.cmd root@nagios:~# chmod -R g+x /var/lib/nagios3/rw root@nagios:~# ls -l /var/lib/nagios3/rw/nagios.cmd prw-rwx--- 1 nagios nagios 0 Aug 11 22:27 /var/lib/nagios3/rw/nagios.cmd root@nagios:~# service nagios3 restart[/code] Also change group of the file [code highlight="1,3"]root@nagios:~# ls -l /var/lib/nagios3/rw/nagios.cmd prw-rw---- 1 nagios nagios 0 Aug 11 22:27 /var/lib/nagios3/rw/nagios.cmd root@nagios:~# chown nagios:www-data /var/lib/nagios3/rw/nagios.cmd[/code] And also, you may need to do the following and restart apache afterwards [code highlight="1,2"]root@nagios:~# usermod -G nagios www-data root@nagios:~# service apache2…
Read More

PTV’s Shaista Zaid delivers last bulletin after 43 years

News
http://www.youtube.com/watch?v=iJRWEJL8NTg Eversince I was a child, I can recall her face in the evenings when there was just PTV and later STN. I am sure a generation can recall her face seeing on PTV English Bulletin @ 7pm everyday A little bio of Shaista Zaid, the legend http://www.youtube.com/watch?v=HwPZlWfWO4Y There were people on twitter recalling her and expressing sorrow on her retirement news [blackbirdpie url="https://twitter.com/AliDayan/status/227361256154214400"] [blackbirdpie url="https://twitter.com/Rida_Imran/status/227415866801799168"] [blackbirdpie url="https://twitter.com/wesmalik/status/227554546384265217"] [blackbirdpie url="https://twitter.com/M_Saad_K/status/227427913446866944"] [blackbirdpie url="https://twitter.com/MansoorGeoNews/status/227374207393202176"] [blackbirdpie url="https://twitter.com/jehan_ara/status/227355369205268480"]
Read More

Ostrich is not a bird but animal?

News
[caption id="attachment_1296" align="aligncenter" width="435"] Ostrich - Image Courtesy: http://animals.nationalgeographic.com/animals/birds/ostrich/[/caption] Ostrich is not a bird but an animal, rules Punjab Assembly. The full legal document can be seen here (pdf below) (more…)
Read More

HTC Helpline

Personal
I needed to get my HTC Desire HD's volume key repaired even though it was Nnot in warrenty and Not purchased from Brightex but to my surprise the helpline was very proactive and welcome-ing in offering their services. Of course the services were paid for but at least I had the peace of mind for getting them fixed from the pros. Thats another reason to buy HTC hardware HTC Helpline in Lahore is being offered by Brightex, the official distributor of HTC at 111-111-HTC (111-111-482)
Read More

PTCL EVO device with Tenda Portable 3G wireless router with battery (3G150B)

Experiments, Personal
As promised, I previously reviewed the 3G150M model (without battery) and this time I am going to review the 3G150B (with battery model) [caption id="attachment_1267" align="aligncenter" width="584"] Tenda Portable 3G wireless router 3G150B[/caption] Although the battery model is more attractive and more widely used (Im using 3G150B more as compared to 3G150M) it control panel interface is fairly basic which is a set back for me and im sure for most other users as well. But still, its the best out there There was also an advertisement in Spider magazine for the month of April 2012 as can be seen in the following photo [caption id="attachment_1268" align="aligncenter" width="584"] Spider Advertisement of Tenda Portable 3G wireless router 3G150B in April 2012[/caption] [gallery link="file"] This Tenda device cost approx Rs. 4200 in…
Read More

Frantech closed its doors?

News
Frantech.ca closed its doors? well since BuyVM is running smoothly, they might be finding it hard to concentrate on two different brands offering approx the same services. [caption id="attachment_1259" align="aligncenter" width="818"] Frantech.ca closed its doors? may be temporarily[/caption]
Read More

Youtube restored my video, Finally

Personal
Finally, after weeks of waiting, Youtube has restored my video removed due to copyright claim by WHMCS (yeah, right!!) Today, I saw the email that the video in question has been restored. This video was created by me and uploaded on Youtube as a proof of what I was seeing when WHMCS was hacked. http://www.youtube.com/watch?v=eGlf-HBPXK8
Read More

cPanel/WHM 11.30 now supports MySQL TRIGGERS and VIEW privileges

News
I just noticed that cPanel/WHM 11.30 now supports MySQL TRIGGERS and VIEW privileges. From the official release notes In 11.30 we are adding support for the MySQL TRIGGER and VIEW privileges. Systems using MySQL 5.0 and higher can use the VIEW privilege. This privilege will grant the database user the CREATE VIEW and SHOW VIEW MySQL privileges. When using MySQL 5.0, the SUPER privilege is required for the TRIGGER privilege. Due to this caveat, we will not support the TRIGGER privilege on systems using MySQL 5.0. Systems using MySQL 5.1 and higher can enable and use the TRIGGER privilege. However, this privilege is not available if binary logging is enabled for the MySQL service. Neither TRIGGER nor VIEW is available to systems using MySQL 4.0 or 4.1.
Read More