![]() How to login to Linux VPS with SSH protocol.Īfter successfully SSH, we continue with step 2 to execute AWStats activation commands on DirectAdmin.If you don’t know how to SSH into your VPS/Server, you can refer to the following tutorial: Or at least log in to the server with a user with sudo privileges. To enable AWStats on DirectAdmin, we first need to SSH or access your VPS/server with root privileges. To enable AWStats on DirectAdmin, follow these 3 steps. ![]() In this article, AZDIGI will guide you through enabling AWStats on DirectAdmin. home/cpaneluser/tmp/awstats/ Step 3: In the above directory, search for file and edit the file using an editor. Step 2: Specify the following path to open the users Awstats directory. If you want to know about the difference between AWStats and Webalizer, you can see the following link: Step 1: Login to your server using the root password. But because of AWStats’ powerful capabilities, cPanel is also using it as the default statistics software. It can parse log files from all services like Apache (NCSA/XLF/ELF log format or common log format/CLF), WebStar, IIS (W3C log format), proxy, wap, streaming servers, mail servers and some FTP servers.īy default, DirectAdmin uses Webalizer as the statistics software. It uses an information file part to be able to process large, frequent and fast log files. This log analyzer works as a CGI or from the command line and shows you all the possible information in your logs in a few web pages with a graphical interface. The table has the following columns: Name user name Domains user domain name Malware Cleanup allows to enable or disable Malware Cleanup feature for selected user by moving the slider. What is AWStats? AWStats is a powerful and free tool that generates advanced web statistics, streaming, FTP or mail server graphically. To enable Malware Cleanup feature for new users by default, move the Malware Cleanup slider. Change the line ‘skipawstats1’ to ‘skipawstats0’ to enable awstats for cpanel accounts 4. Summary In this tutorial, AZDIGI will show you how to enable AWStats on DirectAdmin. You can enable/disable stats programs at WHM Server Configuration Tweak Settings, scroll down to the Stats Programs. Open /var/cpanel/nfig file using vi editor 3. How to install Zabbix Agent on Ubuntu 20.04 Step 1: SSH into your server Step 2: Commands to enable AWStats on DirectAdmin Step 3: View AWStats information on DirectAdmin III.How to install Zabbix 6.0 on Ubuntu 20.04.How to set up Zabbix alerts via Telegram.Integrate Netdata into DirectAdmin for server monitoring.How to install Let’s Encrypt SSL on Zabbix.htop – Monitoring Linux server processes.# /usr/bin/perl /usr/local/cpanel/3rdparty/bin/ -config=/home/user_name/tmp/awstats/ -LogFile=/home/user_name/logs/-Nov-2014. Unarchive the file and run the command to rebuild it If the logs are archived – look here – /home/fl/logs Location of all log files – /home/domain/tmp Log files at /usr/local/apache/domlogs/Ĭonfig for awstats /home/fl/tmp/awstats/ usr/local/cpanel/3rdparty/bin/lib /usr/local/cpanel/3rdparty/bin/plugins /usr/local/cpanel/3rdparty/bin/plugins) at (eval 2) line 1. Open this file with a text editor, search for the DirIcons. # /usr/bin/perl /usr/local/cpanel/3rdparty/bin/ -config=/home/user_name/tmp/awstats/ -LogFile=/usr/local/apache/domlogs/ -updateĮrror: Plugin load for plugin ‘geoipfree’ failed with return code: Error: Can’t locate Geo/IPfree.pm in contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5. Download the Awstats configuration file created by cPanel: /tmp/awstats/. If none of the above fixes the issue and the awstats page for the domain is still showing the old date for last update, run the following command : You can use the following script to run statistics : If that doesn’t update stats, then check domlogs of the domain and see if it is up to date. # /scripts/runweblogs user_nameIf that didn't work try fixwebalizer script : Then to update awstats and webalizer run the script : First check permission of /usr/local/cpanel/3rdparty/bin/, it should be 755.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |