Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - emar

Pages: [1]
Installation / Need to update Python should I update it or install twice?
« on: December 05, 2018, 03:27:37 AM »

I have an app to test that requires Python 3.6 but the installed versionn is 2.7.5
How can I update it or should I install the new version of Python beside version 2.7.5?

Thanks in advance.

FTP / FTP Manager v2 no access to public_html /home/user/public_html/./
« on: November 20, 2018, 05:20:57 AM »

When I create an FTP account with FTP Manager v2
I can log in but I only see .bash_profilt, .bashrc, .bash_logout,
I can't see the public_html directory or any other.

In the FTP Manager the path says /home/user/public_html/./

How can I solve this?


SSL / AutoSSL keeps expiring then won't install new cert
« on: October 23, 2018, 04:38:32 AM »
Can anyone explain how to get autossl to install.
I went to ssl certificates and see the autosll cert has expired again,
So I deleted the cert then clicked AutoSSL FREE and tried to create a new cert.

I've no clue why I have to keep renewing this cert, can I set it to auto renew?

How do I fix this issue, can't instal la new cert.

DNS of your domain doesn't point to this server or you have htaccess restrictions

I have a .htaccess in the public_html

# package:    minPHP
# filename:   .htaccess

# Do not allow direct access to templates
# or an unauthorized backdoor from CE
<Files ~ "blesta2ce.php|\.(pdt)$">
   order deny,allow
   deny from all

# Protect against Clickjacking
#Header append X-Frame-Options "SAMEORIGIN"

RewriteEngine on

# Force HTTPS
#RewriteCond %{HTTPS} !=on
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php

RewriteCond %{REQUEST_URI} ^(.*)/install.php$
RewriteRule install.php %1/install/ [R=301,L]

SSL / AutoSSL has expired on domain, can't renew it..
« on: July 02, 2018, 12:17:48 PM »

I have an AutoSSL cert on a subdomain that has expired,
I clicked the Renew Now button under SSL Configurations,
The green popup indicated it was successful, but it hasn't renewed the cert.

I am trying to get this cert to auto update when it expires.

Also tried reload and restarting web server.

I ran the commands posted in this thread but not sure if they did anything:

Any help appreciated.

I just did a fresh install on Centos 7 and I'm locked out of CWP again, the subdomain / website works.
The only thing I did on the VPS was enable firewalld and changed the default login port.

I created one user account and used for the domain.
I also ticked anable autossl.

Think the last thing I did was enable firewall in CWP.

When I'm in terminal I'm greeted by CWP so i guess it's running,
Restarted apache and rebooted server, no joy.

This site canít be reached
652.942.256.122 refused to connect.

Checking the connection
Checking the proxy and the firewall

Informations / Will CWP work with a subdomain?
« on: March 14, 2018, 05:22:38 PM »

Can I use a subdomain that was set up on another linux server in whm/cpanel?

This subdomain is pointed to my VPS.
The VPS Hostname is set to
The VPS has one IP.

CWP installs fine but when I start playing with the settings,
I keep getting errors with the Hostname

Can anyone take a look at my setup in teamviewer or something?
I don't mind paying for support if I can get this setup correctly.

I created a user and added the subdomain as a domain, then enabled autossl and got locked out somehow.
So I completely rebuilt Centos 7 and enabled firewalld and changed the root login port.
I'm installing CWP again, but i need someone to have a look at my configuration.

I think I messed up, I'm about to delete this thing for the last time, I set user permissions then lost access to the public_html
My site loads the default page from /usr/local/apache/htdocs instead of the index.html in home/user/public_html
Eve if I delete that index file in home/user/public_html it will show Index of /webftp_simple/

I added an index.html to my home/user/public_html directory which was working fine, but not now, I'm stressed big time.


Linux VPS, Centos 7, CWP 7, PHP 7.1.15

When i installed CWP 7 I logged in as root and set up free autossl on my domain which worked fine.
Every URL redirects to https, including the CWP 7 admin panel, that was showing as insecure in the address bar.

So then I was trying to get CWP 7 to redirect to https and somehow lost access to the admin panel.
I noticed that letsencrypt wasn't installed in the CWP panel, so I clicked install.

When I go to I get a blank page with this message: ERR_CONNECTION_REFUSED

I can't access any website content either.
I can't access the CWP 7 admin panel at:

I tried turning off IPtables but no joy,

