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

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

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

7
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

8
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

9
E-Mail / emails to hostmail and outlook always goes to spam
« on: May 17, 2020, 08:34:28 AM »
hello,

i have configured SPF, DKIM, DMARC records for my domain and rDns is matching the SMTP banner. my email spam test score is 10/10 still all emails to hotmail and outlook going to spam folder. i have even contacted hotmail team to unblock my IP as it has clean reputation and not reported in any of the ban/spam list but they always reply your domain/IP is doesn't qualify for mitigation.

see the attached snaps for reference. kindly suggest what else i can do to fix this issue.




10
E-Mail / postfix dovecot limits
« on: May 17, 2020, 07:16:49 AM »
hello,

i want to deploy an email server which is suppose to receive 5000 email per hour max and 20000 a day in total. is postfix and dovecot can handle this much incoming email traffic smoothly by default setting with cwp pro? or do i have to fine tune some setting/parameters to optimize the mail server performance?

kindly suggest if cwp pro can be used to manage email server on large scale? how stable is it ? did someone tested it on a busy server.

Regards,

Zeeshan Javed

11
DNS / can i change main domain in cwp pro
« on: May 14, 2020, 01:29:09 AM »
hello,

can i change the main domain in my currently running live cwp pro server ? how to change it without having issues with current site and subdomains.

is there a way to smoothly change the main domain and private nameservers on my vps running cwp pro? kindly suggest the best possible solution.

Regards,

Zeeshan Javed

12


SOA Tests

Your SOA record according to ns2.smartwebsolutions.club. is:
Field
Value
Master Nameserver:
ns1.smartwebsolutions.club.
Hostmaster E-Mail Address:
admin@smartwebsolutions.club
Serial #:
2020050689
Refresh:
3600
Retry:
7200

FAIL: This value is extremely high. A good suggestion would be between 300-3600 (5 minutes to 1 hour). This value is even higher than the refresh value which makes very little sense. This should be adjusted.
Expire:
1209600
Default TTL:
86400

FAIL: This value is a little high. The recommended values per RFC1912 are 3600-10800 (1 to 3 hours). This value is primarily used for negative caching. This is how long a dns cache will cache that a record does not exist before trying to look it up again.
Successes: 6 Tests Passed
Failures: 1 Failure
Warnings: 1 Warning

in cwp panel the recommended values are shown as :
------------------------------------------------------------
Refresh Recommended: 86400
Retry Recommended: 7200
Expire Recommended: 3600000
TTL Recommended: 172800
------------------------------------------------------------

in both the zone files i.e. : ns1.smartwebsolutions.club.db & ns2.smartwebsolutions.club.db

MNAME is set to : ns1.smartwebsolutions.club
RNAME is set to : info.centos-webpanel.com

kindly suggest of this is correct or for ns2 MNAME should be ns2.smartwebsolutions.club and what should be in RNAME for both


13
Hello,

i am having master.pid file cant be found error as below. i have check /var/run/dovecot/master.pid exists with the following permissions. can someone suggest me why i am getting this error as the file and folder already exists with valid pid info inside.


[root@server ~]# service dovecot status -l
Redirecting to /bin/systemctl status  -l dovecot.service
● dovecot.service - Dovecot IMAP/POP3 email server
   Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2020-05-08 02:09:15 CEST; 10h ago
     Docs: man:dovecot(1)
           http://wiki2.dovecot.org/
  Process: 29745 ExecStop=/usr/bin/doveadm stop (code=exited, status=0/SUCCESS)
  Process: 29797 ExecStart=/usr/sbin/dovecot (code=exited, status=0/SUCCESS)
  Process: 29794 ExecStartPre=/usr/sbin/portrelease dovecot (code=exited, status=0/SUCCESS)
  Process: 29787 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, status=0/SUCCESS)
 Main PID: 29801 (dovecot)
   CGroup: /system.slice/dovecot.service
           ├─19670 dovecot/ssl-params
           ├─29801 /usr/sbin/dovecot
           ├─29802 dovecot/anvil
           ├─29803 dovecot/log
           └─29805 dovecot/config

May 08 02:09:14 server.smartwebsolutions.club systemd[1]: Starting Dovecot IMAP/POP3 email server...
May 08 02:09:15 server.smartwebsolutions.club systemd[1]: Can't open PID file /var/run/dovecot/master.pid (yet?) after start: No such file or directory
May 08 02:09:15 server.smartwebsolutions.club systemd[1]: Started Dovecot IMAP/POP3 email server.
[root@server ~]# ll /var/run/dovecot/
total 8
srw------- 1 root    root       0 May  8 02:09 anvil
srw------- 1 root    root       0 May  8 02:09 anvil-auth-penalty
srw------- 1 dovecot root       0 May  8 02:09 auth-client
srw------- 1 dovecot root       0 May  8 02:09 auth-login
srw------- 1 root    root       0 May  8 02:09 auth-master
-rw------- 1 root    root      32 May  6 02:54 auth-token-secret.dat
srw-rw-rw- 1 vmail   mail       0 May  8 02:09 auth-userdb
srw------- 1 dovecot root       0 May  8 02:09 auth-worker
srw------- 1 root    root       0 May  8 02:09 config
srw-rw-rw- 1 vmail   mail       0 May  8 02:09 dict
srw------- 1 root    root       0 May  8 02:09 dict-async
srw------- 1 root    root       0 May  8 02:09 director-admin
srw-rw-rw- 1 root    root       0 May  8 02:09 dns-client
srw------- 1 root    root       0 May  8 02:09 doveadm-server
lrwxrwxrwx 1 root    root      25 May  8 02:09 dovecot.conf -> /etc/dovecot/dovecot.conf
drwxr-xr-x 2 root    root      40 May  6 00:54 empty
srw------- 1 root    root       0 May  8 02:09 imap-hibernate
srw------- 1 root    root       0 May  8 02:09 imap-master
srw-rw-rw- 1 root    root       0 May  8 02:09 imap-urlauth
srw------- 1 dovecot root       0 May  8 02:09 imap-urlauth-worker
srw-rw-rw- 1 root    root       0 May  8 02:09 indexer
srw------- 1 dovecot root       0 May  8 02:09 indexer-worker
srw------- 1 root    root       0 May  8 02:09 ipc
srw-rw-rw- 1 root    root       0 May  8 02:09 lmtp
srw------- 1 root    root       0 May  8 02:09 log-errors
drwxr-x--- 2 root    dovenull 160 May  8 02:09 login
srw------- 1 root    root       0 May  8 02:09 master
-rw------- 1 root    root       6 May  8 02:09 master.pid
srw------- 1 root    root       0 May  8 02:09 replication-notify
prw------- 1 root    root       0 May  8 02:09 replication-notify-fifo
srw------- 1 dovecot root       0 May  8 02:09 replicator
srw-rw-rw- 1 root    root       0 May  8 02:09 ssl-params
srw-rw--w- 1 root    root       0 May  8 02:09 stats
prw------- 1 root    root       0 May  8 02:09 stats-mail
prw------- 1 root    root       0 May  8 02:09 stats-user
drwxr-x--- 2 root    dovenull  80 May  8 02:09 token-login

