hi Christian,

When I issue sogo-tool remove user and do the strace it hangs like this for ever

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa4e7544000
read(5, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1925
close(5)                                = 0
munmap(0x7fa4e7544000, 4096)            = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 5
bind(5, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(5, {sa_family=AF_NETLINK, pid=28668, groups=00000000}, [12]) = 0
sendto(5, "\24\0\0\0\26\0\1\3\302s\26V\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(5, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\302s\26V\374o\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(5, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\302s\26V\374o\0\0\0\0\0\0\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(5)                                = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5
setsockopt(5, SOL_TCP, TCP_NODELAY, [1], 4) = 0
fcntl(5, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
setsockopt(5, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
connect(5, {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=5, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
getsockopt(5, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(35154), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 poll([{fd=5, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
sendto(5, "\0\0\0\10\4\322\26/", 8, MSG_NOSIGNAL, NULL, 0) = 8
poll([{fd=5, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "N", 16384, 0, NULL, NULL)  = 1
poll([{fd=5, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}]) sendto(5, "\0\0\0!\0\3\0\0user\0sogo\0database\0sogo\0"..., 33, MSG_NOSIGNAL, NULL, 0) = 33
poll([{fd=5, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "R\0\0\0\f\0\0\0\5x\367f\246", 16384, 0, NULL, NULL) = 13
sendto(5, "p\0\0\0(md54a1100f9f79c83dec42e783e"..., 41, MSG_NOSIGNAL, NULL, 0) = 41
poll([{fd=5, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "R\0\0\0\10\0\0\0\0S\0\0\0\26application_name\0\0"..., 16384, 0, NULL, NULL) = 320 sendto(5, "Q\0\0\0,SET standard_conforming_str"..., 45, MSG_NOSIGNAL, NULL, 0) = 45
poll([{fd=5, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "S\0\0\0#standard_conforming_strings"..., 16384, 0, NULL, NULL) = 51 sendto(5, "Q\0\0\0\"set client_encoding to 'UTF"..., 35, MSG_NOSIGNAL, NULL, 0) = 35
poll([{fd=5, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "S\0\0\0\31client_encoding\0UTF8\0C\0\0\0\10S"..., 16384, 0, NULL, NULL) = 41 sendto(5, "Q\0\0\0<SELECT c_path FROM sogo_fol"..., 61, MSG_NOSIGNAL, NULL, 0) = 61
poll([{fd=5, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "T\0\0\0\37\0\1c_path\0\0\5A\271\0\2\0\0\4\23\377\377\0\0\1\3\0\0"..., 16384, 0, NULL, NULL) = 126 sendto(5, "Q\0\0\0\316SELECT c_folder_id, c_path,"..., 207, MSG_NOSIGNAL, NULL, 0) = 207
poll([{fd=5, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "T\0\0\0\276\0\6c_folder_id\0\0\5A\271\0\1\0\0\0\27\0\4\377"..., 16384, 0, NULL, NULL) = 471
sendto(5, "Q\0\0\0\26BEGIN TRANSACTION\0", 23, MSG_NOSIGNAL, NULL, 0) = 23
poll([{fd=5, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(5, "Q\0\0\0}DELETE FROM sogo_folder_inf"..., 126, MSG_NOSIGNAL, NULL, 0) = 126
poll([{fd=5, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "C\0\0\0\rDELETE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(5, "Q\0\0\0\27COMMIT TRANSACTION\0", 24, MSG_NOSIGNAL, NULL, 0) = 24
poll([{fd=5, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(5, "Q\0\0\0\26BEGIN TRANSACTION\0", 23, MSG_NOSIGNAL, NULL, 0) = 23
poll([{fd=5, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(5, "Q\0\0\0 DROP TABLE sogos0066600c017"..., 33, MSG_NOSIGNAL, NULL, 0) = 33
poll([{fd=5, events=POLLIN|POLLERR}], 1, -1



On 10/08/2015 11:23 AM, Christian Mack wrote:
Am 08.10.2015 um 11:00 schrieb Khapare Joshi:
when removing users with sogo-tool it hangs for ever.

sogo-tool remove khapare

nothing happens

here are the sogo version I have in my server
sogo-2.2.16-1.centos6.x86_64
sogo-tool-2.2.16-1.centos6.x86_64

sope49-xml-4.9-20150212_1664.el6.1.x86_64
sope49-sbjson-2.3.1-20150212_1664.el6.1.x86_64
sope49-cards-2.2.16-1.centos6.x86_64
sope49-appserver-4.9-20150212_1664.el6.1.x86_64
sope49-ldap-4.9-20150212_1664.el6.1.x86_64
sope49-gdl1-4.9-20150212_1664.el6.1.x86_64
sope49-debuginfo-4.9-20150212_1664.el6.1.x86_64
sope49-gdl1-contentstore-2.2.16-1.centos6.x86_64
sope49-gdl1-postgresql-4.9-20150212_1664.el6.1.x86_64
sope49-core-4.9-20150212_1664.el6.1.x86_64
sope49-mime-4.9-20150212_1664.el6.1.x86_64

Do you execute this command as user sogo?


Kind regards,
Christian Mack


--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to