Current time: 05-28-2024, 09:28 PM Hello There, Guest! (LoginRegister)


Post Reply 
Login in ispCP schlägt fehl!
Author Message
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #11
RE: Login in ispCP schlägt fehl!
sobald das nicht mehr in der 00_master.conf steht gehts dann,
aber wieso weiß ich nicht.

Code:
    <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>
05-30-2008 01:15 AM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #12
RE: Login in ispCP schlägt fehl!
solved so far for me....
<IfModule mod_php5.c> is apache 2 syntax ... I'm using apache22 where the '.c' shouldn't be there Smile

but still have the problem with

Starting apache22.
apache2_mod_cband: cannot create shared memory segment for remote hosts
apache2_mod_cband: cannot create shared memory segment for virtual hosts
05-30-2008 05:43 PM
Find all posts by this user Quote this message in a reply
MrMarv Offline
Junior Member
*

Posts: 14
Joined: Jun 2008
Reputation: 0
Post: #13
RE: Login in ispCP schlägt fehl!
Hi Steve!
Welch Wunder, hier sprechen alle deutsch... naja ich komm ja auch mit beiden Sprachen zurecht Wink

StevenE Wrote:solved so far for me....
<IfModule mod_php5.c> is apache 2 syntax ... I'm using apache22 where the '.c' shouldn't be there Smile

but still have the problem with

Starting apache22.
apache2_mod_cband: cannot create shared memory segment for remote hosts
apache2_mod_cband: cannot create shared memory segment for virtual hosts

Regarding your Problem: As youre running FreeBSD which does have this great jail things... do your webserver run in a jail?
Since jails are considered for hight security there is no default support for shared memory.
There is a sysctl tunable for this behaviour: security.jail.sysvipc_allowed
If set to "1" there is no Problem with sharedmemory and mod_cband i think.


Greetings
06-18-2008 05:15 AM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #14
RE: Login in ispCP schlägt fehl!
MrMarv Wrote:Hi Steve!
Welch Wunder, hier sprechen alle deutsch... naja ich komm ja auch mit beiden Sprachen zurecht Wink

Regarding your Problem: As youre running FreeBSD which does have this great jail things... do your webserver run in a jail?
Since jails are considered for hight security there is no default support for shared memory.
There is a sysctl tunable for this behaviour: security.jail.sysvipc_allowed
If set to "1" there is no Problem with sharedmemory and mod_cband i think.


Greetings


Hi,

wir soltlen bei deutsch bleibe sorry bin da abgedriftet aber sind hier ja im deutschsprachigen bereich Tongue

Und ja das läuft bei mir alles in einer Jail Smile
Also ehm jetzt muss ich echt mal blöd fragen wo genau muss ich das einstellen? bzw. wie....
ich denke da würde das Problem echt lösen.

Danke für die Hilfe und Glückwunsch das deine Installation jetzt auch zumindest schonmal läuft Smile


Edit:
ah ok leichter als ich dachte aber jetzt startet apache nicht mehr
sieht so aus:

Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
Segmentation fault (core dumped)


Segmentation fault kam auch schon immer vorher, aber jetzt läuft der dienst einfach nicht, kann ich beliebig oft starten :S
sobald ich das cband_module nicht mitlade gehts auch wieder. irgendwelche Ideen?
(This post was last modified: 06-19-2008 12:43 AM by StevenE.)
06-18-2008 09:56 PM
Find all posts by this user Quote this message in a reply
MrMarv Offline
Junior Member
*

Posts: 14
Joined: Jun 2008
Reputation: 0
Post: #15
RE: Login in ispCP schlägt fehl!
Hallo! Smile

StevenE Wrote:wir soltlen bei deutsch bleibe sorry bin da abgedriftet aber sind hier ja im deutschsprachigen bereich Tongue
Ja das Problem hab ich auch öfters, manchmal merkt man gar nicht in welcher Sprache man ist. Wink


StevenE Wrote:Und ja das läuft bei mir alles in einer Jail Smile
Also ehm jetzt muss ich echt mal blöd fragen wo genau muss ich das einstellen? bzw. wie....
ich denke da würde das Problem echt lösen.
So wie du schreibst hast du es ja jetzt schon rausgefunden. Sysctl ist schon ne schöne Erfindung.

StevenE Wrote:Danke für die Hilfe und Glückwunsch das deine Installation jetzt auch zumindest schonmal läuft Smile
Danke danke! Auch wenn es da noch einige Probleme gibt, das gröbste läuft schon mal!

StevenE Wrote:Edit:
ah ok leichter als ich dachte aber jetzt startet apache nicht mehr
sieht so aus:

Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
Segmentation fault (core dumped)


