This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1
Installation and Upgrades / Re: Tip: usercorner (port 8888) redirect to new subdomain at port 443 with mod_proxy
« on: April 27, 2014, 08:50:43 pm »
Hi anagno,
I'm always happy to help a fellow sys admin
I would suggest to try it without the "ProxyPassReverse" line. It should be more secure
Best,
Marcus
I'm always happy to help a fellow sys admin

I would suggest to try it without the "ProxyPassReverse" line. It should be more secure

Best,
Marcus
2
French / Re: récupérer les courriels
« on: April 27, 2014, 02:40:32 pm »
Bonjour marinosand,
Je ne peux malheureusement pas répondre de façon officielle pour ce qui a trait aux dernières versions de Zentyal. Reste du fait que je vais quand même tenter une réponse (histoire de possiblement venir en aide aux SysAdmins qui parcourront cette réponse).
Les courriels sur les dernières versions d'Ubuntu ce trouvent dans les répertoires /var/mail/[username] ou traditionnellement dans les répertoires /var/spool/mail/[username]
Si tel est le cas sur les dernières versions de Zentyal, il ne te suffirait que de transvaser lesdits répertoires sur ta nouvelle installation.
!! Dans tout les cas, avant de copier le tout et de risquer d'écraser un contenu important, il est toujours préférable d'effectuer une sauvegarde sur le serveur dit "sain".
Afin d'effectuer une sauvegarde, il ne suffit que de simplement faire un "rsync" sur les répertoires.
i.e.
* Le "mk" va créer un répertoire "/var/bak/", le "&&" va ensuite enchaîner avec la seconde commande et pour conclure, le "rsync" va copier le répertoire mail incluant sa structure ainsi qu'en conservant les dates, permissions et propriétaires.
** Si on porte attention à la seconde commande (le rsync), on remarquera que je n'ai pas mis de "/" à la fin. Cela va informer la commande de copier le répertoire "mail" en plus de son contenu. En contrepartie, la deuxième partie du cp comprend un "/" à la toute fin. Cela va informer le "rsync" de mettre le répertoire "mail" sous "bak".
Si jamais le transfère foire. Il est possible d'effectuer un retour en arrière assez rapidement en effectuant cette commande:
En espérant que cela soit juste
Bonne chance!
Marcus
Je ne peux malheureusement pas répondre de façon officielle pour ce qui a trait aux dernières versions de Zentyal. Reste du fait que je vais quand même tenter une réponse (histoire de possiblement venir en aide aux SysAdmins qui parcourront cette réponse).
Les courriels sur les dernières versions d'Ubuntu ce trouvent dans les répertoires /var/mail/[username] ou traditionnellement dans les répertoires /var/spool/mail/[username]
Si tel est le cas sur les dernières versions de Zentyal, il ne te suffirait que de transvaser lesdits répertoires sur ta nouvelle installation.
!! Dans tout les cas, avant de copier le tout et de risquer d'écraser un contenu important, il est toujours préférable d'effectuer une sauvegarde sur le serveur dit "sain".
Afin d'effectuer une sauvegarde, il ne suffit que de simplement faire un "rsync" sur les répertoires.
i.e.
Code: [Select]
sudo mk /var/bak && sudo rsync -avz /var/mail /var/bak/
* Le "mk" va créer un répertoire "/var/bak/", le "&&" va ensuite enchaîner avec la seconde commande et pour conclure, le "rsync" va copier le répertoire mail incluant sa structure ainsi qu'en conservant les dates, permissions et propriétaires.
** Si on porte attention à la seconde commande (le rsync), on remarquera que je n'ai pas mis de "/" à la fin. Cela va informer la commande de copier le répertoire "mail" en plus de son contenu. En contrepartie, la deuxième partie du cp comprend un "/" à la toute fin. Cela va informer le "rsync" de mettre le répertoire "mail" sous "bak".
Si jamais le transfère foire. Il est possible d'effectuer un retour en arrière assez rapidement en effectuant cette commande:
Code: [Select]
sudo rm /var/mail/* -Rf && sudo rsync -avz /var/bak/mail/ /var/mail/
En espérant que cela soit juste

Bonne chance!
Marcus
3
Installation and Upgrades / Re: Tip: usercorner (port 8888) redirect to new subdomain at port 443 with mod_proxy
« on: April 27, 2014, 12:12:56 am »
Hey anagno!
Some reading:
https://forum.zentyal.org/index.php/topic,3054.msg19166.html#msg19166
Following the HowTo should achieve your goal.
Best!
Marcus
Some reading:
https://forum.zentyal.org/index.php/topic,3054.msg19166.html#msg19166
Following the HowTo should achieve your goal.
Best!
Marcus
4
Installation and Upgrades / Re: Tip: usercorner (port 8888) redirect to new subdomain at port 443 with mod_proxy
« on: April 26, 2014, 06:06:25 pm »
Hey anagno!
It seems that you do have an issue with the SSL negociation...
Just saying;
One of the usual goal of using mod_proxy is to do some SSL offloading. So you may want to proxy your request over an unsecured connection (it is local anyways).
Also, based on this thread, there is an obviously bad configuration. Using the balancer function with a single slave is like non-sens to me. Why doing some load balancing on a single slave cluster ?!? Simply use the regular proxy fonction...
Could you post your complete vhosts (the one doing the proxy and the 127.0.0.1 one) configuration ?
Some other tips that may help you out figuring the problem;
I wrote a post few years ago on a similar thing. Reading it may help you a bit:
https://forum.zentyal.org/index.php?topic=3054.0
Best,
Marcus
It seems that you do have an issue with the SSL negociation...
Just saying;
One of the usual goal of using mod_proxy is to do some SSL offloading. So you may want to proxy your request over an unsecured connection (it is local anyways).
Also, based on this thread, there is an obviously bad configuration. Using the balancer function with a single slave is like non-sens to me. Why doing some load balancing on a single slave cluster ?!? Simply use the regular proxy fonction...
Could you post your complete vhosts (the one doing the proxy and the 127.0.0.1 one) configuration ?
Some other tips that may help you out figuring the problem;
I wrote a post few years ago on a similar thing. Reading it may help you a bit:
https://forum.zentyal.org/index.php?topic=3054.0
Best,
Marcus
5
French / Re: Comment rajouter OVH dans la liste du menu deroulant Dynamic DNS
« on: April 26, 2014, 03:08:54 pm »
Bump!
OVH, premier hébergeur Français et quatrième au niveau mondial... (À mon avis)Son support devrait être inclus d'office.
Marcus
OVH, premier hébergeur Français et quatrième au niveau mondial... (À mon avis)Son support devrait être inclus d'office.
Marcus
6
Installation and Upgrades / Re: All https traffic routing to /var/www/ despite Zentyal virtual servers
« on: March 30, 2014, 07:24:49 pm »
Hey ronaldgoode!
(I might be wrong but the following is probably the most common problem)
This is a "normal" behavior...
To fix your problem, run this line from a terminal:
Please let us know if it did fix your problem...
Best,
Marcus
(I might be wrong but the following is probably the most common problem)
This is a "normal" behavior...

To fix your problem, run this line from a terminal:
Code: [Select]
sudo echo "NameVirtualHost *:443" >> /etc/apache2/httpd.conf && sudo service apache2 reload
Please let us know if it did fix your problem...
Best,
Marcus
7
Installation and Upgrades / Re: MySQL administration
« on: March 30, 2014, 06:54:21 pm »
Hey crashdef!
Welcome to the community!
Password:
https://forum.zentyal.org/index.php?topic=11811.0
Import:
i.e.
magento = DB schema
magento.sql = your eCommerce MySQL dump
Export:
i.e.
magento = DB schema
magento.sql = your eCommerce MySQL dump
ref:
http://dev.mysql.com/doc/refman/5.5/en/mysql.html
Best,
Marcus
Welcome to the community!
The question is how to import a couple of mysql databases? Or how to find out root password to mysql server and allow it to login from localhost terminal?
Password:
https://forum.zentyal.org/index.php?topic=11811.0
Import:
Code: [Select]
mysql -p your_db_schema < your_dump.sql
i.e.
magento = DB schema
magento.sql = your eCommerce MySQL dump
Code: [Select]
mysql -p magento < magento.sql
Export:
Code: [Select]
mysqldump -p your_db_schema > your_dump.sql
i.e.
magento = DB schema
magento.sql = your eCommerce MySQL dump
Code: [Select]
mysql -p magento > magento.sql
ref:
http://dev.mysql.com/doc/refman/5.5/en/mysql.html
Best,
Marcus
8
Installation and Upgrades / Re: Why is the ubuntu-package "zentyal-mail" gone?
« on: March 30, 2014, 03:03:10 pm »
Hello Christian.Wantia,
I could be wrong but it could be related to an outdated sources lists...
Have you tried the following before trying the package install:
Marcus
I could be wrong but it could be related to an outdated sources lists...
Have you tried the following before trying the package install:
Code: [Select]
sudo apt-get update
Marcus
9
French / Re: réplication serveur, backup, synchro en cas de panne.
« on: March 29, 2014, 04:55:12 pm »
Bonjour Mathieu,
Zentyal ne fait pas tout ça de façon native. Mais oui, avec un peut d'ingéniosité et de persévérance, il est tout à fait possible de monter un cluster SQL, de fichier, DNS, REDIS, etc... Reste que tu devras répondre et résoudre plusieurs questions.
Le premier pas serait probablement une analyse de tes services que tu désires répliquer et comment tu désires les répliquer (i.e. multi-master ou master/slave).
Après tu devras regarder les restrictions de la réplication pour chacun de ces services (i.e. MySQL multi-master >= 3 nodes)
Marcus
Zentyal ne fait pas tout ça de façon native. Mais oui, avec un peut d'ingéniosité et de persévérance, il est tout à fait possible de monter un cluster SQL, de fichier, DNS, REDIS, etc... Reste que tu devras répondre et résoudre plusieurs questions.
Le premier pas serait probablement une analyse de tes services que tu désires répliquer et comment tu désires les répliquer (i.e. multi-master ou master/slave).
Après tu devras regarder les restrictions de la réplication pour chacun de ces services (i.e. MySQL multi-master >= 3 nodes)
Marcus
10
French / Re: mon site internet n'est pas en ligne
« on: March 29, 2014, 04:32:51 pm »
Bonjour marinosand,
Est-ce que ton problème est résolu ?
Marcus
Est-ce que ton problème est résolu ?
Marcus
11
News and Announcements / Au revoir Christian
« on: March 29, 2014, 04:12:04 pm »
Et à la prochaine
(possiblement sur un autre projet)

Marcus
(possiblement sur un autre projet)

Marcus
12
Installation and Upgrades / Re: Installing existing FreePBX
« on: March 02, 2014, 05:55:15 pm »
Hello U4ME,
My home setup: Zentyal 2.0 + FreePBX 2.11
So yes, it is totally possible but not with the official FreePBX distro. (FreePBX distro is built on top of CentOS and Zentyal is built on top of an Ubuntu server)
Also, my advice would be to compile Asterisk instead of using the PPA version.
Other than that you'll have to change the webserver user (www-data) to asterisk
In order to migrate your existing PBX, simply make a backup on it and then restore it on your Zentyal installation.
**Don't forget to install Spandsp before compiling Asterisk if you ever plan to use the fax function
Good luck!
Marcus
My home setup: Zentyal 2.0 + FreePBX 2.11
So yes, it is totally possible but not with the official FreePBX distro. (FreePBX distro is built on top of CentOS and Zentyal is built on top of an Ubuntu server)
Also, my advice would be to compile Asterisk instead of using the PPA version.
Other than that you'll have to change the webserver user (www-data) to asterisk
In order to migrate your existing PBX, simply make a backup on it and then restore it on your Zentyal installation.
**Don't forget to install Spandsp before compiling Asterisk if you ever plan to use the fax function

Good luck!
Marcus
13
Installation and Upgrades / Re: as I check if an SMTP port is not blocked by Zentyal
« on: March 02, 2014, 05:45:56 pm »14
Installation and Upgrades / Re: Moodle and Zentyal
« on: December 17, 2013, 12:50:19 pm »
Hello Efraim,
Running the following in a terminal should fix it:
Best,
Marcus
Running the following in a terminal should fix it:
Code: [Select]
sudo apt-get install php5-cli
Best,
Marcus
15
Installation and Upgrades / Re: Ownclound running on Zentyal 2.2
« on: December 14, 2013, 10:26:36 pm »
Hey christian,
I noticed that too (I'm still running Zentyal 2.0 on my home setup).
The 6.0 edition is very nice indeed.
Following that limitation, I installed it on a fresh system dedicated to OwnCloud only (I'm not ready yet to upgrade my home server).
Have a great day!
Marcus
I noticed that too (I'm still running Zentyal 2.0 on my home setup).
The 6.0 edition is very nice indeed.
Following that limitation, I installed it on a fresh system dedicated to OwnCloud only (I'm not ready yet to upgrade my home server).
Have a great day!
Marcus