I don't know if the firewalld has anything to do with this but I get some errors:

[root@me ~]# systemctl status firewalld
* firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2018-03-13 06:30:24 UTC; 54s ago
     Docs: man:firewalld(1)
 Main PID: 4862 (firewalld)
   CGroup: /system.slice/firewalld.service
           `-4862 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid

Mar 13 06:30:25 clients firewalld[4862]: WARNING: ipset not usable, disabling ipset usage in firewall.
Mar 13 06:30:26 clients firewalld[4862]: WARNING: ICMP type 'beyond-scope' is not supported by the kernel for ipv6.
Mar 13 06:30:26 clients firewalld[4862]: WARNING: beyond-scope: INVALID_ICMPTYPE: No supported ICMP type., ignoring for run-time.
Mar 13 06:30:26 clients firewalld[4862]: WARNING: ICMP type 'failed-policy' is not supported by the kernel for ipv6.
Mar 13 06:30:26 clients firewalld[4862]: WARNING: failed-policy: INVALID_ICMPTYPE: No supported ICMP type., ignoring for run-time.
Mar 13 06:30:26 clients firewalld[4862]: WARNING: ICMP type 'reject-route' is not supported by the kernel for ipv6.
Mar 13 06:30:26 clients firewalld[4862]: WARNING: reject-route: INVALID_ICMPTYPE: No supported ICMP type., ignoring for run-time.
Mar 13 06:30:26 clients firewalld[4862]: ERROR: Failed to read file "/proc/sys/net/netfilter/nf_conntrack_helper": [Errno 2] No such file or directory: '/p...ck_helper'
Mar 13 06:30:26 clients firewalld[4862]: WARNING: Failed to get and parse nf_conntrack_helper setting
Mar 13 06:30:26 clients firewalld[4862]: WARNING: ebtables not usable, disabling ethernet bridge firewall.

Just tried this:

[root@me ~]# systemctl status cwpsrv.service
* cwpsrv.service - CentOS Web Panel service (daemon)
   Loaded: loaded (/usr/lib/systemd/system/cwpsrv.service; enabled; vendor preset: disabled)
   Active: activating (auto-restart) (Result: exit-code) since Tue 2018-03-13 07:55:06 UTC; 4s ago
  Process: 1922 ExecStartPre=/usr/local/cwpsrv/bin/cwpsrv -t (code=exited, status=1/FAILURE)

Mar 13 07:55:06 clients systemd[1]: Failed to start CentOS Web Panel servic...).
Mar 13 07:55:06 clients systemd[1]: Unit cwpsrv.service entered failed state.
Mar 13 07:55:06 clients systemd[1]: cwpsrv.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

I don't know what to do and I'm in the middle of a project.

Any help appreciated  ::)

Installation / Centos 7 - PHP 7.1.15 where is cli and fpm located?
« on: March 11, 2018, 11:15:34 AM »

I setup Centos 7 with CWP 7 and switched the default php version to 7.1.15.

My applications required a few extra extensions,

I'm following this tutorial to install mailparse link

I got stuck at:


- add extension to php.ini under cli and fpm (in dynamics extensions)

sudo nano /etc/php/7.0/cli/php.ini

sudo nano /etc/php/7.0/fpm/php.ini

I can't find the path to the cli and fmp ini files. I mean etc/php doesn't exist at this location.
I mean  /etc/php/ doesn't exist.

I can see cli is running:

[root@me/]# php --version                                                                             
PHP 7.1.15 (cli) (built: Mar  9 2018 07:04:44) ( NTS )                                                       
Copyright (c) 1997-2018 The PHP Group                                                                       
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies                                               
    with the ionCube PHP Loader (enabled) + Intrusion Protection from (unconfigured) v10.2.0, C
opyright (c) 2002-2018, by ionCube Ltd.


I just installed CWP on Centos 7 and I really like what I see,

When I got to VHosts Manager and select AutoSSL then Install SSL
It says: AutoSSL installation for domain success!

But I see two warning above that:

Notice: Undefined variable: .(962([*66 in /usr/local/cwpsrv/htdocs/resources/admin/include/hooks.php on line 0

Notice: Undefined variable: .(962([*66 in /usr/local/cwpsrv/htdocs/resources/admin/include/hooks.php on line 0

The subdomain seems to be secure behind SSL when I use https, so I guess that's working.

Any odeas appreciated, new to thing.

Pages: [1]