ZhangHuangbin wrote:It doesn't look like mlmmjadmin is running. Could you try to stop it first, then start it?
Make sure port 7790 is listening, also /var/log/mlmmjadmin/mlmmjadmin.log has some log.
Hi!
/opt# ll
...
lrwxrwxrwx 1 root root 19 Окт 12 17:30 mlmmjadmin -> /opt/mlmmjadmin-1.7
...
/opt# service mlmmjadmin stop
mlmmjadmin is already stopped.
opt# service mlmmjadmin start
Starting mlmmjadmin ...
[uWSGI] getting INI configuration from /opt/mlmmjadmin/rc_scripts/uwsgi/debian.ini
/opt/mlmmjadmin/tools# service mlmmjadmin status
mlmmjadmin is running.
root@mail.atanor.ru:/opt/mlmmjadmin/tools# netstat -ntlp | grep 7790
tcp 0 0 127.0.0.1:7790 0.0.0.0:* LISTEN 28969/uwsgi
/opt# cd mlmmjadmin/tools/
/opt/mlmmjadmin/tools# python maillist_admin.py info list@mydomain.xx
Traceback (most recent call last):
File "maillist_admin.py", line 119, in <module>
_json = r.json()
TypeError: 'dict' object is not callable
*******
But in the log file operations for some reason are not recorded 8-0
*********
# date -u
Fri Oct 12 14:44:20 UTC 2018
# ll /var/log/mlmmjadmin/
-rw-r----- 1 root adm 4803 Oct 10 17:52 mlmmjadmin.log
# tail -n 10 /var/log/mlmmjadmin/mlmmjadmin.log
Oct 10 17:52:54 mail mlmmjadmin INFO [127.0.0.1] list@mydomain.xxx, updated: moderators -> postmaster@mydomain.xxx
Oct 10 17:52:54 mail mlmmjadmin INFO [127.0.0.1] list@mydomain.xxx, updated (list) parameter: moderators -> postmaster@mydomain.xxx
Oct 10 17:52:54 mail mlmmjadmin INFO [127.0.0.1] list@mydomain.xxx, updated (boolean) parameter: notifymod -> no
Oct 10 17:52:54 mail mlmmjadmin INFO [127.0.0.1] list@mydomain.xxx, updated (boolean) parameter: tocc -> yes
Oct 10 17:52:54 mail mlmmjadmin INFO [127.0.0.1] list@mydomain.xxx, updated: owner -> postmaster@mydomain.xxx
Oct 10 17:52:54 mail mlmmjadmin INFO [127.0.0.1] list@mydomain.xxx, updated (list) parameter: owner -> ['postmaster@mydomain.xxx']
Oct 10 17:52:54 mail mlmmjadmin INFO [127.0.0.1] list@mydomain.xxx, updated (normal) parameter: smtpport -> 10027
Oct 10 17:52:54 mail mlmmjadmin INFO [127.0.0.1] list@mydomain.xxx, updated (boolean) parameter: subonlyget -> yes
Oct 10 17:52:54 mail mlmmjadmin INFO [127.0.0.1] list@mydomain.xxx, updated: customheaders -> List-Unsubscribe: <mailto:list+unsubscribe@mydomain.xxx?subject=Unsubscribe>, Reply-To: list@mydomain.xxx, X-Mailing-List: list@mydomain.xxx, List-Subscribe: <mailto:list+subscribe@mydomain.xxx?subject=Subscribe>, Precedence: list
Oct 10 17:52:54 mail mlmmjadmin INFO [127.0.0.1] list@mydomain.xxx, updated (list) parameter: customheaders -> ['List-Unsubscribe: <mailto:list+unsubscribe@mydomain.xxx?subject=Unsubscribe>', 'Reply-To: list@mydomain.xxx', 'X-Mailing-List: list@mydomain.xxx', 'List-Subscribe: <mailto:list+subscribe@mydomain.xxx?subject=Subscribe>', 'Precedence: list']