Show Posts

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.


Messages - Dersch

Pages: 1 2 [3] 4 5 6
31
Directory and Authentication / Re: User Samba Share Access Problem
« on: March 21, 2016, 09:03:27 am »
Any idea?

32
Email and Groupware / OpenChange Setting Error
« on: March 21, 2016, 08:48:49 am »
Hi,

yesterday I had the plan to start to use the mail and openchange function of Zentyal.

But i can't set the settings of OpenChange.

The error "The PDC is already provided" is shown and i can't go ahead.

The Log shows that:
Code: [Select]
2016/03/21 08:50:13 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command openchange_provision --check --firstorg='Steingaesser'  failed.
2016/03/21 08:50:13 DEBUG> Provision.pm:383 EBox::OpenChange::Model::Provision::checkForProvision - Der PDC Server würde bereits bereitgestellt at /usr/share/perl5/EBox/OpenChange/Model/Provision.pm line 383

What can be the reason of it?



33
Directory and Authentication / User Samba Share Access Problem
« on: March 19, 2016, 10:33:20 pm »
Hi,

i have two Zentyal 4.2.2 Machines (Kernel 3.13.0-83) One as PDC another one as ADC. On both machines i have some shares.

I created a couple of users and noticed now that they can't access to all shares. All ACL's look correct in general.
Samba version 4.3.4-Zentyal

On the PDC no user except the Administrator is able to access to shares.
On the ADC all shares are working as they should do. I couldn't notice any problem there.

I'm really confused why. What can deny the access for the users on the PDC if the ACL settings are correct?

34
Other modules / Zentyal 4.2.2 Avanced Network Settings of Zentyal 4.0
« on: February 17, 2016, 01:12:40 pm »
Hi i need to create a network bridge for a vm and would like to use that way:

https://wiki.zentyal.org/wiki/En/4.0/Advanced_Network_Configuration

I'm running Zentyal 4.2.2. but does not have the advanced settings anymore. Is there a way to get it back?

Or can i just write that into the /etc/network/interfaces

# The secondary network interface and bridge
auto virbr1
iface virbr1 inet manual
        bridge_ports p1p1
        bridge_fd 9
        bridge_hello 2
        bridge_maxage 12
        bridge_stp off

best regards
Dirk

35
Other modules / DHCP service failes after delete of VLAN
« on: February 07, 2016, 10:53:55 pm »
Hi,

i'm facing a problem after i deleted a VLAN.

Now the DHCP service has a problem and the log shows:

Code: [Select]
2016/02/07 22:45:06 ERROR> DHCP.pm:1494 EBox::DHCP::_getModel - Inexistent row for iface vlan2 at Inexistent row for iface vlan2 at /usr/share/perl5/EBox/DHCP.pm line 1494
2016/02/07 22:45:06 ERROR> Service.pm:1001 EBox::Module::Service::restartService - Error restarting service: Inexistent row for iface vlan2
2016/02/07 22:45:06 ERROR> Service.pm:1003 EBox::Module::Service::restartService - Inexistent row for iface vlan2 at Inexistent row for iface vlan2 at /usr/share/perl5/EBox/Module/Service.pm line 1003
2016/02/07 22:45:06 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of DHCP from dashboard failed: Inexistent row for iface vlan2

I deleted the VLAN 2 at the interface menu but it still existed if i looked with ifconfig.

How can i delete the VLAN in a proper way? Now i fixed it with creating the VLAN again and i saw directly my old settings at the vlan tab.

Best regards
Dirk

36
IT WORKS!!! Thank you so much! I don't know what i should do with Zentyal without you ;)

37
Thats not changing anything. Now freeradius does not start because of the first error