Segmentation fault kam auch schon immer vorher, aber jetzt läuft der dienst einfach nicht, kann ich beliebig oft starten :S
sobald ich das cband_module nicht mitlade gehts auch wieder. irgendwelche Ideen?

Vermutlich ergießt sich der Apache in seinen Errorlog, oder? Schau da mal nach ob da noch weitere Infos zu stehen. Son Segfault kann ja Vieles sein. Bist du denn sicher das es am shared memory liegt bzw. mod_cband liegt?
Gibt noch ne ganze Menge Einstellungen die sich mit shared memory beschäftigen, dazu müssten wir dann aber Fachliteratur zu Rate ziehen.

Komischerweise geht das bei mir, nach setzen der security.jail.sysvipc_allowed=1, ohne Probleme. FreeBSD7.0 amd64 auf nem AMD Opteron und generic Kernel + sched_ULE.

Grüße!
06-19-2008 02:50 AM
Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #16
RE: Login in ispCP schlägt fehl!
Hi,

also wenn ich versuche apache zu starten mit mod_cband dann sieht der main_error.log von apache so aus:

Code:
[Thu Jun 19 07:34:28 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache-2.2.6/bin/suexec)

ohne mod_cband siehts dann so aus:

Code:
[Thu Jun 19 07:36:07 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache-2.2.6/bin/suexec)
[Thu Jun 19 07:36:08 2008] [notice] FastCGI: process manager initialized (pid 26301)
[Thu Jun 19 07:36:09 2008] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 19 07:36:09 2008] [notice] Digest: done
[Thu Jun 19 07:36:10 2008] [notice] Apache/2.2.6 (Unix) DAV/2 mod_fastcgi/2.4.6 mod_ssl/2.2.6 OpenSSL/0.9.8e configured -- resuming normal operations
[Thu Jun 19 07:36:12 2008] [notice] child pid 26303 exit signal Segmentation fault (11)

und sonst finde ich nur noch in /var/log/debug.log
Code:
Jun 19 07:36:10 evotestserver httpd: NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found
Jun 19 07:36:10 evotestserver httpd: NSSWITCH(nss_method_lookup): nis, group_compat, endgrent, not found

tut mir Leid so richtig werde ich daraus nicht schlau....
06-19-2008 05:48 PM
Find all posts by this user Quote this message in a reply
MrMarv Offline
Junior Member
*

Posts: 14
Joined: Jun 2008
Reputation: 0
Post: #17
RE: Login in ispCP schlägt fehl!
Hallo.

Das ohne mod_cband weniger im Logfile landet kann ja eigentlich nur da dran liegen, dass mod_cband NACHT mod_suexec aber VOR den anderen geladen wird. Wenn es dann da einen Fehler gibt und er die anderen Module nicht läd könnte es helfen mod_cband als letztes Modul einzubinden, also nach ganz unten in der httpd.conf.

Das ganze hat allerdings nicht so viel mit dem Problem zu tun wie mir scheint.

Hast du mod_cband aus den ports (www/mod_cband) und wenn ja schonmal neu ausgecheckt und gebaut? Wie gesagt, bei mir läuft das Modul... vielleicht hast du einfach nur ne ältere Version.

Aber um ehrlich zu sein, du siehst mich ratlos!

Grüße!
06-19-2008 11: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: #18
RE: Login in ispCP schlägt fehl!
Hi,

tja das ist bei mir echt bisschen blöd da ich den firmenvorgaben gerecht werden muss dazu kompalier ich alles selbst also so gut wie nix aus den Ports (hängt mit den spezifischen Anforderungen für unsere Produktplattform zusammen)
Was das ganze für mich wie auch hier für euch das alles nicht gnaz leicht nachvollziehbar macht.

mod_cband hab ich auch selber kompaliert in der Version 0.9.6.1
Code:
cd mod-cband-0.9.6.1
./configure --with-apxs=/usr/local/apache-2.2.6/bin/apxs
make install clean
hab ich da was vergessen?

Ansonsten hab ich zur Zeit eigentlich nur noch das Problem das wenn ich mich einloggen will ich einen Umleitungsfehler bekomme und wenn ich aktualisiere "Bad Request from foreign Host" sorry kann grad net genau nachschaun, aber die anderen Threads dazu haben mir nicht weiter geholfen (port341). Gibts hier noch nen anderen anhalte Punkt? Das passiert übringens auch wenn ich nichtmal die 00_master.conf und ispcp.conf include.
Also schon etwas seltsam. in der httpd.conf hab ich keinen virualhost.

Vll. könnt ihr mir noch den ein oder anderen Tip geben Smile

Greetz
Steve
06-20-2008 06:31 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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