Current time: 11-22-2024, 05:04 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installation ATmail ( Serverweit - suexec mismatch )
Author Message
HxD Offline
Junior Member
*

Posts: 66
Joined: Jul 2009
Reputation: 2
Post: #1
Installation ATmail ( Serverweit - suexec mismatch )
Guten Morgen

meine Firma hat sich als E-Mail Webclient ATmail geholt. Natürlich ohne vorher zu Fragen ob ich das überhaupt zum laufen kriege. Nun habe ich, so schlau wie ich nunmal bin mir das HowTo zu Roundcube rausgekramt und danach versucht ATmail zu Installieren.

System:
Debian Squeeze
ispCP 1.0.7
Keine sonstigen Erweiterungen / Änderungen etc pp.

Folgende Arbeitsschritte habe ich bereits abgearbeitet.

Code:
mkdir /var/www/ispcp/gui/tools/atmail
( Daten eingefügt )
chown vu2000:www-data /var/www/ispcp/gui/tools/atmail
chmod -R 777 /var/www/ispcp/gui/tools/atmail/log + tmp

vHost Datei unter /etc/apapche2/sites-avaiable erstellt mit dem Namen 06-atmail mit folgendem Inhalt:

Code:
<VirtualHost *:80>
    ServerAdmin     webmaster@domain.tld
    DocumentRoot    /var/www/ispcp/gui/tools/atmail

    ServerName      atmail.domain.tld
    ServerAlias     atmail.*

    ErrorLog        /var/log/apache2/users/atmail-error.log
    TransferLog     /var/log/apache2/users/atmail-access.log
    CustomLog       /var/log/apache2/atmail-traf.log traff
    CustomLog       /var/log/apache2/atmail-combined.log combined

    <IfModule suexec_module>
           SuexecUserGroup vu2000 vu2000
    </IfModule>

    <Directory /var/www/ispcp/gui/tools/atmail>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_fcgid.c>
        <Directory /var/www/ispcp/gui/tools/atmail>
            FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/master/
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

    <IfModule mod_php5.c>
        <Directory /var/www/ispcp/gui/tools/atmail>
            php_admin_value open_basedir "/var/www/ispcp/gui/tools/atmail/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
            php_admin_value upload_tmp_dir "/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>


</VirtualHost>

Soweit sogut, Erreichbar ist die Seite und beim Aufruf von domain.tld/atmail konnte ich auch den Installer ausführen und habe soweit es geht ATmail installiert. ( Habe open_basedir ausgeklammert in der Master php.ini, da ATmail angeblich open_basedir ausgeschaltet haben muss, damit alle Funktionen genutzt werden können )

Wenn ich nun unter domain.tld/atmail mich mit einem Postfach anmelde, spucken mir die Logs folgende Fehler aus.

suexec.log
Code:
[2011-09-08 10:45:54]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: jquery.php.js
[2011-09-08 10:45:54]: target uid/gid (2000/2000) mismatch with directory (2000/33) or program (2000/33)

default-error.log
Code:
[Thu Sep 08 10:41:28 2011] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 configured -- resuming normal operations
suexec policy violation: see suexec log for more details
[Thu Sep 08 10:41:52 2011] [warn] [client 192.168.5.14] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://squeeze.local/atmail/index.php/mail
[Thu Sep 08 10:41:52 2011] [error] [client 192.168.5.14] Premature end of script headers: jquery.php.js, referer: http://squeeze.local/atmail/index.php/mail
suexec policy violation: see suexec log for more details
[Thu Sep 08 10:43:08 2011] [warn] [client 192.168.5.14] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://squeeze.local/atmail/index.php/mail
[Thu Sep 08 10:43:08 2011] [error] [client 192.168.5.14] Premature end of script headers: jquery.php.js, referer: http://squeeze.local/atmail/index.php/mail
suexec policy violation: see suexec log for more details
[Thu Sep 08 10:43:09 2011] [warn] [client 192.168.5.14] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://squeeze.local/atmail/index.php/mail
[Thu Sep 08 10:43:09 2011] [error] [client 192.168.5.14] Premature end of script headers: jquery.php.js, referer: http://squeeze.local/atmail/index.php/mail
suexec policy violation: see suexec log for more details
[Thu Sep 08 10:44:41 2011] [warn] [client 192.168.5.14] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://squeeze.local/atmail/index.php/mail
[Thu Sep 08 10:44:41 2011] [error] [client 192.168.5.14] Premature end of script headers: jquery.php.js, referer: http://squeeze.local/atmail/index.php/mail
suexec policy violation: see suexec log for more details
[Thu Sep 08 10:44:56 2011] [warn] [client 192.168.5.14] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://squeeze.local/atmail/index.php/mail
[Thu Sep 08 10:44:56 2011] [error] [client 192.168.5.14] Premature end of script headers: jquery.php.js, referer: http://squeeze.local/atmail/index.php/mail
suexec policy violation: see suexec log for more details
[Thu Sep 08 10:45:54 2011] [warn] [client 192.168.5.14] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://squeeze.local/atmail/
[Thu Sep 08 10:45:54 2011] [error] [client 192.168.5.14] Premature end of script headers: jquery.php.js, referer: http://squeeze.local/atmail/

Und langsam aber sicher bin ich mit meinem Latein am Ende... Habe sogar schon allen Dateien im Ordner atmail 777 Rechte gegeben, gleiches Spiel... Jemand Lösungsvorschläge?

Grüße
(This post was last modified: 09-08-2011 07:07 PM by HxD.)
09-08-2011 07:04 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Installation ATmail ( Serverweit - suexec mismatch ) - HxD - 09-08-2011 07:04 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)