Current time: 09-25-2024, 08:23 AM Hello There, Guest! (LoginRegister)


Post Reply 
Login in ispCP schlägt fehl!
Author Message
skoty Offline


Posts: 2
Joined: May 2008
Reputation: 0
Post: #1
Login in ispCP schlägt fehl!
Login in ispCP schlägt fehl!


Hallo an alle. Auf der Suche nach einem Ersatz für das veraltete Confixx bin ich auf ispCP gestoßen. So habe ich einen neuen Root-Server besorgt und versucht ispCP drauf zu installieren.
Installation hat soweit ganz gut geklappt. Die Fehler (?Bugs) die mir aufgefallen sind, habe ich aufgeschrieben und werde sie noch in den Bugtracker eintragen. Teilweise habe ich auch die Fixes dafür schon fertig und mit anhängen.
Nun aber zu meinem Problem.

Server: (echter Server, kein V-Server) DS-3000 Root-Server von Hetzer
BS: CentOS 5.1 64-Bit
ispCP: RC4, keine Modifikationen, Addons oder sonstiges!

Nachdem ich alles installiert habe, versuche ich mich per Browser einzuloggen.
Login-Seite erscheint, ich kann meine Benutzerdaten eintragen. Diese werden auch akzeptiert (bei beabsichtigter Falscheingabe kommt die Meldung Passwort Falsch), und die Seite wird neu geladen. Allerdings komme ich nicht rein (was ich erwartet habe), sonder werde direkt wieder auf die Login-Seite geleitet. Beide Felder sind leer! Versuche ich mich nun wieder mit meinen Daten einzuloggen, kommt diese Meldung: Duplicate entry 's06c5eejpt2rvp8uklvd9tp597' for key 1
Ich erhalte jedoch per eMail die Meldung 'admin logged in.'

Die Log-Dateien steht leider nichts drin:

ls -la /var/log/ispcp/
insgesamt 68
drwxr-xr-x 3 root root 4096 26. Mai 13:30 .
drwxr-xr-x 14 root root 4096 26. Mai 12:00 ..
-rw-r--r-- 1 root root 1 26. Mai 13:38 ftp_traff.log.prev
drwxr-xr-x 2 vmail mail 4096 26. Mai 06:16 ispcp-arpl-msgr
-rw-r--r-- 1 root root 1 26. Mai 13:38 ispcp-iptables-input.log
-rw-r--r-- 1 root root 1 26. Mai 13:38 ispcp-iptables-output.log
-rw-r--r-- 1 root root 0 26. Mai 07:23 ispcp_network.err.log
-rw-r--r-- 1 root root 0 26. Mai 13:30 ispcp-srv-traff.log
-rw-r--r-- 1 root root 0 26. Mai 13:15 ispcp-vrl-traff-correction.log
-rw-r--r-- 1 root root 1 26. Mai 13:38 ispcp-vrl-traff.log


Ich hoffe jemand kann mir einen Tipp geben, wo ich weiter suchen kann, bzw. was ich falsch gemacht haben könnte.

Bei der Installation habe ich mich an die Doku gehalten die im Paket enthalten ist 'ispcp-omega-1.0.0/docs/CentOS/INSTALL'

Dank und Gruß, Skoty
05-26-2008 09:49 PM
Find all posts by this user Quote this message in a reply
singha Offline
Junior Member
*

Posts: 20
Joined: Mar 2008
Reputation: 1
Post: #2
RE: Login in ispCP schlägt fehl!
hi, such mal im forum nach "Duplicate entry"...
(This post was last modified: 05-26-2008 10:29 PM by singha.)
05-26-2008 09:59 PM
Find all posts by this user Quote this message in a reply
skoty Offline


Posts: 2
Joined: May 2008
Reputation: 0
Post: #3
RE: Login in ispCP schlägt fehl!
Habe diesen Thread gefunden: http://www.isp-control.net/forum/gui-error-t-3259.html

Habe nun die Datei /etc/ispcp/ispcp.conf kontrolliert.
Da ist dieser Eintrag enthalten:
APACHE_CUSTOM_SITES_CONFIG_DIR = /etc/httpd/ispcp
Verzeichniss allerdings nicht existiert nicht!

