1 (edited by sectigo 2020-09-08 00:06:57)

Topic: 500 error when trying create new mail user

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.1
- Deployed downloadable installer.
- Linux/BSD distribution name and version: Debian 10 (Buster)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I'm trying to create a new mail account through the panel, but after entering the data (password, username, quota), an internal server error pops up.
There is nothing in the logs, except for a message about sending a page with a HTTP 500 response code.

2

Re: 500 error when trying create new mail user

Maybe error here...

Sep  7 22:56:01 mx CRON[15756]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Sep  7 22:56:22 mx uwsgi: mx.kreed.band [pid: 658|app: 2|req: 74/195] 178.17.174.14 () {54 vars in 984 bytes} [Mon Sep  7 22:56:21 2020] GET /iredadmin/create/user => generated 0 bytes in 302 msecs (HTTP/2.0 303) 3 headers in 248 bytes (2 switches on core 0)
Sep  7 22:56:25 mx uwsgi: mx.kreed.band [pid: 658|app: 2|req: 75/196] 178.17.174.14 () {54 vars in 1006 bytes} [Mon Sep  7 22:56:23 2020] GET /iredadmin/create/user/kreed.band => generated 10752 bytes in 1930 msecs (HTTP/2.0 200) 2 headers in 175 bytes (2 switches on core 0)
Sep  7 22:57:01 mx CRON[15816]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Sep  7 22:57:03 mx uwsgi: mx.kreed.band [pid: 658|app: 2|req: 76/197] 178.17.174.14 () {58 vars in 1127 bytes} [Mon Sep  7 22:57:02 2020] POST /iredadmin/create/user/kreed.band => generated 21 bytes in 460 msecs (HTTP/2.0 500) 2 headers in 194 bytes (2 switches on core 0)

3

Re: 500 error when trying create new mail user

- Is mlmmjadmin service running?
- Any related log in /var/log/syslog?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

4

Re: 500 error when trying create new mail user

ZhangHuangbin wrote:

- Is mlmmjadmin service running?
- Any related log in /var/log/syslog?

Yes, it is

No, I cannot find any related logs there

5

Re: 500 error when trying create new mail user

ZhangHuangbin wrote:

- Is mlmmjadmin service running?
- Any related log in /var/log/syslog?

This is the moment, when I'm trying to create user (/var/log/syslog):

Sep  7 22:55:13 mx uwsgi: mx.kreed.band [pid: 658|app: 2|req: 72/192] 178.17.174.14 () {52 vars in 843 bytes} [Mon Sep  7 22:55:12 2020] GET /iredadmin => generated 5002 bytes in 641 msecs (HTTP/2.0 200) 1 headers in 44 bytes (2 switches on core 0)
Sep  7 22:55:33 mx uwsgi: mx.kreed.band [pid: 658|app: 2|req: 73/193] 178.17.174.14 () {58 vars in 1016 bytes} [Mon Sep  7 22:55:33 2020] POST /iredadmin/login => generated 0 bytes in 178 msecs (HTTP/2.0 303) 3 headers in 244 bytes (2 switches on core 0)
Sep  7 22:55:35 mx uwsgi: mx.kreed.band [pid: 654|app: 2|req: 51/194] 178.17.174.14 () {54 vars in 979 bytes} [Mon Sep  7 22:55:34 2020] GET /iredadmin/dashboard/checknew => generated 10301 bytes in 929 msecs (HTTP/2.0 200) 2 headers in 175 bytes (2 switches on core 0)
Sep  7 22:56:01 mx CRON[15756]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Sep  7 22:56:22 mx uwsgi: mx.kreed.band [pid: 658|app: 2|req: 74/195] 178.17.174.14 () {54 vars in 984 bytes} [Mon Sep  7 22:56:21 2020] GET /iredadmin/create/user => generated 0 bytes in 302 msecs (HTTP/2.0 303) 3 headers in 248 bytes (2 switches on core 0)
Sep  7 22:56:25 mx uwsgi: mx.kreed.band [pid: 658|app: 2|req: 75/196] 178.17.174.14 () {54 vars in 1006 bytes} [Mon Sep  7 22:56:23 2020] GET /iredadmin/create/user/kreed.band => generated 10752 bytes in 1930 msecs (HTTP/2.0 200) 2 headers in 175 bytes (2 switches on core 0)
Sep  7 22:57:01 mx CRON[15816]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Sep  7 22:57:03 mx uwsgi: mx.kreed.band [pid: 658|app: 2|req: 76/197] 178.17.174.14 () {58 vars in 1127 bytes} [Mon Sep  7 22:57:02 2020] POST /iredadmin/create/user/kreed.band => generated 21 bytes in 460 msecs (HTTP/2.0 500) 2 headers in 194 bytes (2 switches on core 0)

6 (edited by balaji.chode 2020-09-08 17:55:44)

Re: 500 error when trying create new mail user

Getting Internal Server error while creating new user from iRedAdmin. No error messages in nginx or syslog. mlmmj service is also running fine. Please help.

This is on Ubuntu 18.

7

Re: 500 error when trying create new mail user

This an strace log when error pops up

[{EPOLLIN, {u32=6, u64=6}}], 1, -1) = 1
[{EPOLLIN, {u32=6, u64=6}}], 1, -1) = 1
[{EPOLLIN, {u32=6, u64=6}}], 1, -1) = 1
[{EPOLLIN, {u32=6, u64=6}}], 1, -1) = 1
[{EPOLLIN, {u32=6, u64=6}}], 1, -1) = 1
accept4(6, accept4(6, accept4(6, 0x7f6f4f28b614, [110], SOCK_NONBLOCK) = -1 EAGAIN (Resource temporarily unavailable)
accept4(6, {sa_family=AF_INET, sin_port=htons(55510), sin_addr=inet_addr("127.0.0.1")}, [110->16], SOCK_NONBLOCK) = 8
0x7f6f4f233614, [110], SOCK_NONBLOCK) = -1 EAGAIN (Resource temporarily unavailable)
accept4(6, epoll_wait(7, 0x7f6f4f249614, [110], SOCK_NONBLOCK) = -1 EAGAIN (Resource temporarily unavailable)
epoll_wait(7, gettimeofday(epoll_wait(7, {tv_sec=1599574148, tv_usec=244284}, NULL) = 0
read(8, "\0\332\3\0\f\0QUERY_STRING\0\0\16\0REQUEST_ME"..., 4100) = 1146
chdir("/opt/www/iredadmin")             = 0
0x7f6f4f25f614, [110], SOCK_NONBLOCK) = -1 EAGAIN (Resource temporarily unavailable)
epoll_wait(7, clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=246021259}) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=246448235}) = 0
socket(AF_INET, SOCK_STREAM, IPPROTO_IP) = 9
setsockopt(9, SOL_TCP, TCP_NODELAY, [1], 4) = 0
fcntl(9, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
fcntl(9, F_SETFD, FD_CLOEXEC)           = 0
setsockopt(9, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
connect(9, {sa_family=AF_INET, sin_port=htons(5432), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
poll([{fd=9, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLOUT}])
getsockopt(9, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(9, {sa_family=AF_INET, sin_port=htons(56766), sin_addr=inet_addr("127.0.0.1")}, [128->16]) = 0
poll([{fd=9, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLOUT}])
sendto(9, "\0\0\0\10\4\322\26/", 8, MSG_NOSIGNAL, NULL, 0) = 8
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "S", 16384, 0, NULL, NULL)  = 1
geteuid()                               = 2001
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 11
lseek(11, 0, SEEK_CUR)                  = 0
fstat(11, {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0
read(11, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2097
close(11)                               = 0
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getrandom("\xca\xcc\xcf\x69\x66\x8f\xfd\x9c\xdc\x32\xa6\x56\x5a\x4f\x17\x7a\x9a\xc7\x46\x5c\x83\x9e\x06\xf4\x6a\x30\x27\xfa\x60\xa4\xda\xa9", 32, 0) = 32
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
stat("/home/iredadmin/.postgresql/root.crt", 0x7fffb7cd3ae0) = -1 ENOENT (No such file or directory)
stat("/home/iredadmin/.postgresql/postgresql.crt", 0x7fffb7cd3ae0) = -1 ENOENT (No such file or directory)
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
sendto(9, "\26\3\1\1\26\1\0\1\22\3\3\241s\347+Dq\331\5\17\271\\:\346\207\370\231r\276\n\311\f"..., 283, MSG_NOSIGNAL, NULL, 0) = 283
recvfrom(9, 0x55c23f8d9eb3, 5, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\26\3\3\0X", 5, 0, NULL, NULL) = 5
recvfrom(9, "\2\0\0T\3\3\317!\255t\345\232a\21\276\35\214\2\36e\270\221\302\242\21\26z\273\214^\7\236"..., 88, 0, NULL, NULL) = 88
getpid()                                = 718
getpid()                                = 718
sendto(9, "\24\3\3\0\1\1\26\3\3\0017\1\0\0013\3\3\241s\347+Dq\331\5\17\271\\:\346\207\370"..., 322, MSG_NOSIGNAL, NULL, 0) = 322
recvfrom(9, "\24\3\3\0\1", 5, 0, NULL, NULL) = 5
recvfrom(9, "\1", 1, 0, NULL, NULL)     = 1
recvfrom(9, 0x55c23f8d9eb3, 5, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\26\3\3\0\233", 5, 0, NULL, NULL) = 5
recvfrom(9, "\2\0\0\227\3\3z)\317\304\313\335\225g$\371\374l\372\0101\373\v\312\251\225\30,//\210\347"..., 155, 0, NULL, NULL) = 155
recvfrom(9, "\27\3\3\0\27", 5, 0, NULL, NULL) = 5
recvfrom(9, "\356\217u\216H\204\220\v\3&\312\24\205\322*\1T\323\31\374B\271.", 23, 0, NULL, NULL) = 23
recvfrom(9, "\27\3\3\3\7", 5, 0, NULL, NULL) = 5
recvfrom(9, "\276\371R\363\nK\270\221\224oV\303_\365\245x\2353\200\301I\n\252\240\24wPr9a\244\316"..., 775, 0, NULL, NULL) = 775
recvfrom(9, "\27\3\3\1\31", 5, 0, NULL, NULL) = 5
recvfrom(9, "o\371\1\210\0211\326\231-6\265l\252\205\25\235KdYb\\5\312\f#u\220\262\37w\217I"..., 281, 0, NULL, NULL) = 281
recvfrom(9, "\27\3\3\0E", 5, 0, NULL, NULL) = 5
recvfrom(9, "\277J0\376\207{PF=Y\177\274\264\3077\276^\26178\241\352\212b(9\204\213\274\273\221\n"..., 69, 0, NULL, NULL) = 69
sendto(9, "\27\3\3\0E<N\207\253\327\255Q`):\fg\214\310\232\36\305\265\374-\215)\213.\26\267\311"..., 74, MSG_NOSIGNAL, NULL, 0) = 74
poll([{fd=9, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLOUT}])
sendto(9, "\27\3\3\0<wj\275L\217\235Z\303G&\245\303\331(>Q\31fW9\255\226\340\356:w\300"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0J", 5, 0, NULL, NULL) = 5
recvfrom(9, "7\236\250f\263\370\362>\2766\4\22Uw=_\264\0044\\\216\201\21wv\362\306L\264\237\244H"..., 74, 0, NULL, NULL) = 74
recvfrom(9, "\27\3\3\0J", 5, 0, NULL, NULL) = 5
recvfrom(9, "\246q\370d^\361\337l\3722\235\35\251\205x\34g\361\220\366\326\352\366AJ\304\220\310:\372\273\206"..., 74, 0, NULL, NULL) = 74
recvfrom(9, 0x55c23f8d9eb3, 5, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0\36", 5, 0, NULL, NULL) = 5
recvfrom(9, "\23d\310\201\310\3\n+0\255\31o\3\201\226!\f\r\36\16\31&l?\237\312\246\1\"\2", 30, 0, NULL, NULL) = 30
sendto(9, "\27\3\3\0:#\\];\346`M\270#\237\341\200o\263\364\304\207\203\245@\317\256\327\352W\22\341"..., 63, MSG_NOSIGNAL, NULL, 0) = 63
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\1u", 5, 0, NULL, NULL) = 5
recvfrom(9, "\7\"\247\300\355n\310W\304U\356\36\360=\24\300\25\253\\\362\354\261\f\361\272\226\200E\7\204\232Q"..., 373, 0, NULL, NULL) = 373
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=281634056}) = 0
sendto(9, "\27\3\3\0\34\376#\316\257c\260\20\375\3648t\6w\1\205\108\\\353\210\33\245i\323$D^"..., 33, MSG_NOSIGNAL, NULL, 0) = 33
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0\"", 5, 0, NULL, NULL) = 5
recvfrom(9, "CI\217\3315\361\270u\326j\244\17\205m\30teT[r\314T\0\177\345UJ\376\202\24\265\360"..., 34, 0, NULL, NULL) = 34
sendto(9, "\27\3\3\0a\243\320\253\2464\261;\341\360\211\"\321'P\30Q\277\301^\37\2264\220\273c\35j"..., 102, MSG_NOSIGNAL, NULL, 0) = 102
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0%", 5, 0, NULL, NULL) = 5
recvfrom(9, "\317\235N\273&{\\\332?\371\237\262Wc\365\260\224\317f\310\367P\201\1\344\362\256\34\4&-v"..., 37, 0, NULL, NULL) = 37
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=286732244}) = 0
sendto(9, "\27\3\3\0\35X\275\206\353\204\346AV4b\275g\177\254 \347\20\306\2738$\4\17\206J\313j"..., 34, MSG_NOSIGNAL, NULL, 0) = 34
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0#", 5, 0, NULL, NULL) = 5
recvfrom(9, "\267\267i\22t\6\214\301r\31\2123\224K\211i\373\317LE;\265U\365M!\247\364\307\300\376@"..., 35, 0, NULL, NULL) = 35
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=289618694}) = 0
sendto(9, "\27\3\3\0\34\335~Q\355\271}\6\226\204\347\4z\337y6\32\330a\201\3058bN\22<l^"..., 33, MSG_NOSIGNAL, NULL, 0) = 33
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0\"", 5, 0, NULL, NULL) = 5
recvfrom(9, "\222@\303\325\30xQ\345\2554f\350\201X\23\320\256x\240|\371\2\331\363\206\350\24\325\25\254\31b"..., 34, 0, NULL, NULL) = 34
sendto(9, "\27\3\3\0iPpy\242\362\31L\32c\fFq5v\222\272\364\247\241-\361`K\223Y\243\10"..., 110, MSG_NOSIGNAL, NULL, 0) = 110
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\3\252", 5, 0, NULL, NULL) = 5
recvfrom(9, "\232G\26^\r\211uZ\35=\307>\353\311\337\216\312so&T\254R2A\360\4,x\324\376\374"..., 938, 0, NULL, NULL) = 938
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=293791946}) = 0
sendto(9, "\27\3\3\0\35\v\206\261>\350\6B<]\200\205Ym\313\324\256+\243\254\26q\4e\202\267TK"..., 34, MSG_NOSIGNAL, NULL, 0) = 34
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0#", 5, 0, NULL, NULL) = 5
recvfrom(9, "\351\251)\300\32u\326\214i(\235\344eN\30\26l\30\236\230\1w[\220\352\"V\264[\tk\232"..., 35, 0, NULL, NULL) = 35
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=295755986}) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=296482282}) = 0
sendto(9, "\27\3\3\0\34_\375\271\364W\226\271\300}\307\177\271\245\264\242\272\335f\3516\267\252\243[N\261,"..., 33, MSG_NOSIGNAL, NULL, 0) = 33
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0\"", 5, 0, NULL, NULL) = 5
recvfrom(9, "\242\4Z\374\271\206&\266\254P\333\342\311\6\375UZVW\257\372\334\3007\312\337\200\214\240\230\354."..., 34, 0, NULL, NULL) = 34
sendto(9, "\27\3\3\0ic!\301\r\\S\307c\332\344a\0320\17\366\3731/\372\0220R\v\242\255\"\353"..., 110, MSG_NOSIGNAL, NULL, 0) = 110
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\3\252", 5, 0, NULL, NULL) = 5
recvfrom(9, "\250E\37\250\16W\\w\345S\252@\340\267\343\n\342\343.\367\33\267\16U?\271`#kj.\217"..., 938, 0, NULL, NULL) = 938
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=299582301}) = 0
sendto(9, "\27\3\3\0\358\34T\237\27>D\17\217 Ht{\241Y\232\230d\360\347D\367\203\34\271`\35"..., 34, MSG_NOSIGNAL, NULL, 0) = 34
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0#", 5, 0, NULL, NULL) = 5
recvfrom(9, "\230\t\201\243^\370p4\324t\322\234\232\255Ap\247\366\351\26'Z\257\301=\311\316>\236\202\0030"..., 35, 0, NULL, NULL) = 35
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=301408606}) = 0
sendto(9, "\27\3\3\0\34\316LJ)\230\2134\372\330\266}W\365y\263\335v\227\17\267\235\352\336\351\rq@"..., 33, MSG_NOSIGNAL, NULL, 0) = 33
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0\"", 5, 0, NULL, NULL) = 5
recvfrom(9, "\\\267Dv\232]\2478\24xCR\326\206q\202F|0\v?\250c)\373=q\321-\266\4\333"..., 34, 0, NULL, NULL) = 34
sendto(9, "\27\3\3\0\226\240\307\3645\327%M\33\274\220\264H\253\353\263\234\341\377\375D\356\22\377\301C.\343"..., 155, MSG_NOSIGNAL, NULL, 0) = 155
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0%", 5, 0, NULL, NULL) = 5
recvfrom(9, "-\fz\215I\260\366M\340\352=\0@\367 \243\16v\344\261\327%\347\361\230o\2609\300e\327{"..., 37, 0, NULL, NULL) = 37
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=307241903}) = 0
sendto(9, "\27\3\3\0\35\r\4.\356lS\232\24\341\352\311\232zi)G\33W\315\254\265\372\352\17\10\342t"..., 34, MSG_NOSIGNAL, NULL, 0) = 34
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0#", 5, 0, NULL, NULL) = 5
recvfrom(9, "\337\323\300#i\3\244\32~D\235\256D\330\36\275\351\277\243\275\327\342SW /W\4\17e|\272"..., 35, 0, NULL, NULL) = 35
stat("/usr/lib/python3/dist-packages/psycopg2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/opt/www/iRedAdmin-beta", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
getcwd("/opt/www/iRedAdmin-beta", 1024) = 24
stat("/opt/www/iRedAdmin-beta", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/opt/www/iRedAdmin-beta", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/usr/lib/python3.7", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib/python3.7/lib-dynload", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/local/lib/python3.7/dist-packages", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
stat("/usr/lib/python3/dist-packages", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib/python3/dist-packages/psycopg2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/opt/www/iRedAdmin-beta", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
getcwd("/opt/www/iRedAdmin-beta", 1024) = 24
stat("/opt/www/iRedAdmin-beta", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/opt/www/iRedAdmin-beta", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/usr/lib/python3.7", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib/python3.7/lib-dynload", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/local/lib/python3.7/dist-packages", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
stat("/usr/lib/python3/dist-packages", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
socket(AF_INET, SOCK_STREAM, IPPROTO_IP) = 11
setsockopt(11, SOL_TCP, TCP_NODELAY, [1], 4) = 0
fcntl(11, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
setsockopt(11, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
connect(11, {sa_family=AF_INET, sin_port=htons(5432), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
poll([{fd=11, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=11, revents=POLLOUT}])
getsockopt(11, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(11, {sa_family=AF_INET, sin_port=htons(56768), sin_addr=inet_addr("127.0.0.1")}, [128->16]) = 0
poll([{fd=11, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=11, revents=POLLOUT}])
sendto(11, "\0\0\0\10\4\322\26/", 8, MSG_NOSIGNAL, NULL, 0) = 8
poll([{fd=11, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=11, revents=POLLIN}])
recvfrom(11, "S", 16384, 0, NULL, NULL) = 1
geteuid()                               = 2001
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 12
lseek(12, 0, SEEK_CUR)                  = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0
read(12, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2097
close(12)                               = 0
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
stat("/home/iredadmin/.postgresql/root.crt", 0x7fffb7cd1930) = -1 ENOENT (No such file or directory)
stat("/home/iredadmin/.postgresql/postgresql.crt", 0x7fffb7cd1930) = -1 ENOENT (No such file or directory)
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
sendto(11, "\26\3\1\1\26\1\0\1\22\3\3\277\234\205\27k\241\250a\1R:|\to\336U!\362\236z\223"..., 283, MSG_NOSIGNAL, NULL, 0) = 283
recvfrom(11, 0x55c23f8b1e83, 5, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=11, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=11, revents=POLLIN}])
recvfrom(11, "\26\3\3\0X", 5, 0, NULL, NULL) = 5
recvfrom(11, "\2\0\0T\3\3\317!\255t\345\232a\21\276\35\214\2\36e\270\221\302\242\21\26z\273\214^\7\236"..., 88, 0, NULL, NULL) = 88
getpid()                                = 718
getpid()                                = 718
sendto(11, "\24\3\3\0\1\1\26\3\3\0017\1\0\0013\3\3\277\234\205\27k\241\250a\1R:|\to\336"..., 322, MSG_NOSIGNAL, NULL, 0) = 322
recvfrom(11, "\24\3\3\0\1", 5, 0, NULL, NULL) = 5
recvfrom(11, "\1", 1, 0, NULL, NULL)    = 1
recvfrom(11, 0x55c23f8b1e83, 5, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=11, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=11, revents=POLLIN}])
recvfrom(11, "\26\3\3\0\233", 5, 0, NULL, NULL) = 5
recvfrom(11, "\2\0\0\227\3\3\371\0\345\211\355\244\375\37\3654zR\310e\374)\247\0{`m\306\312So\240"..., 155, 0, NULL, NULL) = 155
recvfrom(11, "\27\3\3\0\27", 5, 0, NULL, NULL) = 5
recvfrom(11, "D\253^\257$v\250\270\t\330\3647&\275w\215\336\"\331/7*\242", 23, 0, NULL, NULL) = 23
recvfrom(11, "\27\3\3\3\7", 5, 0, NULL, NULL) = 5
recvfrom(11, "s\266\\\271\376@\321\364M\3147\246\16\32k\201\326\262\177H$f\206\232u\236\215\21P\313\225x"..., 775, 0, NULL, NULL) = 775
recvfrom(11, "\27\3\3\1\31", 5, 0, NULL, NULL) = 5
recvfrom(11, "\0\261\6{\373\210\263B\213\323\346,V\204G-\345-\333\312\315AD\227w\311\263\233(\304-\256"..., 281, 0, NULL, NULL) = 281
recvfrom(11, "\27\3\3\0E", 5, 0, NULL, NULL) = 5
recvfrom(11, "5\31|\321\271\24\226z\273O\206$\320D\320\321*\205\316\335\271\30\21Dx\35OL\232\203\2\214"..., 69, 0, NULL, NULL) = 69
sendto(11, "\27\3\3\0E\10\337\325'\351\v\246\370\346\234Y\367\245\365\257\17\237\243\276\271\205=\322%\263t\265"..., 74, MSG_NOSIGNAL, NULL, 0) = 74
poll([{fd=11, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=11, revents=POLLOUT}])
sendto(11, "\27\3\3\09\26\250\16\256\177I\335\22\v\35ClD\272\24\30Q\310\250d\256\n\21Wk/k"..., 62, MSG_NOSIGNAL, NULL, 0) = 62
poll([{fd=11, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=11, revents=POLLIN}])
recvfrom(11, "\27\3\3\0J", 5, 0, NULL, NULL) = 5
recvfrom(11, "O\306\375\23\224\272\336\241O?\246?L%[I\361\350s\241\305X\r\246\266\321\375\204\246\342\2752"..., 74, 0, NULL, NULL) = 74
recvfrom(11, "\27\3\3\0J", 5, 0, NULL, NULL) = 5
recvfrom(11, "\203\357\31\4\304\202V\264\334\357*SA\270\327\250QH\262\356(\361a\33Eq\377\336I\378\244"..., 74, 0, NULL, NULL) = 74
recvfrom(11, 0x55c23f8b1e83, 5, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=11, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=11, revents=POLLIN}])
recvfrom(11, "\27\3\3\0\36", 5, 0, NULL, NULL) = 5
recvfrom(11, "\302\226\217\356\331\270\255\305c\223\261x\343\242xd\241k\377\20\356\257\376|.#\237\266B\324", 30, 0, NULL, NULL) = 30
sendto(11, "\27\3\3\0:\343\0164\24\0001\370B\271FS\201\233Q\f~\332Y\330f\354UuB<\325y"..., 63, MSG_NOSIGNAL, NULL, 0) = 63
poll([{fd=11, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=11, revents=POLLIN}])
recvfrom(11, "\27\3\3\1v", 5, 0, NULL, NULL) = 5
recvfrom(11, "9\310X\321\3757\327\34\345\310\353X\316\24\235\343\1\314\303\234\254J\322\355\203\10\245z7M\334\33"..., 374, 0, NULL, NULL) = 374
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=430131779}) = 0
sendto(11, "\27\3\3\0\34T\26\357\325'\21\233r\201f1:(I\266\234\370UM\361\204\315NK\3673u"..., 33, MSG_NOSIGNAL, NULL, 0) = 33
poll([{fd=11, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=11, revents=POLLIN}])
recvfrom(11, "\27\3\3\0\"", 5, 0, NULL, NULL) = 5
recvfrom(11, "Q\331\222k\4\36\230\306i/,x\316\353z\242\265/P\311T0\366u\275J\5d|\213\303$"..., 34, 0, NULL, NULL) = 34
sendto(11, "\27\3\3\0_cl\351\311\220\367\37\2437\241\212C\17\234\362<\374eAJ\232#L\311\265z\360"..., 100, MSG_NOSIGNAL, NULL, 0) = 100
poll([{fd=11, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=11, revents=POLLIN}])
recvfrom(11, "\27\3\3\0F", 5, 0, NULL, NULL) = 5
recvfrom(11, "p\372`\270N\267\315\375\333\371\277\301\216\255\273\345\335\22\256\341\376d\302\216\215\24\22P\373\342\224i"..., 70, 0, NULL, NULL) = 70
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=440609863}) = 0
sendto(11, "\27\3\3\0\35\246\372C\224\355\317\270\360N\20\245\330b\306\260\200`\301\265\343\254/\21\f\245\2315"..., 34, MSG_NOSIGNAL, NULL, 0) = 34
poll([{fd=11, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=11, revents=POLLIN}])
recvfrom(11, "\27\3\3\0#", 5, 0, NULL, NULL) = 5
recvfrom(11, "\35\232\202]\250\237\237\33\352\267\271\204\20@#K\254\21\5M\366\350\251Cf\314#\n\370J\340\342"..., 35, 0, NULL, NULL) = 35
stat("/usr/lib/python3/dist-packages/psycopg2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/opt/www/iRedAdmin-beta", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
getcwd("/opt/www/iRedAdmin-beta", 1024) = 24
stat("/opt/www/iRedAdmin-beta", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/opt/www/iRedAdmin-beta", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/usr/lib/python3.7", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib/python3.7/lib-dynload", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/local/lib/python3.7/dist-packages", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
stat("/usr/lib/python3/dist-packages", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
socket(AF_INET, SOCK_STREAM, IPPROTO_IP) = 12
setsockopt(12, SOL_TCP, TCP_NODELAY, [1], 4) = 0
fcntl(12, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(12, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
fcntl(12, F_SETFD, FD_CLOEXEC)          = 0
setsockopt(12, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
connect(12, {sa_family=AF_INET, sin_port=htons(5432), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
poll([{fd=12, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=12, revents=POLLOUT}])
getsockopt(12, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(12, {sa_family=AF_INET, sin_port=htons(56770), sin_addr=inet_addr("127.0.0.1")}, [128->16]) = 0
poll([{fd=12, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=12, revents=POLLOUT}])
sendto(12, "\0\0\0\10\4\322\26/", 8, MSG_NOSIGNAL, NULL, 0) = 8
poll([{fd=12, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=12, revents=POLLIN}])
recvfrom(12, "S", 16384, 0, NULL, NULL) = 1
geteuid()                               = 2001
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 13
lseek(13, 0, SEEK_CUR)                  = 0
fstat(13, {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0
read(13, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2097
close(13)                               = 0
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
stat("/home/iredadmin/.postgresql/root.crt", 0x7fffb7cd18f0) = -1 ENOENT (No such file or directory)
stat("/home/iredadmin/.postgresql/postgresql.crt", 0x7fffb7cd18f0) = -1 ENOENT (No such file or directory)
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
sendto(12, "\26\3\1\1\26\1\0\1\22\3\3u\345~k\25R\274a\315\240\242\332OZ\206\3`\344\202%\3"..., 283, MSG_NOSIGNAL, NULL, 0) = 283
recvfrom(12, "\26\3\3\0X", 5, 0, NULL, NULL) = 5
recvfrom(12, "\2\0\0T\3\3\317!\255t\345\232a\21\276\35\214\2\36e\270\221\302\242\21\26z\273\214^\7\236"..., 88, 0, NULL, NULL) = 88
getpid()                                = 718
getpid()                                = 718
sendto(12, "\24\3\3\0\1\1\26\3\3\0017\1\0\0013\3\3u\345~k\25R\274a\315\240\242\332OZ\206"..., 322, MSG_NOSIGNAL, NULL, 0) = 322
recvfrom(12, "\24\3\3\0\1", 5, 0, NULL, NULL) = 5
recvfrom(12, "\1", 1, 0, NULL, NULL)    = 1
recvfrom(12, 0x55c23f921db3, 5, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=12, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=12, revents=POLLIN}])
recvfrom(12, "\26\3\3\0\233", 5, 0, NULL, NULL) = 5
recvfrom(12, "\2\0\0\227\3\3\2624n\234\335\233\205Q<\3609\t\365[G\5\226K\336\32\264\247[\312!v"..., 155, 0, NULL, NULL) = 155
recvfrom(12, "\27\3\3\0\27", 5, 0, NULL, NULL) = 5
recvfrom(12, "hc\272\321\2163\3\265hhRLE\200\376\206U\267\356U\373C\313", 23, 0, NULL, NULL) = 23
recvfrom(12, "\27\3\3\3\7", 5, 0, NULL, NULL) = 5
recvfrom(12, "\357W$\2352,@\252G4\277?\220\"\21/ 4\362\346\257\315M]\363\3441.(\302\207\270"..., 775, 0, NULL, NULL) = 775
recvfrom(12, "\27\3\3\1\31", 5, 0, NULL, NULL) = 5
recvfrom(12, "\373\262<\255\25O\204\37`\305o`-+\270J\31\261\261\301\305\312\327\330\347\227\207\t+k\322\326"..., 281, 0, NULL, NULL) = 281
recvfrom(12, "\27\3\3\0E", 5, 0, NULL, NULL) = 5
recvfrom(12, "\267{\376U\304\220\363Ji\3K\200n\222\350\244,f\345\261\261\256_\376`\205o\26\373\\7\6"..., 69, 0, NULL, NULL) = 69
sendto(12, "\27\3\3\0E:v\370Q\343\31\333\202\6\237\327V\312WV\265c.\245\353\246\350Y}\330\26A"..., 74, MSG_NOSIGNAL, NULL, 0) = 74
poll([{fd=12, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=12, revents=POLLOUT}])
sendto(12, "\27\3\3\09\267\360H\177\256!\363\353\25\275\300\210\271\2312\2u\t\21\366\274\203O\255<\266\177"..., 62, MSG_NOSIGNAL, NULL, 0) = 62
poll([{fd=12, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=12, revents=POLLIN}])
recvfrom(12, "\27\3\3\0J", 5, 0, NULL, NULL) = 5
recvfrom(12, "\230\240\347\304\1*\253\244\31\354\257\323\306\317\323\331yi\"\24\235\344\215\31\311\340,:\24\260\244\316"..., 74, 0, NULL, NULL) = 74
recvfrom(12, "\27\3\3\0J", 5, 0, NULL, NULL) = 5
recvfrom(12, "n\305\277\3S\226\277\21\2654x\363\10T\25\375\350\362\344\262\34-\335\n\303\337\331\256y\177\4\250"..., 74, 0, NULL, NULL) = 74
recvfrom(12, "\27\3\3\0\36", 5, 0, NULL, NULL) = 5
recvfrom(12, "u\315d?\37\323\360|\317#l\37\211\24V\304\375o\203\220\35\277\245\34\4\254\304\200\307\23", 30, 0, NULL, NULL) = 30
sendto(12, "\27\3\3\0:\344\17\300\17\303N\373a\256\351\322\365{6\314\t\321m\350\35'4\225\216\331\227\237"..., 63, MSG_NOSIGNAL, NULL, 0) = 63
poll([{fd=12, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=12, revents=POLLIN}])
recvfrom(12, "\27\3\3\1v", 5, 0, NULL, NULL) = 5
recvfrom(12, "\0\322}\231\312\344\255\204\360\372A9\7\377o\v\261\f\212\2709h\226)x\226\234O\366\277AY"..., 374, 0, NULL, NULL) = 374
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=524823187}) = 0
sendto(12, "\27\3\3\0\34<\335\22\363\244Y\310\207cT\21\211\243\36i\337\5\26|\221\231d\242\373!g\277"..., 33, MSG_NOSIGNAL, NULL, 0) = 33
poll([{fd=12, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=12, revents=POLLIN}])
recvfrom(12, "\27\3\3\0\"", 5, 0, NULL, NULL) = 5
recvfrom(12, "\231\222b\21\312\352%.l\257\213IG0\310\t\363\303\200O\1\265\25\264\23N`\227\364\374fL"..., 34, 0, NULL, NULL) = 34
sendto(12, "\27\3\3\5:\310*\370\316\222\236\334o\370\253:\v?*\230\240\351\323C1vC\23B\202O4"..., 1343, MSG_NOSIGNAL, NULL, 0) = 1343
poll([{fd=12, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=12, revents=POLLIN}])
recvfrom(12, "\27\3\3\2\7", 5, 0, NULL, NULL) = 5
recvfrom(12, ">\270\340\344\305\201\247P\6\v~\367\r\257\301$\370\341\310;h\364\214\f/4\257\30\360\254\376h"..., 519, 0, NULL, NULL) = 519
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=543789551}) = 0
sendto(12, "\27\3\3\0\35\6\205\201\215\321\207dDB\10\243\373\377|\26\205\31\23\307\337a9\243\364t8\330"..., 34, MSG_NOSIGNAL, NULL, 0) = 34
poll([{fd=12, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=12, revents=POLLIN}])
recvfrom(12, "\27\3\3\0#", 5, 0, NULL, NULL) = 5
recvfrom(12, "\237\274\241\225\254a+\26\334\356\35=\310\332\346\6\210\337\375sc\314\242\353\274\367\206\303\366\2264A"..., 35, 0, NULL, NULL) = 35
stat("/usr/lib/python3/dist-packages/psycopg2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/opt/www/iRedAdmin-beta", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
getcwd("/opt/www/iRedAdmin-beta", 1024) = 24
stat("/opt/www/iRedAdmin-beta", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/opt/www/iRedAdmin-beta", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/usr/lib/python3.7", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib/python3.7/lib-dynload", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/local/lib/python3.7/dist-packages", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
stat("/usr/lib/python3/dist-packages", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
socket(AF_INET, SOCK_STREAM, IPPROTO_IP) = 13
setsockopt(13, SOL_TCP, TCP_NODELAY, [1], 4) = 0
fcntl(13, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(13, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
fcntl(13, F_SETFD, FD_CLOEXEC)          = 0
setsockopt(13, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
connect(13, {sa_family=AF_INET, sin_port=htons(5432), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
poll([{fd=13, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=13, revents=POLLOUT}])
getsockopt(13, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(13, {sa_family=AF_INET, sin_port=htons(56772), sin_addr=inet_addr("127.0.0.1")}, [128->16]) = 0
poll([{fd=13, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=13, revents=POLLOUT}])
sendto(13, "\0\0\0\10\4\322\26/", 8, MSG_NOSIGNAL, NULL, 0) = 8
poll([{fd=13, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=13, revents=POLLIN}])
recvfrom(13, "S", 16384, 0, NULL, NULL) = 1
geteuid()                               = 2001
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 14
lseek(14, 0, SEEK_CUR)                  = 0
fstat(14, {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0
read(14, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2097
close(14)                               = 0
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
stat("/home/iredadmin/.postgresql/root.crt", 0x7fffb7cd1930) = -1 ENOENT (No such file or directory)
stat("/home/iredadmin/.postgresql/postgresql.crt", 0x7fffb7cd1930) = -1 ENOENT (No such file or directory)
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
getpid()                                = 718
sendto(13, "\26\3\1\1\26\1\0\1\22\3\3\36\375P\226\337\263B]\352N]\232j\372\257\366\233\237r\361\23"..., 283, MSG_NOSIGNAL, NULL, 0) = 283
recvfrom(13, 0x55c23f8e9443, 5, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=13, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=13, revents=POLLIN}])
recvfrom(13, "\26\3\3\0X", 5, 0, NULL, NULL) = 5
recvfrom(13, "\2\0\0T\3\3\317!\255t\345\232a\21\276\35\214\2\36e\270\221\302\242\21\26z\273\214^\7\236"..., 88, 0, NULL, NULL) = 88
getpid()                                = 718
getpid()                                = 718
sendto(13, "\24\3\3\0\1\1\26\3\3\0017\1\0\0013\3\3\36\375P\226\337\263B]\352N]\232j\372\257"..., 322, MSG_NOSIGNAL, NULL, 0) = 322
recvfrom(13, "\24\3\3\0\1", 5, 0, NULL, NULL) = 5
recvfrom(13, "\1", 1, 0, NULL, NULL)    = 1
recvfrom(13, 0x55c23f8e9443, 5, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=13, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=13, revents=POLLIN}])
recvfrom(13, "\26\3\3\0\233", 5, 0, NULL, NULL) = 5
recvfrom(13, "\2\0\0\227\3\3'\23\333\266E\210\33\300}\222\204\352)\362j\213\270r\36\366}\34\377/p\205"..., 155, 0, NULL, NULL) = 155
recvfrom(13, "\27\3\3\0\27", 5, 0, NULL, NULL) = 5
recvfrom(13, "Q)\312\255r\371\377' -\2Yr\325X:\203j\214O\314\324\361", 23, 0, NULL, NULL) = 23
recvfrom(13, "\27\3\3\3\7", 5, 0, NULL, NULL) = 5
recvfrom(13, "\336J\376W\337\v\27f\301wH\374\236\227\333\235A\350\251w\315zp\313\242p\341n\374\271\274\352"..., 775, 0, NULL, NULL) = 775
recvfrom(13, "\27\3\3\1\31", 5, 0, NULL, NULL) = 5
recvfrom(13, "\211\220\233l\345\251\363*v\245Dp\202\247\336\243ut;\325\274\254\307\330g\355\351\3\2Pn\17"..., 281, 0, NULL, NULL) = 281
recvfrom(13, "\27\3\3\0E", 5, 0, NULL, NULL) = 5
recvfrom(13, "\343\302\260Ijv;\242P\216\325TT\270\37;\306\345Pz\267\37\316/1\220\356:\351t3]"..., 69, 0, NULL, NULL) = 69
sendto(13, "\27\3\3\0Ev.k\1\254/\27\223&\321\322\247\362M\307\300K*=\6-\16\217Ca\370f"..., 74, MSG_NOSIGNAL, NULL, 0) = 74
poll([{fd=13, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=13, revents=POLLOUT}])
sendto(13, "\27\3\3\09\300\250B]\340cifI.M\370\261w1\262\356V\303{\207\246\370\354F\37T"..., 62, MSG_NOSIGNAL, NULL, 0) = 62
poll([{fd=13, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=13, revents=POLLIN}])
recvfrom(13, "\27\3\3\0J", 5, 0, NULL, NULL) = 5
recvfrom(13, "XXj\31{i\200\23\7\36\252\253\36&\5\337S.KC&\250\311\266\376\256=v\205\231v\365"..., 74, 0, NULL, NULL) = 74
recvfrom(13, "\27\3\3\0J", 5, 0, NULL, NULL) = 5
recvfrom(13, "\346\265\326\261\366\222G\236\312Hw\341\1\207T\361\21\266\241\213_7L\367\266r\355\261\214\271;8"..., 74, 0, NULL, NULL) = 74
recvfrom(13, "\27\3\3\0\36", 5, 0, NULL, NULL) = 5
recvfrom(13, "\23\350MD\341\33v\t\30\205\322d\357\202E\360\204&\202DX%\206;cQ\377\301\25\205", 30, 0, NULL, NULL) = 30
sendto(13, "\27\3\3\0:\3nS/+o\310=\265\235\264\233\2y\343H\32A\317\177jG\203\263a\335\351"..., 63, MSG_NOSIGNAL, NULL, 0) = 63
poll([{fd=13, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=13, revents=POLLIN}])
recvfrom(13, "\27\3\3\1v", 5, 0, NULL, NULL) = 5
recvfrom(13, "\341\260Q\357\376\322\226\315q\r\16\355\375\310y+\3411x'\3521U\213\223m\257\344\225\257 Y"..., 374, 0, NULL, NULL) = 374
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=589751150}) = 0
sendto(13, "\27\3\3\0\34\325\272\372\3763\367\314=\217\327r\272-\0\255\1\36qL\217R6\4KOlW"..., 33, MSG_NOSIGNAL, NULL, 0) = 33
poll([{fd=13, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=13, revents=POLLIN}])
recvfrom(13, "\27\3\3\0\"", 5, 0, NULL, NULL) = 5
recvfrom(13, "\341Vw%\372\240\10\fg\213\233WF\177:\337u\270\243]\fi\255\373\310\326%\343\275\204\tv"..., 34, 0, NULL, NULL) = 34
sendto(13, "\27\3\3\0bIAb\340\371tnjA\251\323g\7\4\242\202\240\27\256\272\367\3\275\221\231\367\367"..., 103, MSG_NOSIGNAL, NULL, 0) = 103
poll([{fd=13, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=13, revents=POLLIN}])
recvfrom(13, "\27\3\3\0P", 5, 0, NULL, NULL) = 5
recvfrom(13, "6\330\22\306\356\350^\22\321\3517\5>i\372\305\330\342\200\245ctmo\377\235\362?\177\275\376\253"..., 80, 0, NULL, NULL) = 80
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=602970282}) = 0
sendto(13, "\27\3\3\0\359\231\241\256\371\313\346\377\200>|;\3648\"\335 \\\210~\277\354\34\301\34g\375"..., 34, MSG_NOSIGNAL, NULL, 0) = 34
poll([{fd=13, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=13, revents=POLLIN}])
recvfrom(13, "\27\3\3\0#", 5, 0, NULL, NULL) = 5
recvfrom(13, "\220\327O\227\27\304(g'I\205\375\3351\323^\177w\10\346\265\6b\345e\211\307j\321P\271\370"..., 35, 0, NULL, NULL) = 35
getrandom("\xca\xd9\x96\x4a\xf6\x17\xd4\xe9", 8, 0) = 8
stat("/usr/local/lib/python3.7/dist-packages/web/application.py", {st_mode=S_IFREG|0644, st_size=25719, ...}) = 0
openat(AT_FDCWD, "/usr/local/lib/python3.7/dist-packages/web/application.py", O_RDONLY|O_CLOEXEC) = 14
fstat(14, {st_mode=S_IFREG|0644, st_size=25719, ...}) = 0
ioctl(14, TCGETS, 0x7fffb7cd5720)       = -1 ENOTTY (Inappropriate ioctl for device)
lseek(14, 0, SEEK_CUR)                  = 0
read(14, "\"\"\"\nWeb application\n(from web.py"..., 4096) = 4096
read(14, "):\n        self.mapping.append(("..., 8192) = 8192
read(14, "run(self, *middleware):\n        "..., 8192) = 8192
read(14, "page)  # little hack needed for "..., 8192) = 5239
read(14, "", 8192)                      = 0
close(14)                               = 0
stat("/opt/www/iRedAdmin-beta/controllers/decorators.py", {st_mode=S_IFREG|0555, st_size=1054, ...}) = 0
openat(AT_FDCWD, "/opt/www/iRedAdmin-beta/controllers/decorators.py", O_RDONLY|O_CLOEXEC) = 14
fstat(14, {st_mode=S_IFREG|0555, st_size=1054, ...}) = 0
ioctl(14, TCGETS, 0x7fffb7cd5720)       = -1 ENOTTY (Inappropriate ioctl for device)
lseek(14, 0, SEEK_CUR)                  = 0
read(14, "# Author: Zhang Huangbin <zhb@ir"..., 4096) = 1054
read(14, "", 8192)                      = 0
close(14)                               = 0
stat("/opt/www/iRedAdmin-beta/controllers/pgsql/user.py", {st_mode=S_IFREG|0555, st_size=7376, ...}) = 0
openat(AT_FDCWD, "/opt/www/iRedAdmin-beta/controllers/pgsql/user.py", O_RDONLY|O_CLOEXEC) = 14
fstat(14, {st_mode=S_IFREG|0555, st_size=7376, ...}) = 0
ioctl(14, TCGETS, 0x7fffb7cd5720)       = -1 ENOTTY (Inappropriate ioctl for device)
lseek(14, 0, SEEK_CUR)                  = 0
read(14, "# encoding: utf-8\n\n# Author: Zha"..., 4096) = 4096
read(14, "      msg=i.get('msg'),\n        "..., 8192) = 3280
read(14, "", 8192)                      = 0
close(14)                               = 0
stat("/opt/www/iRedAdmin-beta/libs/pgsql/decorators.py", {st_mode=S_IFREG|0555, st_size=1396, ...}) = 0
openat(AT_FDCWD, "/opt/www/iRedAdmin-beta/libs/pgsql/decorators.py", O_RDONLY|O_CLOEXEC) = 14
fstat(14, {st_mode=S_IFREG|0555, st_size=1396, ...}) = 0
ioctl(14, TCGETS, 0x7fffb7cd5720)       = -1 ENOTTY (Inappropriate ioctl for device)
lseek(14, 0, SEEK_CUR)                  = 0
read(14, "# encoding: utf-8\n\n# Author: Zha"..., 4096) = 1396
read(14, "", 8192)                      = 0
close(14)                               = 0
stat("/opt/www/iRedAdmin-beta/libs/pgsql/user.py", {st_mode=S_IFREG|0555, st_size=13627, ...}) = 0
openat(AT_FDCWD, "/opt/www/iRedAdmin-beta/libs/pgsql/user.py", O_RDONLY|O_CLOEXEC) = 14
fstat(14, {st_mode=S_IFREG|0555, st_size=13627, ...}) = 0
ioctl(14, TCGETS, 0x7fffb7cd5720)       = -1 ENOTTY (Inappropriate ioctl for device)
lseek(14, 0, SEEK_CUR)                  = 0
read(14, "# encoding: utf-8\n\n# Author: Zha"..., 4096) = 4096
read(14, "bcc.username)\n                LE"..., 8192) = 8192
read(14, "    return qr\n\n            # Has"..., 8192) = 1339
read(14, "", 8192)                      = 0
close(14)                               = 0
stat("/opt/www/iRedAdmin-beta/libs/iredutils.py", {st_mode=S_IFREG|0555, st_size=18900, ...}) = 0
openat(AT_FDCWD, "/opt/www/iRedAdmin-beta/libs/iredutils.py", O_RDONLY|O_CLOEXEC) = 14
fstat(14, {st_mode=S_IFREG|0555, st_size=18900, ...}) = 0
ioctl(14, TCGETS, 0x7fffb7cd5720)       = -1 ENOTTY (Inappropriate ioctl for device)
lseek(14, 0, SEEK_CUR)                  = 0
read(14, "# encoding: utf-8\n# Author: Zhan"..., 4096) = 4096
read(14, ".strptime(t, '%Y-%m-%d %H:%M:%S'"..., 8192) = 8192
read(14, "    if challenge_password.starts"..., 8192) = 6612
read(14, "", 8192)                      = 0
close(14)                               = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=627425189}) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=628023846}) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=629074201}) = 0
sendto(9, "\27\3\3\0\34]/\34\246\266\20\367\211\322\276\v\327\226\212\367\372\250\267\321]'\"\207\37J\347\375"..., 33, MSG_NOSIGNAL, NULL, 0) = 33
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0\"", 5, 0, NULL, NULL) = 5
recvfrom(9, "\231\267\220\232\24m\374\236\342\203R)\210\r\6\321\247\316\241E\355\204\313\272r\215AJ-n\17o"..., 34, 0, NULL, NULL) = 34
sendto(9, "\27\3\3\0i\340\315\244\231\0\2\316U\240\223\t\312qO\357\37\330\7\201W\256!\250qY8}"..., 110, MSG_NOSIGNAL, NULL, 0) = 110
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\3\252", 5, 0, NULL, NULL) = 5
recvfrom(9, "2\363\3171M\177If\v\354,\363\34a\335IY\315\22X\"\250C~\246\10\360'\311*'\364"..., 938, 0, NULL, NULL) = 938
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=635884282}) = 0
sendto(9, "\27\3\3\0\35N\335\327\1\323\17`\346\241n\332\335j\341a\253\332\24\321Yj3h\303\256\222r"..., 34, MSG_NOSIGNAL, NULL, 0) = 34
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0#", 5, 0, NULL, NULL) = 5
recvfrom(9, "N /\37\256B\206|\244\37\223\214\276\351s\4\252h\33\347\352\24qB\374\177\272\4\202\342~?"..., 35, 0, NULL, NULL) = 35
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=638487057}) = 0
sendto(9, "\27\3\3\0\34\0375\324\346\375\204)\375T\326\236\5\336\322\207\2623\252\275\304H\312B\3\262\227\21"..., 33, MSG_NOSIGNAL, NULL, 0) = 33
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0\"", 5, 0, NULL, NULL) = 5
recvfrom(9, "\352!\250\376\245\256\355\232\243\356\302|\350\31\26\2\310w\253-\364-B\222\245\363\344\\\7\252\344)"..., 34, 0, NULL, NULL) = 34
sendto(9, "\27\3\3\2\331\200\237\27\37\314#\367\34\246\304\202\244\35#\0000\313\202\247\224dv\37\364\31\301\30"..., 734, MSG_NOSIGNAL, NULL, 0) = 734
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0%", 5, 0, NULL, NULL) = 5
recvfrom(9, "\212t\364Z\363\0=1\275\215MJP\301\252\260\352$\324*\303\24`\236\2273gB\244c\233\21"..., 37, 0, NULL, NULL) = 37
clock_gettime(CLOCK_REALTIME, {tv_sec=1599574148, tv_nsec=642012374}) = 0
sendto(9, "\27\3\3\0\35E\215\311\nD})\313W\275i\313\210\376]T\351bo\341\3177\362U\222;\323"..., 34, MSG_NOSIGNAL, NULL, 0) = 34
poll([{fd=9, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\27\3\3\0#", 5, 0, NULL, NULL) = 5
recvfrom(9, "\22;N\27\4\256~\"\364\361\233\310Xy\277\207\177\225\363z\210\34\373g\243F\240\362\2133H\307"..., 35, 0, NULL, NULL) = 35
writev(8, [{iov_base="HTTP/2.0 500 Internal Server Err"..., iov_len=194}, {iov_base="internal server error", iov_len=21}], 2) = 215
sendto(9, "\27\3\3\0\26RY\314\223\v;u^D\326\226n\17L\v\231\356\25d\336Z\262", 27, MSG_NOSIGNAL, NULL, 0) = 27
sendto(9, "\27\3\3\0\23\233\23\31\270?\202dq\364\246i\321,\362n\0\10wd", 24, MSG_NOSIGNAL, NULL, 0) = 24
close(9)                                = 0
sendto(11, "\27\3\3\0\26\27\24\205u\17\345\304\373U\3573\300\252\347\23\272\"5\36\323\6\23", 27, MSG_NOSIGNAL, NULL, 0) = 27
sendto(11, "\27\3\3\0\239\370/gh\310\340\211Z\250\370W\335\373\30\252[\22\254", 24, MSG_NOSIGNAL, NULL, 0) = 24
close(11)                               = 0
sendto(12, "\27\3\3\0\26\365`\205u\332\241\233^\335D\271hC\270n\230\222\322\335\263\314\203", 27, MSG_NOSIGNAL, NULL, 0) = 27
sendto(12, "\27\3\3\0\23e\323\210L\34#&\202\321\ft$\321`LX\200j/", 24, MSG_NOSIGNAL, NULL, 0) = 24
close(12)                               = 0
sendto(13, "\27\3\3\0\26\215\245\233\7`\306S\376'\301\222\10&!%\35wEO\313U\220", 27, MSG_NOSIGNAL, NULL, 0) = 27
sendto(13, "\27\3\3\0\23\264\355\274*\271\302\366\360\211\302l\310u\266\360d&\1w", 24, MSG_NOSIGNAL, NULL, 0) = 24
close(13)                               = 0
gettimeofday({tv_sec=1599574148, tv_usec=676754}, NULL) = 0
close(8)                                = 0
writev(2, [{iov_base="mx.kreed.band", iov_len=13}, {iov_base=" ", iov_len=1}, {iov_base="[pid: 718|app: 1|req: 3/55] 185."..., iov_len=233}], 3) = 247

8

Re: 500 error when trying create new mail user

Why "/opt/www/iRedAdmin-beta"?
Did you download iRedMail-1.3.1 from our website? https://www.iredmail.org/download.html
Or you cloned the latest github master branch? The master branch is not stable and you should NOT use it.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

9

Re: 500 error when trying create new mail user

ZhangHuangbin wrote:

Why "/opt/www/iRedAdmin-beta"?
Did you download iRedMail-1.3.1 from our website? https://www.iredmail.org/download.html
Or you cloned the latest github master branch? The master branch is not stable and you should NOT use it.

Yes, I've been installed it from github. I'm sorry, now it's works.
How to disable greylisting?

10

Re: 500 error when trying create new mail user

sectigo wrote:

How to disable greylisting?

FYI: https://docs.iredmail.org/manage.iredapd.html

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee