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

Pages: [1]
1
Hello,

I am facing situation where Alibaba blocked port 25 so no one can send email outside world, they suggest to use 465 SSL instead. but as Centos webpanel comes with default configuration of port 25 so is there a way i can myself change posftix configuration for port 465 SSL ?

otherwise i have mail service of thirdparty along with hostname of smtp etc, i already installed plugin in my wordpress website to use that third pary smtp service but i still not able to connect that as it shows SMTP connection faild. logs show nothing as i already stopped Postfix/Dovecot services as there is no more use of them.

kindly someone suggest me or guide me ?

centos 7.x
Apache version: Apache/2.4.34
PHP version: 5.6.37

2
Postfix / Postfix and Roundcube Shows time out
« on: March 07, 2018, 12:59:18 PM »
Hello,

After new install of centos panel on centos 7.x, emails is not working. i created email id login into roundcube but it just keep try sent email and after few secs it shows "Time out"message on screen.

Postfix + dovecot is shows running fine. i once again rebuild it but same problem.,

Webmail
===============
Log Files (roundcube)
/usr/local/cwpsrv/var/services/roundcube/logs/

Quote
[07-Mar-2018 12:24:13 UTC] PHP Fatal error:  Uncaught Error: Class 'Mail_mime' not found in /usr/local/cwpsrv/var/services/roundcube/program/steps/mail/sendmail.inc:364
Stack trace:
#0 /usr/local/cwpsrv/var/services/roundcube/index.php(291): include_once()
#1 {main}
  thrown in /usr/local/cwpsrv/var/services/roundcube/program/steps/mail/sendmail.inc on line 364
[07-Mar-2018 12:30:06 UTC] PHP Fatal error:  Uncaught Error: Class 'Mail_mime' not found in /usr/local/cwpsrv/var/services/roundcube/program/steps/mail/sendmail.inc:364
Stack trace:
#0 /usr/local/cwpsrv/var/services/roundcube/index.php(291): include_once()
#1 {main}
  thrown in /usr/local/cwpsrv/var/services/roundcube/program/steps/mail/sendmail.inc on line 364



/var/log/dovecot.log


