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
1
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.


2
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

3
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

4
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

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

6
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 ?

7
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

8
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

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

10
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

11
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.

12
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

13
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.


14
the service postfix reload had no effect so i tried service postfix stop and service postfix start. and now the warning has changed to as below:
what should be the correct ower for the below two files? i tried changing it to root and the postfix service crashed and failed to restart ????

: warning: not owned by root: /etc/postfix/./vacation.php
: warning: not owned by root: /etc/postfix/./mysql-virtual_vacation.cf

[root@server run]# ll /etc/postfix/.
total 296
-rw-r--r-- 1 root     root 21535 Sep 25  2019 access
-rw-r--r-- 1 root     root 13194 Sep 25  2019 canonical
-rw-r--r-- 1 root     root 10221 Sep 25  2019 generic
-rw-r--r-- 1 root     root 23802 Sep 25  2019 header_checks
-rw-r--r-- 1 root     root  3521 May 22 21:29 main.cf
-rw-r--r-- 1 root     root  3420 May 22 08:44 main.cf_backup
-rw-r--r-- 1 root     root  4738 May 22 08:44 master.cf
-rw-r--r-- 1 root     root  4628 May 22 08:44 master.cf_backup
-rw-r--r-- 1 root     root   317 Mar 27  2017 mynetworks
-rw-r----- 1 root     mail   144 May 22 08:44 mysql-relay_domains_maps.cf
-rw-r----- 1 root     mail   242 May 22 08:44 mysql-virtual_alias_default_maps.cf
-rw-r----- 1 root     mail   159 May 22 08:44 mysql-virtual_alias_maps.cf
-rw-r----- 1 root     mail   150 May 22 08:44 mysql-virtual_alias_pipe_maps.cf
-rw-r----- 1 root     mail   161 May 22 08:44 mysql-virtual_domains_maps.cf
-rw-r----- 1 root     mail   144 May 22 08:44 mysql-virtual_mailbox_limit_maps.cf
-rw-r----- 1 root     mail   146 May 22 08:44 mysql-virtual_mailbox_maps.cf
-rw-r----- 1 vacation mail   217 May 22 08:44 mysql-virtual_vacation.cf
-rw-r--r-- 1 root     root     0 Mar 19 19:22 postfix-files
-rw-r--r-- 1 root     root  6929 Sep 25  2019 relocated
-rw-r--r-- 1 root     root   153 Mar 27  2017 sender_blacklist
-rw-r--r-- 1 root     root 12288 Mar 21 15:29 sender_blacklist.db
-rw-r--r-- 1 root     root   137 Mar 27  2017 sender_whitelist
-rw-r--r-- 1 root     root 12288 Mar 21 15:29 sender_whitelist.db
-rw-r--r-- 1 root     root    50 May 22 08:44 transport
-rw-r--r-- 1 root     root 12288 May 22 08:44 transport.db
-rw-r--r-- 1 root     root  4714 Apr 26 16:27 vacation_class.php
-rw-r--r-- 1 root     root   135 Mar 27  2017 vacation.conf
-rwxr-xr-x 1 vacation root  2599 Mar 10 01:47 vacation.php
-rw-r--r-- 1 root     root 24211 Mar 27  2017 vacation.pl
-rw-r--r-- 1 root     root  2394 Apr 26 16:27 vacation.zip
-rw-r--r-- 1 root     root 13963 Sep 25  2019 virtual
-rw-r--r-- 1 root     root 12288 May 22 23:17 virtual.db
-rw-r--r-- 1 root     root     0 Mar 19 19:21 virtual_regexp
-rw-r--r-- 1 root     root   488 May 22 22:05 vmail_ssl.map
-rw-r--r-- 1 root     root 45056 May 26 10:11 vmail_ssl.map.db


15
hello,

postfix is giving this warning : warning: database /etc/postfix/vmail_ssl.map.db is older than source file /etc/postfix/vmail_ssl.map

i tried to run the below suggested commands from cwp forum thread : http://forum.centos-webpanel.com/postfix/i-can-send-email-but-i-can%27t-receive/

$ postmap -F hash:/etc/postfix/vmail_ssl.map
$ service postfix reload

but no luck , the warning is still appearing .

can someone suggest me a workaround for this ?

Regards,

Zeeshan Javed

Pages: [1] 2 3