14
hello,

i am getting following denied messages for my named service. anybody kindly suggest
-----------------------------------------------------------------------------------------------------------------------------------------
[root@server ~]# service named status -l
Redirecting to /bin/systemctl status  -l named.service
● named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2020-05-03 22:04:56 CEST; 11h ago
  Process: 835 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=0/SUCCESS)
  Process: 782 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)
 Main PID: 868 (named)
   CGroup: /system.slice/named.service
           └─868 /usr/sbin/named -u named -c /etc/named.conf

May 04 09:47:52 server.smartwebsolutions.club named[868]: client @0x7f9c80041c20 127.0.0.1#32918 (.): query (cache) './NS/IN' denied
May 04 09:47:52 server.smartwebsolutions.club named[868]: client @0x7f9c7801d450 127.0.0.1#38424 (.): query (cache) './NS/IN' denied
May 04 09:48:12 server.smartwebsolutions.club named[868]: client @0x7f9c800d42f0 210.202.200.22#64976 (125.10.10.10.in-addr.arpa): query (cache) '125.10.10.10.in-addr.arpa/PTR/IN' denied
May 04 09:49:05 server.smartwebsolutions.club named[868]: client @0x7f9c800d42f0 210.202.200.22#64976 (66.10.10.10.in-addr.arpa): query (cache) '66.10.10.10.in-addr.arpa/PTR/IN' denied
May 04 09:52:52 server.smartwebsolutions.club named[868]: client @0x7f9c80041c20 127.0.0.1#50594 (.): query (cache) './NS/IN' denied
May 04 09:52:52 server.smartwebsolutions.club named[868]: client @0x7f9c780486e0 127.0.0.1#38502 (.): query (cache) './NS/IN' denied
May 04 09:56:25 server.smartwebsolutions.club named[868]: client @0x7f9c800c5cc0 210.202.200.22#64976 (111.10.10.10.in-addr.arpa): query (cache) '111.10.10.10.in-addr.arpa/PTR/IN' denied
May 04 09:56:57 server.smartwebsolutions.club named[868]: client @0x7f9c800c5cc0 210.202.200.22#64976 (211.10.10.10.in-addr.arpa): query (cache) '211.10.10.10.in-addr.arpa/PTR/IN' denied
May 04 09:57:52 server.smartwebsolutions.club named[868]: client @0x7f9c80041c20 127.0.0.1#36754 (.): query (cache) './NS/IN' denied
May 04 09:57:52 server.smartwebsolutions.club named[868]: client @0x7f9c800b7150 127.0.0.1#38550 (.): query (cache) './NS/IN' denied
[root@server ~]#

15
hello,

i am getting the below warning with crond.service, is it critical ? how to fix it ? any suggestions......


-------------------------------------------------------------------------------------------------------------------
WARNING!

● crond.service - Command Scheduler
   Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2020-05-03 12:08:05 CEST; 10h ago
 Main PID: 545 (crond)
   CGroup: /system.slice/crond.service
           └─545 /usr/sbin/crond -n

May 03 18:00:01 server.smartwebsolutions.club crond[22006]: pam_limits(crond:session): invalid line 'sws hard nproc ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22007]: pam_limits(crond:session): invalid line 'sws hard nproc ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22007]: pam_limits(crond:session): invalid line 'sws hard nofile ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22006]: pam_limits(crond:session): invalid line 'sws hard nofile ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22008]: pam_limits(crond:session): invalid line 'sws hard nproc ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22008]: pam_limits(crond:session): invalid line 'sws hard nofile ' - skipped
May 03 18:01:01 server.smartwebsolutions.club crond[22108]: pam_limits(crond:session): invalid line 'sws hard nproc ' - skipped
May 03 18:01:01 server.smartwebsolutions.club crond[22108]: pam_limits(crond:session): invalid line 'sws hard nofile ' - skipped
May 03 20:11:01 server.smartwebsolutions.club crond[545]: (root) RELOAD (/var/spool/cron/root)
May 03 20:15:01 server.smartwebsolutions.club crond[545]: (root) RELOAD (/var/spool/cron/root)

Pages: [1] 2