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

Pages: 1 [2] 3 4
16
Mod_Security / Re: MOD SECURITY issue on new CWP PRO INSTALLATION
« on: September 13, 2024, 07:28:57 PM »
thanks a lot guys it worked after adding the following line :

LoadFile /usr/lib64/liblua-5.4.so

but now mod security is giving forbidden access to all the websites pages.

the main page is opened but when i click on any other link on website it triggers the mod security rule i am using comodo waf rules. how to fix forbidden access issue now . :) 

any suggestions

17
Mod_Security / MOD SECURITY issue on new CWP PRO INSTALLATION
« on: September 08, 2024, 05:49:43 PM »
hello,

i have recently installed CWP pro on a new Almalinux 9,everything is working fine but when i install MOD Security all the websites goes down and give below error: when i uninstall MOD Security all sites start working fine. what could be wrong ? and how to fix it any suggestions plz

Unable to connect

An error occurred during a connection to 38.242.244.140.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web.


18
SSL / ssl for ftp
« on: May 17, 2021, 11:38:41 AM »
hello,

ssl for my domain is showing 56 days left in cwp pro  and have valid SSL installed for all services i.e. mail, webmail, ftp, cpanel , but when i conntect to ftp via ftp client (filezilla) , it shows certificate expired. see the below snapshot for reference. kindly suggest me how to fix this ssl expiry message issue.


19
Mod_Security / modsecurity not updated in cwp pro
« on: August 06, 2020, 12:30:02 AM »
hello,

current version installed for modsecurity in cwp pro is : 1.230 but the latest version released for ModSecurity is 3.0.4 (Jan 13, 2020).
how to get it updated in cwp pro?

Regards,

ZeejDeej

20
Softaculous / magento issue after installation
« on: August 03, 2020, 10:38:33 AM »
hello,

i have successfully installed magento via softaculous but its not showing up css/images/page format correctly. can anyone suggest me how to fix this issue. i am using cwp pro and running nginx/varnish/apache as web server configuration.

https://test.esoftware.pk/
https://test.esoftware.pk/admin

admin panel also showing text only

kindly suggest how to configure magento 2 on cwp pro

Regards,

ZeejDeej

21
DNS / DNS server failed to load
« on: June 16, 2020, 12:35:33 AM »
hello,

i am having issues with dns server , its giving following error while loading. kindly suggest how to fix these errors.

there are two main errors i see due to which dns server is not loading the zone file.

/var/named/esoftware.pk.db:36: file does not end with newline

what does this means? and how to end with newline?

zone esoftware.pk/IN: has no NS records

when i try to add NS record in dns zone file it gives error , (there is some error with configuration, please check and update)

also i am not able to add A record for ns1 and ns2 to point to my server IP

-- Unit named.service has begun starting up.
Jun 15 15:59:16 server.esoftware.pk bash[26011]: zone localhost.localdomain/IN: loaded serial 0
Jun 15 15:59:16 server.esoftware.pk bash[26011]: zone localhost/IN: loaded serial 0
Jun 15 15:59:16 server.esoftware.pk bash[26011]: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
Jun 15 15:59:16 server.esoftware.pk bash[26011]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
Jun 15 15:59:16 server.esoftware.pk bash[26011]: zone 0.in-addr.arpa/IN: loaded serial 0
Jun 15 15:59:16 server.esoftware.pk bash[26011]: /var/named/esoftware.pk.db:36: file does not end with newline
Jun 15 15:59:16 server.esoftware.pk bash[26011]: zone esoftware.pk/IN: has no NS records
Jun 15 15:59:16 server.esoftware.pk bash[26011]: zone esoftware.pk/IN: not loaded due to errors.
Jun 15 15:59:16 server.esoftware.pk bash[26011]: _default/esoftware.pk/IN: bad zone
Jun 15 15:59:16 server.esoftware.pk bash[26011]: zone ns1.esoftware.pk/IN: loaded serial 2020061400
Jun 15 15:59:16 server.esoftware.pk bash[26011]: zone ns2.esoftware.pk/IN: loaded serial 2020061400
Jun 15 15:59:16 server.esoftware.pk bash[26011]: zone ns1.test-domain.com/IN: loaded serial 2013071600
Jun 15 15:59:16 server.esoftware.pk bash[26011]: zone ns2.test-domain.com/IN: loaded serial 2013071600
Jun 15 15:59:16 server.esoftware.pk systemd[1]: named.service: control process exited, code=exited status=1
Jun 15 15:59:16 server.esoftware.pk systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
-- Subject: Unit named.service has failed

