<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.open-xchange.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tlnathan</id>
	<title>Open-Xchange - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.open-xchange.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tlnathan"/>
	<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Special:Contributions/Tlnathan"/>
	<updated>2026-08-17T18:47:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=Template:ContextUserAndLogs&amp;diff=10180</id>
		<title>Template:ContextUserAndLogs</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Template:ContextUserAndLogs&amp;diff=10180"/>
		<updated>2012-03-31T13:31:10Z</updated>

		<summary type="html">&lt;p&gt;Tlnathan: /* Creating contexts and users */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Creating contexts and users =&lt;br /&gt;
&lt;br /&gt;
Now as the whole setup is complete and you already should get a login screen when accessing the server with a webbrowser, we have to setup a context and a default user as the last step of this tutorial.&lt;br /&gt;
&lt;br /&gt;
The mapping &#039;&#039;defaultcontext&#039;&#039; will allow you to set this context as the default one of the entire system so that users which will be created within this context can login into Open-Xchange Server without specifying their domain at the login screen. Only one context can be specified as &#039;&#039;defaultcontext&#039;&#039;. The &#039;&#039;oxadmin&#039;&#039; user that will be created by this command is the default admin of the created context. This account will gather additional functions that are also described in the administration manual. The &#039;&#039;context id&#039;&#039; parameter must to be unique and numeric, otherwise the server will complain when you try to create a context. New contexts must be created by the &#039;&#039;oxadminmaster&#039;&#039; user, user accounts inside a context are created with the credentials of the contexts &#039;&#039;oxadmin&#039;&#039; account. The &#039;&#039;access-combination-name&#039;&#039; property defines the set of available modules and functions for users of the context.&lt;br /&gt;
&lt;br /&gt;
 $ /opt/open-xchange/sbin/createcontext -A oxadminmaster -P admin_master_password -c 1 \&lt;br /&gt;
 -u oxadmin -d &amp;quot;Context Admin&amp;quot; -g Admin -s User -p admin_password -L defaultcontext \&lt;br /&gt;
 -e oxadmin@example.com -q 1024 --access-combination-name=all&lt;br /&gt;
&lt;br /&gt;
Create a user for testing purposes (Make sure the password you use here for the user is the same password as your email account or you will not be able to use the email module until it is set right):&lt;br /&gt;
&lt;br /&gt;
 $ /opt/open-xchange/sbin/createuser -c 1 -A oxadmin -P admin_password -u testuser \&lt;br /&gt;
 -d &amp;quot;Test User&amp;quot; -g Test -s User -p secret -e testuser@example.com \&lt;br /&gt;
 --imaplogin testuser --imapserver 127.0.0.1 --smtpserver 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
Now connect to the server with a webbrowser and login using the credentials testuser / secret.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to migrate a batch of users and contexts at once, check the CSV Batch Import documentation [[Csv_import|page]].&lt;br /&gt;
&lt;br /&gt;
= Log files and issue tracking =&lt;br /&gt;
== Default logging mechanism ==&lt;br /&gt;
Whenever unexpected or erroneous behavior takes place, it will be logged depending on the configured loglevel. All logfiles are stored at the operating systems default location. Events triggered by the Open-Xchange Groupware services are logged to a rotating file &#039;&#039;open-xchange.log&#039;&#039;, events triggered by the Open-Xchange Administration service are logged to &#039;&#039;open-xchange-admin.log&#039;&#039;. Those files are the very first place to monitor.&lt;br /&gt;
 &lt;br /&gt;
 $ tail -f -n200 /var/log/open-xchange/open-xchange.log.0&lt;br /&gt;
 $ tail -f -n200 /var/log/open-xchange/open-xchange-admin.log.0&lt;br /&gt;
