• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Ich brauche Hilfe bei Apache, er ist nicht erreichbar.

Remad

Member
Hallo,
ich habe auf meinem Rechner SuSe Linux 9.0 Professional mit Apache 1.3x und PHP4 laufen. Ich habe die Oberfläche x11 nachträglich installiert und danach den Rechner heruntergefahren, aber am nächsten Morgen war mein HTTPd-Server nicht mehr erreichbar. Erst mal habe ich die Syntax der httpd.conf geprüft, da fiel mir nichts auf. Danach habe ich die einzelnen Dienste überprüft. Mailman vermisst seine Mailingliste Wie stelle ich die Mailingliste wieder her? Und könnte es vielleicht auch an der httpd.conf liegen, dass Apache nicht gestartet wird.
 

tomte

Hacker
/etc/init.d/apache2 start als root in der Konsole

Ansonsten mal die Runlevel überprüfen (yast -> runleveleditor)
 
OP
R

Remad

Member
Entschuldigung ich spreche von dem Apache 1.3x ! Und wie ich die Mailman Mailingliste wiederherstelle.
 
OP
R

Remad

Member
Der server Apache 1.3x läuft nicht, weil mailman die Mailingliste nicht mehr hat. Ich habe den Server gerade auf Apache 2 umgestellt, aber ich vermisse die Browsingfunktionen (Fancyindexing).

Also bleibt die Frage offen wie ich die Mailman-Mailing-Liste wiederherstelle. Hat jemand Ahnung?
 
OP
R

Remad

Member
Hallo Linuxfans,
ich bin der Angelegenheit schon näher gekommen. Meine Schwierigkeit ist: Ich muss Mailman konfigurieren auf verschiedene Gid. Eine Readme für SuSe schreibt 4 Schritte vor, aber ich verstehe nicht, was ich tun soll.
Kann mich jemand anleiten? Und bitte helft mir, sonst läuft der Apache 1.3x niemals mehr, weil er Mailman braucht.

SuSe.Readme
Installation notes for package Mailman
--------------------------------------


Last change: 2003-08-11
Authors: Vladimír Linek <feedback@suse.de>
Heiko Rommel <feedback@suse.de>


Basic configuration
===================

The package is prefconfigured for use with the Apache web server and the
Postfix MTA.

If this suites your installation, you should be done by working through the four
steps below:

1) in /etc/sysconfig/mailman tweak the parameters
MAILMAN_SMTPHOST
MAILMAN_DEFAULT_NNTP_HOST
MAILMAN_DEFAULT_EMAIL_HOST
MAILMAN_DEFAULT_URL_HOST
and run SuSEconfig.

2) Call "/usr/lib/mailman/bin/mmsitepass" as user root to set your site
master password.

3) Finally, call "/usr/lib/mailman/bin/newlist mailman" as user root to create
the master mailing list. This list is needed for the inner workings of
Mailman. For details see /usr/share/doc/packages/mailman/README.

4) Add /var/lib/mailman/data/aliases to the alias_maps statement in /etc/postfix/main.cf:
alias_maps = hash:/etc/aliases, ..., hash:/var/lib/mailman/data/aliases
and reload postfix.

You can either create mailing lists through the web interface or with the
"newlist" command as root (located in /usr/lib/mailman/bin).
In both cases, the lists' aliases are created automatically and propagated to
the Postfix MTA.


Other MTAs
==========

If you want to use Mailman with a different MTA, you should work through the
following steps:

- change MAILMAN_MTA in /etc/sysconfig/mailman
- have a look at /usr/share/doc/packages/mailman/README.<your MTA>
- set MAILMAN_MAIL_GID in /etc/sysconfig/mailman accordingly to what gid your
MTA uses when running script aliases - if you use Sendmail, this is probably 2
(group daemon)
- check that /var/lib/mailman/data/aliases is used as alias table by your MTA
- run SuSEconfig


Other web servers
=================

If you want to use Mailman with a different web server, you should work through
the following steps:

- create script aliases and path aliases as pointed out in
/usr/share/doc/packages/mailman/INSTALL, section "4. Final system set-up"
- set MAILMAN_CGI_GID in /etc/sysconfig/mailman accordingly to what gid your
web server uses when running cgi scripts
- run SuSEconfig


Cron entries
============

Cron entries for Mailman are located in /usr/lib/mailman/cron/crontab and are
copied into /etc/cron.d/ when Mailman is started (with /usr/sbin/rcmailman
for example). If you want to make some changes in the crontab, please modify
the source file and reload the service.


Starting/Stopping/Reloading
===========================

You should not use mailmanctl for these tasks. Use
rcmailman {start|stop|status|try-restart|restart|force-reload|reload}


Upgrading
=========

Your old site configuration (including archives) should have been updated
automatically during the installation of this package. However, you can invoke
Mailman's update script (/usr/lib/mailman/bin/update) without harm.

The lists' aliases can be regenerated by Mailman's genaliases script
(/usr/lib/mailman/bin/genaliases). Dependent on the settings in
/etc/sysconfig/mailman these aliases will be written to a built-in file, to the
screen or nowhere at all.


Editing List Archives
=====================

This package features a patch by Adriane Boyd that makes it possible for list
administrators to edit their list archives through a web interface linked into
the admin interface.
A new cgi script called editarch allows administrators to browse by month and
delete messages from the archives. The messages are immediately deleted from
the mbox file, but because of the overhead in reprocessing archives, the
archives aren't redone on-the-fly. Instead, a file is kept with a running list
of recently edited archives and a nightly cron job does the reprocessing. The
file location is configurable in mm_cfg. (Note: since it has to read through
the mbox file message by message, pages will load slowly for lists with large
archives.)


Remember to have a lot of fun!
Your SuSE Team
Mailman
## Path: Network/Mail/Mailman
## Description: Basic configuration of the Mailman mailing list manager
## Type: integer
## Default: ""
## Config: mailman
## ServiceRestart: mailman
#
# the gid that the mail system will use to run Mailman programs
# only set this if you want to override the value Mailman finds
# out on its on
#
MAILMAN_MAIL_GID=""

## Type: integer
## Default: ""
## Config: mailman
## ServiceRestart: mailman
#
# the gid that the web server will use to run Mailman programs
# only set this if you want to override the value Mailman finds
# out on its on
#
MAILMAN_CGI_GID=""

## Type: string
## Default: "Postfix"
## Config: mailman
## ServiceRestart: mailman
#
# how to propagate new list addresses
# possible values: "Postfix", "Manual" or "None"
# see /usr/lib/mailman/Mailman/Defaults.py for details
#
MAILMAN_MTA="Postfix"

## Type: string
## Default: "localhost"
## Config: mailman
## ServiceRestart: mailman
#
# to which smtp server mail should be delivered to
# possible values: "local", "<some smtp server>" or ""
#
MAILMAN_SMTPHOST="localhost"

## Type: string
## Default: ""
## Config: mailman
## ServiceRestart: mailman
#
# the default news gateway
#
MAILMAN_DEFAULT_NNTP_HOST=""

## Type: string
## Default: ""
## Config: mailman
## ServiceRestart: mailman
#
# what domain to use in mail originating from Mailman
#
MAILMAN_DEFAULT_EMAIL_HOST=""

## Type: string
## Default: ""
## Config: mailman
## ServiceRestart: mailman
#
# what url to propapage in mail originating from Mailman
#
MAILMAN_DEFAULT_URL_HOST=""

Grüße Remad
 
Oben