Git Product home page Git Product logo

engintron / engintron Goto Github PK

View Code? Open in Web Editor NEW
660.0 61.0 170.0 1.07 MB

Engintron for cPanel/WHM is the easiest way to integrate Nginx on your cPanel/WHM server. Engintron will improve the performance & web serving capacity of your server, while reducing CPU/RAM load at the same time, by installing & configuring the popular Nginx webserver to act as a reverse caching proxy in front of Apache.

Home Page: https://engintron.com

License: GNU General Public License v2.0

Shell 20.14% PHP 14.15% C 3.86% Perl 61.85%
nginx whm cpanel plugin gui engintron reverse-caching-proxy micro-caching apache bash php node nodejs node-js proxy proxy-server nginx-proxy

engintron's Introduction

Engintron

Engintron for cPanel/WHM is the easiest way to integrate Nginx on your cPanel/WHM server. Engintron will improve the performance & web serving capacity of your server, while reducing CPU/RAM load at the same time. It does that by installing & configuring the popular Nginx webserver to act as a reverse caching proxy for static files (like CSS, JS, images etc.) with an additional micro-cache layer to significantly improve performance of dynamic content generated by CMSs like WordPress, Joomla or Drupal as well as forum software like vBulletin, phpBB, SMF or e-commerce solutions like WooCommerce, Magento, OpenCart, PrestaShop and others.


Engintron v2.2 (Build 20231114) / Updated on November 14th, 2023

Please have a look at the CHANGELOG for additional information.

Quick Links: Engintron.com | Documentation | Support & Feedback | Newsletter | Follow on Twitter or Facebook


Engintron v2 WHM App (kudos to Anthony Boyd Graphics for the IBM Desktop mockup)

Engintron is Nginx on cPanel, done right!

Nginx® is a powerful open source web server that was built to scale websites to millions of visitors. cPanel® is the leading hosting control panel worldwide.

Engintron integrates Nginx into cPanel so you can enjoy amazing performance for your sites, without having to sacrifice important hosting features found in cPanel.

And best of all? Engintron is totally free to use!

But why should you use Nginx in your cPanel server?

cPanel uses the Apache webserver to serve websites by default. Apache however is not known to perform well under heavy web traffic (especially traffic spikes) and it's also CPU/RAM hungry. So how can you mitigate these issues? The answer is simple: by installing Engintron, which deploys Nginx (the most popular web server software) as a reverse caching proxy in front of Apache.

Nginx will then directly serve all static assets like CSS, JS, images etc. instead of Apache & also add a 1 second micro-cache layer to significantly improve performance for dynamic HTML content generated by CMSs (like WordPress, Joomla, Drupal), forum software (like vBulletin, phpBB, SMF) or e-commerce software (like WooCommerce, Magento, OpenCart, PrestaShop) & generally any dynamic web application that is hosted on your cPanel server. Subsequently, this will significantly reduce the CPU/RAM resources consumed by Apache (and PHP, Ruby, Node.js etc.), leaving your server with more available resources for other tasks or, better still, with room for more websites to host.

The way Engintron sets up Nginx inside your cPanel is a lot like how the popular CloudFlare CDN works. Nginx (like CloudFlare) directly serves all static content like CSS, JS, images etc. instead of your actual web server, thus lowering the load on your cPanel server. But unlike CloudFlare which requires that all your domains are set up with that service, you do everything inside your cPanel server. And better still? You also get to have an additional caching layer for dynamic HTML content for when your traffic spikes. And not just for select websites, but for your entire server!

This additional caching layer (the 1 second micro-cache as previously mentioned) will only cache GET & HEAD requests (never POST requests) which means that it is possible to use it on any type of website, either a small dynamic WordPress or Joomla corporate website or blog to a more complex news portal or forum or e-commerce websites that require users to log in (to post content or shop).

Engintron is therefore ideal for any type of website and it can raise the number of concurrent requests served by your cPanel server from a few hundred per second (using just Apache) to thousands (using Nginx in front of Apache).

Not only will your serving capacity increase, but the load on your server will also significantly drop :)

If you are facing performance issues with your cPanel server, Engintron is your go-to solution. And in fact it's really a "set & forget" solution as you'll set it up once and then it will just run on your server without any additional maintenance on your side.

If you can sign up for a cPanel/WHM server on any hosting company and work your way through WHM, then setting up Engintron should be a piece of cake for you. If you don't manage your cPanel server, then you can always (kindly) ask your hosting company or system administrator to have a look at Engintron and deploy it on your cPanel server. It really only takes a few minutes and there is zero configuration afterwards to get the standard optimizations offered by Nginx.

OK, I'm sold! How do I install Engintron on my cPanel server?

Installation is a process that lasts only a few minutes.

You'll need root SSH access to your cPanel server. Also check the current requirements (listed lower).

If everything is ok, log in as root and type the following command:

curl -sSL https://raw.githubusercontent.com/engintron/engintron/master/engintron.sh | bash -s -- install

If cURL is not available on your system, you can use wget like so:

wget --no-check-certificate -O - https://raw.githubusercontent.com/engintron/engintron/master/engintron.sh | bash -s -- install

The process will take a couple of minutes to complete and after that, Engintron will be installed on your cPanel server. Engintron has a nice & simple user interface which is activated inside WHM, under the Plugins section. After installation, refresh WHM in your browser and you should see Engintron in the Plugins section (it's the absolute last section in WHM's sidebar).

In there, you'll find basic options to control Nginx, Apache and MySQL, all in one convenient place. Additionally, you can edit all of Nginx's configuration files (as well as some from Apache & MySQL) to get even more from Engintron (e.g. configure Engintron for use with CloudFlare). If however all you want is to accelerate both static & dynamic content delivery, then Engintron is already setup for you and you don't need to do anything more.

Inside the Engintron app dashboard you'll also find some handy small utilities that make managing your server more productive.

And if for some reason you find that Engintron does not meet your needs, you can always uninstall it and it will revert your system as it were, before you installed Engintron in the first place.

For more information regarding setup & configuration, release changelog, FAQ as well as cPanel/server optimization guides & more please visit the project's documentation pages at: https://engintron.com/docs/

Worth reading

Engintron_v2_20220103_2048x1072


GENERAL RESOURCES

Compatibility & Requirements

Engintron is tested only on platforms that are actively supported by cPanel itself.

As such, as of January 2022, Engintron is fully compatible with CentOS 6 with CloudLinux (the only actively supported Enterprise Linux variant by cPanel as CentOS 6 is officially EOL since 2020), CentOS 7 and all cPanel-certified EL 8 variants (officially only AlmaLinux 8 is supported). Should cPanel add official support for other EL 8 variants (e.g. Rocky Linux, Oracle Linux or EuroLinux), Engintron will just work.

cPanel also added support for Ubuntu in 2022. Engintron will be updated to work on Ubuntu in the coming version 3.

Documentation

For more information regarding setup & configuration, release changelog, FAQ as well as cPanel/server optimization guides & more please visit the project's documentation pages at: https://engintron.com/docs/

Support & Feedback

For support or general feedback (feature requests, suggestions etc.) head over to the project's issue tracker: https://github.com/engintron/engintron/issues (GitHub Issues)

License

Engintron is released under the GNU/GPL license.


ENGINTRON ELSEWHERE

Social

You can follow Engintron on Twitter or Facebook.

Newsletter / Mailing List

It's easy to miss an Engintron update on social media. If you want to know for sure when the latest version of Engintron is released, sign up here https://tinyletter.com/engintron to get notified directly to your inbox. We will never spam you.

cPanel Applications Directory

If you use Engintron, please take a moment to post a review and/or rating in the cPanel Applications Directory at: https://applications.cpanel.com/listings/view/Engintron-Nginx-on-cPanel


COMMERCIAL SUPPORT & SERVER OPTIMIZATION SERVICES

Engintron will greatly improve your cPanel server's performance, but it will only get you halfway through to what your hardware can actually support, especially when all crucial server components like Apache, MySQL/MariaDB or PHP use "stock" configurations (or worse, badly optimized configurations), unsuitable for your server's hardware specifications.