22
ok thanks, i will give it a try to rebuild mail server...

23
but there is no activity on the server :( .... that's why i was confused .... how to check the details which activity caused this high data usage ?

24
then why the same issue keep on appearing for multiple files and services and go away just by restarting the service ?  same thing is happening with PID files which exists with a valid PID but it says cant find or open file. again it disappear after service restart

25
CentOS Configuration / monit alert -- Upload bytes exceeded public
« on: May 26, 2020, 11:13:24 AM »
what does this alert means? any idea

Upload bytes exceeded Service public

    Date:        Mon, 25 May 2020 11:08:23
    Action:      alert
    Host:        server.baringslaw.group
    Description: total upload 1.0 GB matches limit [upload rate > 1 GB in last 1 hour]

Your faithful employee,
Monit

26
cwp pro is also generating system email alerts to root@my-server-hostname ..... any idea where to modify that address?

27
CWP SETTINGS->Edit Settings->Admin Email: + forward server email  was already set to my domain email but it was still sending emails to root@localhost


this seems the be the right place to change root@localhost , thanks for sharing.... do i have to restart monit service after this ?

nano /etc/monitrc

set alert your@domain.tld

28
CentOS-WebPanel Bugs / Can't open PID file
« on: May 26, 2020, 10:46:04 AM »
hello,

this Can't open PID file issue keep on appearing for multiple services and when i check the file exists with a valid PID inside. this issue goes away after service restart.
why this issue keep on appearing again and again for multiple services in cwp pro?
see the below example for cwp-phpfpm service .

[root@server ~]# service cwp-phpfpm status -l
Redirecting to /bin/systemctl status  -l cwp-phpfpm.service
● cwp-phpfpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/cwp-phpfpm.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2020-05-26 03:55:39 CEST; 8h ago
  Process: 23042 ExecReload=/bin/kill -USR2 $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 23011 (php-fpm)
   CGroup: /system.slice/cwp-phpfpm.service
           ├─ 9895 php-fpm: pool login
           ├─ 9896 php-fpm: pool cwpsvc
           └─23011 php-fpm: master process (/usr/local/cwp/php71/etc/php-fpm.conf)

May 26 03:55:39 server.baringslaw.group systemd[1]: Started The PHP FastCGI Process Manager.
May 26 03:55:39 server.baringslaw.group php-fpm[23011]: [26-May-2020 03:55:39] WARNING: Nothing matches the include pattern '/usr/local/cwp/php71/etc/php-fpm.d/users/*.conf' from /usr/local/cwp/php71/etc/php-fpm.d/users.conf at line 1.
May 26 03:55:39 server.baringslaw.group systemd[1]: Reloading The PHP FastCGI Process Manager.
May 26 03:55:39 server.baringslaw.group systemd[1]: Can't open PID file /usr/local/cwp/php71/var/run/cwp-php-fpm.pid (yet?) after reload: No such file or directory
May 26 03:55:39 server.baringslaw.group systemd[1]: Reloaded The PHP FastCGI Process Manager.

29
hello,

monit is trying to send email alerts to root@localhost and all these emails are being rejected due to the following reason:

May 26 12:26:17 server.baringslaw.group postfix/smtpd[8636]: NOQUEUE: reject: RCPT from server.baringslaw.group[::1]: 504 5.5.2
<root@localhost>: Recipient address rejected: need fully-qualified address; from=<monit@server.baringslaw.group> to=<root@localhost>
proto=ESMTP helo=<server.baringslaw.group>

message reject detail
---------------------
  RCPT
    Recipient address rejected: need fully-qualified address (total: 289)
         289   root@localhost


how to change the monit reporting email address ?

Regards,

Zeeshan  Javed

30
on my other server which is also running cwp pro these files have same owner i.e.

-rw-r-----. 1 vacation mail   211 May 22 11:22 mysql-virtual_vacation.cf
-rwxr-xr-x. 1 vacation root  2599 Mar 10 01:47 vacation.php

and there is no error on that server.

the above mentioned warnings were gone after postfix service stop start multiple times . this is strange as there seems to be some mishandling of user permissions by cwp.


Pages: 1 [2] 3 4