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

Pages: [1] 2
1
SSL / Re: Certificates not updated automatically after 90 days - fixed
« on: April 12, 2018, 05:33:39 AM »
This is a life saver post -- I didn't bother to do the correct step 3, and use a insecure crontab to run it every 2 month instead
Quote
0 0 1 */2 * /root/.acme.sh/acme.sh --home /root/.acme.sh/cwp_certs --force  --renew -d fdqn.domain.name > /dev/null

2
CentOS 7 Problems / Installation of new CWP failed cwp-el7-0.9.8.595
« on: April 12, 2018, 04:31:53 AM »
Hi,

I tried to install cwp-el7-0.9.8.595 (from http://centos-webpanel.com/cwp-el7-latest) on a fresh installed Centos7, and it stops here for more than 1hr.  Thanks for any suggestion

Quote
‘/etc/csf/csfwebmin.tgz’ -> ‘/usr/local/csf/csfwebmin.tgz’

Installation Completed

Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
Flushing chain `PREROUTING'
Flushing chain `INPUT'
Flushing chain `OUTPUT'
Flushing chain `POSTROUTING'
Flushing chain `PREROUTING'
Flushing chain `OUTPUT'
Flushing chain `PREROUTING'
Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
Flushing chain `POSTROUTING'
Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
Flushing chain `PREROUTING'
Flushing chain `INPUT'
Flushing chain `OUTPUT'
Flushing chain `POSTROUTING'
Flushing chain `PREROUTING'
Flushing chain `OUTPUT'
Flushing chain `PREROUTING'
Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
Flushing chain `POSTROUTING'
csf and lfd have been disabled

3
SSL / Re: Please help cwp wont start with SSL error
« on: January 09, 2018, 02:53:25 PM »
Taking it back ..... the regeneration of new SSL certificate now makes the site SSL (generated by AutoSSL) invalid.

How can I resolve it? thanks for the suggestion.

mydomain.org  => main SSL  (invalid)
other.mydomain.org (subdomain from alias)  ==> another SSL (still good)

4
SSL / Re: Please help cwp wont start with SSL error
« on: January 07, 2018, 05:18:17 PM »
Generate the new SSL certificate for hostname using this command.

sh generate_hostname_ssl

Thanks I run the command.  Even it complains failed to create symbolic link, the CWP panel site is back after restart cwpserv, and the original installed site for end_users are running fine with their https/SSL

Quote
$ sudo service cwpsrv start
Redirecting to /bin/systemctl start cwpsrv.service

5
CentOS-WebPanel Bugs / Re: New user login page - blank
« on: December 03, 2017, 04:22:20 PM »
is it resolved?  how did you make it? Thanks for sharing

6
CentOS 7 Problems / Re: user can't login after automatique update cwp today
« on: December 03, 2017, 04:05:43 PM »
I got the same problem, on newly installed CWP, after client login in on port 2082, client see blank page:

Here is my  /usr/local/cwp/php71/etc/php-fpm.d/users/<username>.conf on my new installed CWP
Code: [Select]
[<username>]
listen = /usr/local/cwp/php71/var/sockets/<username>.sock
listen.owner = <username>
listen.group = <username>
listen.mode = 0660
user = <username>
group = <username>
request_slowlog_timeout = 5s
slowlog = /usr/local/cwp/php71/var/log/php-fpm-slowlog-<username>.log
listen.allowed_clients = 127.0.0.1
pm = ondemand
pm.max_children = 25
pm.process_idle_timeout = 15s
;listen.backlog = -1
request_terminate_timeout = 0s
rlimit_files = 131072
rlimit_core = unlimited
catch_workers_output = yes
env[HOSTNAME] = $HOSTNAME
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
env[PATH] = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

7
Thanks for upgrade, today I tried cwp-el7-0.9.8.366, client still cannot access Softaculous.....

8
CentOS 7 Problems / Re: could we revert back to cwp-el7-0.9.8.359?
« on: December 02, 2017, 05:20:51 AM »
Thanks for upgrade from 364 to 366, today I tried cwp-el7-0.9.8.366, client still cannot access Softaculous.....

9
Updates / Re: Disable auto-updater
« on: November 30, 2017, 01:56:38 PM »
so it looks like there are two methods here:

1. disable AUTO_UPDATES in /etc/csf/csf.conf
2. comment out  /usr/local/cwpsrv/htdocs/resources/scripts/update_cwp

Which one works to disable update?  Thanks!

10
also tried original http://<my ip>:2030/softaculous or http://<my ip>:2082/softaculous   both not working......

11
CentOS 7 Problems / could we revert back to cwp-el7-0.9.8.359?
« on: November 30, 2017, 07:14:39 AM »
cwp-el7-0.9.8.364 got too many bugs and cannot be functional (client login in NAT, Softaculous cannot work), are there ways to install the previous cwp-el7-0.9.8.359?  Thanks a ton!

12
CentOS 7 Problems / Re: user can't login after automatique update cwp today
« on: November 29, 2017, 01:38:20 PM »
try http://<your public ip>:2082

13
Softaculous / Re: CWP crashed and can't start after installing softaculous
« on: November 29, 2017, 07:08:07 AM »
how about install CWP and user WITHOUT autoSSL.  Install softaculous, then install autoSSL?

14
got the same problems, are there a working URL letting client use Softaculous?  Thanks!

15
SSL / Re: Problem when I add ssl
« on: November 16, 2017, 06:03:17 AM »
delete everything from this file: /usr/local/apache/conf.d/vhosts-ssl.conf

/etc/pki/tls/certs
delete your domain certificates files from here .crt,.cert,.bundle

/etc/pki/tls/private
delete your domain key file

Goto ssl generator fillin the entries and at the bottom also tick generate self signed certificate. Now generate ssl

Now this will generate csr, crt and key file.

Now you can goto ssl cert manager and complete rest of the process.

in AWS I have to use NAT mode, and after auto SSL of the user, the installing of Softaculous break the CWP, I had to use sh generate_hostname_ssl under terminal to restart CWP, but the certificate invalid.  brijendrasial's comments saved my server.  I didn't tick the self signed certificate in ssl generator.

Pages: [1] 2