And although we do provide optimization guides in the Engintron documentation site (see "BEYOND ENGINTRON - OPTIMIZATION GUIDES" here https://engintron.com/docs/), it takes experience to fine tune any configuration to match a server's specifications.

The performance optimization package we offer involves tuning the most essential services:

  • Apache, MySQL/MariaDB and PHP
  • the system's network throughput and disk I/O
  • installing a new optimized EasyApache 4 profile with support for PHP versions 5.6, 7.x and 8.x & switching the server to PHP-FPM exclusively while setting up caching options like APCu, Opcache & Memcached (with support for PHP code)
  • properly configuring the server's firewall for basic DoS protection

At the end you get a full report of what has been optimized.

So, if you wish to go the "extra mile" and optimize your cPanel server both through Engintron as well as through the services that directly affect the server's performance, feel free to use the contact options from within Engintron's WHM app to get in touch with us. Or you can simply email us at: engintron [at] gmail [dot] com


Copyright © 2014 - 2023 Kodeka OÜ

engintron's People

Contributors

fevangelou avatar hluaces avatar laracroftonline avatar negrusti avatar shakaran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

engintron's Issues

XMLRPC attack Mitigation

In the previous version of engintron, I used to mitigate xmlrpc attack by placing the below line within the server {} configuration block in vhosts file of the target domain

if ($http_user_agent ~ WordPress) { return 444; }

Now as the individual vhosts are removed in the latest version of engintron, where do I need to place that code to prevent XMLRPC attack?

Expires 1d to longer?

Hey There,

Love Engintron! Absolutely the best way to install NGINX on cPanel.

One question, is there a way to set the default Expires for CSS/JS/HTML files to longer than 1d?

Generally found in the /etc/nginx/.conf:

location ~* \.(htm|html|css|js)(\?[0-9a-zA-Z]+)?$ {
expires 1d
....

Is there a way to default the Expires?
Thanks and great work!

Some updates for the future

I'm not sure is it the right place for some feature requests. This is my firs post in GitHub.
I have tried the plugin and it is almost excellent and the features which will be good to see in the future is:

  1. Page-mod speed included or option to choose on installation, I installed it as Apache module at the moment but it doesn't work, maybe because static files are handled by nginx.
  2. Each cache to be in it's own virtual host folder. I want to use it on WordPress sites and I don't like cache plugins, so it will be excellent if each cache is in it's own folder and with simple plugin from WP to be able to purge the cash.
    Also I found a tutorial on http://www.djm.org.uk/wordpress-nginx-reverse-proxy-caching-setup/ which can help for better optimization for WordPress or even Joomla like sites.

Worker Processes / CPU Core Detection

I notice that worker_processes currently defaults to '2' with a note that this should be set to the number of CPU cores available. Obviously with a hard-coded value of 2 this is something that needs to be changed manually.

It would be great if this could be set dynamically on installation? Should be easy to do with something like this:

cat /proc/cpuinfo | grep processor | wc -l

is APC required?

Is APC required to make this work? From the research I've done, this module is hardly updated or even supported. It seems everyone is moving towards zend opcache and thats what I have enabled on my server.

Engintron removal bug

After removing Engintron Apache doesn't switch back to port 80 but still stays at port 8081 (I had to do this manually editing the /var/cpanel/cpanel.config file).

Munin Apache Accesses Graph Blank After Install

Might need to change the munin apache* plugins to read from the custom Apache port number you set as its not 80.

Would be good to do this on installation (As you dont actually tell me what the new apache port is, you just do it) or provide instructions to change the plugin manually (or overide its configuration which is the preferred configuration of munin so that changes are not lost on munin-plugins update/upgrade - somthing like adding the following to /etc/munin/plugin-conf.d/cpanel.conf:

`[apache_status]

env.ports 8081
env.label 8081`

screen shot 2014-04-17 at 10 08 13

Engintron - K2 - Joomla - Frontend Login

Hi,
I use engintron and I 'm very pleased on performance of my server and on my website too.

I use Joomla 2.5.22 with K2 2.6.7 and SocialConnect 1.5.1 and I have some problems with cache on login.
When I login the system does not recognize the session I thought.

Is any method to exclude some url patterns or some components to use the cache of nginx using engintron?

Thanks.

[Question] Exclude vhost from nginx

Hi, i'm about to test your app, after testing "others" methods of install nginx in cPanel.
Is there a way to exclude a site/vhost from nginx ?

In previous installs with nginx some Joomla sites had issues behind nginx ( from apache were served just fine)

Problem with domain

Hello , After we used your plugin we got a problem with IP. When ever we print IP in PHP , it will display Server's IP. Any work around to fix this?

Wildcard hosts don't work

Hi,

Wildcard Apache hosts fail -

root@server [/etc/nginx/conf.d]# service nginx restart nginx: [emerg] invalid server name or wildcard "www.*.example" on XXX.XXX.XXX.XX:80 nginx: configuration file /etc/nginx/nginx.conf test failed

Hope you can help with this!

Default port not set back after uninstall

Hi guys,

First of all great job on this plugin! I really liked it! I had to uninstall it for some work on my server, when I uninstalled your plugin I noticed my http connections were failing, I got a "this webpage is not available" notice. First I was like WTF, because the HTTPS connections where doing fine!
When I took a closer look into my httpd.conf file, I noticed al the http ports (normally port 80) were still on port 8081... I replaced all the 8081 to 80 and then everything worked fine again!

Just to let you know!

Yours,

Bananenbaas

autoindex

Hi,

Thanks for the great product!
I have issue with nginx's autoindex module. It seems by default autoindex is started, but how can I disable it, because when I create new account from cpanel, and then open the url, it shows me : Index of / and lists all directories. This is when I don't have index.html/php ofcourse.

I tried to put autoindex off; in html/server section but with no luck.

Thanks in advance.

Regards,
Nikolay

word press wp-login problem

Hello,

I installed engintron plugin for WHM to WHM version 11.46.0 (build 15).

After that they started at all sites problems with logging on Word Press admin panel.

I get an error: ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.

After all the tricks on the internet, please here to help.

Thanks in advance,

Dario

Engintron installed system

I just made the installation of the system in my cpanel, and I will monitor the use and the difference between apache and nginx. The instalção occurred perfectly without any errors. Using Cpanel + ebs of amazom.

Marcelo Caxambu
CTO - Irati Telecomunicações
Brazil

Websites stopped working

Installed it on my cpanel, the vhosts got rebuild, websites stopped working. After uninstall had to rebuild my server to get the websites back

SSL WHM

Hello,
There is an "issue" when I logn WHM panel with https.
When open WHM - Plugins - Engintron - it show only "Only secured content will be showed"
The cause of the problem is that css files are loaded from a server without SSL.

Uninstall leaves cPanel httpd dead

I installed and removed, it leaves apache un usable and un connectable after uninstalling on latest RELEASE of cpanel.

Says removal went great, so be aware you will have to reconfigure lots of things on your cpanel server to have it work properly after removing this script.

Not visible in Cpanel after installation.

Where can I locate this in Cpanel? Since is running already but I am not able to locate it in Cpanel.

root@panel [/usr/local/apache/conf]# curl -I http://highpassion.ch
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 27 Sep 2014 05:39:24 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 154900
Connection: keep-alive
Vary: Accept-Encoding
X-Powered-By: PHP/5.5.17
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Pingback: http://highpassion.ch/xmlrpc.php
Link: http://highpassion.ch/; rel=shortlink
Set-Cookie: _icl_current_language=de; expires=Sun, 28-Sep-2014 05:39:20 GMT; Max-Age=86400; path=/
Set-Cookie: PHPSESSID=394eee8c8d942dsa062sa02749e56cfb3b4; path=/
X-Mod-Pagespeed: 1.8.31.4-4056
Vary: Accept-Encoding
Cache-Control: max-age=0, no-cache
X-Cache: MISS

Restarted Apache as well

subdomains/parked domains (not using public_html) root folder and vhosts

I just found this and i have a few questions after reading the install script.

According to the install script, if i have a subdomain that uses a different root folder (ex: /home/user/sites/subdomain.domain.org) that subdomain won't actually work, as your script does a for and gets the DNS for the user that are located in /var/cpanel/users.

I think the script should actually do a search in the userdata, and get the documentroot.

I think this could actually work, by doing something like:

cd /var/cpanel/users
for USER in *; do
    for DOMAIN in `cat $USER | grep ^DNS | cut -d= -f2`; do
        IP=`cat $USER|grep ^IP|cut -d= -f2`;
        ROOT=`grep ^$USER: /etc/passwd|cut -d: -f6`;
        DOMROOT=`cat /var/cpanel/userdata/$USER/$DOMAIN | grep documentroot | cut -d: -f2 | sed -e "s/ //g"`;
done
done

And now $DOMROOT actually contains the document root. However, since for example PARKED domains are placed on TOP of main domain of the account, this should also actually rely on the FIRST DNS= line (not DNS=1, DNS=2..etc -- ie: mycooldomain.org) to actually detect the PARKED domain (ie: anothercool.org) which should probably be set as parked-domain (without .com, .net, .org..etc) .MAIN-DNS (ie: anothercool.mycooldomain.org).

A Couple of Questions : Silverstripe & whm-server-status

The speed difference with nginx is incredible. I had to unfortunately uninstall it due to one of my clients 'admin' sections not being accessible. To that end, I would much rather run this than not.

Question/Issue 1:
The site in question uses SilverStripe (albeit an older version) which has issues with nginx. I did find some rules of sorts for nginx/fast_cgi and was wondering if you could help me understand (or better translate) their rules into what would work for your version in engintron.

https://gist.github.com/chtombleson/8703899

Question/Issue 2:
I've noticed that I can no longer access whm-server-status from command line:
$ lynx localhost/whm-server-status

In the error logs it mentions a 404 from trying to access it from another location, such as a default nginx/htdocs location (the exact path alludes me at the moment). How can this be restored, as the only way currently to see server-status is from within WHM itself.

Thanks!

Logging Disabled

It seems that you've disabled the access_log within nginx for individual sites. This is a huge problem on cPanel because not only are assets not being logged at all, which effectively breaks statistics software, the bandwidth calculations of cPanel are reliant on correct logging and as such are now inaccurate.

Can you please resolve this?

Problem with uninstall

When I try to uninstall the engintron my server apache does not work. I have run the uninstall sh command. I something else that I have to do?
Thanks.

Sync Ngninx with apache hosts will remove already modified .conf files

Hello,
First of all thank you so much for this great tool, it did a tremendous impact on my sites.
However I was writing a custom cookie code for one domain, but I was surprised it get deleted whenever I sync with apache.

I rarely add new domains but I just forget sometimes that it delete modified configurations when I sync.
Also I think a simpler solution is to add it to proxy.conf but I think the check is not needed for the other domains.
Is it possible to sync only new domains when doing the check?

Thank you

dynamic cache....

How does the dynamic cache works?

In stack overflow,i know they use an technique,they cache everything ,and when an user post an new post,the whole system only have to cache that post,and not the whole other post,for example if you have forum with 200 post,practically the cache will have to cache only the 201 post,as the other 200 are already cached.

This is very smart and take alot of pressure from the cpu,ram,etc .

How is the dynamic cache from nginx act and works ?Is working practically the same way for dynamic content ?Or haves an way to work smart ?

In order that dynamic websites to load also fast.Not only static or guest websites to load fast.

Description typo?

I noticed in your description you have ...
"But there is one specific drawback to using Nginx in reverse caching proxy mode, the way it's installed by default via Engintron: it does work at all with user generated content in your site's frontend, or at least without modifying Nginx's rules for your domain"

I presume its a typo and the word "NOT " missing, i.e. ...

But there is one specific drawback to using Nginx in reverse caching proxy mode, the way it's installed by default via Engintron: it does NOT work at all with user generated content in your site's frontend, or at least without modifying Nginx's rules for your domain

Installed fine yet this is in error log.

2014/09/27 07:25:01 [error] 19505#0: *51 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 07:30:01 [error] 19505#0: *56 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 07:35:01 [error] 19505#0: *63 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 07:40:01 [error] 19505#0: *75 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 07:45:01 [error] 19505#0: *82 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 07:50:01 [error] 19505#0: *97 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 07:55:02 [error] 19505#0: *115 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 08:00:01 [error] 19505#0: *152 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 08:05:01 [error] 19505#0: *162 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 08:09:57 [error] 19505#0: *178 open() "/usr/share/nginx/html/manager/html" failed (2: No such file or directory), client: 74.208.173.136, server: localhost, request: "GET /manager/html HTTP/1.1", host: "80.85.86.97:80"
2014/09/27 08:10:01 [error] 19505#0: *179 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 08:10:06 [error] 19505#0: *180 open() "/usr/share/nginx/html/manager/html" failed (2: No such file or directory), client: 74.208.173.136, server: localhost, request: "GET /manager/html HTTP/1.1", host: "80.85.86.104:80"
2014/09/27 08:15:01 [error] 19505#0: *193 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 08:20:01 [error] 19505#0: *197 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 08:22:46 [error] 19507#0: *203 open() "/usr/share/nginx/html/fafa/faf/fa.php" failed (2: No such file or directory), client: 140.130.142.18, server: localhost, request: "GET /fafa/faf/fa.php HTTP/1.1", host: "80.85.86.97"
2014/09/27 08:22:47 [error] 19507#0: *204 open() "/usr/share/nginx/html/phpMyAdmin/scripts/setup.php" failed (2: No such file or directory), client: 140.130.142.18, server: localhost, request: "GET /phpMyAdmin/scripts/setup.php HTTP/1.1", host: "80.85.86.97"
2014/09/27 08:22:48 [error] 19507#0: *205 open() "/usr/share/nginx/html/pma/scripts/setup.php" failed (2: No such file or directory), client: 140.130.142.18, server: localhost, request: "GET /pma/scripts/setup.php HTTP/1.1", host: "80.85.86.97"
2014/09/27 08:22:49 [error] 19507#0: *206 open() "/usr/share/nginx/html/myadmin/scripts/setup.php" failed (2: No such file or directory), client: 140.130.142.18, server: localhost, request: "GET /myadmin/scripts/setup.php HTTP/1.1", host: "80.85.86.97"
2014/09/27 08:25:01 [error] 19507#0: *209 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 08:30:01 [error] 19507#0: *215 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 08:35:01 [error] 19507#0: *222 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 08:40:01 [error] 19507#0: *230 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 08:45:01 [error] 19507#0: *296 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 08:50:01 [error] 19507#0: *306 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/09/27 09:20:18 [error] 24787#0: *64 open() "/usr/share/nginx/html/robots.txt" failed (2: No such file or directory), client: 192.99.39.79, server: localhost, request: "GET /robots.txt HTTP/1.1", host: "www.uhl-services.info"

mod_rpaf doesn't compile if using Apache 2.4

When executing engintron.sh on a cPanel server running Apache 2.4, you will notice that the mod_rpaf module will fail to compile.

/usr/local/apache/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -m64 -fPIC -DPIC  -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/local/apache/include  -I/usr/local/apache/include   -I/usr/local/apache/include   -c -o mod_rpaf-2.0.lo mod_rpaf-2.0.c && touch mod_rpaf-2.0.slo
mod_rpaf-2.0.c: In function 'rpaf_cleanup':
mod_rpaf-2.0.c:150: error: 'conn_rec' has no member named 'remote_ip'
mod_rpaf-2.0.c:151: error: 'conn_rec' has no member named 'remote_addr'
mod_rpaf-2.0.c:151: warning: implicit declaration of function 'inet_addr'
mod_rpaf-2.0.c:151: error: 'conn_rec' has no member named 'remote_ip'
mod_rpaf-2.0.c: In function 'change_remote_ip':
mod_rpaf-2.0.c:164: error: 'conn_rec' has no member named 'remote_ip'
mod_rpaf-2.0.c:183: error: 'conn_rec' has no member named 'remote_ip'
mod_rpaf-2.0.c:186: error: 'conn_rec' has no member named 'remote_ip'
mod_rpaf-2.0.c:187: error: 'conn_rec' has no member named 'remote_addr'
mod_rpaf-2.0.c:187: error: 'conn_rec' has no member named 'remote_ip'
apxs:Error: Command failed with rc=65536

This can be fixed by replacing remote_ip with client_ip and remote_addr with client_addr.

Cache Issue

On one of my web servers I have a caching issue where I have to clean up Nginx cache & temp files on Enintron in order for the latest changes on websites to appear. What can I do to fix this?

problem with xenforo sessions

running latest WHM / Apache + memcached on a different host. installed engintron, everything rockets along, then users logged into my xenforo forum started showing up under other logged-in users' sessions, gaining full access to the other person's account. Including mine. Not good. Unsure if the problem affected other session stuff.

Vhosts Cleanup

In the sync_vhosts function, configuration files for non-existent (previously removed) domains are not being removed. An easy fix/cleanup to this may be the following at the start of the function?

rm -f /etc/nginx/conf.d/*.conf

Automated Sync / cPanel Hooks

Interesting project, thanks for your development!

Just a question/thought, would it not make more sense to add an integrated cPanel hook so that nginx can automatically resync its domains based on account creation/removal via cPanel, rather than have to rely on a manual update process?

whm-server-status

Installed Perfectly - only logged error is:

2014/04/17 09:25:02 [error] 2927#0: *21752 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status?auto HTTP/1.1", host: "127.0.0.1:80"
2014/04/17 09:30:02 [error] 2926#0: *22013 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/04/17 09:30:02 [error] 2926#0: *22016 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status?auto HTTP/1.1", host: "127.0.0.1:80"
2014/04/17 09:30:03 [error] 2926#0: *22017 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status?auto HTTP/1.1", host: "127.0.0.1:80"
2014/04/17 09:35:02 [error] 2927#0: *22275 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status HTTP/1.0"
2014/04/17 09:35:02 [error] 2927#0: *22276 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status?auto HTTP/1.1", host: "127.0.0.1:80"
2014/04/17 09:35:02 [error] 2927#0: *22277 open() "/usr/share/nginx/html/whm-server-status" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /whm-server-status?auto HTTP/1.1", host: "127.0.0.1:80"

"Sync Nginx with Apache vhosts" not working

I changed the IP of a domain, then ran "Sync Nginx with Apache vhosts" and restarted NginX and Apache but my domain page is showing "Welcome to nginx" so it appears that synching is not working, what is the manual steps I need to take to get my websites back

Roadmap engintron or milestones

Maybe we can build an road map,or some milestones here for this project.

What do you say ?

To have for 1.6 implementation gui for opcache ,1.7 implementation gui APCU ,etc

Just an example.

In order to put things in order,and have an progress.
p.s:You should call it ENGINETRON ,if possible,engintron seems like an E missing!EngineTron sounds more better,just my opinion.

After removal all sites crashed

I just installed it, and removed it after doing so all sites simply crashed. And none are working. Anything about such issues anyone? Centos 6.5 with Latest version of Cpanel using it here.

enginx will not start up due to issues with wildcard domains

I have engintron installation completed but I am unable to start nginx - error message is "invalid server name or wildcard "www.*.first-specific-domain.com" on 142.0.NN.nnn:80

I removed the wildcard setup for that specific domain, resync nginx with Apache and tried to restart nginx it got me past the original error with first-specific-domain.com but now I am getting same wildcard error message on a different domain.

It seems that any domains I have using wildcard will prevent nginx starting - On some domains I need to have wildcard, is there a fix I can apply to resolve this?

Thanks

Unable to build on Centos 7 with latest WHM

Hello, I get this when I try to install it in Centos 7

root@panel [~/uhlhosting]# sh engintron.sh install
chmod: cannot access ‘/engintron.sh’: No such file or directory

 ****************************************************
 *               Installing Engintron               *
 ****************************************************

=== Let's upgrade our system first ===

Loaded plugins: fastestmirror, remove-with-leaves, tsflags, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4: 85.13.201.2
 * base: mirror0.babylon.network
 * elrepo: elrepo.reloumirrors.net
 * epel: mirror0.babylon.network
 * extras: mirror0.babylon.network
 * ius: mirror.amsiohosting.net
 * updates: mirror0.babylon.network
No packages marked for update
Loaded plugins: fastestmirror, remove-with-leaves, tsflags, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4: 85.13.201.2
 * base: mirror0.babylon.network
 * elrepo: elrepo.reloumirrors.net
 * epel: mirror0.babylon.network
 * extras: mirror0.babylon.network
 * ius: mirror.amsiohosting.net
 * updates: mirror0.babylon.network
No packages marked for update

=== Installing dependencies ===
Loaded plugins: fastestmirror, remove-with-leaves, tsflags, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4: 85.13.201.2
 * base: mirror0.babylon.network
 * elrepo: elrepo.reloumirrors.net
 * epel: mirror0.babylon.network
 * extras: mirror0.babylon.network
 * ius: mirror.amsiohosting.net
 * updates: mirror0.babylon.network
Package pcre-8.32-15.el7.x86_64 already installed and latest version
Package pcre-devel-8.32-15.el7.x86_64 already installed and latest version
Package zlib-devel-1.2.7-15.el7.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.1e-51.el7_2.2.x86_64 already installed and latest version
Nothing to do

=== Adding official Nginx repos for CentOS ===

=== Installing mod_remoteip for Apache ===
--2016-01-31 19:39:59--  https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/metadata/mod_remoteip.c
Resolving svn.apache.org (svn.apache.org)... 160.45.251.2, 209.188.14.144
Connecting to svn.apache.org (svn.apache.org)|160.45.251.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16326 (16K) [text/plain]
Saving to: ‘mod_remoteip.c’

100%[==================================================================================================================================================================================================>] 16,326      --.-K/s   in 0.02s

2016-01-31 19:39:59 (715 KB/s) - ‘mod_remoteip.c’ saved [16326/16326]

cannot open /usr/local/apache/build/config_vars.mk: No such file or directory at /usr/bin/apxs line 203.

=== Get system IPs ===
Redirecting to /bin/systemctl stop  httpd.service

=== Updating Apache configuration to include mod_remoteip ===
Redirecting to /bin/systemctl start  httpd.service

=== Merge changes in cPanel Apache configuration ===
info [apache_conf_distiller] Missing IP for domain panel.uhlhosting.ch, using 151.80.200.229
info [apache_conf_distiller] Missing ServerName for domain panel.uhlhosting.ch, using panel.uhlhosting.ch
info [apache_conf_distiller] Missing port for domain panel.uhlhosting.ch, using 80
info [apache_conf_distiller] Missing user for domain panel.uhlhosting.ch, using nobody
info [apache_conf_distiller] Missing owner for domain panel.uhlhosting.ch, force lookup to root
info [apache_conf_distiller] Missing group for domain panel.uhlhosting.ch, using nobody
warn [apache_conf_distiller] Unable to determine domain 151.80.200.229 ownership. Attempting lookup on domain 80.200.229 (manually added domain).
warn [apache_conf_distiller] Unable to determine domain 151.80.200.229 ownership. Setting user to 'nobody'.
Distilled successfully
info [rebuildhttpdconf] Missing IP for domain panel.uhlhosting.ch, using 151.80.200.229
info [rebuildhttpdconf] Missing ServerName for domain panel.uhlhosting.ch, using panel.uhlhosting.ch
info [rebuildhttpdconf] Missing port for domain panel.uhlhosting.ch, using 80
info [rebuildhttpdconf] Missing user for domain panel.uhlhosting.ch, using nobody
info [rebuildhttpdconf] Missing owner for domain panel.uhlhosting.ch, force lookup to root
info [rebuildhttpdconf] Missing group for domain panel.uhlhosting.ch, using nobody
Built /etc/apache2/conf/httpd.conf OK

=== Switch Apache to port 8081 ===

=== Distill changes in cPanel Apache configuration and restart Apache ===
info [apache_conf_distiller] Missing IP for domain panel.uhlhosting.ch, using 151.80.200.229
info [apache_conf_distiller] Missing ServerName for domain panel.uhlhosting.ch, using panel.uhlhosting.ch
info [apache_conf_distiller] Missing port for domain panel.uhlhosting.ch, using 8081
info [apache_conf_distiller] Missing user for domain panel.uhlhosting.ch, using nobody
info [apache_conf_distiller] Missing owner for domain panel.uhlhosting.ch, force lookup to root
info [apache_conf_distiller] Missing group for domain panel.uhlhosting.ch, using nobody
warn [apache_conf_distiller] Unable to determine domain 151.80.200.229 ownership. Attempting lookup on domain 80.200.229 (manually added domain).
warn [apache_conf_distiller] Unable to determine domain 151.80.200.229 ownership. Setting user to 'nobody'.
Distilled successfully
info [rebuildhttpdconf] Missing IP for domain panel.uhlhosting.ch, using 151.80.200.229
info [rebuildhttpdconf] Missing ServerName for domain panel.uhlhosting.ch, using panel.uhlhosting.ch
info [rebuildhttpdconf] Missing port for domain panel.uhlhosting.ch, using 8081
info [rebuildhttpdconf] Missing user for domain panel.uhlhosting.ch, using nobody
info [rebuildhttpdconf] Missing owner for domain panel.uhlhosting.ch, force lookup to root
info [rebuildhttpdconf] Missing group for domain panel.uhlhosting.ch, using nobody
Built /etc/apache2/conf/httpd.conf OK
Redirecting to /bin/systemctl restart  httpd.service

=== Install Nginx from official repositories ===
Loaded plugins: fastestmirror, remove-with-leaves, tsflags, universal-hooks
nginx                                                                                                                                                                                                                | 2.9 kB  00:00:00
nginx/7/x86_64/primary_db                                                                                                                                                                                            | 7.9 kB  00:00:00
Loading mirror speeds from cached hostfile
 * EA4: 85.13.201.2
 * base: mirror0.babylon.network
 * elrepo: elrepo.reloumirrors.net
 * epel: mirror0.babylon.network
 * extras: mirror0.babylon.network
 * ius: mirror.amsiohosting.net
 * updates: mirror0.babylon.network
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 1:1.8.1-1.el7.ngx will be installed
--> Processing Conflict: ea-apache24-2.4.18-1.1.x86_64 conflicts webserver
--> Finished Dependency Resolution
Error: ea-apache24 conflicts with 1:nginx-1.8.1-1.el7.ngx.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

=== Updating Nginx configuration ===
engintron.sh: line 171: /etc/nginx/proxy.conf: No such file or directory
cp: cannot stat ‘/etc/nginx/nginx.conf’: No such file or directory
engintron.sh: line 212: /etc/nginx/nginx.conf: No such file or directory

=== Registering Nginx as a service... ===
error reading information on service nginx: No such file or directory

=== Check default Nginx webroot and fix if necessary... ===
--2016-01-31 19:40:23--  https://raw.githubusercontent.com/nuevvo/engintron/master/usr/share/nginx/html/index.html
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.31.18.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.31.18.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 612 [text/plain]
Saving to: ‘index.html’

100%[==================================================================================================================================================================================================>] 612         --.-K/s   in 0s

2016-01-31 19:40:23 (166 MB/s) - ‘index.html’ saved [612/612]

--2016-01-31 19:40:23--  https://raw.githubusercontent.com/nuevvo/engintron/master/usr/share/nginx/html/50x.html
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.31.18.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.31.18.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 537 [text/plain]
Saving to: ‘50x.html’

100%[==================================================================================================================================================================================================>] 537         --.-K/s   in 0s

2016-01-31 19:40:23 (164 MB/s) - ‘50x.html’ saved [537/537]


=== Check if the default vhost exists and fix if necessary... ===
engintron.sh: line 297: cd: /etc/nginx/conf.d/: No such file or directory
--2016-01-31 19:40:23--  https://raw.githubusercontent.com/nuevvo/engintron/master/etc/nginx/conf.d/default.conf
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.31.18.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.31.18.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1235 (1.2K) [text/plain]
Saving to: ‘default.conf’

100%[==================================================================================================================================================================================================>] 1,235       --.-K/s   in 0s

2016-01-31 19:40:23 (353 MB/s) - ‘default.conf’ saved [1235/1235]


=== Restart Nginx... ===
Redirecting to /bin/systemctl reload  nginx.service
Failed to reload nginx.service: Unit nginx.service failed to load: No such file or directory.

=== Let's cleanup old vhosts first... ===

engintron.sh: line 313: cd: /etc/nginx/conf.d/: No such file or directory
Generating Nginx vhost uhl-services.ch (in IP 151.80.200.229) for user chuhlservices
engintron.sh: line 327: /etc/nginx/conf.d/uhl-services.ch.conf: No such file or directory
Generating Nginx vhost sap.uhl-services.ch (in IP 151.80.200.229) for user chuhlservices
engintron.sh: line 327: /etc/nginx/conf.d/sap.uhl-services.ch.conf: No such file or directory
Generating Nginx vhost dubat.party (in IP 151.80.200.229) for user dubat
engintron.sh: line 327: /etc/nginx/conf.d/dubat.party.conf: No such file or directory
Generating Nginx vhost highacid.com (in IP 151.80.200.229) for user highacid
engintron.sh: line 327: /etc/nginx/conf.d/highacid.com.conf: No such file or directory
Generating Nginx vhost highpassion.ch (in IP 151.80.200.229) for user highpassion
engintron.sh: line 327: /etc/nginx/conf.d/highpassion.ch.conf: No such file or directory
Generating Nginx vhost idleslidegloves.com (in IP 151.80.200.229) for user idleslidegloves
engintron.sh: line 327: /etc/nginx/conf.d/idleslidegloves.com.conf: No such file or directory
Generating Nginx vhost im-corona.ch (in IP 151.80.200.229) for user imcorona
engintron.sh: line 327: /etc/nginx/conf.d/im-corona.ch.conf: No such file or directory
Generating Nginx vhost kuehlraum.ch (in IP 151.80.200.229) for user kuehlraum
engintron.sh: line 327: /etc/nginx/conf.d/kuehlraum.ch.conf: No such file or directory
Generating Nginx vhost maexont.com (in IP 151.80.200.229) for user maexont
engintron.sh: line 327: /etc/nginx/conf.d/maexont.com.conf: No such file or directory
Generating Nginx vhost nastrome.com (in IP 151.80.200.229) for user nastrome
engintron.sh: line 327: /etc/nginx/conf.d/nastrome.com.conf: No such file or directory
Generating Nginx vhost naturama.at (in IP 151.80.200.229) for user naturama
engintron.sh: line 327: /etc/nginx/conf.d/naturama.at.conf: No such file or directory
Generating Nginx vhost highpassion.eu (in IP 151.80.200.229) for user passionhigh
engintron.sh: line 327: /etc/nginx/conf.d/highpassion.eu.conf: No such file or directory
Generating Nginx vhost sr-isoliertechnik.ch (in IP 151.80.200.229) for user srisoliertechnik
engintron.sh: line 327: /etc/nginx/conf.d/sr-isoliertechnik.ch.conf: No such file or directory
Generating Nginx vhost xn--tabakldeli-v5a.ch (in IP 151.80.200.229) for user tabakladeli
engintron.sh: line 327: /etc/nginx/conf.d/xn--tabakldeli-v5a.ch.conf: No such file or directory
Generating Nginx vhost tabaklaedeli.ch (in IP 151.80.200.229) for user tabaklaedeli
engintron.sh: line 327: /etc/nginx/conf.d/tabaklaedeli.ch.conf: No such file or directory
Generating Nginx vhost testclue.com (in IP 151.80.200.230) for user tcadmin
engintron.sh: line 327: /etc/nginx/conf.d/testclue.com.conf: No such file or directory
Generating Nginx vhost turicumkurier.ch (in IP 151.80.200.229) for user turicumkurier
engintron.sh: line 327: /etc/nginx/conf.d/turicumkurier.ch.conf: No such file or directory
Generating Nginx vhost uhl.hosting (in IP 151.80.200.229) for user uhl
engintron.sh: line 327: /etc/nginx/conf.d/uhl.hosting.conf: No such file or directory
Generating Nginx vhost uhlhosting.ch (in IP 151.80.200.231) for user uhlhosting
engintron.sh: line 327: /etc/nginx/conf.d/uhlhosting.ch.conf: No such file or directory
Generating Nginx vhost analytics.uhlhosting.ch (in IP 151.80.200.231) for user uhlhosting
engintron.sh: line 327: /etc/nginx/conf.d/analytics.uhlhosting.ch.conf: No such file or directory
Generating Nginx vhost clients.uhlhosting.ch (in IP 151.80.200.231) for user uhlhosting
engintron.sh: line 327: /etc/nginx/conf.d/clients.uhlhosting.ch.conf: No such file or directory
Generating Nginx vhost seo.uhlhosting.ch (in IP 151.80.200.231) for user uhlhosting
engintron.sh: line 327: /etc/nginx/conf.d/seo.uhlhosting.ch.conf: No such file or directory
Generating Nginx vhost uhl-services.info (in IP 151.80.200.229) for user uhlservicesinfo
engintron.sh: line 327: /etc/nginx/conf.d/uhl-services.info.conf: No such file or directory
Generating Nginx vhost unacunatura.com (in IP 151.80.200.229) for user unacunatura
engintron.sh: line 327: /etc/nginx/conf.d/unacunatura.com.conf: No such file or directory
Generating Nginx vhost xn--khlraum-n2a.ch (in IP 151.80.200.229) for user xnkhlraumn2a
engintron.sh: line 327: /etc/nginx/conf.d/xn--khlraum-n2a.ch.conf: No such file or directory

Nginx and Apache vhosts synchronized!

=== Restarting services... ===
Redirecting to /bin/systemctl restart  httpd.service
Redirecting to /bin/systemctl start  nginx.service
Failed to start nginx.service: Unit nginx.service failed to load: No such file or directory.

Done!

=== Updating Munin configuration ===
Restarting munin-node (via systemctl):                     [  OK  ]

=== Preparing GUI files... ===

=== Fix ACL requirements in newer cPanel releases ===
<span class="b2">Your changes have been saved.</span><br /><br /><span class="b2">Restarting cPanel daemons...</span><span class="b2">done.</span><br /><br /><span class="b2">Updating your system to reflect any changes...</span><br /><pre>Processing post action for <span class="setting_label">Thunderbird and Outlook autodiscover and autoconfig support (enables proxy subdomain and SRV record creation)</span>:
The master proxysubdomains setting changed state so we do not need to update the autodiscover domains.
Processing post action for <span class="setting_label">Conserve memory</span>:
Processing post action for <span class="setting_label">Standardized Hooks - Debug Mode</span>:
Processing post action for <span class="setting_label">Include mailman in disk usage calculations</span>:
Processing post action for <span class="setting_label">Include databases in disk usage calculations</span>:
Processing post action for <span class="setting_label">Mail authentication via domain owner password</span>:
Processing post action for <span class="setting_label">Enable Email Archiving support</span>:
Processing post action for <span class="setting_label">Email delivery retry time</span>:
Processing post action for <span class="setting_label">Allow cPanel & WHM to determine the best value for your MySQL innodb_buffer_pool_size configuration?</span>:
Processing post action for <span class="setting_label">Allow cPanel & WHM to determine the best value for your MySQL max_allowed_packet configuration?</span>:
Processing post action for <span class="setting_label">Allow cPanel & WHM to determine the best value for your MySQL open_files_limit configuration?</span>:
Processing post action for <span class="setting_label">cPanel PHP max execution time</span>:
Processing post action for <span class="setting_label">cPanel PHP max POST size</span>:
Processing post action for <span class="setting_label">cPanel PHP max upload size</span>:
Processing post action for <span class="setting_label">cPanel PHP loader</span>:
Processing post action for <span class="setting_label">Allow users to relay mail if they use an IP address through which someone has validated an IMAP or POP3 login within the last hour (Pop-before-SMTP)</span>:
Processing post action for <span class="setting_label">Proxy subdomains</span>:
Removing proxy domain DNS entries in background. This process can take several minutes to complete.
Processing post action for <span class="setting_label">Require SSL</span>:
info [apache_conf_distiller] Missing IP for domain panel.uhlhosting.ch, using 151.80.200.229
info [apache_conf_distiller] Missing ServerName for domain panel.uhlhosting.ch, using panel.uhlhosting.ch
info [apache_conf_distiller] Missing port for domain panel.uhlhosting.ch, using 8081
info [apache_conf_distiller] Missing user for domain panel.uhlhosting.ch, using nobody
info [apache_conf_distiller] Missing owner for domain panel.uhlhosting.ch, force lookup to root
info [apache_conf_distiller] Missing group for domain panel.uhlhosting.ch, using nobody
Distilled successfully
Processing post action for <span class="setting_label">Enable Analog stats</span>:
Processing post action for <span class="setting_label">Enable Awstats stats</span>:
Processing post action for <span class="setting_label">Enable BoxTrapper spam trap</span>:
Processing post action for <span class="setting_label">Enable Horde Webmail</span>:
Processing post action for <span class="setting_label">Enable Mailman mailing lists</span>:
info [whostmgr2] Whostmgr::Services::_restart_services: mailman
mailman...(XID p9j36s) The “mailman” service is not configured: there are no configured mailing lists
...Done
Restarting mailman
Configuration file passes test!  New configuration file was installed.


Skipping boxtrapper_autowhitelist entry in check_mail_permissions insert as it requires boxtrapper and it is disabled or unavailable.
Skipping boxtrapper_verify_dkim_lookuphost entry in lookuphost replace insert as it requires boxtrapper and it is disabled or unavailable.
Skipping boxtrapper_verify_lookuphost entry in lookuphost replace insert as it requires boxtrapper and it is disabled or unavailable.
Skipping virtual_boxtrapper_user entry in virtual_user insert as it requires boxtrapper and it is disabled or unavailable.
Skipping boxtrapper_localuser entry in localuser insert as it requires boxtrapper and it is disabled or unavailable.
Skipping boxtrapper_autowhitelist entry in virtual_userdelivery insert as it requires boxtrapper and it is disabled or unavailable.
Skipping local_boxtrapper_delivery entry in virtual_userdelivery insert as it requires boxtrapper and it is disabled or unavailable.
Skipping virtual_boxtrapper_userdelivery entry in virtual_userdelivery insert as it requires boxtrapper and it is disabled or unavailable.

/etc/exim.pl.local installed!
SPF is disabled in exim or unavailable, enabling SPF for SpamAssassin
Refreshing SMTP Mail protection.
SMTP Mail protection has been disabled.  All users may make outbound smtp connections.
Disabled scgi-bin since suexec is enabled or the webserver runs as the user
info [apache_conf_distiller] Missing IP for domain panel.uhlhosting.ch, using 151.80.200.229
info [apache_conf_distiller] Missing ServerName for domain panel.uhlhosting.ch, using panel.uhlhosting.ch
info [apache_conf_distiller] Missing port for domain panel.uhlhosting.ch, using 8081
info [apache_conf_distiller] Missing user for domain panel.uhlhosting.ch, using nobody
info [apache_conf_distiller] Missing owner for domain panel.uhlhosting.ch, force lookup to root
info [apache_conf_distiller] Missing group for domain panel.uhlhosting.ch, using nobody
Distilled successfully
Processing post action for <span class="setting_label">Enable Apache SpamAssassin™ spam filter</span>:
Processing post action for <span class="setting_label">Enable Apache SpamAssassin™ Spam Box delivery for messages marked as spam (user configurable)</span>:
Processing post action for <span class="setting_label">Enable Webalizer stats</span>:
Processing post action for <span class="setting_label">Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak)</span>:
Processing post action for <span class="setting_label">Prefix &ldquo;mail.&rdquo; onto Mailman URLs</span>:
Processing post action for <span class="setting_label">Use pre-4.1-style MySQL<sup>&reg;</sup> passwords</span>:
</pre><span class="b2">Done.</span></div>
</body>
</html>
Waiting for “cpsrvd” to restart gracefully ……waiting for “cpsrvd” to initialize ………finished.

Service Status
    cpanel (cpsrvd (SSL) - waiting f --llu=1454207008 --listen=10,11,4,5,6,7,8,9) is running as root with PID 3176 (systemd check method).
    cpanel (whostmgrd - serving 89.1 --llu=1454207008 --listen=10,11,4,5,6,7,8,9) is running as cpanelphpmyadmin with PID 58633 (systemd check method).

Startup Log
    Jan 29 16:28:02 panel.uhlhosting.ch yum[1254]: Installed: ea-php55-php-enchant-5.5.31-1.1.x86_64
    Jan 31 01:58:38 panel.uhlhosting.ch crontab.relink.1452692328[64129]: (root) LIST (uhlhosting)
    Jan 31 01:58:39 panel.uhlhosting.ch crontab.relink.1452692328[64143]: (root) LIST (uhlhosting)
    Jan 31 01:59:29 panel.uhlhosting.ch crontab.relink.1452692328[64392]: (root) LIST (uhlhosting)
    Jan 31 01:59:29 panel.uhlhosting.ch crontab.relink.1452692328[64401]: (root) LIST (uhlhosting)
    Jan 31 01:59:29 panel.uhlhosting.ch crontab.relink.1452692328[64408]: (root) REPLACE (uhlhosting)
    Jan 31 02:00:03 panel.uhlhosting.ch crontab.relink.1452692328[64739]: (root) LIST (uhlhosting)
    Jan 31 02:00:03 panel.uhlhosting.ch crontab.relink.1452692328[64764]: (root) REPLACE (uhlhosting)
    Jan 31 02:00:23 panel.uhlhosting.ch crontab.relink.1452692328[65131]: (root) LIST (uhlhosting)
    Jan 31 02:00:23 panel.uhlhosting.ch crontab.relink.1452692328[65139]: (root) REPLACE (uhlhosting)

cpsrvd restarted successfully.

=== Distill changes in cPanel Apache configuration and restart Apache ===
info [apache_conf_distiller] Missing IP for domain panel.uhlhosting.ch, using 151.80.200.229
info [apache_conf_distiller] Missing ServerName for domain panel.uhlhosting.ch, using panel.uhlhosting.ch
info [apache_conf_distiller] Missing port for domain panel.uhlhosting.ch, using 8081
info [apache_conf_distiller] Missing user for domain panel.uhlhosting.ch, using nobody
info [apache_conf_distiller] Missing owner for domain panel.uhlhosting.ch, force lookup to root
info [apache_conf_distiller] Missing group for domain panel.uhlhosting.ch, using nobody
warn [apache_conf_distiller] Unable to determine domain 151.80.200.229 ownership. Attempting lookup on domain 80.200.229 (manually added domain).
warn [apache_conf_distiller] Unable to determine domain 151.80.200.229 ownership. Setting user to 'nobody'.
Distilled successfully
info [rebuildhttpdconf] Missing IP for domain panel.uhlhosting.ch, using 151.80.200.229
info [rebuildhttpdconf] Missing ServerName for domain panel.uhlhosting.ch, using panel.uhlhosting.ch
info [rebuildhttpdconf] Missing port for domain panel.uhlhosting.ch, using 8081
info [rebuildhttpdconf] Missing user for domain panel.uhlhosting.ch, using nobody
info [rebuildhttpdconf] Missing owner for domain panel.uhlhosting.ch, force lookup to root
info [rebuildhttpdconf] Missing group for domain panel.uhlhosting.ch, using nobody
Built /etc/apache2/conf/httpd.conf OK
Redirecting to /bin/systemctl restart  httpd.service
 ****************************************************
 *               Installation Complete              *
 ****************************************************

root@panel [~/uhlhosting]# /bin/systemctl restart  httpd.service
root@panel [~/uhlhosting]# sh engintron.sh sync

=== Let's cleanup old vhosts first... ===

engintron.sh: line 313: cd: /etc/nginx/conf.d/: No such file or directory
mv: cannot stat ‘default.conf’: No such file or directory
mv: cannot stat ‘default’: No such file or directory
Generating Nginx vhost uhl-services.ch (in IP 151.80.200.229) for user chuhlservices
engintron.sh: line 327: /etc/nginx/conf.d/uhl-services.ch.conf: No such file or directory
Generating Nginx vhost sap.uhl-services.ch (in IP 151.80.200.229) for user chuhlservices
engintron.sh: line 327: /etc/nginx/conf.d/sap.uhl-services.ch.conf: No such file or directory
Generating Nginx vhost dubat.party (in IP 151.80.200.229) for user dubat
engintron.sh: line 327: /etc/nginx/conf.d/dubat.party.conf: No such file or directory
Generating Nginx vhost highacid.com (in IP 151.80.200.229) for user highacid
engintron.sh: line 327: /etc/nginx/conf.d/highacid.com.conf: No such file or directory
Generating Nginx vhost highpassion.ch (in IP 151.80.200.229) for user highpassion
engintron.sh: line 327: /etc/nginx/conf.d/highpassion.ch.conf: No such file or directory
Generating Nginx vhost idleslidegloves.com (in IP 151.80.200.229) for user idleslidegloves
engintron.sh: line 327: /etc/nginx/conf.d/idleslidegloves.com.conf: No such file or directory
Generating Nginx vhost im-corona.ch (in IP 151.80.200.229) for user imcorona
engintron.sh: line 327: /etc/nginx/conf.d/im-corona.ch.conf: No such file or directory
Generating Nginx vhost kuehlraum.ch (in IP 151.80.200.229) for user kuehlraum
engintron.sh: line 327: /etc/nginx/conf.d/kuehlraum.ch.conf: No such file or directory
Generating Nginx vhost maexont.com (in IP 151.80.200.229) for user maexont
engintron.sh: line 327: /etc/nginx/conf.d/maexont.com.conf: No such file or directory
Generating Nginx vhost nastrome.com (in IP 151.80.200.229) for user nastrome
engintron.sh: line 327: /etc/nginx/conf.d/nastrome.com.conf: No such file or directory
Generating Nginx vhost naturama.at (in IP 151.80.200.229) for user naturama
engintron.sh: line 327: /etc/nginx/conf.d/naturama.at.conf: No such file or directory
Generating Nginx vhost highpassion.eu (in IP 151.80.200.229) for user passionhigh
engintron.sh: line 327: /etc/nginx/conf.d/highpassion.eu.conf: No such file or directory
Generating Nginx vhost sr-isoliertechnik.ch (in IP 151.80.200.229) for user srisoliertechnik
engintron.sh: line 327: /etc/nginx/conf.d/sr-isoliertechnik.ch.conf: No such file or directory
Generating Nginx vhost xn--tabakldeli-v5a.ch (in IP 151.80.200.229) for user tabakladeli
engintron.sh: line 327: /etc/nginx/conf.d/xn--tabakldeli-v5a.ch.conf: No such file or directory
Generating Nginx vhost tabaklaedeli.ch (in IP 151.80.200.229) for user tabaklaedeli
engintron.sh: line 327: /etc/nginx/conf.d/tabaklaedeli.ch.conf: No such file or directory
Generating Nginx vhost testclue.com (in IP 151.80.200.230) for user tcadmin
engintron.sh: line 327: /etc/nginx/conf.d/testclue.com.conf: No such file or directory
Generating Nginx vhost turicumkurier.ch (in IP 151.80.200.229) for user turicumkurier
engintron.sh: line 327: /etc/nginx/conf.d/turicumkurier.ch.conf: No such file or directory
Generating Nginx vhost uhl.hosting (in IP 151.80.200.229) for user uhl
engintron.sh: line 327: /etc/nginx/conf.d/uhl.hosting.conf: No such file or directory
Generating Nginx vhost uhlhosting.ch (in IP 151.80.200.231) for user uhlhosting
engintron.sh: line 327: /etc/nginx/conf.d/uhlhosting.ch.conf: No such file or directory
Generating Nginx vhost analytics.uhlhosting.ch (in IP 151.80.200.231) for user uhlhosting
engintron.sh: line 327: /etc/nginx/conf.d/analytics.uhlhosting.ch.conf: No such file or directory
Generating Nginx vhost clients.uhlhosting.ch (in IP 151.80.200.231) for user uhlhosting
engintron.sh: line 327: /etc/nginx/conf.d/clients.uhlhosting.ch.conf: No such file or directory
Generating Nginx vhost seo.uhlhosting.ch (in IP 151.80.200.231) for user uhlhosting
engintron.sh: line 327: /etc/nginx/conf.d/seo.uhlhosting.ch.conf: No such file or directory
Generating Nginx vhost uhl-services.info (in IP 151.80.200.229) for user uhlservicesinfo
engintron.sh: line 327: /etc/nginx/conf.d/uhl-services.info.conf: No such file or directory
Generating Nginx vhost unacunatura.com (in IP 151.80.200.229) for user unacunatura
engintron.sh: line 327: /etc/nginx/conf.d/unacunatura.com.conf: No such file or directory
Generating Nginx vhost xn--khlraum-n2a.ch (in IP 151.80.200.229) for user xnkhlraumn2a
engintron.sh: line 327: /etc/nginx/conf.d/xn--khlraum-n2a.ch.conf: No such file or directory

Nginx and Apache vhosts synchronized!

=== Restarting services... ===
Redirecting to /bin/systemctl restart  httpd.service
Redirecting to /bin/systemctl start  nginx.service
Failed to start nginx.service: Unit nginx.service failed to load: No such file or directory.

easyapache 4

Any ideea when engintron 2.0 will be available?And if this version will work on easyapache 4?

Right now,this 1.5 version only work on easyapache 3?!

Restore original visitor IP

Hello,
Please let me know does it Support restore original visitor IP? My site user IP logs show server IPs using Nginx? Does you added any module for a Scrutinize User's IP address? Are you include mod_proxy/Reverse Proxy?
Thanks

Stuck at installing mod_rpaf, then finished with errors

Unfortunately the site to support this install is down and got stuck at mod_rpaf for about 20 attempts, then finished with errors and my websites are down, nginx won't come up and I guess you can see the results below.

 ****************************************************
 *               Installing Engintron               *
 ****************************************************

=== Let's upgrade our system first ===

Loaded plugins: fastestmirror, security
Determining fastest mirrors
epel/metalink                                            |  15 kB     00:00     
 * epel: mirrors.solfo.com
base                                                     | 3.7 kB     00:00     
base/primary_db                                          | 4.4 MB     00:00     
epel                                                     | 4.4 kB     00:00     
epel/primary_db                                          | 6.3 MB     00:02     
extras                                                   | 3.3 kB     00:00     
extras/primary_db                                        |  19 kB     00:00     
ul                                                       |  951 B     00:00     
ul/primary                                               | 6.3 kB     00:00     
ul                                                                        55/55
ul_hostmonster                                           |  951 B     00:00     
ul_hostmonster/primary                                   | 6.1 kB     00:00     
ul_hostmonster                                                            46/46
updates                                                  | 3.4 kB     00:00     
updates/primary_db                                       | 5.4 MB     00:00     
Setting up Update Process
No Packages marked for Update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * epel: mirrors.solfo.com
Setting up Upgrade Process
No Packages marked for Update

=== Installing dependencies ===
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * epel: mirrors.solfo.com
Setting up Install Process
Package pcre-7.8-6.el6.x86_64 already installed and latest version
Package pcre-devel-7.8-6.el6.x86_64 already installed and latest version
Package zlib-devel-1.2.3-29.el6.x86_64 already installed and latest version
Package openssl-devel-1.0.1e-30.el6_5.2.x86_64 already installed and latest version
Nothing to do

=== Adding official Nginx repos for CentOS ===

=== Installing mod_rpaf for Apache ===
--2014-11-07 00:03:24--  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Resolving www.stderr.net... 173.8.116.122
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:04:31--  (try: 2)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:05:36--  (try: 3)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:06:42--  (try: 4)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:07:49--  (try: 5)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:08:57--  (try: 6)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:10:06--  (try: 7)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:11:16--  (try: 8)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:12:27--  (try: 9)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:13:39--  (try:10)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:14:52--  (try:11)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:16:05--  (try:12)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:17:18--  (try:13)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... exit
failed: Connection timed out.
Retrying.

--2014-11-07 00:18:31--  (try:14)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:19:44--  (try:15)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:20:57--  (try:16)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:22:10--  (try:17)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:23:23--  (try:18)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:24:36--  (try:19)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Retrying.

--2014-11-07 00:25:49--  (try:20)  http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
Connecting to www.stderr.net|173.8.116.122|:80... failed: Connection timed out.
Giving up.

tar (child): mod_rpaf-0.6.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
engintron.sh: line 46: cd: mod_rpaf-0.6: No such file or directory
/usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic -m64 -fPIC -DPIC  -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/opt/pcre/include -I/usr/local/apache/include  -I/usr/local/apache/include   -I/usr/local/apache/include   -c -o mod_rpaf-2.0.lo mod_rpaf-2.0.c && touch mod_rpaf-2.0.slo
gcc: mod_rpaf-2.0.c: No such file or directory
gcc: no input files
apxs:Error: Command failed with rc=65536
.

=== Get system IPs ===

=== Updating Apache configuration to include mod_rpaf ===

=== Merge changes in cPanel Apache configuration ===
info [apache_conf_distiller] Missing owner for domain server.turnkeyinvestorsites.com, force lookup to root
warn [apache_conf_distiller] Unable to determine domain _wildcard_.fortheloveofpunk.com ownership. Attempting lookup on domain fortheloveofpunk.com (manually added domain).
warn [apache_conf_distiller] Unable to determine domain 192.163.225.222 ownership. Attempting lookup on domain 163.225.222 (manually added domain).
warn [apache_conf_distiller] Unable to determine domain 192.163.225.222 ownership. Setting user to 'nobody'.
Distilled successfully
info [rebuildhttpdconf] Missing owner for domain server.turnkeyinvestorsites.com, force lookup to root
Built /usr/local/apache/conf/httpd.conf OK

=== Switch Apache to port 8081 ===

=== Distill changes in cPanel Apache configuration and restart Apache ===
info [apache_conf_distiller] Missing owner for domain server.turnkeyinvestorsites.com, force lookup to root
warn [apache_conf_distiller] Unable to determine domain _wildcard_.fortheloveofpunk.com ownership. Attempting lookup on domain fortheloveofpunk.com (manually added domain).
warn [apache_conf_distiller] Unable to determine domain 192.163.225.222 ownership. Attempting lookup on domain 163.225.222 (manually added domain).
warn [apache_conf_distiller] Unable to determine domain 192.163.225.222 ownership. Setting user to 'nobody'.
Distilled successfully
info [rebuildhttpdconf] Missing owner for domain server.turnkeyinvestorsites.com, force lookup to root
Built /usr/local/apache/conf/httpd.conf OK

=== Install Nginx from official repositories ===
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
epel/metalink                                            |  15 kB     00:00     
 * epel: mirrors.solfo.com
base                                                     | 3.7 kB     00:00     
extras                                                   | 3.3 kB     00:00     
nginx                                                    | 2.9 kB     00:00     
ul                                                       |  951 B     00:00     
ul_hostmonster                                           |  951 B     00:00     
updates                                                  | 3.4 kB     00:00     
Setting up Install Process
Package nginx-1.6.2-1.el6.ngx.x86_64 already installed and latest version
Nothing to do

=== Updating Nginx configuration ===

=== Registering Nginx as a service... ===

=== Check default Nginx webroot and fix if necessary... ===

=== Check if the default vhost exists and fix if necessary... ===

=== Restart Nginx... ===
Reloading nginx:                                           [FAILED]

=== Let's cleanup old vhosts first... ===

Generating Nginx vhost denvermusicianscollective.org (in IP 192.163.225.222) for user denmuscollect
Generating Nginx vhost denvermusicianscollective.com (in IP 192.163.225.222) for user denmuscollect
Generating Nginx vhost denvermusicianscom.denvermusicianscollective.org (in IP 192.163.225.222) for user denmuscollect
Generating Nginx vhost fortheloveofpunk.com (in IP 162.144.45.189) for user forthelo
Generating Nginx vhost *.fortheloveofpunk.com (in IP 162.144.45.189) for user forthelo
Generating Nginx vhost contributors.fortheloveofpunk.com (in IP 162.144.45.189) for user forthelo
Generating Nginx vhost dawnwilson.fortheloveofpunk.com (in IP 162.144.45.189) for user forthelo
Generating Nginx vhost design.fortheloveofpunk.com (in IP 162.144.45.189) for user forthelo
Generating Nginx vhost drupal.fortheloveofpunk.com (in IP 162.144.45.189) for user forthelo
Generating Nginx vhost iwp.fortheloveofpunk.com (in IP 162.144.45.189) for user forthelo
Generating Nginx vhost new.fortheloveofpunk.com (in IP 162.144.45.189) for user forthelo
Generating Nginx vhost legalwiz.com (in IP 162.144.52.171) for user legalwiz
Generating Nginx vhost members.legalwiz.com (in IP 162.144.52.171) for user legalwiz
Generating Nginx vhost turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost apartmentinvestingseminar.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost carei.org (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost checkbook-ira.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost checkbook-ira.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost classicvinylband.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost classicvinylband.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost coloradolandcontract.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost coloradolandcontract.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost coloradolandtrust.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost coloradolandtrust.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost dev.legalwiz.tv (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost apartmentinvestingseminar.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost equidealproperties.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost equidealproperties.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost intertrust.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost intertrustproperties.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost irainvestingseminar.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost iwp.bronchick.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost legalwiz-tv.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost legalwiz.tv (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost legalwizstore.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost legalwizstore.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost bronchick.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost lexingtonpg-net.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost lexingtonpg.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost lexingtonpg.net (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost lexingtonpg.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost ownerfinancingbootcamp.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost ownerfinancingbootcamp.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost realestateconvention.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost realestateconvention.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost realestatesuccess2014.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost realestatesuccess2014.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost bronchick.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost sagetrac-net.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost sagetrac.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost sagetrac.net (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost sagetrac.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost succeedinrealestate-net.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost succeedinrealestate.net (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost vben.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost vernbenjamin.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost vetinvest-net.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost vetinvest.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost bronchickconsultinggroup.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost vetinvest.net (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost vetinvest.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost bronchickconsultinggroup.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost bronchicklaw.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost bronchicklaw.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi
Generating Nginx vhost carei-org.turnkeyinvestorsites.com (in IP 192.163.225.222) for user turnkeyi

Nginx and Apache vhosts synchronized!

=== Restarting services... ===
Starting nginx: nginx: [emerg] invalid server name or wildcard "www.*.fortheloveofpunk.com" on 162.144.45.189:80
                                                           [FAILED]

Done!

=== Preparing GUI files... ===

=== Fix ACL requirements in newer cPanel releases ===
warn [whostmgr2] Invalid value (0) for autodiscover_mail_service [Value must be either 0 or 1]. This setting will not be updated.
<p>Invalid value for autodiscover_host: “1” - Unable to set &#39;autodiscover_host&#39; - Requires &#39;autodiscover_proxy_subdomains&#39; to be enabled.. This setting will not be updated.</p><p>Invalid value for autodiscover_mail_service: “0” - Value must be either 0 or 1. This setting will not be updated.</p><p>Invalid value for gzip_pigz_block_size: “1” - Unable to set &#39;gzip_pigz_block_size&#39; - Requires &#39;gzip_use_pigz&#39; to be enabled.. This setting will not be updated.</p><p>Invalid value for gzip_pigz_processes: “1” - Unable to set &#39;gzip_pigz_processes&#39; - Requires &#39;gzip_use_pigz&#39; to be enabled.. This setting will not be updated.</p><span class="b2">Your changes have been saved.</span><br /><br /><span class="b2">Restarting cPanel daemons...</span><span class="b2">done.</span><br /><br /><span class="b2">Updating your system to reflect any changes...</span><br /><pre>Updating <span class="setting_label">Host to publish in the SRV records for Outlook autodiscover support.</span> from “cpanelemaildiscovery.cpanel.net” to “0”.
warn [whostmgr2] 0 domain name must have a valid TLD label
[0] is not a valid domain name
There was an error updating Host to publish in the SRV records for Outlook autodiscover support.: 
Updating <span class="setting_label">Number of kilobyte chunks per compression work unit</span> from “128” to “0”.
<span class="setting_label">Number of kilobyte chunks per compression work unit</span> was updated.
Updating <span class="setting_label">Number of pigz processes</span> from “1” to “0”.
<span class="setting_label">Number of pigz processes</span> was updated.
warn [whostmgr2] Action for autodiscover_host failed to update value (1). This setting will not be updated.
Processing post action for <span class="setting_label">Thunderbird and Outlook autodiscover and autoconfig support (enables proxy subdomain and SRV record creation)</span>:
The master proxysubdomains setting changed state so we do not need to update the autodiscover domains.
Processing post action for <span class="setting_label">Conserve memory</span>:
Processing post action for <span class="setting_label">Include mailman in disk usage calculations</span>:
Processing post action for <span class="setting_label">Include databases in disk usage calculations</span>:
Processing post action for <span class="setting_label">Mail authentication via domain owner password</span>:
Processing post action for <span class="setting_label">Enable Email Archiving support</span>:
Processing post action for <span class="setting_label">Email delivery retry time</span>:
Processing post action for <span class="setting_label">Allow cPanel & WHM to determine the best value for your MySQL innodb_buffer_pool_size configuration?</span>:
Processing post action for <span class="setting_label">Allow cPanel & WHM to determine the best value for your MySQL max_allowed_packet configuration?</span>:
Processing post action for <span class="setting_label">Allow cPanel & WHM to determine the best value for your MySQL open_files_limit configuration?</span>:
Processing post action for <span class="setting_label">cPanel PHP max execution time</span>:
Processing post action for <span class="setting_label">cPanel PHP max POST size</span>:
Processing post action for <span class="setting_label">cPanel PHP max upload size</span>:
Processing post action for <span class="setting_label">cPanel PHP loader</span>:
Processing post action for <span class="setting_label">Proxy subdomains</span>:
Removing proxy domain DNS entries in background. This process can take several minutes to complete.
Processing post action for <span class="setting_label">Require SSL</span>:
Processing post action for <span class="setting_label">Enable Analog stats</span>:
No files to remove.
Processing post action for <span class="setting_label">Enable Awstats stats</span>:
No files to remove.
Processing post action for <span class="setting_label">Enable BoxTrapper spam trap</span>:
Processing post action for <span class="setting_label">Enable Horde Webmail</span>:
Horde install and uninstall processes take place in the background. This process may take several minutes.
Processing post action for <span class="setting_label">Enable Mailman mailing lists</span>:
warn [whostmgr2] One or more key settings for “server.turnkeyinvestorsites.com” were either not found in cPanel & WHM’s server configuration file (/var/cpanel/cpanel.config), or were present but did not pass validation.
warn [whostmgr2] The following settings were absent or invalid. Your server has copied the defaults for them from the configuration defaults file (/usr/local/cpanel/etc/cpanel.config).
warn [whostmgr2]     gzip_pigz_block_size  = 128 (Previously set to '0')
warn [whostmgr2]     gzip_pigz_processes   = 1 (Previously set to '0')
warn [whostmgr2] Read the cpanel.config file documentation (http://go.cpanel.net/cpconfig) for important information about this file.
Restarting mailman
Configuration file passes test!  New configuration file was installed.

Enabled system filter options: attachments|spam_rewrite
Enabled ACL options in block ACL_MAIL_PRE_BLOCK: default_mail_pre
Enabled ACL options in block ACL_RECIPIENT_POST_BLOCK: default_recipient_post
Enabled ACL options in block ACL_SPAM_SCAN_CHECK_BLOCK: default_spam_scan_check
Enabled ACL options in block ACL_CHECK_MESSAGE_PRE_BLOCK: default_check_message_pre
Enabled ACL options in block ACL_CONNECT_POST_BLOCK: default_connect_post
Enabled ACL options in block ACL_OUTGOING_NOTSMTP_CHECKALL_BLOCK: resolve_vhost_owner|end_default_outgoing_notsmtp_checkall
Enabled ACL options in block ACL_CONNECT_BLOCK: ratelimit|slow_fail_block|spammerlist
Enabled ACL options in block ACL_POST_RECP_VERIFY_BLOCK: dictionary_attack
Enabled ACL options in block ACL_TRUSTEDLIST_BLOCK: trustedmailhosts
Enabled ACL options in block ACL_IDENTIFY_SENDER_BLOCK: default_identify_sender|default_message_submission
Enabled ACL options in block ACL_MAIL_BLOCK: requirehelo|requirehelonoforge|requirehelosyntax
Enabled ACL options in block ACL_PRE_RECIPIENT_BLOCK: dkim_disable
Enabled ACL options in block ACL_CHECK_MESSAGE_POST_BLOCK: default_check_message_post
Enabled ACL options in block ACL_POST_SPAM_SCAN_CHECK_BLOCK: mailproviders
Enabled ACL options in block ACL_SPAM_SCAN_BLOCK: default_spam_scan
Enabled ACL options in block ACL_SMTP_QUIT_BLOCK: slow_fail_block
Enabled ACL options in block ACL_NOTQUIT_BLOCK: ratelimit
Enabled ACL options in block ACL_RECP_VERIFY_BLOCK: default_recp_verify
Enabled ACL options in block ACL_PRE_SPAM_SCAN: mailproviders
Enabled ACL options in block ACL_RECIPIENT_MAILMAN_BLOCK: default_recipient_mailman
Enabled ACL options in block ACL_RECIPIENT_BLOCK: default_recipient
Enabled ACL options in block ACL_MAIL_POST_BLOCK: default_mail_post
The system detected spam handling in acls and will now disable Apache SpamAssassin™ in routers and transports!
The Apache SpamAssassin™ method remains unchanged.
Configured options list is: disable_ipv6|daemon_smtp_ports
ACL: acl_not_smtp is active
ACL: acl_smtp_connect is active
ACL: acl_smtp_data is active
ACL: acl_smtp_mail is active
ACL: acl_smtp_quit is active
ACL: acl_smtp_notquit is active
ACL: acl_smtp_rcpt is active
Provided options list is: deliver_queue_load_max|queue_only_load|daemon_smtp_ports|tls_on_connect_ports|system_filter_user|system_filter_group|tls_require_ciphers|hostlist loopback|hostlist senderverifybypass_hosts|hostlist skipsmtpcheck_hosts|hostlist spammeripblocks|hostlist backupmx_hosts|hostlist trustedmailhosts|hostlist relay_hosts|domainlist user_domains|smtp_accept_queue_per_connection|remote_max_parallel|smtp_receive_timeout|ignore_bounce_errors_after|rfc1413_query_timeout|timeout_frozen_after|auto_thaw|callout_domain_negative_expire|callout_negative_expire|acl_not_smtp|acl_smtp_connect|acl_smtp_data|acl_smtp_mail|acl_smtp_quit|acl_smtp_notquit|acl_smtp_rcpt|message_body_newlines|check_rfc2047_length|perl_at_start|deliver_queue_load_max|queue_only_load|tls_on_connect_ports|system_filter_user|system_filter_group|tls_require_ciphers|spamd_address
Exim Insert Regex is: virtual_userdelivery|virtual_aliases|democheck|check_mail_permissions|remote_smtp|address_pipe|virtual_user|localuser|virtual_sa_user
Exim Replace Regex is: virtual_sa_user|sa_localuser|virtual_sa_userdelivery|local_sa_delivery|cpanel_archiver|cpanel_archiver_transport|discover_sender_information|fixed_login|fixed_plain|lookuphost|remote_smtp|secure_login|secure_plain
Exim Match Insert Regex is: 
Skipping boxtrapper_autowhitelist entry in check_mail_permissions insert as it requires boxtrapper and it is disabled or unavailable.
Skipping boxtrapper_verify_dkim_lookuphost entry in lookuphost replace insert as it requires boxtrapper and it is disabled or unavailable.
Skipping boxtrapper_verify_lookuphost entry in lookuphost replace insert as it requires boxtrapper and it is disabled or unavailable.
Skipping virtual_boxtrapper_user entry in virtual_user insert as it requires boxtrapper and it is disabled or unavailable.
Skipping boxtrapper_localuser entry in localuser insert as it requires boxtrapper and it is disabled or unavailable.
Skipping boxtrapper_autowhitelist entry in virtual_userdelivery insert as it requires boxtrapper and it is disabled or unavailable.
Skipping local_boxtrapper_delivery entry in virtual_userdelivery insert as it requires boxtrapper and it is disabled or unavailable.
Skipping virtual_boxtrapper_userdelivery entry in virtual_userdelivery insert as it requires boxtrapper and it is disabled or unavailable.
Exim version 4.84 #2 built 10-Sep-2014 15:02:41
Copyright (c) University of Cambridge, 1995 - 2014
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2014
Berkeley DB: Berkeley DB 4.7.25: (September 12, 2013)
Support for: crypteq iconv() IPv6 PAM Perl OpenSSL Content_Scanning DKIM Old_Demime PRDR OCSP Experimental_SPF Experimental_SRS
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dbm dbmjz dbmnz passwd
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Size of off_t: 8

Exim Perl Load List is: spamkey|mail_permissions|get_relayhosts_domain|checkuserquota|boxtrapper|fast_checkvalias|email_archiver|fast_isdemo|fast_accountfunc|0_mail_permissions_variables|checkpass_cphulkd|spam_acl_support|encode_string_literal|safefile|cpwrap|checkspam|z_preload_modules|email_send_limits|identify_local_connection
/etc/exim.pl.local installed!
razor2 is installed, enabled in SpamAssassin!
pyzor is not installed, disabling it in SpamAssassin to save memory
SPF is disabled in exim or unavailable, enabling SPF for SpamAssassin
Refreshing SMTP Mail protection.
SMTP Mail protection has been disabled.  All users may make outbound smtp connections.
Disabled scgi-bin since suexec is enabled or the webserver runs as the user
info [apache_conf_distiller] Missing owner for domain server.turnkeyinvestorsites.com, force lookup to root
Distilled successfully
Processing post action for <span class="setting_label">Enable Apache SpamAssassin™ spam filter</span>:
Processing post action for <span class="setting_label">Enable Apache SpamAssassin™ Spam Box delivery for messages marked as spam (user configurable)</span>:
Processing post action for <span class="setting_label">Enable Webalizer stats</span>:
No files to remove.
Processing post action for <span class="setting_label">Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak)</span>:
Processing post action for <span class="setting_label">Prefix &ldquo;mail.&rdquo; onto Mailman URLs</span>:
Processing post action for <span class="setting_label">Use pre-4.1-style MySQL<sup>&reg;</sup> passwords</span>:
</pre><span class="b2">Done.</span></div>
</body>
</html>
USR1 accepted

=== Distill changes in cPanel Apache configuration and restart Apache ===
info [apache_conf_distiller] Missing owner for domain server.turnkeyinvestorsites.com, force lookup to root
warn [apache_conf_distiller] Unable to determine domain _wildcard_.fortheloveofpunk.com ownership. Attempting lookup on domain fortheloveofpunk.com (manually added domain).
warn [apache_conf_distiller] Unable to determine domain 192.163.225.222 ownership. Attempting lookup on domain 163.225.222 (manually added domain).
warn [apache_conf_distiller] Unable to determine domain 192.163.225.222 ownership. Setting user to 'nobody'.
Distilled successfully
info [rebuildhttpdconf] Missing owner for domain server.turnkeyinvestorsites.com, force lookup to root
Built /usr/local/apache/conf/httpd.conf OK
 ****************************************************
 *               Installation Complete              *
 ****************************************************

[email protected] [src]# exit
logout
Connection to turnkeyinvestorsites.com closed.

Now I'm a bit concerned about removing this. Nginx status is down, can't restart and all websites are down. Just thought I should post. Not sure I'll be using this if I can get it off here.

Engintron v2

Looking Interesting, Do you have any plan when the Engintron v2 will be released?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.