Code: [Select]
Sat Nov 14 09:39:23 2015 : Error: rlm_eap_tls: Error reading certificate file /etc/freeradius/certs/freeradius.pem
Sat Nov 14 09:39:23 2015 : Error: rlm_eap: Failed to initialize type tls
Sat Nov 14 09:39:23 2015 : Error: /etc/freeradius/eap.conf[17]: Instantiation failed for module "eap"
Sat Nov 14 09:39:23 2015 : Error: /etc/freeradius/sites-enabled/default[287]: Failed to load module "eap".
Sat Nov 14 09:39:23 2015 : Error: /etc/freeradius/sites-enabled/default[234]: Errors parsing authenticate section.
Sat Nov 14 09:39:23 2015 : Error: Failed to load virtual server <default>
Sat Nov 14 09:39:23 2015 : Error: rlm_eap: SSL error error:0200100D:system library:fopen:Permission denied
Sat Nov 14 09:39:23 2015 : Error: rlm_eap_tls: Error reading certificate file /etc/freeradius/certs/freeradius.pem
Sat Nov 14 09:39:23 2015 : Error: rlm_eap: Failed to initialize type tls
Sat Nov 14 09:39:23 2015 : Error: /etc/freeradius/eap.conf[17]: Instantiation failed for module "eap"
Sat Nov 14 09:39:23 2015 : Error: /etc/freeradius/sites-enabled/default[287]: Failed to load module "eap".
Sat Nov 14 09:39:23 2015 : Error: /etc/freeradius/sites-enabled/default[234]: Errors parsing authenticate section.
Sat Nov 14 09:39:23 2015 : Error: Failed to load virtual server <default>
Sat Nov 14 09:39:23 2015 : Error: rlm_eap: SSL error error:0200100D:system library:fopen:Permission denied
Sat Nov 14 09:39:23 2015 : Error: rlm_eap_tls: Error reading certificate file /etc/freeradius/certs/freeradius.pem
Sat Nov 14 09:39:23 2015 : Error: rlm_eap: Failed to initialize type tls
Sat Nov 14 09:39:23 2015 : Error: /etc/freeradius/eap.conf[17]: Instantiation failed for module "eap"
Sat Nov 14 09:39:23 2015 : Error: /etc/freeradius/sites-enabled/default[287]: Failed to load module "eap".
Sat Nov 14 09:39:23 2015 : Error: /etc/freeradius/sites-enabled/default[234]: Errors parsing authenticate section.
Sat Nov 14 09:39:23 2015 : Error: Failed to load virtual server <default>
Sat Nov 14 09:39:23 2015 : Error: rlm_eap: SSL error error:0200100D:system library:fopen:Permission denied
Sat Nov 14 09:39:23 2015 : Error: rlm_eap_tls: Error reading certificate file /etc/freeradius/certs/freeradius.pem
Sat Nov 14 09:39:23 2015 : Error: rlm_eap: Failed to initialize type tls
Sat Nov 14 09:39:23 2015 : Error: /etc/freeradius/eap.conf[17]: Instantiation failed for module "eap"
Sat Nov 14 09:39:23 2015 : Error: /etc/freeradius/sites-enabled/default[287]: Failed to load module "eap".
Sat Nov 14 09:39:23 2015 : Error: /etc/freeradius/sites-enabled/default[234]: Errors parsing authenticate section.
Sat Nov 14 09:39:23 2015 : Error: Failed to load virtual server <default>
dirk@superserver:~/Downloads$

38
No i could fix the issue with the certificate. At CA Authority i checked RADIUS once and saved. The error stopped.

Then i got another error in the Log File:
Code: [Select]
Sat Nov 14 00:16:59 2015 : Error: Errors reading /etc/freeradius/users
Sat Nov 14 00:16:59 2015 : Error: /etc/freeradius/modules/files[7]: Instantiation failed for module "files"
Sat Nov 14 00:16:59 2015 : Error: /etc/freeradius/sites-enabled/default[152]: Failed to load module "files".
Sat Nov 14 00:16:59 2015 : Error: /etc/freeradius/sites-enabled/default[62]: Errors parsing authorize section.
Sat Nov 14 00:16:59 2015 : Error: Failed to load virtual server <default>
Sat Nov 14 00:16:59 2015 : Error: /etc/freeradius/users[3]: Parse error (check) for entry DEFAULT: Expected end of line or comma

I changed in Zentyal the group allowed to authenticate once and saved to write the file new. Then freeradius could start:

Code: [Select]
Sat Nov 14 00:20:31 2015 : Info: Loaded virtual server <default>
Sat Nov 14 00:20:31 2015 : Info: Loaded virtual server inner-tunnel
Sat Nov 14 00:20:31 2015 : Info:  ... adding new socket proxy address * port 40920
Sat Nov 14 00:20:31 2015 : Info: Ready to process requests.

But it is still impossible to login:
Code: [Select]
Sat Nov 14 00:21:44 2015 : Error:   [ldap] ldap_search() failed: Operations error
Sat Nov 14 00:21:44 2015 : Auth: Invalid user: [Administrator] (from client 192.168.10.40/32 port 0 cli E8-50-8B-83-95-42)

