Return to the homepage
Internal Links: About MePortfolioMy ResumeMy ServicesTutorialsContact Info
 

Webalizer showing another language instead of English? Here’s why.


October 6th, 2007

Webalizer is compiled with cPanel and sometimes, non-native english speakers like me forget about this and will use a non-english user to run Webalizer for the first time. Huge mistake. Webalizer will be compiled with the language that the user has set to be the default.

It can be Spanish, Portuguese even Russian. And all your clients will have to deal with this.
Not anymore. After trying to fix this for months, I am sharing the solution I wanted to be available online but couldn’t find: The webalizer binary and the english language file for it.

Instructions:
1) Backup your original webalizer binary and language file by running the following commands on a root shell:

  • mv /usr/local/cpanel/3rdparty/bin/webalizer /usr/local/cpanel/3rdparty/bin/webalizer.backup
  • mv /usr/local/cpanel/3rdparty/bin/english/webalizer /usr/local/cpanel/3rdparty/bin/english/webalizer.backup

2) Then you’ll need to get the english binary and language file (I have those prepared for you, so don’t worry).
Run the following commands:

3) Now it’s time to run webalizer:

  • /scripts/runlogsnow

Note: You should allow the runlogsnow script a few hours to run, depending on how many domains you have. If you want to just test it out on an account, you can instead use the command:

  • /scripts/runweblogs

That’s it! Your webalizer is now in english! Now tell me how cool is that ;)

Posted in: Troubleshooting
Comments:

Post a comment

Name

Mail (never published)

Website

Comments



Article Locator
To find an article, type your search term below:



Article Archives
Hardware
Software
Linux
cPanel
Apache
Exim (MTA)
Windows
Helm
IIS
SmarterMail
Recommended Links
General / Uncategorized
Fun Stuff
Health
Quit Smoking
Industry News
Reviews
Tutorials
Troubleshooting
Web Development
My Weblog
Reflect
Carlos Caneja
DJ Nox
Jorge Pinto (InfoSec)
Fahim Farook
Paulo Abreu
Shashank Wagh