&lt;br /&gt;
== Alternative logging mechanism using Syslog ==&lt;br /&gt;
Apart from the default file logging mechanism, Open-Xchange supports logging via syslog in using Apache log4j which is a standard framework for application message and error logging. Using log4j makes it possible to directly log to a local or remote syslog daemon or other services. Log4j is highly customizable, please see the Apache log4j [http://logging.apache.org/log4j/] project websites for more information. Note, the default logging locations at /var/log/open-xchange will not be used anymore when installing the log4j bundles, please make sure to check out the  [[Syslog_Configuration|configuration guide]].&lt;br /&gt;
&lt;br /&gt;
= Performance &amp;amp; Tuning Tips =&lt;br /&gt;
Depending on your setup and the user accounts, it´s often helpful to know, how to get a better performance from the complete system. This section will try to assist you, how to tune the components within an OX setup, before you need to install a second server, add more RAM, add new CPU to existing servers. &lt;br /&gt;
&lt;br /&gt;
== MySQL ==&lt;br /&gt;
Since OX itself used very specific features from MySQL like InnoDB instead of MyISAM as DB Engine, it´s often needed, how to increase performance of the OX databases. In general, you should always monitor your MySQL system via tools like &amp;quot;munin&amp;quot;, to see when your system reaches it´s limits. Once, you recognized, the system responds more and more slowly, you start to read and research on the internet how to change your mysql configuration, specially, the my.cnf file. But due to the fact, that nearly every system is different in regards of hardware etc. you cannot just copy&amp;amp;paste existing configurations. At this point, a tool called &amp;quot;mysqltuner.pl&amp;quot; can help you. MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability. Within seconds, it will display statistics about your MySQL installation and the areas where it can be improved. To work with this tool, you need unrestricted read access to the MySQL server (OS root access is recommended). Just download and execute as shown below, and modify your existing my.cnf configuration file. &lt;br /&gt;
&lt;br /&gt;
IMPORTANT INFO: The MySQL system must run for several days, to gather statistics and informations about queries etc. from OX. After these days, you should execute mysqltuner.pl script. It does not work if you run it directly after installing an OX/MySQL setup. You can force traffic to OX while writing automatic testcases or jmeter plans. &lt;br /&gt;
&lt;br /&gt;
As already said, this is just ONE way to analyze MySQL systems. You can also check MYSQL.com for a consultant service or similar.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ wget http://mysqltuner.pl/mysqltuner.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make the PERL script executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ chmod +x mysqltuner.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Execute the PERL script:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ ./mysqltuner.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If prompted, enter your MySQL credentials and read carefully through the complete output of the script. Now you have very good informations, how to change your mysql system.&lt;/div&gt;</summary>
		<author><name>Tlnathan</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=Template:OXConfiguration&amp;diff=10179</id>
		<title>Template:OXConfiguration</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Template:OXConfiguration&amp;diff=10179"/>
		<updated>2012-03-31T13:29:09Z</updated>

		<summary type="html">&lt;p&gt;Tlnathan: /* Open-Xchange configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Open-Xchange configuration =&lt;br /&gt;
&lt;br /&gt;
To avoid confusion right at the start notice that Open-Xchange uses multiple administration levels and requires different credentials at some stages at the installation and server management. Note that the passwords chosen at this guide are weak and should be replaced by stronger passwords.&lt;br /&gt;
* The MySQL database user&lt;br /&gt;
** Username: openexchange&lt;br /&gt;
** Password used at this guide: db_password&lt;br /&gt;
** Responsibility: Execute all kinds of database operations&lt;br /&gt;
* The Open-Xchange Admin Master&lt;br /&gt;
** Username: oxadminmaster&lt;br /&gt;
** Password used at this guide: admin_master_password&lt;br /&gt;
** Responsibility: Manage contexts, manage all kinds of low level server configuration&lt;br /&gt;
* The Context Admin&lt;br /&gt;
** Username: oxadmin&lt;br /&gt;
** Password used at this guide: admin_password&lt;br /&gt;
** Responsibility: Manage users/groups/resources inside a context&lt;br /&gt;
&lt;br /&gt;
In order to setup the Open-Xchange Server it is mandatory to have the database running:&lt;br /&gt;
&lt;br /&gt;
 $ {{{mysqlstart}}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; in case of a distributed setup, it is recommended to start mysql with --skip-name-resolve or to add all hosts to the hosts file of the database server so that slow DNS responses do not slow down the creation of new database connections. &lt;br /&gt;
&lt;br /&gt;
a good idea is to add the Open-Xchange binaries to PATH:&lt;br /&gt;
&lt;br /&gt;
 $  echo PATH=$PATH:/opt/open-xchange/sbin/ &amp;gt;&amp;gt; ~/.bashrc &amp;amp;&amp;amp; . ~/.bashrc&lt;br /&gt;
&lt;br /&gt;
Now we have to initialize the Open-Xchange &#039;&#039;configdb&#039;&#039; database. This can all be done by executing the &#039;&#039;initconfigdb&#039;&#039; script.&lt;br /&gt;
&lt;br /&gt;
 $ /opt/open-xchange/sbin/initconfigdb --configdb-pass=db_password -a&lt;br /&gt;
&lt;br /&gt;
Add the &#039;&#039;-i&#039;&#039; option if you want to remove an already existing open-xchange configdb.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The -a parameter adds an administrative account to mysql, this administrative account is required for the creation of the oxdatabase database, you may find problems following the instructions of this tutorial if you either set a mysql root password or do not create this administrative account, if you have manually setup this administrative account, grant the permissions for database creation or you may find a problem in the context creation.&lt;br /&gt;
&lt;br /&gt;
Before starting any service, all basic configuration files need to be set up correctly. The &#039;&#039;--configdb-pass&#039;&#039; option indicates the password of the &#039;&#039;openexchange&#039;&#039; database user previously created, the &#039;&#039;--master-pass&#039;&#039; options specifies the password of the Open-Xchange &#039;&#039;adminmaster&#039;&#039; user that will be created when executing the &#039;&#039;oxinstaller&#039;&#039; script.&lt;br /&gt;
&lt;br /&gt;
Now is a good time to configure the way OX will authenticate to your mail server.  Edit the file /opt/open-xchange/etc/groupware/mail.properties and change the com.openexchange.mail.loginSource to use.  This is very important for servers that require your full email address to log in with.&lt;/div&gt;</summary>
		<author><name>Tlnathan</name></author>
	</entry>
</feed>