Quote
Mar 07 20:23:58 imap(bookings@domain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Mar 07 20:23:58 imap(bookings@domain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Mar 07 20:23:58 dict: Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-dict-quota.conf: Permission denied
Mar 07 20:23:58 imap(bookings@domain.com): Error: read(/var/run/dovecot/dict) failed: Remote disconnected
Mar 07 20:23:59 imap(bookings@domain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Mar 07 20:23:59 dict: Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-dict-quota.conf: Permission denied
Mar 07 20:23:59 imap(bookings@domain.com): Error: read(/var/run/dovecot/dict) failed: Remote disconnected
Mar 07 20:23:59 imap(bookings@domain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Mar 07 20:24:03 imap(bookings@domain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Mar 07 20:24:03 imap(bookings@domain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Mar 07 20:30:25 master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Mar 07 20:30:25 log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)


/var/log/dovecot-info.log



Quote
Mar 07 20:23:58 imap(bookings@domain.com): Info: Disconnected: Logged out in=70 out=582
Mar 07 20:23:59 imap-login: Info: Login: user=<bookings@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15855, secured, session=<UtM5otFmqAB/AAAB>
Mar 07 20:23:59 imap(bookings@domain.com): Info: Disconnected: Logged out in=76 out=495
Mar 07 20:23:59 imap-login: Info: Login: user=<bookings@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15859, secured, session=<T+I+otFmrgB/AAAB>
Mar 07 20:23:59 imap(bookings@domain.com): Info: Disconnected: Logged out in=233 out=891
Mar 07 20:24:03 imap-login: Info: Login: user=<bookings@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15870, secured, session=<cFBwotFmsAB/AAAB>
Mar 07 20:24:03 imap(bookings@domain.com): Info: Disconnected: Logged out in=32 out=455
Mar 07 20:24:03 imap-login: Info: Login: user=<bookings@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15873, secured, session=<Npt2otFmsgB/AAAB>
Mar 07 20:24:03 imap(bookings@domain.com): Info: Disconnected: Logged out in=44 out=562
Mar 07 20:30:25 master: Info: Dovecot v2.2.10 starting up for imap, pop3, lmtp, sieve (core dumps disabled)



Log Files Postifx (smtp server):
/var/log/maillog


Quote
Mar  7 20:50:18 server1 postfix/local[18305]: 21F3041EBB: to=<root@server1.domain.com>, orig_to=<root>, relay=local, delay=0.17, delays=0.13/0/0/0.04, dsn=2.0.0, status=sent (forwarded as 3876740038)
Mar  7 20:50:18 server1 postfix/qmgr[17319]: 3876740038: to=<info@newdomain.com>, orig_to=<root>, relay=none, delay=0.07, delays=0.04/0.03/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mail.matlidigital.com[94.102.48.82]:25: Connection timed out)
Mar  7 20:50:18 server1 postfix/qmgr[17319]: 21F3041EBB: removed
Mar  7 20:50:35 server1 postfix/qmgr[17319]: CF2CF41EB3: from=<root@server1.domain.com>, size=656, nrcpt=1 (queue active)
Mar  7 20:50:35 server1 postfix/qmgr[17319]: CF2CF41EB3: to=<info@newdomain.com>, orig_to=<root>, relay=none, delay=1488, delays=1488/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mail.newdomain.com[96.125.48.84]:25: Connection timed out)



at rDNS page panelurl /admin/index.php?module=rdns_checker

it shows me no records even the ips dns record is properly point to the server hostname.

check image attached

please help me because its server from aliyun china and they are not user friendly, so tell me how i fix rDNS record ?

image link : https://ibb.co/dG2R57

3
CentOS-WebPanel Bugs / Re: Can't read my.cnf file bug
« on: January 09, 2018, 09:36:04 AM »
WOW, no responses

4
CentOS-WebPanel Bugs / Can't read my.cnf file bug
« on: December 15, 2017, 08:00:26 AM »
Hello,

CPU Model: Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz
CPU Details: 1 Core (2500 MHz)
Distro Name: CentOS Linux release 7.4.1708 (Core)
Kernel Version: 3.10.0-693.11.1.el7.x86_64
Platform: x86_64 [kvm]

Fresh Installed, and after optimise settings follow by CSF security check rebooted server, just edit the file of my.cnf within the server and added this line: local-infile=0  under [client-server]. save exit reboot server and mariadb server won't start any more with new unique error generating in /var/log/messages . and no matter you redo the changes it remain same stable mariadb down



Quote
Dec 15 15:45:47 server1 systemd: Starting MariaDB database server...
Dec 15 15:45:47 server1 sh: #007/usr/bin/my_print_defaults: Can't read dir of '/etc/my.cnf.' (Errcode: 2 "No such file or directory")
Dec 15 15:45:47 server1 sh: Fatal error in defaults handling. Program aborted
Dec 15 15:45:47 server1 mysqld: #007/usr/sbin/mysqld: Can't read dir of '/etc/my.cnf.' (Errcode: 2 "No such file or directory")
Dec 15 15:45:47 server1 mysqld: Fatal error in defaults handling. Program aborted
Dec 15 15:45:47 server1 systemd: mariadb.service: main process exited, code=exited, status=1/FAILURE
Dec 15 15:45:47 server1 systemd: Failed to start MariaDB database server.
Dec 15 15:45:47 server1 systemd: Unit mariadb.service entered failed state.
Dec 15 15:45:47 server1 systemd: mariadb.service failed.

Dec 15 15:45:58 server1 systemd: Starting MariaDB database server...
Dec 15 15:45:58 server1 sh: #007/usr/bin/my_print_defaults: Can't read dir of '/etc/my.cnf.' (Errcode: 2 "No such file or directory")
Dec 15 15:45:58 server1 sh: Fatal error in defaults handling. Program aborted
Dec 15 15:45:58 server1 mysqld: #007/usr/sbin/mysqld: Can't read dir of '/etc/my.cnf.' (Errcode: 2 "No such file or directory")
Dec 15 15:45:58 server1 mysqld: Fatal error in defaults handling. Program aborted
Dec 15 15:45:58 server1 systemd: mariadb.service: main process exited, code=exited, status=1/FAILURE
Dec 15 15:45:58 server1 systemd: Failed to start MariaDB database server.
Dec 15 15:45:58 server1 systemd: Unit mariadb.service entered failed state.
Dec 15 15:45:58 server1 systemd: mariadb.service failed.
Dec 15 15:46:08 server1 systemd: Starting MariaDB database server...
Dec 15 15:46:08 server1 sh: #007/usr/bin/my_print_defaults: Can't read dir of '/etc/my.cnf.' (Errcode: 2 "No such file or directory")
Dec 15 15:46:08 server1 sh: Fatal error in defaults handling. Program aborted
Dec 15 15:46:08 server1 mysqld: #007/usr/sbin/mysqld: Can't read dir of '/etc/my.cnf.' (Errcode: 2 "No such file or directory")
Dec 15 15:46:08 server1 mysqld: Fatal error in defaults handling. Program aborted
Dec 15 15:46:08 server1 systemd: mariadb.service: main process exited, code=exited, status=1/FAILURE
Dec 15 15:46:08 server1 systemd: Failed to start MariaDB database server.
Dec 15 15:46:08 server1 systemd: Unit mariadb.service entered failed state.
Dec 15 15:46:08 server1 systemd: mariadb.service failed.
Dec 15 15:46:18 server1 systemd: Starting MariaDB database server...
Dec 15 15:46:18 server1 sh: #007/usr/bin/my_print_defaults: Can't read dir of '/etc/my.cnf.' (Errcode: 2 "No such file or directory")
Dec 15 15:46:18 server1 sh: Fatal error in defaults handling. Program aborted
Dec 15 15:46:18 server1 mysqld: #007/usr/sbin/mysqld: Can't read dir of '/etc/my.cnf.' (Errcode: 2 "No such file or directory")
Dec 15 15:46:18 server1 mysqld: Fatal error in defaults handling. Program aborted
Dec 15 15:46:18 server1 systemd: mariadb.service: main process exited, code=exited, status=1/FAILURE
Dec 15 15:46:18 server1 systemd: Failed to start MariaDB database server.
Dec 15 15:46:18 server1 systemd: Unit mariadb.service entered failed state.
Dec 15 15:46:18 server1 systemd: mariadb.service failed.


if you notice this line mysqld: #007/usr/sbin/mysqld: Can't read dir of '/etc/my.cnf.' (Errcode: 2 "No such file or directory") and after hours efforts what i did is to add dot . in the end of my.cnf file name in /etc/my.cnf so it will be now /etc/my.cnf. with an extra dot in the end. i don't how and why this happens but i believe this is programing bug within panel but i have more server where same configuration work without any extra dot . so i m curious to know the reason from developer.

Thanks advanced

5
CentOS 7 Problems / Error in my_thread_global_end Centos panel 7
« on: December 14, 2017, 08:25:02 AM »
Hello,

 0
down vote
favorite
   

I found this error in my mysql error logs file.

Error in my_thread_global_end(): 1 threads didn't exit
171214 15:05:35 mysqld_safe mysqld from pid file /var/lib/mysql               
/server1.domain.com.pid ended

due to this it won't start anymore, i have search solution in many thread but all are windows solution where they describe to replace .dll php file to newer or older version than the php 5.2.x but i have much upper than any php version describe in solutions.

Code: [Select]
PHP 5.6.30 (cli) (built: Jan 28 2017 14:24:05)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.8, Copyright (c) 2002-2016, by ionCube Ltd.

Centos 7.4

Control panel : centos web panel  7 which came with all build

please anyone have any solution for this ?

6
CentOS 7 Problems / Re: CWP on Centos 7, Amazon EC2, VHOST not working
« on: December 14, 2017, 08:23:37 AM »
After NAT Enable you must re-build apache vhosts and it will solve your issue.

7
Thanks brother,

the problem was with the password, i found password in the file /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php and i copy that password and change it from the phpmyadmin for the user postfix and the error gone.

Thanks again

8
Error log at /usr/local/cwpsrv/logs/error_log

2017/08/17 16:18:04 [error] 1473#0: *1547 FastCGI sent in stderr: "PHP message: PHP Warning:  [obfuscated](): (HY000/1045): Access denied for user 'postfix'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/admin/user/index.php on line 0" while reading response header from upstream, client: 182.182.3.186, server: localhost, request: "GET /user/index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "48.42.228.213:2030", referrer: "http://48.42.228.213:2030/user/index.php?module=phpini_editor"

9
Hello,

Due to aliyun china i have to process installation two times, because it always stuck on pure-ftpd installation and clamav and in second attempt it done it and install it.

now the only issue i have is this error shows when i login to cwp "Warning: [obfuscated](): (HY000/1045): Access denied for user 'postfix'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0"

i already try deleted user "postfix'@'localhost" and re-added it with default privileges but it still shows, even after deleting postfix database it still shows. any clue how can i fix this ?

thanks

10
Installation / CentOS panel not installing on Aliyun Cloud
« on: October 05, 2016, 06:18:09 AM »
Hello,

I am try to install CENTOS webpanel on one of my Aliyun cloud VPS. i try 4-5 times, each time with new/fresh installation of centos 6. but it always STUCK during install where it shows "Installing Web Server Files".

What my thoughts are is Aliyun is china service and centos web panel are fetching data from different US/EU servers and i believe mirrors are blocked that is the reason its stuck in the middle. so can any one help me to diagnose the exact issue ? i mean to say can i have debug enable so i can see what is the real issue ?

Thanks

11
CentOS 6 Problems / Re: 451 4.3.5 Server configuration error
« on: April 22, 2015, 07:03:37 AM »
Hello,

Mail server only works fine once you have proper hostname and reverse record for the hostname IP. without this hotmail, yahoo, gmail reject your emails and marked spam as well they also won't sent email to the server email ID.

so first setup your proper hostname, add reverse PTR record for your hostname and then Rebuild the mail server again. make sure when you rebuild mail server your PTR record must resolve on proper Hostname. and once it done it should work like Professional mail server.

12
Hello,

When i restart MySQL server from the dashboard of CWP it shows the following errors of codes.

Code: [Select]
Warning: Error while sending SET_OPTION packet. PID=14097 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 5

MySQL server has gone away

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 5

I think this is something related with CWP panel configuration which is integrated with MySQL service so when it restart it shows this message.

13
Postfix / Re: cant send emails from postfix
« on: March 23, 2015, 07:10:49 AM »
Hello,

I face the same issue, i fixed this issue by following steps.

1. You must have valid DNS  records that resolved to your Server/VPS IP and must be properly setup to your HOSTNAME. Otherwise the REBUILD POSTFIX option under email postfix > Postfix Manager > Rebuild Mail server won't fix and generate proper configuration for postfix.

2. Hostname means your VPS/Server Computer name. like SERVER1.YOURDOMAIN.COM.

3. IP address must resolve to hostname. like 1.1.1.1 pointed to  SERVER1.YOURDOMAIN.COM

4. you must have rDNS entry. rDNS mean (Reverse DNS record). this will help your email reputed to hotmail/gmail/yahoomail. because if you don' have rDNS. hotmail will automatically reject your emails. gmail will get in SPAM and yahoo Blocked you.

I hope this will help others who have this issue.

Pages: [1]