Page 1 of 1

ASP auf apache2 - suse10

Posted: 2006-10-11 09:48
by kniepbert
Moinsen Leutz,

ich würd gern asp auf meinem apache2 installieren.
Was ist da die beste Mehtode?
Über yast wird kein Paket vorgeschlagen und rpmseek.com schmeisst mir auch kein asp für apache2 raus...

Any hints?

Re: ASP auf apache2 - suse10

Posted: 2006-10-11 10:34
by Joe User

Re: ASP auf apache2 - suse10

Posted: 2006-10-11 10:42
by kniepbert
Soweit war ich auch schon... :)
Ist es etwa egal ob apache oder apache2? Ich such momentan nach apache2-asp... :-k

Greetz && Thx

Re: ASP auf apache2 - suse10

Posted: 2006-10-11 11:15
by djcrackman
Stichwort: mono

Re: ASP auf apache2 - suse10

Posted: 2006-10-11 11:34
by kniepbert
Bis jetzt gefunden:
http://rpmseek.com/rpm-pl/mono.html?hl= ... N:0:11:1:0
Leider nur 9.1er Pakete...
Werd mich mal an dem hier probieren, schade das ihr nicht noch ein wenig mehr auf der Tastatur rumklimpern konntet... :cry:
http://forums.mono-project.de/index.php?showtopic=58

Wünscht mir Glück...
Kniepbert

Re: ASP auf apache2 - suse10

Posted: 2006-10-11 11:49
by Joe User

Re: ASP auf apache2 - suse10

Posted: 2006-10-11 12:02
by kniepbert
hmmm..
Bin schon weiter.
Habe in yast die Quellen von http://www.go-mono.com/download-stable/suse-100-i586/ eingetragen und mono per yast installiert.
Pakete:

Code: Select all

mod_mono
mono-core
mono-data
mono-web
Wenn ich nun jedoch in die loadmodules.conf mono einbinde, mekert der Indianer beim Neustart und schmeisst sie wieder aus loadmodules.conf raus.

Code: Select all

xx:/etc/apache2/sysconfig.d # cat loadmodule.conf
#
# Files in this directory are created at apache start time by /usr/sbin/rcapache2.
# Do not edit them!
#

# as listed in APACHE_MODULES (/etc/sysconfig/apache2)

LoadModule access_module                  /usr/lib/apache2-prefork/mod_access.so
LoadModule actions_module                 /usr/lib/apache2-prefork/mod_actions.so
LoadModule alias_module                   /usr/lib/apache2-prefork/mod_alias.so
LoadModule auth_module                    /usr/lib/apache2-prefork/mod_auth.so
LoadModule auth_dbm_module                /usr/lib/apache2-prefork/mod_auth_dbm.so
LoadModule autoindex_module               /usr/lib/apache2-prefork/mod_autoindex.so
LoadModule cgi_module                     /usr/lib/apache2-prefork/mod_cgi.so
LoadModule dir_module                     /usr/lib/apache2-prefork/mod_dir.so
LoadModule env_module                     /usr/lib/apache2-prefork/mod_env.so
LoadModule expires_module                 /usr/lib/apache2-prefork/mod_expires.so
LoadModule include_module                 /usr/lib/apache2-prefork/mod_include.so
LoadModule log_config_module              /usr/lib/apache2-prefork/mod_log_config.so
LoadModule mime_module                    /usr/lib/apache2-prefork/mod_mime.so
LoadModule negotiation_module             /usr/lib/apache2-prefork/mod_negotiation.so
LoadModule setenvif_module                /usr/lib/apache2-prefork/mod_setenvif.so
LoadModule ssl_module                     /usr/lib/apache2-prefork/mod_ssl.so
LoadModule rewrite_module                 /usr/lib/apache2-prefork/mod_rewrite.so
LoadModule userdir_module                 /usr/lib/apache2-prefork/mod_userdir.so
LoadModule php4_module                    /usr/lib/apache2-prefork/libphp4.so
LoadModule perl_module                    /usr/lib/apache2/mod_perl.so
LoadModule jk_module                      /usr/lib/apache2/mod_jk.so
LoadModule python_module                  /usr/lib/apache2/mod_python.so
LoadModule suexec_module                  /usr/lib/apache2-prefork/mod_suexec.so
LoadModule mono_module                    /usr/lib/apache2/mod_mono.so
#

xx:/etc/apache2/sysconfig.d # /etc/init.d/apache2 restart
Syntax OK
Shutting down httpd2 (waiting for all children to terminate)          done
Starting httpd2 (prefork) (98)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs
startproc:  exit status of parent of /usr/sbin/httpd2-prefork: 1
                                                                      failed
xx:/etc/apache2/sysconfig.d # cat loadmodule.conf
#
# Files in this directory are created at apache start time by /usr/sbin/rcapache2.
# Do not edit them!
#

# as listed in APACHE_MODULES (/etc/sysconfig/apache2)