Also habe ich nacheinander diese SymLinks probiert:
ln -sf /etc/httpd/conf.d /etc/httpd/ispcp
ln -sf /etc/httpd/conf.d/mods-available /etc/httpd/ispcp
ln -sf /etc/httpd/conf.d/sites-available /etc/httpd/ispcp

Leider brachte dies keine Lösung!

Welches Verzeichniss ist denn das Richtige? Ich vermute mal /etc/httpd/conf.d/sites-available
05-26-2008 10:37 PM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #4
RE: Login in ispCP schlägt fehl!
hmmm

also vll. hats auch nix damit zu tun aufjedenfall hab ich das Problem auch und zwar sobald ich in der httpd.conf den Includeordner include Smile

wenn ich das auskommentier gibts kein Problem, woran das liegt weiß ich net, aber man braucht ja auch die Dateien die da liegen eigentlich wa.

Greetz
Steve
05-27-2008 11:09 PM
Find all posts by this user Quote this message in a reply
raylight Offline
Newbie
*

Posts: 6
Joined: May 2008
Reputation: 0
Post: #5
RE: Login in ispCP schlägt fehl!
Moin,

schaut so aus, als wäre da was beim löschen der vorherigen session schiefgegangen, ispcp speichert seine sessions ja in ner datenbank, die sessionid ist primärschlüssel der tabelle, und wenn der schon existiert.... nunja Wink

meld dich mal am pma an, und leere (NICHT lösche^^) die tabelle 'login', dann sollt das anmelden wieder funktionieren.

gruß
raylight
05-28-2008 07:35 PM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #6
RE: Login in ispCP schlägt fehl!
hm wär ich mir jetz net sicher also es lieg spezifisch an der 00_master.conf sobald die in Includes ist gehts nicht mehr sobald ich sie rausnehme gehts problemlos ich kann dann auch net auf pma wenn die datei drin ist.
irgendwas stimmt da mit den vhost einstellungen nicht würde ich jetzt mal behaupten. aber kann natürlich auch daneben liegen.

Greetz
Steve
05-28-2008 08:09 PM
Find all posts by this user Quote this message in a reply
raylight Offline
Newbie
*

Posts: 6
Joined: May 2008
Reputation: 0
Post: #7
RE: Login in ispCP schlägt fehl!
StevenE Wrote:hm wär ich mir jetz net sicher also es lieg spezifisch an der 00_master.conf sobald die in Includes ist gehts nicht mehr sobald ich sie rausnehme gehts problemlos ich kann dann auch net auf pma wenn die datei drin ist.
irgendwas stimmt da mit den vhost einstellungen nicht würde ich jetzt mal behaupten. aber kann natürlich auch daneben liegen.

Greetz
Steve

Includest du die Datei? Meine apache2.conf spricht nur von nem Verzeichnis:

Code:
# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/

Gruß
raylight
05-28-2008 09:42 PM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #8
RE: Login in ispCP schlägt fehl!
ich include auch einen Ordner ja aber da liegt unter anderem die 00_master.conf drinne ist ja so vorgesehen so von der ispcp Installation
da liegt auch noch eine 01_awstats.conf und eine ispcp.conf, aber die machen ihm nix aus sobald 00_master weg ist gehts einwandfrei
05-28-2008 09:53 PM
Find all posts by this user Quote this message in a reply
raylight Offline
Newbie
*

Posts: 6
Joined: May 2008
Reputation: 0
Post: #9
RE: Login in ispCP schlägt fehl!
jup, die liegen da bei mir auch drinne.... anscheinend ist deine 00_master irgendwie kaputt Wink


Code:
<VirtualHost ~deine_server_IP~:80>

    ServerAdmin     info@~deine_domain~.de
    DocumentRoot    /var/www/ispcp/gui

    ServerName      ispcp.~deine_domain~.de

    ErrorLog        /var/log/apache2/users/ispcp.~deine_domain~.de-error.log
    TransferLog     /var/log/apache2/users/ispcp.~deine_domain~-access.log

    CustomLog       /var/log/apache2/ispcp.~deine_domain~-traf.log traff
    CustomLog       /var/log/apache2/ispcp.~deine_domain~-combined.log combined

    Alias /errors   /var/www/ispcp/gui/errordocs/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    Alias /pma      /var/www/ispcp/gui/tools/pma/
    Alias /webmail  /var/www/ispcp/gui/tools/webmail/
    Alias /ftp      /var/www/ispcp/gui/tools/filemanager/
    Alias /antispam /var/www/ispcp/gui/tools/antispam/

    <IfModule suexec_module>
           SuexecUserGroup vu2000 vu2000
    </IfModule>

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

    <IfModule mod_fastcgi.c>
        ScriptAlias /php4/ /var/www/fcgi/master/
        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_php4.c>
        <Directory /var/www/ispcp/gui>
            php_admin_value open_basedir "/var/www/ispcp/gui/:/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/"
        </Directory>
    </IfModule>
    <IfModule mod_php5.c>
        <Directory /var/www/ispcp/gui>
            php_admin_value open_basedir "/var/www/ispcp/gui/:/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/"
        </Directory>
    </IfModule>

