Plesk 11.x / Linux :: AWStats - Regenerate Config Files?

Nov 13, 2014

I followed the following KB to allow country to be identified via GeoIP in AWStats: [URL] .... It works well on one of my domain, but I had to disable first the stats through PLESK Admin, then to reactivate it, so it would regenerate the conf file in /usr/local/psa/etc/awstats/* for a particulair domain. I then followed this KB to re-calculate all stats with country identification: [URL] .... It works as well.

But now: How can I regenerate all the conf file in /usr/local/psa/etc/awstats/* ? Is there any magic command?

View 1 Replies


ADVERTISEMENT

Plesk 11.x / Linux :: How To Rebuild Awstats Static Pages Of Migrated Database Files

Mar 14, 2014

I had an hosting account with a copany, recently I migrated to VPS managed by plesk 11.5..I was able to get the awstats database file from the old host, and i have copied them in the /var/www/vhosts/mydomain.com/statistics/webstats/ folder, together with the other database files genereted by the new VPS hosting

Only problem is that plesk only rebuilds everyday the static page for the current month, and I see no way to ask him to build the pages for this past months. Also would be good if he would rebuild the header to have updated the dropdown menu from which to choose the month to dispay..Is it possible to rebuild manually these static pages?

View 5 Replies View Related

Plesk 12.x / Linux :: Regenerate PHP Pool For A Domain In 12.1?

Jul 6, 2015

I want to know if I altered the specified php.ini for a domain and added the [php-fpm-pool-settings] section, how can I regenerate the pool for that domain?

It would be great to have this section as a textarea in the PHP settings for a Service plan as it would give the basic control to alter some settings that some of us really would like to control them faster and easier.

View 1 Replies View Related

Plesk 12.x / Linux :: Regenerate All Domain Keys?

Jun 3, 2015

I recently migrated 50+ domains from a plesk 11.5 server to a plesk 12 server and many of the customers are not signing with domain keys anymore after the move.

Is there any way to regenerate domain keys for ALL domains?

View 2 Replies View Related

Awstats Config

Jun 4, 2009

I have tried to manually setup awstats on a website in Windows 2008 with IIS 7. The problem here is that I have to create two conf files for each website, one named awstats.sitename.conf and the other awstats.www.sitename.conf. If I don't do so, then awstats does not work on either www.sitename.com or sitename.com. I cannot update the stats or view it from the browser. I have a few Hosting controller servers in which awstats is used and I compared the conf file with them and there is no difference. I wonder what could be the issue.

View 1 Replies View Related

Unix Plesk: Generate Webserver Config Files

Sep 4, 2007

Is there any command to generate it? The httpd.include is there but httpd.conf is not picking it up. Suppose there is a "middle" man to connect the vhosts httpd.include and httpd.conf

View 1 Replies View Related

Reinstalled Apache2 - All Config Files Are Missed / Plesk Not Working

Feb 20, 2015

I committed a fault, I reinstalled apache2 in my dedicated server, all my apache config files are missed so now plesk not work, i have 3 domains in production w and all are broken ...

error: Not Found
The requested URL / was not found on this server.

I tried to reconfigure but:
psa/admin/sbin/httpdmng:: No such file or directory

There is a solution to restore my apache2 old installation w files config?

View 7 Replies View Related

Plesk 12.x / Linux :: No Access To AWStats Using Nginx

Oct 8, 2014

Using Plesk 12 on a VPS with Ubuntu 12.04 LTS. In the Web Server Settings, if I select "Process PHP by nginx", then the URL "<domain>/plesk-stat/webstat/" is answered by Nginx with "404 Not Found". Having sniffed around, it seems:

/var/www/vhosts/system/VHOST/statistics/webstat is getting statistics gathered.I can't say if they are complete, or even sensible, but things are happening there.The various Alias and other statements required for access to AWStats via Apache are contained in the Apache config file /var/www /vhosts/system/VHOST/conf/last_httpd.conf..But no equivalent statements are generated in /var/www/vhosts/system/VHOST/conf/last_nginx.conf.

View 2 Replies View Related

Plesk 12.x / Linux :: Awstats Not Building Static Pages

Nov 5, 2014

I have an issue with Plesk and Awstats not building the html pages for website statistics. Problem is server-wide i.e. it effects all domains.

I've tried to manually run the /usr/local/psa/admin/sbin/statistics with every possible options but all that happens is that awstats calculates new stats to the vhosts /var/www/vhosts/system/domain.tld/statistics/webstat/awstatsMMYYYY.domain.tld-http.txt file.

Nothing is put into the /var/www/vhosts/system/domain.tld/statistics/webstat/YYYY-MM folder which should contain the static html pages.

Example listings:

Code:
# ll /var/www/vhosts/system/<domain.tld>/statistics/webstat
total 80
drwxr-xr-x 4 root root 4096 Nov 5 10:58 ./
dr-xr-x--- 6 root psaserv 4096 Oct 23 12:36 ../
drwxr-xr-x 2 root root 4096 Oct 23 13:12 2014-10/

[Code] ....

I was able to create the static pages by running Awstats directly:

Code:
# /usr/share/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=<domain.tld>-http -dir=/var/www/vhosts/system/<domain.tld>/statistics/webstat/current

So things I have already checked:
- Awstat paths in /etc/psa/psa.conf are correct
- Domain configs are ok as awstat can create the stats data and awstats_buildstaticpages.pl can can create the pages just fine
- File permissions are ok

I just cannot figure what the problem is. /usr/local/psa/admin/sbin/statistics doesn't give any errors but on the other hand it doesn't have a debug option either which might be useful.

OS: Ubuntu 14.04.1 LTS
Plesk version: 12.0.18 Update #22

View 4 Replies View Related

Plesk 12.x / Linux :: Webalizer To Awstats - Importing Current Data

Dec 18, 2014

Currently i am using webalizer... How can i switch to aw stats by importing the current data...

View 1 Replies View Related

Plesk 12.x / Linux :: AWStats Not Showing Stat Since Website Is Secured Via SSL

May 4, 2015

I have installed an SSL certificate on my website since last saturday the 1st of May, and forced redirection to https URLs via .htaccess.

Since then, I cannot see any statistics in AWStats. All values stops after the implementation of the certificate. How can I continue to have statistics for my secured web site ?

View 3 Replies View Related

Where Are The Awstats Files Stored At

Aug 26, 2007

I am moving a couple of accounts from one server to another; where are the Awstats files saved at in a typical CPanel box?

View 2 Replies View Related

Plesk 12.x / Linux :: How To Config Mail Server

Aug 7, 2014

I have a little problem configuring the mail server in Plesk 12. I bought a VPS with Plesk 12 is hosted in OVH.es just for learning. I've got an external domain in OVH.es from 1and1.co.uk. The domain is properly configured and all is working well but the mail server.In OVH.es manager I can't create emails for an external domains (it is not allowed), only redirections. This is how it is in the manager: .domain.com MX 1 Redirecciones redirect.ovh.net.Support OVH.es told me that I can configure within plesk 12. I suposse it is in zone DNS but I don't know how to do it.

View 1 Replies View Related

Plesk 12.x / Linux :: Backup Server Config?

Jun 12, 2015

I'm on plesk 12.0.18 and i would like to backup my server config. I have an error Logging::error('Available disk space () is less than required by storage bund...', 'fatal') called at /opt/psa/PMM/agents/shared/Storage/Storage.pm line 523

[URL] ....

the function un cat /usr/local/psa/PMM/agents/shared/HelpFuncs.pm is like that

Code:

sub getMountSpace {
my $mount = shift;
my $df = qx( df -P -k $mount) or die $!;
while ( $df =~ /^(S+)s+(d+)s+(d+)s+(d+)s+(d+\%)s+(S+)$/gm ) {

[Code]...

We've unchecked the disk space verification in backup settings with no more results ...

is it a way to launch the function reserveSpace and/or getMountSpace helper in shell ? to see the returned value ?

or can i launch /usr/local/psa/bin/pleskbackup server -c comand line to backup only the config ?

View 4 Replies View Related

Plesk 11.x / Linux :: Wrong Server Nginx Config

Dec 5, 2014

I have plesk11.5 and found a big security bug in my script because plesk11 do a strange behavior:

[REMOTE_ADDR] => 95.*.*.*
[SERVER_PORT] => 80
[SERVER_ADDR] => 91.*.*.*
[SERVER_NAME] => domain.com
[SERVER_SOFTWARE] => Apache

[REMOTE_ADDR] => 2003:67:4b4b:*
[SERVER_PORT] => 80
[SERVER_ADDR] => 127.0.0.1
[SERVER_NAME] => domain.com
[SERVER_SOFTWARE] => ApacheClick to expand...

View 4 Replies View Related

Plesk 12.x / Linux :: PhpMyAdmin Cannot Connect - Config File Missing

Mar 8, 2015

I installed Plesk on a VPS running on Ubuntu 14.04. When I try to open phpMyAdmin the following error message appears:

You probably did not create a configuration file. You might want to use the setup script to create one.

Error

MySQL said: cannot connect: invalid settings.

When I try to click on the setup script link another error message pops up:

Error in Processing Request
Error code: 404
Error text: Not Found

What do I have to do to make phpMyAdmin work?

View 1 Replies View Related

Plesk 12.x / Linux :: Rkhunter Config - Installation Directory Does Not Exist

Oct 29, 2014

When trying to run rkhunter manually I get the error:

"Installation directory does not exist: /opt/psa"

I haven't changed the install directory setting in the rkhunter config file.

Looking for "default" rkhunter config file?

Or tell me a way to reset / reinstall rkhunter?

View 15 Replies View Related

Plesk 12.x / Linux :: Repeatedly Logged Out While Working On Config Of Primary Website

Feb 19, 2015

On our instance (Plesk 12 / Debian) I am logged out within 1 or 2 minutes quite often while working on config of the primary website (admin access). The session idle time is set to the 30 min default, and the problem isn't to do with changing IP addresses - the multiple sessions visible all have the same IP address.

This happens so constantly it is difficult do any real work. Where is the logic of session creation and termination? What do we need to look at to deal with this problem? We have root access.

View 10 Replies View Related

98% Of Ram Used. Config Files

Jun 9, 2007

I just went to a box for myself, and just realized that my ram is closing in on it's limit.

We have 1gb of ram, yet we have around 50MB left.

We run 2 forums, with around 200 concurrent to 2000 on peaks. ( Currently it's 200 concurrent. )

Just hoping somebody could take a look at my httpd.conf and my my.cnf to see if I should tweak anything.

Ran top shift+m, and find that alot of apache connections is using 5mb per process:

Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3173 apache 15 0 73672 51m 3924 S 0.0 5.1 0:56.63 httpd
4790 apache 15 0 73676 51m 3912 S 0.0 5.1 0:13.36 httpd
4980 apache 15 0 73672 51m 3908 S 0.0 5.1 0:08.21 httpd
3172 apache 15 0 69844 48m 3940 S 0.0 4.8 0:45.93 httpd
5096 apache 15 0 69872 48m 3896 S 0.0 4.8 0:06.21 httpd
4394 apache 15 0 68544 46m 3912 S 8.2 4.6 0:20.24 httpd
4256 apache 15 0 68540 46m 3912 S 0.0 4.6 0:30.12 httpd
3729 mysql 15 0 130m 35m 4968 S 2.0 3.5 147:49.81 mysqld
4003 psaadm 15 0 48212 34m 23m S 0.0 3.5 0:27.61 httpsd
1489 apache 15 0 53056 31m 3928 S 0.0 3.2 1:10.80 httpd
1538 apache 15 0 52692 31m 3928 S 0.0 3.1 1:15.86 httpd
1452 apache 15 0 52636 31m 3932 S 0.0 3.1 1:24.45 httpd
2098 apache 15 0 52576 31m 3976 S 0.0 3.1 1:10.90 httpd
1450 apache 15 0 52556 31m 3940 S 0.0 3.1 1:24.80 httpd
1457 apache 15 0 52484 31m 3964 S 0.0 3.1 1:22.13 httpd
1718 apache 16 0 52444 31m 3964 R 30.7 3.1 1:27.99 httpd

httpd.cnf ( Please tell me if I have missed anything out. )

Code:
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 60

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive Off

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 10

##
## Server-Pool Size Regulation (MPM specific)
##

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 2000
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

my.cnf:

Code:
[mysqld]
set-variable=local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[mysqld]
max_allowed_packet=16M

View 13 Replies View Related

How Do You Create/generate Config Files

Jul 10, 2009

When deploying new server/servergroup/cluster to your IT infrastructure, deployment (simplified) consist of following steps:

OS installation: to do it over network, boot server must be configured for this new server/servergroup/cluster,

configuration/package management: configuration server has to be aware of the newcomer(s),

monitoring and alerting: monitoring software must be reconfigured,

performance metrics: a tool for collecting data must be reconfigured.

There are many excellent software solutions for those particular jobs, say configuration management (Puppet, Chef, cfengine, bcfg2), monitoring hosts and services (Nagios, Zabbix, OpenNMS, Zenoss, etc) and performance metrics (Ganglia, etc). But each of these tools has to be configured independently or at least configuration has to be generated. What tools do you use to achieve this?

For example, when you have to deploy a new server, how do you create configs for, let's say, PXE boot server, Puppet, Nagios and Ganglia, at once?

View 2 Replies View Related

Where Is Important Config Files For Iptables?

Dec 4, 2008

backup from my iptables config files, where is important config files for iptables?

View 2 Replies View Related

Apache :: Using Totally Custom Config Files

Dec 11, 2013

I am trying to get a Apache (Win7x64) to run using totally custom config files, so far I have this:

Code : httpd.exe -f ......confapachehttpd.conf

Loads fine and here is my trivial config:

Code:

Listen 8082

ServerRoot webinapacheapache-2.4
ServerName fitrak.me

DocumentRoot webhomewebsites

Regardless of whether I make the DocumentRoot absolute or relative Apache still won't load index.html

500 Internal Server Error

Nothing coming up erroneous in the logs...WTF am I missing???

The port is not occupied...

View 2 Replies View Related

CSF How To Config Limit Theart When Download Direct Files

Dec 25, 2008

I have an server linux OS CentOS 5.2 and using firewall CSF. and need question.

how to limit download theart ( limit connecting when download files ) EX : 4 connecting or 8 or 16 connecting ( my Guest using soft Internet Download Manager ).

For example, my website [url]and Direct links are: [url]. how to limit theart (Connecting) when Guest download which and using soft internetdownloadmanager, flasget.

View 3 Replies View Related

Plesk 12.x / Linux :: WordPress - Cannot Access Files Via FTP

Nov 21, 2014

I have some issues access my files through FTP. I created a new FTP user, that match the domain name, so it is easy for me to terminate access if i choose to delete the domain.

I can only access / see files that i uploaded with that specific FTP user. If i install a plugin inside Wordpress, i can not access those files via FTP.

If i login via SSH, with the root user, i can see all files.

I have tried to add the FTP user to the psacln group, but no luck.

View 2 Replies View Related

Plesk 11.x / Linux :: Copying Files Between Subscriptions

Jun 4, 2014

I want to be able to copy 1000's of files from one subscription to another or rather from one domain to another on the server without having to FTP them each time. Is there a way which this can be done directly in Plesk and avoid the need to ftp the same 1000's of files into each subscription ? FTPing on my connection is really slow and takes 2-3 for each subscription / domain, whereas if I could just FTP to the server once and then copy&paste the files between subscriptions then this would save me a huge amount of time...

View 2 Replies View Related

Plesk 11.x / Linux :: Can't See Files Which Are Uploaded With Script

Mar 1, 2014

I am using a upload script for my files. After upload i cant see them on ftp but can see on panel file manager.

View 9 Replies View Related

Plesk 12.x / Linux :: Missing Files After Restore

Feb 25, 2015

After restore (without any errors) some of my files are missing from one particular domain. The files are present in the backup however, they just don't restore. In this case it is a Wordpress installation and the complete wp-content folder did not restore one one of the domains.

View 1 Replies View Related

Plesk 12.x / Linux :: How To Recover Mail Files

Mar 26, 2015

My server with Plesk 11 died a few days ago. I now have a new server with Plesk 12.

I have the entire /var folder copied up from the old server.

How do I restore emails to the new server? Can I simply copy /var/qmail/mailnames/domain.name from the backed up /var folder into the corresponding folder on the new server?

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved