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

Pages: [1]
CentOS-WebPanel Bugs / Mailbox Usage is Kb NOT Mb
« on: November 27, 2018, 11:50:52 AM »
I have set a 200Mb limit on my email account, but roundcube / CWP is translating this as 200Kb.

I have set the figure to 200,000 Mb and Roundcube is now reporting this as 195Mb

The script needs updating to convert Mb to the correct value.


E-Mail / Two Instances of Clamd running
« on: November 22, 2018, 08:37:57 AM »
I've got two instances of clamd running on my server and it's sucking 60% of my Memory allocation.

Code: [Select]
top - 08:34:41 up 32 min,  1 user,  load average: 0.00, 0.04, 0.14
Tasks: 146 total,   1 running, 145 sleeping,   0 stopped,   0 zombie
%Cpu(s):  1.0 us,  1.0 sy,  0.0 ni, 97.2 id,  0.0 wa,  0.0 hi,  0.2 si,  0.7 st
KiB Mem :  1882576 total,    92308 free,  1641380 used,   148888 buff/cache
KiB Swap:   524284 total,   226848 free,   297436 used.    79476 avail Mem

 5240 amavis    20   0  837436 566280   2576 S   0.0 30.1   0:14.47 clamd
 1571 amavis    20   0  837568 563556    480 S   0.0 29.9   0:16.84 clamd
 5250 amavis    20   0  367108 106644   2756 S   0.0  5.7   0:00.48 /usr/sbin/+
 5238 amavis    20   0  362956 103896   2516 S   0.0  5.5   0:01.23 /usr/sbin/+
 5251 amavis    20   0  364500 102868   1488 S   0.0  5.5   0:00.00 /usr/sbin/+

Can anyone provide any suggestions as to how I can stop one of them or how to find out why there are two instances running.

Thanks in anticipation.

I'm not sure if this is the official place to report a bug, but here goes . . .

I was running version when I first encountered this error. I've upgraded to and it's still a problem (CWP Pro).

When I select a User to install an SSL certificate, the Domain dropdown remains empty.

It would seem that an apostrophe (') in the word "doesn't" needs to be escaped in the javascript function validatevhostssl. the offending line is:

Code: [Select]
text: 'DNS of your domain doesn't point to this server or you have htaccess restrictions',
A quick fix would be very much appreciated.

Kind regards

Information / Hourly Email Limits
« on: May 23, 2018, 07:04:34 PM »
Can anyone clarify how the package 'Hourly Email Limits' works in practice.

I have written a one-off script for a client that will send out a batch of emails that will slightly exceed the hourly limit. Will the excess emails be delayed and sent later (which would be OK), or do the excess emails get deleted and not sent (not OK)?

I know I could set the script up to send the emails out in two separate batches, but I think it would be useful to know the answer to my question in case a similar scenario comes up in the future.

Any insights would be much appreciated.

Information / Has been hacked ?
« on: May 14, 2018, 11:47:51 AM »
I looked at the Centos Webpanel home page today and it looks like it has been hacked / spoofed. Is this the case ?

Or has the project just been abandoned by the developers? I hope not, because I really like this panel.

I note that the Postfix mail log is 'rotated' on an intermittent basis - the file var/log/maillog is renamed to include a date based suffix and a new file var/log/maillog is created, but I want to be able to do this more frequently.

A Google search revealed that
Code: [Select]
# logrotate -f /etc/logrotate.d/syslog will reset the maillog (plus others), but I've found that the maillog is renamed maillog.1 and then deleted.

Does anyone know what script CWP uses to rotate the log ?

Updates / Reinstalling CWP Pro after Server Reinstall
« on: January 27, 2018, 03:39:09 PM »
My Centos Server crashed yesterday and I finally got it running again today after having to reinstall everything from scratch.

The IP addresses are the same as before, but CWP has not automatically updated to the Pro version (which I paid for previously). Is it simply a case of waiting for it to self update or do I need to take some action (eg run a bash script / contact support etc) ?

Any advice gratefully received.


DNS / Best Practise For Multiple IP Addresses ?
« on: November 15, 2017, 03:19:22 PM »
I have a VPS based on Centos 7 with Centos Web Panel. There are 4 IP addresses:


My server is installed on xx2.188 and I have set the shared IP as xx2.188

I have set ns1.server as xx4.188 and ns2.server as xx4.189

I have a number of client accounts set up on the panel spread over xx2.188, xx3.188 and xx4.188

And everything was going well. . .

Until I started messing around with the server and DNS nameserver zones. Having recently recovered access to the websites and email (a whole day wasted !), I wondered if I should change to the following:

  • Leave main server address as
  • Leave Nameservers as they are / xx4.189
  • Set Shared IP to
  • Put all user accounts on IP address

What is best practise here ?
And what is the relevance of the Shared IP address if I can still access domains that are on other IP Addresses ?

Any enlightenment would be very much appreciated.

Kind regards


SSL / SSL Problem with CWP Client (as opposed to Admin)
« on: September 02, 2017, 05:35:37 PM »
I'm using Centos 7.3.1611 with CWPpro

I'm new to SSL Certificates, so please be gentle with me !

  • I've renamed my Hostname and I can access CWP on port 2031 without any problem (
  • Used Auto SSL to generate SSL certificate for a few domains (CWP accounts). SSL seems to be working well on the domain websites - The word 'Secure' appears in the browser address bar
  • But when I try to login to the client CWP using port 2031 (, I get NET::ERR_CERT_COMMON_NAME_INVALID

It seems that the system is checking the server hostname certificate rather than the specific domain name certificate.

I've searched in the Apache config file and the Include Conf files for references to port 2031 and not found anything so I'm stuck.

Is there a workaround so that I can access the domain level web panel using SSL (surely if I can access then it's possible to enable ?

Any pointers in the right direction would be very much appreciated.

CentOS-WebPanel GUI / How to Customise CSS in Web Panel
« on: April 20, 2017, 04:37:31 PM »
I have found the file custom.css in /usr/local/cwpsrv/htdocs/admin/design/css/ and when I use vi to edit the file, right at the top, I am invited to:

/* ------------------Put your custom code here--------------------*/

Except I can't save the file as it is read only.

All I want to do is reduce the size of the orange font in the 'Spark Stats' area.

Are we really not allowed to change the look of CWP or is this an oversight by the development team ?

Is there a 'fix' or 'workaround' ?

New Modules / How to read $_POST data in a module
« on: April 12, 2017, 03:05:50 PM »
I am trying to create a module that takes input from the user by way of a form. The form is submitted to the same module (ie index.php?module=mymodule) which then processes the input data.

However, when I try to read the $_POST data, all I get is an empty array - how do I access the $_POSTed data, please ?


Pages: [1]