LoadModule access_module                  /usr/lib/apache2-prefork/mod_access.so
LoadModule actions_module                 /usr/lib/apache2-prefork/mod_actions.so
LoadModule alias_module                   /usr/lib/apache2-prefork/mod_alias.so
LoadModule auth_module                    /usr/lib/apache2-prefork/mod_auth.so
LoadModule auth_dbm_module                /usr/lib/apache2-prefork/mod_auth_dbm.so
LoadModule autoindex_module               /usr/lib/apache2-prefork/mod_autoindex.so
LoadModule cgi_module                     /usr/lib/apache2-prefork/mod_cgi.so
LoadModule dir_module                     /usr/lib/apache2-prefork/mod_dir.so
LoadModule env_module                     /usr/lib/apache2-prefork/mod_env.so
LoadModule expires_module                 /usr/lib/apache2-prefork/mod_expires.so
LoadModule include_module                 /usr/lib/apache2-prefork/mod_include.so
LoadModule log_config_module              /usr/lib/apache2-prefork/mod_log_config.so
LoadModule mime_module                    /usr/lib/apache2-prefork/mod_mime.so
LoadModule negotiation_module             /usr/lib/apache2-prefork/mod_negotiation.so
LoadModule setenvif_module                /usr/lib/apache2-prefork/mod_setenvif.so
LoadModule ssl_module                     /usr/lib/apache2-prefork/mod_ssl.so
LoadModule rewrite_module                 /usr/lib/apache2-prefork/mod_rewrite.so
LoadModule userdir_module                 /usr/lib/apache2-prefork/mod_userdir.so
LoadModule php4_module                    /usr/lib/apache2-prefork/libphp4.so
LoadModule perl_module                    /usr/lib/apache2/mod_perl.so
LoadModule jk_module                      /usr/lib/apache2/mod_jk.so
LoadModule python_module                  /usr/lib/apache2/mod_python.so
LoadModule suexec_module                  /usr/lib/apache2-prefork/mod_suexec.so
#
xx:/etc/apache2/sysconfig.d #
Die Datei "/usr/lib/apache2/mod_mono.so" existiert...
Plesk hat auch noch nicht gemerkt, das mono verfübar sein soll..
Fuscht Plesk 8.0 evtl. mit rein?

Re: ASP auf apache2 - suse10

Posted: 2006-10-11 12:07
by Joe User
Lesen hilft:

Code: Select all

#
# Files in this directory are created at apache start time by /usr/sbin/rcapache2.
# Do not edit them!
#

# as listed in APACHE_MODULES (/etc/sysconfig/apache2)

Re: ASP auf apache2 - suse10

Posted: 2006-10-11 12:19
by kniepbert
Danke für den Hinweis... War auch mehr ein Schuss aus der Hüfte... :)
Anderer Versuch:

Code: Select all

xx:/etc/apache2 # /etc/init.d/apache2 restart
Syntax OK
Shutting down httpd2 (waiting for all children to terminate)          done
Starting httpd2 (prefork) (98)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs
startproc:  exit status of parent of /usr/sbin/httpd2-prefork: 1
                                                                      failed
xx:/etc/apache2 # cat httpd.conf |grep mono
# mono-Module
Include /etc/apache2/conf.d/mod_mono.conf
xx:/etc/apache2 #
Klappt auch nicht...
Was schlägst du denn vor?

Re: ASP auf apache2 - suse10

Posted: 2006-10-11 12:44
by flo
L E S E N ...

Dein Apache hängt und möchte gekillt werden, bevor Du ihn neu startest.

flo.

Re: ASP auf apache2 - suse10

Posted: 2006-10-11 13:02
by kniepbert
*bück*
Gleich ein Forum-Admin und -Mod....
Vielen Dank euch beiden...

Code: Select all

xx 13654 13653  0 12:51 ?        00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
xx 13657 13653  0 12:51 ?        00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
xx 13659 13653  0 12:51 ?        00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
xx 13661     1  0 12:51 ?        00:00:00 /usr/bin/mono /usr/lib/mono/1.0/mod-mono-server.exe --filename /tmp/mod_mono_server_global --nonstop --master
xx 13662 13653  0 12:51 ?        00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
xx 13664 13653  0 12:51 ?        00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
Jezt fehlt mir eigentlich nur noch das perl-Apache-asp um Plesk die frohe Botschaft zu verkünden, richtig?
Kann ich da auch ein "Suse9.1"-rpm nehmen?
http://rpmseek.com/rpm-pl/perl-Apache-A ... cx=648:P:0

Yast hat leider nichts zu bieten...

Thx

Re: ASP auf apache2 - suse10

Posted: 2006-10-11 16:29
by kniepbert
Moinsen,

habe perl-Apache-ASP nun mittels cpan installiert, leider erkennt Plesk das Modul immer noch nicht an... :(

Code: Select all

cpan> install Apache::ASP
Hat keiner nen Tipp in die richtige Richtung?

Greetz