Isue with Kopano-Core 8.4.0.669 an z-push 2.3.6?
-
Hello @ck0ne,
check if kopano still knows the users:
kopano-admin -l
Second, check if z-push knows the users aswell
z-push-admin -a list
third,
check the owner of pid-file andchange the start-user for all your kopano-services to root give us some information about your php version
last but not least, did you upgrade the webapp-mapi-version aswell?ll /var/run/kopano/ insgesamt 36 -rw-r--r-- 1 root root 5 21. Mai 02:05 dagent.pid -rw-r--r-- 1 root root 5 21. Mai 02:05 gateway.pid -rw-r--r-- 1 root root 5 21. Mai 02:05 ical.pid -rw-r--r-- 1 root root 5 21. Mai 02:05 monitor.pid -rw-r--r-- 1 root root 5 21. Mai 02:30 presence.pid -rw-rw-rw- 2 root root 0 21. Mai 02:30 presence.pid.lock srw-rw---- 1 root root 0 21. Mai 02:05 prio.sock -rw-r--r-- 1 root root 5 21. Mai 02:05 search.pid -rw-rw-rw- 2 root root 0 21. Mai 02:05 search.pid.lock srwx------ 1 root root 0 21. Mai 02:05 search.sock -rw-r--r-- 1 root root 5 21. Mai 02:05 server.pid srw-rw-rw- 1 root root 0 21. Mai 02:05 server.sock -rw-r--r-- 1 root root 5 21. Mai 02:05 spooler.pid
Coffee_is_life
-
@Sebastian You ar right. Before I upgraded to Version 2.3.6 I ran version 2.3.5. It makes no difference. So I add the logs from this version. by now I have the repo Version 2.3.6.
-
if I execute the kopano-admin I got the following output:
# kopano-admin -l -vvv [error ] M4LMsgServiceAdmin::ConfigureMsgService() MSGServiceEntry failed 80040111: logon failed [crit ] CreateProfileTemp(): ConfigureMsgService failed 80040111: logon failed [warning] CreateProfileTemp failed: 80040111: logon failed Unable to open Admin session: logon failed (0x80040111) Access was denied on default:. Using the -v option (possibly multiple times) may give more hints.``` z-push show me the connected devices ```# z-push-admin -a list All synchronized devices Device id Synchronized users ----------------------------------------------------- android1420070404301 user 6702f240b52e178477d0ca5825bb6e31 user 48eamq8nbl4mbc6odh6a3t6rs0 user
I use a fully patched Ubuntu14.04.05 LTS with php 5.5.9
What kind of web app-mapi? I got the tar from download.kopano.io and installed the contents by
dpkg -I kopano-webapp*
is there a missing file? I can’t see it in my directory.
Carsten
-
Is your kopano server up and running? Are there any messages in the kopano log? Which user backend do you use?
I think you are having some general issue. The Z-Push things could be just a symptom.
-
@Sebastian
I do not know how to continue. ZCP I have since the version 6.4 in operation. The server.log looks good, as long as I run the server as root. In z-push.log, there are sometimes warnings. This is mostly due to mobile loops.As backend I use Webapp and Mobile devices with IOS and android.
By now the Server is up as root
-
Hi @ck0ne,
i think the issue is with read/write permissions… if you see my post with the permissions on the socket and pid files.
in every config you can define a user with which this programm starts (run_as_user)
if possible, start all services with root or at least with the sameCoffee_is_life
-
@Coffee_is_life yes is see it. i’ve execute kopano as root. in my test environment it is ok. for a production it dont. how ca i drop down the privileges and run the server without issues?
-
@ck0ne, i bet if every module (server, dagent, gateway, […]) is started with the same user
chown the log-folder (chown -R kopano:kopano /var/log/kopano/)
now the internal connections should work, but i cant test right now how this effects the apache2 user.
Coffee_is_life
-
@Coffee_is_life this is what i have initially done. Every module have been run as kopano. except the server because i’ve got the errors above.
-
@ck0ne, pls post your …/z-push/backend/kopano/config.php
there should be something like
define('MAPI_SERVER', 'default:');
you use local socket or tcp connection?
Coffee_is_life