1 (edited by mairoldi 2011-10-01 02:04:09)

Topic: port 7777 stops randomly

==== Provide basic information to help troubleshoot ====
- iRedMail version:  0.7.1
- Linux/BSD distribution name and version: Centos 5.5
- Any related log? Log is helpful for troubleshooting.
====
Dear Support,

here a log report of we can see on a server with iredadmin; we find the server on port 7777 stopped with error in log like this:
POSTFIX LOG

Sep 30 00:01:10 vm postfix/smtpd[17739]: warning: connect to 127.0.0.1:7777: Connection refused
Sep 30 00:01:10 vm postfix/smtpd[17739]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Sep 30 00:01:10 vm postfix/smtpd[17698]: connect from unknown[209.85.214.43]
Sep 30 00:01:11 vm postfix/smtpd[17698]: warning: connect to 127.0.0.1:7777: Connection refused
Sep 30 00:01:11 vm postfix/smtpd[17698]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Sep 30 00:01:11 vm postfix/smtpd[17739]: warning: connect to 127.0.0.1:7777: Connection refused
Sep 30 00:01:11 vm postfix/smtpd[17739]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Sep 30 00:01:11 vm postfix/smtpd[17739]: NOQUEUE: reject: RCPT from unknown[41.230.63.136]: 451 4.3.5 Server configuration problem; from=<lyricatkinson@pressdisplay.com> to=<corazza@xxx.org> proto=SMTP helo=<server>
Sep 30 00:01:11 vm postfix/smtpd[17739]: lost connection after RCPT from unknown[41.230.63.136]
Sep 30 00:01:11 vm postfix/smtpd[17739]: disconnect from unknown[41.230.63.136]
Sep 30 00:01:12 vm postfix/smtpd[17698]: warning: connect to 127.0.0.1:7777: Connection refused
Sep 30 00:01:12 vm postfix/smtpd[17698]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Sep 30 00:01:12 vm postfix/smtpd[17698]: NOQUEUE: reject: RCPT from unknown[209.85.214.43]: 451 4.3.5 Server configuration problem; from=<strazimirilejdi@gmail.com> to=<agenti.posta@xxx.it> proto=ESMTP helo=<mail-bw0-f43.g
oogle.com>


MYSQL LOG
110930  8:17:54 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
110930  8:17:54 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
110930  8:17:54  InnoDB: Started; log sequence number 0 146206827
110930  8:17:54 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.77'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution
110930  9:40:18 [ERROR] /usr/libexec/mysqld: Incorrect key file for table '/tmp/#sql_659_0.MYI'; try to repair it
110930  9:40:21 [ERROR] /usr/libexec/mysqld: Incorrect key file for table '/tmp/#sql_659_0.MYI'; try to repair it
110930  9:40:26 [ERROR] /usr/libexec/mysqld: Incorrect key file for table '/tmp/#sql_659_0.MYI'; try to repair it


We have already install python -c "import DBUtils; print DBUtils.__version__"  1.1  but the problem persist.

TKS in advance

Max

2

Re: port 7777 stops randomly

Did you apply this solution?
http://www.iredmail.org/forum/topic1972 … denly.html

Sorry about this trouble.

3

Re: port 7777 stops randomly

Dear Zhang,

i've apply your solution today; here the log repo.

###############################################

[root@vm-plt-fiugeriunvi ~]# wget http://iredapd.iredmail.googlecode.com/ … iredapd.py
--2011-10-01 11:26:40--  http://iredapd.iredmail.googlecode.com/ … iredapd.py
Risoluzione di iredapd.iredmail.googlecode.com... 209.85.169.82
Connessione a iredapd.iredmail.googlecode.com|209.85.169.82|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: non specificato [text/plain]
Salvataggio in: "iredapd.py"

    [ <=>                                   ] 19.410      --.-K/s   in 0,01s

2011-10-01 11:26:40 (1,73 MB/s) - "iredapd.py" salvato [19410]

[root@vm-plt-fiugeriunvi ~]# wget http://iredapd.iredmail.googlecode.com/ … _policy.py
--2011-10-01 11:26:49--  http://iredapd.iredmail.googlecode.com/ … _policy.py
Risoluzione di iredapd.iredmail.googlecode.com... 209.85.169.82
Connessione a iredapd.iredmail.googlecode.com|209.85.169.82|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: non specificato [text/plain]
Salvataggio in: "sql_alias_access_policy.py"

    [ <=>                                   ] 3.693       --.-K/s   in 0s

2011-10-01 11:26:49 (81,4 MB/s) - "sql_alias_access_policy.py" salvato [3693]

[root@vm-plt-fiugeriunvi ~]# cd /opt/iredapd/src/
[root@vm-plt-fiugeriunvi src]# cp /root/iredapd.py /opt/iredapd/src/
cp: sovrascrivo `/opt/iredapd/src/iredapd.py'? y
[root@vm-plt-fiugeriunvi src]# cp /root/sql_alias_access_policy.py /opt/iredapd/src/
[root@vm-plt-fiugeriunvi src]# cp /root/sql_alias_access_policy.py /opt/iredapd/src/plugins
cp: sovrascrivo `/opt/iredapd/src/plugins/sql_alias_access_policy.py'? y
[root@vm-plt-fiugeriunvi src]# chown iredapd:iredapd /opt/iredapd/src/iredapd.py
[root@vm-plt-fiugeriunvi src]# chown iredapd:iredapd /opt/iredapd/src/plugins/sql_alias_access_policy.py
[root@vm-plt-fiugeriunvi src]# chmod 0700 /opt/iredapd/src/iredapd.py
[root@vm-plt-fiugeriunvi src]# chmod 0700 /opt/iredapd/src/plugins/sql_alias_access_policy.py
[root@vm-plt-fiugeriunvi src]# /etc/init.d/iredapd restart
Stopping iredapd ...
Starting iredapd ...
[root@vm-plt-fiugeriunvi src]#

###############################################
If it doesn't happen again probably is the right solution  ;-)

We must wait....

Rgs
Max