Update awstats in Plesk Manually
To update stats manually for a domain, you can run the following command. Replace the “domain.com” with the domain name.
$ /usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=domain.com
To generate stats for all the domains in the server, use the following command.
$ /usr/local/psa/admin/sbin/statistics
If you receive any error, please make sure that the binaries are present in the path specified in the configuration file ‘/etc/psa/psa.conf’
$ grep AWSTAT /etc/psa/psa.conf
will return the path
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /var/www/cgi-bin/awstats
AWSTATS_TOOLS_D /usr/share/awstats
AWSTATS_DOC_D /var/www/html/awstats
Make sure that the following files are present in the correct location.
awstats_buildstaticpages.pl: /usr/share/awstats/awstats_buildstaticpages.pl
awstats.pl: /var/www/cgi-bin/awstats/awstats.pl
Update awstats in Plesk Manually
To update stats manually for a domain, you can run the following command. Replace the “domain.com” with the domain name.
$ /usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=domain.com
To generate stats for all the domains in the server, use the following command.
$ /usr/local/psa/admin/sbin/statistics
If you receive any error, please make sure that the binaries are present in the path specified in the configuration file ‘/etc/psa/psa.conf’
$ grep AWSTAT /etc/psa/psa.conf
will return the path
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /var/www/cgi-bin/awstats
AWSTATS_TOOLS_D /usr/share/awstats
AWSTATS_DOC_D /var/www/html/awstats
Make sure that the following files are present in the correct location.
awstats_buildstaticpages.pl: /usr/share/awstats/awstats_buildstaticpages.pl
awstats.pl: /var/www/cgi-bin/awstats/awstats.pl
Installed SSI extensions are not detected by Plesk
SSI extensions are installed on the server but Plesk saying that the ‘Component is not installed’ in the component management page in Plesk.
You can fix this issue using the below steps.
1. In server
Start >> Control Panel >> Add/Remove programs >> Add/Remove Windows Components >> Application Server >> IIS >> World Wide Web service >> deselect the Server Side Includes option.
2. Once you done the above steps, restart all Plesk services and IIS Admin Service in service console.
3. In server
Start >> Control Panel >> Add/Remove programs >> Add/Remove Windows Components >> Application Server >> IIS >> World Wide Web service >> Select the Server Side Includes option.
4. Also make sure that Server Side Includes status as Allowed in IIS management.
5. Restart all Plesk services and IIS Admin Service in service console.
6. In Plesk
Main >> Server >> Component management >> Click the refresh button.
Now you can see SSI Component is installed in service section.
Unable to check and fix permissions in Plesk [ After Upgrade to 8.3 ]
ERROR
Undefined variable: sa_rel in C:\Program Files\SWsoft\Plesk\admin\plib\SiteApps\class.SiteA ppPackageManager.php on line 478
RESOLUSION
Please download the modules “class.SiteAppPackageManager.php ” and copy it to folder
%plesk_dir%admin\plib\SiteApps.
Note : Please backup old module before copying.
You can download the file from following URL.
ftp://download1.swsoft.com/Plesk/Autoupdate/Windows/8.3.0/128717/class.SiteAppPackageManager.php
How to reset SQL “sa” password and Integrate with Plesk Control panel
The following steps will guide you to reset the SQL admin password and how to integrate it with Plesk control panel for hosting purpose.
Step 1: Login to the Windows server through RDP.
Step 2: Open CMD ( Start -> Run -> type: cmd then Enter)
Step 3: cd “c:\Program files\Microsoft SQL Server\80\Tools\Binn”
Step 4: Now execute the following command.
osql -E -Q “EXEC sp_password @new=’newpassword’, @loginame = ’sa’”
Now integrate SQL server with Plesk control panel.
Step 1: Login to Plesk control panel using the admin login.
Step 2: Select “Server >> Databases >> Add new database”.
Step 3: Create new MSSQL database server using SQL admin (known as “sa”) login details.