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


ADVERTISEMENT

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

Config And Run LiteSpeed Webserver

Dec 6, 2008

i would like to use Litespeed webserver from my server.i installed and run Litespeed from my server. but i dont know how to config. when i start the Litespeed webserver i have an error to please install Zend. Please help me to install zend and if you know whats my need for install please help me to done.

I use cPanel - Dedicated Server
i can control the Litespeed from the cPanel WHM.

View 5 Replies View Related

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 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

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

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

How To Generate PHP Error.log Files In The Directory Of Error

Jun 15, 2008

unable to get any php5 error logs

Here are my settings in the /etc/php5/apache2/php.ini file:

display_errors = On
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
error_log = /var/log/php5/error.log

However unfortunately I never see any error log being generated in the /var/log/php5/error.log file?

Also with my shared hosting site one thing which I noticed was, due to some configurations set by them, the error.log used to generate in the folder where the error occured. This is a cool thing which they used to do, but I just dont understand how did they do that.

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

Spam Menagement On Plesk Unix

Aug 6, 2008

I have a VPS with Plesk8.1 on Unix, All my customers are complaining becaouse of daily 100-200 spam mails per acccount. What is the best software or add on for this problem you can reccomnend.

I want to :

-see the junk mails for all accounts in somewhere so i can train if there are normal mails considered as spam. (Not Spam Option)

View 1 Replies View Related

Plesk 11.x / Linux :: Unable To Generate Web Server Configuration File

Jul 18, 2015

On Plesk 11.5.30 I have just patched with SSLfix.sh. [URL] ......

When I run an ssl check I get - Certificate name mismatch

I am also getting the following message

Unable to generate the web server configuration file on the host because of the following errors:
Template_Exception: apache2: Syntax error on line 211 of /etc/apache2/apache2.conf: Syntax error on line 73 of /etc/apache2/mods-enabled/ssl.conf: </IfModule>SSLHonorCipherOrder without matching <IfModule>SSLHonorCipherOrder section

[Code] .....

View 4 Replies View Related

Plesk 12.x / Linux :: Unable To Generate Web Server Configuration File After Upgrade To V12

Jun 21, 2014

I get this error after upgrade from Parallels Plesk 11.5 for Linux to 12.0.18 (Ubuntu 12.04.4 LTS):

Template_Exception: nginx: [emerg] PEM_read_bio_X509_AUX("/opt/psa/var/certificates/certI3Fakms") failed (SSL: error:0906D064EM routinesEM_read_bio:bad base64 decode) nginx: configuration file /etc/nginx/nginx.conf test failed

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75 code: 0

Reconfigure all does not work:

web:Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all )
Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-server [1] => -no-restart )
Details: [2014-06-22 02:23:16] ERR [util_exec] proc_close() failed [2014-06-22 02:23:21] ERR [util_exec] proc_close() failed

[Code] .....

View 19 Replies View Related

Plesk 11.x / Linux :: Unable To Generate Web Server Configuration File On Host

Jun 25, 2014

version: Parallels Plesk Panel v11.5.30_build115130819.13
os: centos 6.5 (final)

I recently received this messsage from in my mailbox "Unable to generate the web server configuration file on the host <nsxxxxxxx.ovh.net>" which is coming now every hour for 4 days now.

I first tried to regenerate an apache conf file with the magic on my Centos 6:

# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

but it gives me this output:

Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart

[Code] .....

At line 10 in my server.conf file I have a bunch of ipv6 address that looks like this:

NameVirtualHost xx.xx.x.xx:80
NameVirtualHost [xxxx:xxxx:8:5b11::1000]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1001]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1002]:80

[Code] ....

View 2 Replies View Related

Plesk 12.x / Linux :: Unable To Generate Web Server Configuration File On Host

Jul 28, 2014

After the last update, I get this error:

Unable to generate the web server configuration file on the host <xxx.de> because of the following errors:

Template_Exception: nginx: [emerg] PEM_read_bio_X509_AUX("/usr/local/psa/var/certificates/certRHXRsQy") failed (SSL: error:0906D064EM routinesEM_read_bio:bad base64 decode)
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

Please resolve the errors in web server configuration templates and generate the file again.

the websites of my customer are not reachable now....

View 2 Replies View Related

Plesk 12.x / Linux :: Sites Inaccessible - Unable To Generate Web Server Configuration File

Aug 31, 2014

I have some error with my server. All my sites are inaccessible.

Code:
Template_Exception: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/opt/psa/var/certificates/cert-ao0glw") failed (SSL: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:Type=X509_ALGOR error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:Field=pkeyalg, Type=PKCS8_PRIV_KEY_INFO error:0907B00D:PEM

[Code] .....

View 2 Replies View Related

Apache Config N Plesk

Jul 22, 2009

how can i compile apache and php in a way that i want?

a customized compilation of php and apache?

will it be gone after plesk update?

or has plesk a module to work as easyapache in cpanel?

View 3 Replies View Related

VPS Config Hosteurope.de Plesk

Dec 11, 2007

What are DNS servers of He.de i mean i have domain registered elswhere and i need to enter into panel dns servers (hosteurope)

Plesk automatlcly added ns mx etc...to exampldomain.com

Ayone can explain setp by step how to do it?

What is AutoDNS Domains bearbeiten in "KIS"?

View 0 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 / Windows :: Config To Leave Coldfusion 11 Alone

Mar 3, 2015

I recently updated servers and noticed that Coldfusion 11 is not longer supported by plesk, dissapointing, but I can understand that its not used enough for plesk's attention. OK.

If plesk is going to no longer support it, how can I get it to leave Coldfusion alone and to stop applying permissions to the X:Coldfusion11 folder? If I have to connect Coldfusion to each IIS site, thats no big deal, but just want to make sure that I am safe from plesk breaking things.

View 1 Replies View Related

Plesk 11.x / Windows :: Config IIS Application Pool

Mar 19, 2015

I used Plesk11 but Aplication pool is dedicate for Subscriptions. But I want change one domain one IIS Aplication pool, please show me how to config,

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

Generate Primary Zendid

Aug 9, 2008

How can you generate a Primary Zendid?

Here is what we get:

[root@test /]# cd /usr/local/Zend/bin/
[root@test bin]# ./zendid No primary IDs was detected. Try option 'allid' to see secondary IDs.
[root@test bin]# ./zendid allid
P:K66AJ-QD99H-R55T9-8LGHW
M:5S9EX-2JC3Q-CJ4E4-KFZPV
[root@test bin]#

Can a Primary Zendid be created? And if so, how?. This is on a Centos VPS with:

PHP 5.2.5 (cli) (built: Aug 1 2008 22:54:27)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

View 1 Replies View Related

Software Used To Generate This Network Weather Map?

Dec 5, 2007

Does anyone know the software used to generate this graph? Or perhaps, similar ones?

View 1 Replies View Related







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