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.


Messages - emar

Pages: 1 ... 4 5 [6]
76
Information / Will CWP work with a subdomain?
« on: March 14, 2018, 05:22:38 PM »
Hi,

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

Example clients.domain.com
This subdomain is pointed to my VPS.
The VPS Hostname is set to clients.domain.com
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.

77
Any hostname I put in gives an error (ERROR: You don't have a valid hostname set!)
It doesn't matter if it's the same as or different to it still throws that error, anyway I got completely lost with this http/https puzzle.

Think rebuilding apache vhost screwed it up.

I'm using a subdomain which was working fine, I had it behind auto ssl etc etc now it's mixed up again.

My hostname is clients.domain.com on the vps
I set the hostname in the cwp panel to scr1.clients.domain,com still errors.
Jesus shoulda just bought cpanel or something.
Sorry a bit stressed been at it for at least 12 hours.
The whole point was to get blesta installed,
Had it all working then one click and it's gone wonky.

78
I think I did all that before I installed cwp, I installed firewalld first then added the ports,
I think added the port to some config file, I forget im lost with all this crap, I have other issues now.

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

80
Hi,

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 https://mysite.com:2031 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: https://mysite.com:2031

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

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

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:

CONFIGURATION:

- add extension =mailparse.so 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 ioncube24.com (unconfigured) v10.2.0, C
opyright (c) 2002-2018, by ionCube Ltd.

82
Hi,

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 clients.domain.com 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 ... 4 5 [6]