Kopano Installation in UBUNTU 18.04
-
Hi irrlicht i got below results after performing commands:
root@test:/home/user# lsof -i -P | grep kopano-se
root@test:/home/user# ps fax | grep kopano-se
661 ? Ssl 0:02 /usr/bin/python3 /usr/sbin/kopano-search -F
2089 pts/0 S+ 0:00 _ grep --color=auto kopano-se
root@test:/home/user# netstat -tulpnCommand ‘netstat’ not found, but can be installed with:
apt install net-tools
-
Would say that kopano-server is not running, first step should be to fix this issue, after you can try to install webapp.
MySQL-Server running?
Database ok?
user and passwort set in server.conf?
What’s in syslog or server.log when you restart service kopano-server? -
dpkg -l | grep kopano
apt-cache policy kopano-server
show these, because you are running different versionummers.
-
This post is deleted! -
please check below output what it means?
root@test:/# ps fax | grep kopano-se
9225 pts/1 S+ 0:00 _ grep --color=auto kopano-se
8230 ? Ssl 0:03 /usr/bin/python3 /usr/sbin/kopano-search -F -
only kopano-search is running.
I told you what your problem is.you are running different versions of kopano and that not possible.
Again show these, because these will show it.
dpkg -l | grep kopano
apt-cache policy kopano-server
-
@yaseen said in Kopano Installation in UBUNTU 18.04:
please check below output what it means?
First you should work on your linuxskills.
Installation of kopano is very good for learning/teaching because it includes a lot of methods of installation/administration. You mix official repositories with external pakets from kopano. You need a few databaseskills (mysql -u root -p…, create databases,…), knowledge about postfix (smtp) to marry postfix with kopano in main.cf, knowledge about linuxcommandline (ps fax, lsof, tail -f /var/log/syslog), basics in https/ssl/tls…
ps fax |grep kopano-se
ps fax lists all processes, “|grep kopano-se” searchs all processes with “kopano-se” in processname, here “kopano-search”. Most important service in kopano is kopano-server and this is not running.
Perhaps database doesn’t exist or wrong/missing user/password in server.cfg, wrong permissions for database… -
This post is deleted! -
Thanks for your advice & i definitely try to improve it.
as per the documentation https://kb.kopano.io/display/WIKI/Core
i have configured mysql added user in mysql & updated user details in /etc/kopano/server.cfg -
- Do you have the file /etc/kopano/server.cfg?
- Which user/password/databasename? (test/pwd/kopano)?
- check this with
mysql -u test -p
- on mysql-cli
use database kopano;
- if you can use this database check syslog
service kopano-server restart
parallel in other cli for errors, if you have no log file in server.cfg
kopano-server should log errors theretail -f /var/log/syslog
-
below is the output of dpkg -l | grep kopano command:
ii kopano-backup 8.7.80.587.10057ac52-0+100.1 amd64 Utility to back up and restore Kopano stores
ii kopano-client 8.7.80.587.10057ac52-0+100.1 amd64 Kopano MAPI provider library
ii kopano-common 8.7.80.587.10057ac52-0+100.1 amd64 Shared files for Kopano services
ii kopano-dagent 8.7.80.587.10057ac52-0+100.1 amd64 E-Mail Delivery Agent for Kopano Core
ii kopano-gateway 8.7.80.587.10057ac52-0+100.1 amd64 POP3 and IMAP Gateway for Kopano Core
ii kopano-ical 8.7.80.587.10057ac52-0+100.1 amd64 ICal and CalDAV Gateway for Kopano Core
ii kopano-lang 8.7.80.587.10057ac52-0+100.1 all Translations for Kopano Core components
ii kopano-monitor 8.7.80.587.10057ac52-0+100.1 amd64 Quota Monitor for Kopano Core
ii kopano-python-utils 8.7.80.587.10057ac52-0+100.1 amd64 Additional Python-based command-line utils for Kopano Core
ii kopano-search 8.7.80.587.10057ac52-0+100.1 amd64 Indexed search engine for Kopano Core
ii kopano-server 8.7.80.587.10057ac52-0+100.1 amd64 Server component for Kopano Core
ii kopano-server-packages 8.7.80.587.10057ac52-0+100.1 all Metapackage to install the entire Kopano Core stack
ii kopano-spooler 8.7.80.587.10057ac52-0+100.1 amd64 E-mail Spooler for Kopano Core
ii kopano-utils 8.7.80.587.10057ac52-0+100.1 amd64 Admin command-line utils for Kopano Core
ii libgsoap-kopano-2.8.78 2.8.78-0+1.1 amd64 Runtime libraries for gSOAP
ii libvmime-kopano1 0.9.2.50+12.1 amd64 Library for working with MIME messages and IMAP/POP/SMTP
ii python3-kopano 8.7.80.587.10057ac52-0+100.1 all High-level Python 3 bindings for Kopano
ii python3-kopano-search 8.7.80.587.10057ac52-0+100.1 all Kopano search module for Python 3
ii python3-kopano-utils 8.7.80.587.10057ac52-0+100.1 all Kopano utils modules for Python 3 -
yes i have server.cfg in /etc/kopano
-
maybe you should choose a way to get started with Kopano that provides an easier entry. For example https://wiki.z-hub.io/display/K4U/Documentation+-+Getting+Started or https://github.com/zokradonh/kopano-docker#how-to-get-started
-
Anyone having step by step document of kopano installation (English) in ubuntu ?
-
@mass does this help you: https://kb.kopano.io/display/WIKI/Core?
-
Thanks for the link that was actually i am following from the beginning
please share any step by step document or installation videos. -
@mass there are always implementation choices to be made by the admin when implementing Kopano. Some things are also dependent on other factors (such as the usage pattern, number of users). A step-by-step document from where you can simply copy/paste commands is, as such, not available.
The easy-entry method to get started with Kopano is indeed as @fbartels already mentioned Univention: https://wiki.z-hub.io/display/K4U/Documentation+-+Getting+Started