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

Pages: [1]
1
SSL / LetsEncrypt cron job failing
« on: May 14, 2022, 12:15:13 AM »
Just recently, the LE Certs update cron job has started to fail renewals - manual LE renewal via the WebPanel works just fine.

The error being:
config file is empty, can not read CA_EAB_KEY_ID
config file is empty, can not read CA_EAB_HMAC_KEY
config file is empty, can not read CA_EMAIL
No EAB credentials found for ZeroSSL, let's get one


It appears to be using the correct CA:  Using CA: https://acme.zerossl.com/v2/DV90
and the email is already registered via acme.sh --register-account -m <email>

As mentioned, the manual update (Renew Now) via the ssl_certificate module works correctly, it is the acme.sh --cron --home "/root/.acme.sh/cwp_certs" which fails.

Thanks, Klaus


2
Apache / Re: Conf files reset problem
« on: January 03, 2022, 01:54:31 PM »
Not going to solve your problems but could help your sleep:

I have adjusted /etc/anacrontab to have:

START_HOURS_RANGE=9-22

That way it won't run in the middle of the night with surprise alarms or errors before you are in the office!  I think the standard is hours "3-22"  thus your 3-4am wake up call.


3
CentOS-WebPanel Bugs / Re: all my websites Account Suspended
« on: December 29, 2021, 05:34:49 AM »
I don't think that the bandwidth quota / suspend action starting to work is the problem - unless the bandwidth reading is wrong.

The issue would appear to be that the .bandwidth files in /usr/local/cwp/users/suspended/ would not delete under associated actions -eg change limits, change packages, suspend/unsuspend.  They need to be removed manually.

4
CentOS-WebPanel Bugs / Re: all my websites Account Suspended
« on: December 29, 2021, 04:15:01 AM »
I too woke up with a number of accounts suspended on different servers.

I attempted to change packages; change webservers; and a number of other fixes but found that it wouldn't remove .bandwidth listings from: /usr/local/cwp/users/suspended/

Several were in there even though they were within their quota limits.

After removing those *.bandwidth files, I had to manually rebuild the VHOSTs Conf.  I did so by adding/editing/changing the domain config file and selecting 'rebuild configuration' - I couldn't find a way to force rebuild all Vhosts so had to do each effected one manually.

On a few occasions I also had to restart the Apache/NGinx servers

Hope that helps and I'm not hit with that again after the next cronjob run!



5
Information / Re: CWP Pro on NAT LAN
« on: June 21, 2021, 12:02:50 AM »
Thanks Igor

Will it work on an IP-NAT config if the Public IP is NAT'd on ports 80/443?


Klaus

6
Information / CWP Pro on NAT LAN
« on: June 16, 2021, 01:16:09 AM »
I'm setting up a Dev machine on a LAN but NOT exposing ports 80/443.

Is it possible to upgrade to the Pro version?  Does it need these ports open or is there another port to expose?

Thanks, Klaus.

7
E-Mail / policyd - website emails
« on: October 20, 2020, 10:03:05 AM »
I am making the assumption that policyd control only relates to user emails (via client or webmail etc) and not emails emanating from the user's website.

I base that on not being able to rate limit emails from a website user. 

Is it possible to include site generated emails into this module?  Or am I perhaps missing something?


Thanks

Klaus

8
SSL / Re: FTP SSL issue
« on: April 18, 2020, 02:11:52 AM »
The two servers I did the 'change hostname' on failed after the daily cron this morning!  Apache wouldn't restart because of missing key/bundle files.  I had to manually copy and symlink to get it back up.  I think it has to do with the 'hostname.bundle' not updating in the latest scripts.  I might move this to bugs when I gather more data.

 

9
SSL / Re: FTP SSL issue
« on: April 17, 2020, 01:22:33 AM »
Thanks ejsolutions, that did the trick. 

I assume it is a glitch in the system (as it is the same on all of my cwp servers) and having to manually force won't be a 3 monthly event.

Cheers,  Klaus

10
SSL / FTP SSL issue
« on: April 17, 2020, 12:56:09 AM »
I note that the "hostname.pem" in /etc/pki/tls/private/ is not updating and thus showing an expired certificate for FTP sessions:

-rw------- 1 root root 1679 Feb 28 00:05 hostname.key
-rw------- 1 root root 5234 Sep  1  2019 hostname.pem

Any suggestions on how to rebuild and deploy that?

Thanks. Klaus

11
Updates / cwp-httpd update fails
« on: August 11, 2019, 12:28:54 AM »
I have a couple of Pro servers where the cwp-httpd 2.4.39-3 update is failing with the following messages (from command line):

--> Running transaction check
---> Package cwp-httpd.x86_64 0:2.4.34-1 will be updated
---> Package cwp-httpd.x86_64 0:2.4.39-3 will be an update
--> Finished Dependency Resolution

Running transaction
  Updating   : cwp-httpd-2.4.39-3.x86_64                                                                                                                                                                  1/2
Error unpacking rpm package cwp-httpd-2.4.39-3.x86_64
warning: /usr/local/apache/conf.d/autossl_proxy.conf created as /usr/local/apache/conf.d/autossl_proxy.conf.rpmnew
error: unpacking of archive failed on file /usr/local/apache/conf/extra/httpd-userdir.conf: cpio: rename
cwp-httpd-2.4.34-1.x86_64 was supposed to be removed but is not!
  Verifying  : cwp-httpd-2.4.34-1.x86_64                                                                                                                                                                  1/2
  Verifying  : cwp-httpd-2.4.39-3.x86_64                                                                                                                                                                  2/2

Failed:
  cwp-httpd.x86_64 0:2.4.34-1                                                                           cwp-httpd.x86_64 0:2.4.39-3

----------------
Any suggestions to resolve that?

Thanks.

12
CentOS-WebPanel GUI / Server Settings - Disk Quota
« on: May 07, 2018, 01:15:38 PM »
The GUI 'Disk Quota Settings' isn't working for me in CWP7pro.

The page states:

You should setup quota for the /home partition.
UUID=aa517e7e-442d-4fbf-b555-a1031283d354 /home ext4 defaults 1 2


I then enter "/home" in the "Quota Partition:" text entry field; and select "Save Changes";
It responds with "Data Updated!" but no changes are made.

I can't find any errors in logs etc.

I can of course set it up manually, yet would like to understand why it may not be working via the GUI - and the Wiki suggests the manual option is deprecated with this GUI option. 

I have a second drive (ext4) mounted at the /home partition if that makes a difference:

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        16G  5.8G  9.2G  39% /
devtmpfs        3.8G     0  3.8G   0% /dev
tmpfs           3.8G     0  3.8G   0% /dev/shm
tmpfs           3.8G  225M  3.6G   6% /run
tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup
/dev/sdb1        63G  3.8G   56G   7% /home
/dev/sda1       976M  130M  780M  15% /boot
tmpfs           764M     0  764M   0% /run/user/0


Thanks.

Pages: [1]