</VirtualHost>

damit funktionierts jedenfalls bei mir.
Der Alias "antispam" ist nicht nötig, solange Du nicht Maia installiert hast. Ansonsten sollte deine 00_master.conf aber genauso aussehen.
Die Datei in sites-enabled sollte root:root gehören und die rechte rw-r--r-- besitzen, der symlink gehört auch root:root, hat aber alle rechte (also rwx für u,g,o).

gruß
raylight
05-28-2008 10:21 PM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #10
RE: Login in ispCP schlägt fehl!
hm genau so isses bei mir auch
die rechte sind halt root:wheel aber das liegt an der distro, sollte es net sein.

Code:
<VirtualHost 192.168.40.102:80>

    ServerAdmin     root@cbtl.de
    DocumentRoot    /evolution/web/evotestserver.cbt-l.de/www/ispcp/gui

    ServerName      admin.evotestserver.cbt-l.de

    ErrorLog        /evolution/web/evotestserver.cbt-l.de/www/logs/users/admin.evotestserver.cbt-l.de-error.log
    TransferLog     /evolution/web/evotestserver.cbt-l.de/www/logs/users/admin.evotestserver.cbt-l.de-access.log

    CustomLog       /evolution/web/evotestserver.cbt-l.de/www/logs/admin.evotestserver.cbt-l.de-traf.log traff
    CustomLog       /evolution/web/evotestserver.cbt-l.de/www/logs/admin.evotestserver.cbt-l.de-combined.log combined

    Alias /errors   /evolution/web/evotestserver.cbt-l.de/www/ispcp/gui/errordocs/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    Alias /pma      /evolution/web/evotestserver.cbt-l.de/www/ispcp/gui/tools/pma/
    Alias /webmail  /evolution/web/evotestserver.cbt-l.de/www/ispcp/gui/tools/webmail/
    Alias /ftp      /evolution/web/evotestserver.cbt-l.de/www/ispcp/gui/tools/filemanager/

    <IfModule mod_suexec.c>
           SuexecUserGroup vu3000 vu3000
    </IfModule>

    <Directory /evolution/web/evotestserver.cbt-l.de/www/ispcp/gui>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_fastcgi.c>
        ScriptAlias /php4/ /evolution/web/evotestserver.cbt-l.de/www/data/fcgi/master/
        ScriptAlias /php5/ /evolution/web/evotestserver.cbt-l.de/www/data/fcgi/master/
        <Directory "/evolution/web/evotestserver.cbt-l.de/www/data/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

    <IfModule mod_php4.c>
        <Directory /evolution/web/evotestserver.cbt-l.de/www/ispcp/gui>
            php_admin_value open_basedir "/evolution/web/evotestserver.cbt-l.de/www/ispcp/gui/:/usr/local/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/sbin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/local/lib/php/20060613/"
            php_admin_value session.save_path "/evolution/web/evotestserver.cbt-l.de/www/ispcp/gui/phptmp/"
            php_admin_value upload_tmp_dir "/evolution/web/evotestserver.cbt-l.de/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>
    <IfModule mod_php5.c>
        <Directory /evolution/web/evotestserver.cbt-l.de/www/ispcp/gui>
            php_admin_value open_basedir "/evolution/web/evotestserver.cbt-l.de/www/ispcp/gui/:/usr/local/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/sbin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/local/lib/php/20060613/"
            php_admin_value session.save_path "/evolution/web/evotestserver.cbt-l.de/www/ispcp/gui/phptmp/"
            php_admin_value upload_tmp_dir "/evolution/web/evotestserver.cbt-l.de/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>

</VirtualHost>
05-28-2008 11:18 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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