Also Zentyal Webinterface does not recognize the running service.

Manual start is also impossible:
Code: [Select]
service zentyal radius restart
 * Restarting Zentyal module: radius                                     [fail]

It is very strange right now. With 4.1 everything worked so well without any issue.  Please help me to fix that. There must be some error within the installation tipps.

best regards
Dirk

39
Hey julio, thanks for your help. Now i could install and configure it. But it is still not working, the module is stopped. If i reload the module i get the message "successful reloaded" but it is still stopped.

Here is what happend after your hint:

Code: [Select]
dirk@superserver:~$ sudo nano /var/lib/dpkg/info/freeradius-ldap.postinst
dirk@superserver:~$ sudo apt-get install -f
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
2 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
freeradius-ldap (2.1.12+dfsg-1.2ubuntu8.1) wird eingerichtet ...
 * Reloading FreeRADIUS daemon freeradius                                                                       
* /var/run/freeradius/freeradius.pid not found...                                                       [ OK ]
zentyal-radius (4.2) wird eingerichtet ...
Trigger für zentyal-core (4.2.1) werden verarbeitet ...
 * Restarting Zentyal module: webadmin                                   [ OK ]
 * Restarting Zentyal module: logs                                       [ OK ]

Freeradius is running:
Code: [Select]
sudo service freeradius start                                                     
freeradius start/running, process 5237

But stopped immeditaley
Code: [Select]
sudo service freeradius status
freeradius stop/waiting

And i activated the module, of course.

I also started the install process again but it had no effect.

The freeradius log at /var/log/freeradius is full of errors:

Code: [Select]
Fri Nov 13 23:07:19 2015 : Error: Failed to load virtual server <default>
Fri Nov 13 23:07:19 2015 : Error: rlm_eap: SSL error error:0200100D:system library:fopen:Permission denied
Fri Nov 13 23:07:19 2015 : Error: rlm_eap_tls: Error reading certificate file /etc/freeradius/certs/freeradius.pem
Fri Nov 13 23:07:19 2015 : Error: rlm_eap: Failed to initialize type tls
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/eap.conf[17]: Instantiation failed for module "eap"
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/sites-enabled/default[287]: Failed to load module "eap".
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/sites-enabled/default[234]: Errors parsing authenticate section.
Fri Nov 13 23:07:19 2015 : Error: Failed to load virtual server <default>
Fri Nov 13 23:07:19 2015 : Error: rlm_eap: SSL error error:0200100D:system library:fopen:Permission denied
Fri Nov 13 23:07:19 2015 : Error: rlm_eap_tls: Error reading certificate file /etc/freeradius/certs/freeradius.pem
Fri Nov 13 23:07:19 2015 : Error: rlm_eap: Failed to initialize type tls
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/eap.conf[17]: Instantiation failed for module "eap"
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/sites-enabled/default[287]: Failed to load module "eap".
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/sites-enabled/default[234]: Errors parsing authenticate section.
Fri Nov 13 23:07:19 2015 : Error: Failed to load virtual server <default>
Fri Nov 13 23:07:19 2015 : Error: rlm_eap: SSL error error:0200100D:system library:fopen:Permission denied
Fri Nov 13 23:07:19 2015 : Error: rlm_eap_tls: Error reading certificate file /etc/freeradius/certs/freeradius.pem
Fri Nov 13 23:07:19 2015 : Error: rlm_eap: Failed to initialize type tls
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/eap.conf[17]: Instantiation failed for module "eap"
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/sites-enabled/default[287]: Failed to load module "eap".
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/sites-enabled/default[234]: Errors parsing authenticate section.
Fri Nov 13 23:07:19 2015 : Error: Failed to load virtual server <default>
Fri Nov 13 23:07:19 2015 : Error: rlm_eap: SSL error error:0200100D:system library:fopen:Permission denied
Fri Nov 13 23:07:19 2015 : Error: rlm_eap_tls: Error reading certificate file /etc/freeradius/certs/freeradius.pem
Fri Nov 13 23:07:19 2015 : Error: rlm_eap: Failed to initialize type tls
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/eap.conf[17]: Instantiation failed for module "eap"
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/sites-enabled/default[287]: Failed to load module "eap".
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/sites-enabled/default[234]: Errors parsing authenticate section.
Fri Nov 13 23:07:19 2015 : Error: Failed to load virtual server <default>
Fri Nov 13 23:07:19 2015 : Error: rlm_eap: SSL error error:0200100D:system library:fopen:Permission denied
Fri Nov 13 23:07:19 2015 : Error: rlm_eap_tls: Error reading certificate file /etc/freeradius/certs/freeradius.pem
Fri Nov 13 23:07:19 2015 : Error: rlm_eap: Failed to initialize type tls
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/eap.conf[17]: Instantiation failed for module "eap"
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/sites-enabled/default[287]: Failed to load module "eap".
Fri Nov 13 23:07:19 2015 : Error: /etc/freeradius/sites-enabled/default[234]: Errors parsing authenticate section.
Fri Nov 13 23:07:19 2015 : Error: Failed to load virtual server <default>

