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:
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:
That’s it! Your webalizer is now in english! Now tell me how cool is that 
Posted in:
Troubleshooting
Comments:
Post a comment
|