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 - henfri

Pages: 1 [2]
16
Installation and Upgrades / Re: Owncloud 4.5, LDAP and Zentyal
« on: July 01, 2013, 08:30:44 pm »
Uff, thanks. And I had been searching for the location in config files for AGES..

Ok.

Last question (I hope):
How do I now get apache to run on 443 aswell and serve the contents of /var/www/ ?

Greetings and thanks,
Hendrik

17
Installation and Upgrades / Re: Owncloud 4.5, LDAP and Zentyal
« on: July 01, 2013, 08:08:21 pm »
Hi,

thanks for your reply. I had hoped that I only need to tell Apache to use some Folders without running the Zentyal Interface for them.

Anyway: I've been struggeling all evening to change the port. For the http (without s) port it works:
Code: [Select]
cat ports.conf
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz

NameVirtualHost *:81
Listen 81

<IfModule mod_ssl.c>
    # If you add NameVirtualHost *:443 here, you will also have to change
    # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
    # to <VirtualHost *:443>
    # Server Name Indication for SSL named virtual hosts is currently not
    # supported by MSIE on Windows XP.
    Listen 444
</IfModule>

<IfModule mod_gnutls.c>
    Listen 444
</IfModule>

But the https port of the Web-Interface stays 443.
Where is the port of the Web-IF configured?

It is also not in confs-enabled:
Code: [Select]
/etc/apache2/sites-enabled# cat *
<VirtualHost *:81>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

and not here:
Code: [Select]
cat /var/lib/zentyal/conf/user-apache2.conf

Timeout 300
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 15
AddDefaultCharset utf-8

PidFile /var/lib/zentyal-usercorner/user-apache.pid

<IfModule mpm_prefork_module>
    StartServers             1
    MinSpareServers          1
    MaxSpareServers          5
    MaxClients              10
    MaxRequestsPerChild  10000
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
    StartServers             1
    MinSpareThreads          5
    MaxSpareThreads         15
    ThreadLimit             16
    ThreadsPerChild         25
    MaxClients              30
    MaxRequestsPerChild  10000
</IfModule>

PerlInterpMaxRequests 10000

Include /etc/apache2/mods-available/auth_basic.load
Include /etc/apache2/mods-available/authn_file.load
Include /etc/apache2/mods-available/authz_default.load
Include /etc/apache2/mods-available/authz_groupfile.load
Include /etc/apache2/mods-available/authz_host.load
Include /etc/apache2/mods-available/authz_user.load
Include /etc/apache2/mods-available/autoindex.load
Include /etc/apache2/mods-available/cgi.load
Include /etc/apache2/mods-available/deflate.conf
Include /etc/apache2/mods-available/deflate.load
Include /etc/apache2/mods-available/dir.conf
Include /etc/apache2/mods-available/dir.load
Include /etc/apache2/mods-available/env.load
Include /etc/apache2/mods-available/mime.load
Include /etc/apache2/mods-available/negotiation.load
Include /etc/apache2/mods-available/setenvif.load
Include /etc/apache2/mods-available/rewrite.load
Include /etc/apache2/mods-available/ssl.conf
Include /etc/apache2/mods-available/ssl.load
Include /etc/apache2/mods-available/status.load
Include /etc/apache2/mods-available/perl.load

Listen 8888
User ebox-usercorner
Group ebox-usercorner

ServerAdmin webmaster@localhost
ServerName localhost

DocumentRoot /usr/share/zentyal/www/

<Directory />
    Options SymLinksIfOwnerMatch
    AllowOverride None
</Directory>


<Directory /usr/share/zentyal/www/>
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

<Directory /var/lib/zentyal/dynamicwww>
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>



UseCanonicalName Off
TypesConfig /etc/mime.types
DefaultType text/plain

<IfModule mod_mime_magic.c>
    MIMEMagicFile /usr/share/misc/file/magic.mime
</IfModule>

HostnameLookups Off

ErrorLog /var/log/zentyal-usercorner/error.log
LogLevel warn

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{forensic-id}n\"" combined

CustomLog /var/log/zentyal-usercorner/access.log combined

<IfModule mod_backtrace.c>
 EnableExceptionHook On
</IfModule>

<IfModule mod_whatkilledus.c>
 EnableExceptionHook On
</IfModule>

ServerSignature Off
ServerTokens Min
AddDefaultCharset on

<IfModule mod_ssl.c>
SSLEngine on
SSLProtocol all
SSLCipherSuite HIGH:MEDIUM

SSLCertificateFile /var/lib/zentyal-usercorner/ssl/ssl.pem
</IfModule>

<IfModule mod_setenvif.c>
    BrowserMatch "Mozilla/2" nokeepalive
    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
    BrowserMatch "RealPlayer 4\.0" force-response-1.0
    BrowserMatch "Java/1\.0" force-response-1.0
    BrowserMatch "JDK/1\.0" force-response-1.0
</IfModule>

PerlWarn On

PerlModule EBox::UserCorner::Auth
PerlSetVar EBoxPath /
PerlSetVar EBoxLoginScript /Login/Index
PerlSetVar EBoxSatisfy Any
PerlSetVar AuthCookieDebug 0

<Files LOGIN>
        AuthType EBox::UserCorner::Auth
        AuthName EBox
        SetHandler perl-script
        PerlHandler EBox::UserCorner::Auth->login
</Files>

<Directory /usr/share/zentyal/cgi/>
    <IfModule mod_ssl.c>
       SSLOptions +StdEnvVars
    </IfModule>

        AuthType EBox::UserCorner::Auth
        AuthName EBox
        PerlAuthenHandler EBox::UserCorner::Auth->authenticate
        PerlAuthzHandler  EBox::UserCorner::Auth->authorize
        require valid-user
    SetHandler perl-script
    PerlHandler ModPerl::Registry
    PerlSendHeader On
    AllowOverride None
    Options +ExecCGI
    Order allow,deny
    Allow from all
</Directory>

RewriteEngine On

# Compatibility with old URLs
RewriteRule ^/ebox(.*) /$1
RewriteRule ^/zentyal(.*) /$1

# skip rewrites for favicon and login
RewriteCond %{REQUEST_FILENAME} ^/favicon.ico$ [OR]
RewriteCond %{REQUEST_FILENAME} ^/LOGIN$
RewriteRule .? - [S=100]
# Map /ebox.cgi to the right Perl CGI and redirect
RewriteRule ^/ebox.cgi$ /
# From /data/ to / and finish
RewriteRule ^/data(.*) $1 [L]
# From /dynamic-data/ to the right directory in FS and finish
RewriteRule ^/dynamic-data(.*) /var/lib/zentyal/dynamicwww$1 [L]
RewriteRule ^/(.*) /usr/share/zentyal/cgi/user-ebox.cgi [E=script:$1,L]

