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

Pages: [1] 2
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

Informations / 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.

CentOS-WebPanel GUI / Re: no domain work after i change the ip
« on: May 14, 2018, 05:34:37 PM »
I know this is over a month old and you've probably either fixed the problem or reinstalled everything, but . . .

Have you tried changing the ip addresses in the individual DNS Zones ?

DNS Settings > List DNS Zones and then click Edit Records for each zone.

Don't forget to restart Bind DNS Server after saving your changes.

I hope this helps

CentOS-WebPanel GUI / Re: Can't access CWP Admin panel
« on: May 14, 2018, 05:27:54 PM »
I had this problem recently too.

Try connecting to your server with ssh. You need to be logged in as root, so use su or sudo

Code: [Select]
# /bin/bash /scripts/restart_cwpsrv
look for error messages. In my case, I had to do:

Code: [Select]
# journalctl -xe
to find the fault (which was related to a missing ssh public and private key pair).

I hope this helps

Informations / Re: Has been hacked ?
« on: May 14, 2018, 05:01:36 PM »
why do you say that? I see everything ok

Yes, everything is back as it should be now  :) :)

Informations / 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 ?

Mod_Security / Re: Status engine is currently disabled ?
« on: April 02, 2018, 05:05:32 PM »
I know this is an old thread, but I saw this error today (Status Engine is Currently Disabled) and found this post while searching for a solution. So I thought I'd share my findings with anyone else who has the same 'error'.

It seems that it is OK for the Status Engine to be disabled because all it does is provide feedback to the ModSecurity team.

See here :

Hope someone finds it useful.

CentOS-WebPanel Bugs / Re: CPU 100% clamd
« on: April 01, 2018, 02:31:06 PM »
I have had this problem a couple of times now. It seems to occur following a Yum Update.

The first time petrosvels solution worked for me:

# systemctl stop clamd.service
# rm -f /var/run/clamd.amavisd/clamd.sock
# systemctl start clamd.service

The problem is in the error message from the postfix log (var/log/maillog) - ERROR: LOCAL: Socket file /var/run/clamd.amavisd/clamd.sock is in use by another process. Deleting the file clamd.sock is what is required to fix the problem.

The above didn't fix the problem straight away on the most recent occasion, so what I did was:

  • From the CWP Dashboard - stop ClamAV
  • stop AMaViS (A Mail Virus Scanner)
  • Waited until USER amavis no longer appeared in the Top 5 Processes list and the 1 minute load average dropped back to normal levels (below 0.1 in my case). This is probably not necessary, but I did it anyway to be absolutely sure amavis/clamd were not running.
  • Open Filemanager and browse to the folder /var/run/clamd.amavisd. Delete the file clamd.sock. It was an empty file (0 bytes)
  • From the CWP Dashboard Start AMaViS
  • Start ClamAV

If that does not fix the problem, check the postfix log for other possible causes:

# tail -100 var/log/maillog | grep clamd

Installation / Re: I have two SECURITY WARNING....
« on: February 11, 2018, 06:01:28 PM »
Are there any disadvantages to hiding all processes if not owned by the user ?

I ask from a position of total ignorance on this subject and the point of view of the server administrator who is managing a number of clients websites

Backup / Re: Cron Job Backup
« on: February 01, 2018, 07:07:17 AM »

0 0 * * 0 /bin/bash /usr/local/cwpsrv/htdocs/resources/scripts/user_backup asklepiy

Installation / Re: Upgrade to pro and updates/upgrades/changes
« on: February 01, 2018, 06:35:12 AM »
I had to rebuild my server from 'scratch' recently. Provided the licence is still current, CWP Pro will automatically re-install when the automatic update script runs (I'm not sure how frequent this is, but I don't think it's daily).

If you don't want to wait you can always open a PuTTY or Terminal session and call:

/bin/bash /scripts/update_cwp

That should update to CWPPro straight away.

Installation / Re: Upgrade to CWPPro
« on: February 01, 2018, 06:28:22 AM »
I know this is a few weeks old now an the OP will have decided to 'take the plunge' or not by now, but in case it helps anyone else - once you've purchased the licence (make sure you enter the correct IP address when you order), open a PuTTY console to your server and enter:

/bin/bash /scripts/update_cwp

I found that it updated to CWPPro straight away.

Updates / Re: Reinstalling CWP Pro after Server Reinstall
« on: January 30, 2018, 08:21:01 AM »
UPDATE: After checking my account, it seems I actually paid for CWP Pro to be installed on a different IP Address to the one I'm currently using.

As the year had nearly expired, I cancelled that subscription and took out a new one with the correct ip address. Running the bash script 'update_cwp' installed CWP Pro immediately.

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.


Pages: [1] 2