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

Pages: [1] 2
Updates / CWP repo issue
« on: April 12, 2022, 11:10:41 AM »

Im getting this message trying to update my Centos 8 Stream Delayed
Code: [Select]
Problem: problem with installed package centos-stream-repos-8-4.el8.noarch
  - package centos-stream-repos-8-4.el8.noarch requires centos-gpg-keys = 1:8-4.el8, but none of the providers can be installed
  - cannot install both centos-gpg-keys-1:8-5.el8.noarch and centos-gpg-keys-1:8-4.el8.noarch
  - cannot install the best update candidate for package centos-gpg-keys-1:8-4.el8.noarch
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

I managed to update the rest with "--nobest", but this last package is having problems.

Anyone else having the same problem?

E-Mail / Tips/Tricks - Daily mail server report
« on: March 05, 2022, 11:17:34 AM »

I think this could be very useful to keep a lookout on your mail server in order to keep track of possible spam attempt.
This service will email you a report after looking at the entire previous day's log and give you a short and detailed info on what got rejected, which email client sent emails and which email address sent email to your server.

You'll need:

- pflogsumm 1.1.3 (the service that give you the report)
- mailx (Optional: to send email from server to the server email administrator)

Download pflogsumm into /usr/local/sbin/
Code: [Select]
cd /usr/local/sbin/
chmod +x

Install mailx
Code: [Select]
yum install mailx
Configure pflogsumm to send the daily report to your local email
Code: [Select]
crontab -e
0 3 * * * /usr/local/sbin/pflogsumm -d yesterday /var/log/maillog --problems_first --rej_add_from --verbose_msg_detail | mail -s 'Postfix Report' yourEMAIL@address

You can test the command in SSH:
Code: [Select]
/usr/local/sbin/pflogsumm -d yesterday /var/log/maillog --problems_first --rej_add_from --verbose_msg_detail

CentOS-WebPanel Bugs / /var/lib/nginx wrong permission by default
« on: February 22, 2022, 03:59:31 PM »

I was having permission issues uploading files to a website, then I tested another website and it had the same problem.
After some searching and testing, I found out that it's because of this folder not having the ownership set as nobody:root since nginx uses the user called "nobody"

The /var/lib/nginx folder had permission nginx:root <-- Not ok
All subfolders had nobody:root <-- ok

I checked my test server and it had the same values.

I did this:
Code: [Select]
chown nobody -R /var/lib/nginx/ and then restarted nginx and then uploads works fine again.

At what point does the ownership of /var/lib/nginx/ change?

If you are running nginx->varninsh->apache->php setup, can you please post here the value of
Code: [Select]
ls -all /var/lib/nginx/

Updates / Adding post-script to auto php updates?
« on: February 04, 2022, 08:27:35 PM »
I currently do not have my php-fpm auto update. I did this because I want to be there when I update it so I can run a script I made that changes some variables at php.ini to secure php. Every php update is a rebuild of php, and it resets the php.ini file.

But, if I want to enable php auto update, is there a way to add my script so it can be automatically executed at the end of a php update?

Updates / yum with CWP repos fails
« on: February 02, 2022, 08:13:05 PM »
Code: [Select]
[root@bak ~]# yum update
CentOS-Stream - AppStream                                                                                                                                                                                    686 kB/s | 474 kB     00:00
Errors during downloading metadata for repository 'Stream-AppStream':
  - Status code: 404 for (IP:
  - Status code: 404 for (IP:

These files don't exist:

CentOS-WebPanel Bugs / CWP still generates certificates when disabled
« on: February 02, 2022, 06:53:01 PM »


I thought this was fixed.

These two gets added on save.
Why does the first one get added?

CentOS-WebPanel GUI / Why do default html pages reset
« on: February 02, 2022, 06:45:14 PM »

I saw a dev recommending this once. Why does it keep resetting every update. What's the point?

CSF Firewall / CWP firewall GUI overflow pages
« on: January 31, 2022, 02:17:02 PM »

Does the CWP firewall GUI hide too many bans behind pages or will it show all bans in the same page?
I currently have 20 temp bans and all of them are shown in the same page. If this feature exist, can I change it or maybe a suggestion to change it to 10 bans each page?

CSF Firewall / Make Fail2ban puts its bans on CSF banlist
« on: January 25, 2022, 06:56:42 PM »
Title says it all.

I want to see the banned IPs on CWP's firewall banlist.
If I tell fail2ban to use iptables, it will will work in banning, but won't show it in the list. (I have to list iptables rules to see it)
If I tell fail2ban to use nftables, it will also work in banning, but won't show it in the list. (I have to use "nft list ruleset" to see it)

CentOS-WebPanel Bugs / [bug] UserPanel "Unlocked" button unresponsive
« on: January 22, 2022, 03:40:04 PM »
After accessing the user panel and login in to a user. The button that says "Unlocked" on the top right of the panel is unresponsive when clicked.
When diagnosed, two things happens when pressed;
- A # added to the end of the URL.
- The console says this when the button is pressed:
Code: [Select]
Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

The message changes a bit when I use this:
Code: [Select]
echo '{"compress_js":false,"compress_html":false}' > /usr/local/cwp/.conf/.devtools_config
The message is now:
Code: [Select]
Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
    jQuery 6
    jQuery 9

CentOS-WebPanel GUI / Mod_Security's Security incidents wrong IP
« on: January 11, 2022, 03:34:32 PM »
The Security Incidents tab in Security Center that shows what Mod_Security has blocked is showing server IP as an offender for some specific types of attacks even though the IP is something else.

Here's the audit log showing something else:

I'm running Cloudflare -> Nginx -> Varnish -> Apache (with mod_cloudflare)

Information / CWP changelog
« on: January 10, 2022, 12:27:44 PM »

A lot of updates have happened in the past few weeks without anything written about it in the changelog.

I have already sent an email to support about this but I have not received a reply to it.

What happened between v0.9.8.1113 and v0.9.8.1117?

With the current issues users are having, I'm not comfortable updating until I see a changelog update, including instant new ones upon releases of new updates.


Information / Love the panel, but...
« on: January 05, 2022, 04:17:00 PM »

I just switched from sentora few weeks ago because its developers disappeared or stopped caring enough to keep the project running..

CWP is an amazing web hosting panel. It has many great tools, the pro version has a lot of features with a reasonable price tag.
Bug and issues are expected within anything in the tech world, but are you guys giving up on the project as well, or are you just low on staff/developers?

Also, why do I get the feeling that in order for me to get answers on issues or bugs reported, I would have to pay a pretty penny for it...?

You guys have a nice tool for reporting bugs which I started using, but I see no indication that my reports or any others being seen or assigned to someone which makes me wonder if I should give up reporting bug and or start looking for a different control panel in the future.

E-Mail / Message size limit set to 200MB?
« on: January 04, 2022, 06:21:09 PM »
In the file, the message_size_limit is set to 204800000.

Yep, that's correct, you are seeing 204,800,000. bytes

Isn't this a zero too many? Most servers don't accept messages above 20MB, so why is this set to 200?

This number is the same on a test server with newly re-built mail server.

CentOS-WebPanel Bugs / Three bugs within Usercp
« on: January 03, 2022, 08:41:45 PM »
I've reported three bugs on the bug tracker but then I noticed there is a forum section for it as well, so I might just mention it here as well.
Addon domain module creates vmail folders with wrong ownership that results in broken email account.

Email filter module creates sieve files with wrong ownership that result in inaccessible filters, possibly broken too.

Email filter module cannot browse/see all folders results in the module being almost useless if roundcube has access to all folders and can do the same job (after fixing the sieve bug)

Pages: [1] 2