And not in one of the includes:
Code: [Select]
grep  443 /etc/apache2/mods-available/*
Greetings,
Hendrik

18
Installation and Upgrades / Re: Owncloud 4.5, LDAP and Zentyal
« on: July 01, 2013, 07:53:28 pm »
Hello,

thanks for your instructions.
I have a problem with Owncloud on Zentyal 3.0:
Browsing to https://homeserver/owncloud brings me to the zentyal web-interface. But I would like https with owncloud (for obvious reasons)

Do you have one (or two) hints for me?

Greetings,
Hendrik

19
Installation and Upgrades / Re: ACL and system Users
« on: April 13, 2013, 04:23:19 pm »
Hm, no ideas?
Is my question unclear?

Greetings,
Hendrik

20
Installation and Upgrades / ACL and system Users
« on: April 09, 2013, 07:59:25 pm »
Hello,

on my Zentyal Server, I am also running some linux software. One of them is a squeezebox-server. It works, generally. But sometimes, it can't access the music files on the hdd anymore.
When I chmod -R 777 /mnt/path/to/music, this works again.
The /mnt/path/to/music is also shared via zentyals samba-server. Thus I assume, that some zentyal regularly checks the permission of the samba-shares and changes them, so that only the users configured in the Web-IF can access the path.
Is that right?

If so, I would have to add the user that is running the squeezebox-server to the samba-shares users with read access. This, I cannot do, because the User does not exist for zentyal. When trying to add the user, zentyal complains though, that the user exists in the system already.

What do you recommend?

Greetings,
Hendrik

21
German / Einbindung in bestehende Windows/Linux Infrastruktur: Benutzter
« on: February 19, 2012, 10:05:16 pm »
Hallo,

ich setze gerade einen Zentyal Server auf, der v.a. als Datengrab dienen soll.
Bisher nutze ich dafür eine Fritz Box und mich hat immer gestört, dass der User "henfri" oder "root" auf jedem Rechner ein "anderer" ist. Passwörter waren nicht synchron und wenn "henfri" auf der Linux-Kiste Zugriff auf eine Datei hatte (die z.B. per Samba auf der FritzBox lag), dann hieß das noch lange nicht, dass henfri auch unter Windows darauf zugreifen konnte, denn die Fritz Box kennt henfri nicht unter henfri, sondern unter ftpuser oder als 1004. Und so weiter.

Damit soll jetzt Schluss sein.

Wie ich gelernt habe, sollte ich dafür Zentyal als LDAP-Master einrichten.
Aber was muss ich auf den anderen Rechnern (Windows/Linux) machen, damit hier die User/Passwörter synchron sind? (natürlich erwarte ich keine Anleitung, sondern Stichwörter zum suchen reichen mir natürlich.

Davon abgesehen:
Lohnt es, weitere Dienste von Zentyal übernehmen zu lassen? Sollte Zentyal Gateway/DHCP/DNS übernehmen, oder spricht nix dagegen, wenn die Fritz Box das weiterhin macht?

Gruß und vielen Dank für eure Tipps!
Hendrik

22
Hello,

thanks for your reply.I was not aware, that I had to change somethin in the network section.

I think, the documentation should be improved here (no criticism). Where should this issue be raised?

Greetings,
Hendrik

23
Hello,

I have installed Zentyal physically on my machine (i.e. Zentyal is not a guest in a VM, but rather the opposite: amongst others, it'll be the Host for VMs).

Under https://192.168.178.48/Virt/View/VirtualMachines, I try to configure the Network Interface as a bridged Network. There, I'm asked for the Interface do be bridged to. Unfortunately, I get only "none" in the selection/drop-down box.. Also unfortunately, the documentation does not help me on this topic. If I leave "none" selected, I cannot start the VM and zentyal asks me to file a bug-report.

Are there any prerequisites? Do I need to set up a virtual network interface?

Greetings,
Hendrik

24
Hi,

thanks for the info.
Can you give me a hint regarding the error message above, nevertheless?
As Ubuntu and Debian are very similar, I have hope, that it will only need a small fix.

Besides this: Is it possible to install zentyal from source?

Greetings,
Hendrik

25
Hello,

can't anyone give me a hint? At least, whether it is planned to make Zentyal available on ebox?

Regards,
Hendrik

26
Hello,

I tried to install Zentyal on Debian by using the ubuntu packages and hoping for the best.
Here the result:
Code: [Select]

Error output: /var/lib/ebox/tmp/ac9JkyNlUY.cmd: 1: status: not found

Command output: .
Exit value: 127dpkg: error processing ebox (--configure):
 subprocess installed post-installation script returned error exit status 127
configured to not write apport reports
                                      dpkg: dependency problems prevent configuration of ebox-software:
 ebox-software depends on ebox (>= 2.0); however:
  Package ebox is not configured yet.
 ebox-software depends on ebox (<< 2.0.100); however:
  Package ebox is not configured yet.
dpkg: error processing ebox-software (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      Errors were encountered while processing:
 ebox
 ebox-software
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian:~# more /var/lib/ebox/tmp/ac9JkyNlUY.cmd
/var/lib/ebox/tmp/ac9JkyNlUY.cmd: No such file or directory

Can someone help?

Is it generally possible to install Zentyal on debian?

Regards,
Hendrik

27
Installation and Upgrades / Re: Zentyal on ARM architecture
« on: September 02, 2010, 11:26:22 pm »
Hi,

this is, how far I get:
Code: [Select]
root@debian:~# apt-get install zentyal
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  zentyal: Depends: ebox but it is not going to be installed
E: Broken packages

I'm a bit surprised: Why does zentyal Depend on ebox? And why isn't it just installed?

By the way, I'm running debian-squeeze on a Seagate Dockstar (simmilar to a Sheevaplug).

Shouldn't the packages from deb http://ppa.launchpad.net/zentyal/2.0/ubuntu lucid main also work for debian squeeze? Or is it the architecture, that is the blocker?

Regards,
Hendrik

28
Installation and Upgrades / Zentyal on ARM architecture
« on: September 02, 2010, 08:48:53 am »
Hello,

I would like to install zentyal on my seagate dockstar, which is running Debian and has a ARM cpu.
Is this possible?
Are there any guides for this?

Regards,
Hendrik

Pages: 1 [2]