40
Julio, please help me  :-\ i need radius for my wlan access and it does not work as it should at the moment. I assume it is just a small bug in the installation :)

It worked like a charm with 4.1 and today i upgraded to 4.2.1 after i saw that i can install the radius module.

41
hi, i have problems to install the radius module with 4.2

Code: [Select]

dirk@superserver:~/Downloads$ sudo dpkg -i zentyal-radius_4.2_all.deb
(Lese Datenbank ... 621495 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von zentyal-radius_4.2_all.deb ...
Entpacken von zentyal-radius (4.2) über (4.2) ...
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-radius:
 zentyal-radius hängt ab von freeradius-ldap; aber:
  Paket freeradius-ldap ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes zentyal-radius (--install):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 zentyal-radius
dirk@superserver:~/Downloads$

dirk@superserver:~/Downloads$ sudo apt-get install -f -y
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
  linux-image-extra-3.13.0-66-generic
Verwenden Sie »apt-get autoremove«, um es zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
2 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
freeradius-ldap (2.1.12+dfsg-1.2ubuntu8.1) wird eingerichtet ...
reload: Unknown instance:
invoke-rc.d: initscript freeradius, action "force-reload" failed.
dpkg: Fehler beim Bearbeiten des Paketes freeradius-ldap (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-radius:
 zentyal-radius hängt ab von freeradius-ldap; aber:
  Paket freeradius-ldap ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes zentyal-radius (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Es wurde kein Apport-Bericht verfasst, da die Fehlermeldung darauf hindeutet, dass dies lediglich ein Folgefehler eines vorherigen Problems ist.
                                             E: Sub-process /usr/bin/dpkg returned an error code (1)

dirk@superserver:~/Downloads$ sudo dpkg --configure -a
freeradius-ldap (2.1.12+dfsg-1.2ubuntu8.1) wird eingerichtet ...
reload: Unknown instance:
invoke-rc.d: initscript freeradius, action "force-reload" failed.
dpkg: Fehler beim Bearbeiten des Paketes freeradius-ldap (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-radius:
 zentyal-radius hängt ab von freeradius-ldap; aber:
  Paket freeradius-ldap ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes zentyal-radius (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 freeradius-ldap
 zentyal-radius


Is there some fix?

I found that:

Code: [Select]
zentyal-install-module /home/dirk/Downloads/zentyal-radius-4.2/debian/zentyal-radius/

cp: der Aufruf von stat für »schemas/*.ldif“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden


42
Also available for 4.2?

43
Also so many thanks from my side. Today some problems started with the login of my Admin Account. All time long it was fine but now got LogIn Incorrect. Now it is working again :)

BTW: Does it work with 4.2 as well?

44
German / Re: Automatisches Backup der Konfig geht nicht mehr
« on: October 07, 2015, 11:01:28 am »
Ja das hast du recht Julio, wenn ich es doch mal einsetzen möchte kann ich es ja wieder installieren.

Viele Grüße
Dirk

45
German / Re: Automatisches Backup der Konfig geht nicht mehr
« on: October 07, 2015, 10:27:29 am »
OK nach dem remove von openchange geht das Backup nun wieder.

Schon mal vielen Dank Julio für deine immer sehr hilfreichen Tipps und deine Zeit! :)

Aber die Ursache wurde nun ja nicht direkt behoben sondern nur das Symptom entfernt. Wie konnte der openchange mysql user derart defekt gehen?
Openchange wurde ja nie verwendet oder geändert.

Pages: 1 2 [3] 4 5 6