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

Nur noch Probleme mit SuSE 9.1 -.-

Status
Für weitere Antworten geschlossen.

altariq2

Member
Hallo zusammen,

da ich mit mehreren Sachen unter SuSE Probleme habe, konnte ich mich einfach nicht entscheiden, in welches Forum ich es posten soll. Deswegen habe ich mir mal dieses ausgesucht ;)

Bedanke mich jetzt schonmal für evtl. Hilfe!

Also mal am Anfang anfangen:

Möchte hier einen Server aufbauen mit:

Postfix;Fetchmail;Cyrus;XAMPP;OpenXchange

Postfix und Fetchmail laufen schon einwandfrei. OpenXchange lief, bis ich XAMPP installiert hab und danach hab ich Cyrus drauf gemacht aber jetzt läuft nichts mehr so ganz.

Das Problem mit OX ist erstmal unwichtig. Wichtig ist, dass Cyrus läuft. Habe bei dem Befehl:

"cyradm -user root -auth login localhost" das Problem, dass er einfach "hängen" bleibt. Keine Reaktion nichts. Komme da nur mit strg+c raus.
(Bin nach dem Tut von www.linux-tin.org vorgegangen)
Habe ausserdem das Problem, dass saslauthd nicht funktioniert:
Code:
linux:/ # rcsaslauthd restart
Shutting down service saslauthd                                                                                  done
Starting service saslauthd                                                                                       failed
Code:
Jun 23 10:02:35 linux saslauthd[6442]: set_auth_mech   : unknown authentication                                             mechanism: pam
Jun 23 10:02:35 linux startproc: startproc:  exit status of parent of /usr/sbin/                                            saslauthd: 1
Jun 23 10:02:42 linux saslauthd[6463]: set_auth_mech   : unknown authentication                                             mechanism: pam
Jun 23 10:02:42 linux startproc: startproc:  exit status of parent of /usr/sbin/                                            saslauthd: 1

Habe den nie was auf PAM gesetzt?!?!



Ausserdem ist meine /var/log/messages/ voll mit Kram en ich nicht verstehe:

(kleiner Auszug)
Code:
Jun 23 09:45:24 linux slapd[3716]: conn=24 op=2 BIND dn="" method=128
Jun 23 09:45:24 linux slapd[3716]: conn=24 op=2 RESULT tag=97 err=0 text=
Jun 23 09:46:24 linux slapd[3716]: conn=24 op=3 BIND dn="" method=128
Jun 23 09:46:24 linux slapd[3716]: conn=24 op=3 RESULT tag=97 err=0 text=
Jun 23 09:46:24 linux slapd[3716]: conn=24 op=4 UNBIND
Jun 23 09:46:24 linux slapd[3716]: conn=24 fd=8 closed
Jun 23 09:48:24 linux slapd[3716]: conn=25 fd=8 ACCEPT from IP=127.0.0.1:33209 (IP=0.0.0.0:389)
Jun 23 09:48:24 linux slapd[3716]: conn=25 op=0 BIND dn="" method=128
Jun 23 09:48:24 linux slapd[3716]: conn=25 op=0 RESULT tag=97 err=0 text=
Jun 23 09:49:24 linux slapd[3716]: conn=25 op=1 BIND dn="" method=128
Jun 23 09:49:24 linux slapd[3716]: conn=25 op=1 RESULT tag=97 err=0 text=
Jun 23 09:50:24 linux slapd[3716]: conn=25 op=2 BIND dn="" method=128
Jun 23 09:50:24 linux slapd[3716]: conn=25 op=2 RESULT tag=97 err=0 text=
Jun 23 09:51:24 linux slapd[3716]: conn=25 op=3 BIND dn="" method=128
Jun 23 09:51:24 linux slapd[3716]: conn=25 op=3 RESULT tag=97 err=0 text=
Jun 23 09:51:24 linux slapd[3716]: conn=25 op=4 UNBIND
Jun 23 09:51:24 linux slapd[3716]: conn=25 fd=8 closed
Jun 23 09:53:25 linux slapd[3716]: conn=26 fd=8 ACCEPT from IP=127.0.0.1:33243 (IP=0.0.0.0:389)

Alle 2-3 Minuten kommt es wieder, immer wenn der Rechner an ist.

Bei OX habe ich wohl das Problem, dass der Tomcat nicht richtig funktioniert, aber das regel ich dann später, wenn der Rest funktioniert :)

Bitte helft mir, ich verzweifel so langsam an Linux ....
 

roemi

Advanced Hacker
cyrus ist doch sowas wie ein mail-server ... da wird sich doch ein anderes forum finden :wink:
 
OP
A

altariq2

Member
joa eigentlich hast du recht :)
war mir nur nicht sicher, weil OpenXchange noch dabei ist, was nicht läuft, XAMPP damit in Verbindung auch nicht richtig läuft. Eigentlich kaum was richtig läuft. Aber wenn ein Mod so nett wäre, und mich ins richtige Forum verfrachten würde, wäre ich auch glücklich.
 

stka

Guru
Zum Thema pam da schau mal in die Datei /etc/sysconfig/saslauthd dort ist pam standardmäßig eingestellt, brauchst du auch nicht ändern. Die Meldungen in deiner /var/log/messages kommen von ldap.
Wenn wir dir helfen sollen, mußt du uns schon einpaar deiner conf-Dateien posten ;-) impd.conf, main.cf wären schon mal hilfreich.
Was ist den mit deinem ldap? Läuft der oder läuft der nicht?
[/quote]
 
OP
A

altariq2

Member
erstmal danke für die schnelle antwort.
ldap startet ohne fehlermeldung. benötige ldap für openxchange.
die configs poste ich wenn ich auf der arbeit bin.
 
OP
A

altariq2

Member
Also, um nochmal auszuholen.

Ich habe ein Programm zusätzlich installiert,Tequila, welches Cyrus über ein WebInterface steuert. Kann halt jetzt mit grafischer Oberfläche Konten ect.. anlegen.
Es läuft auch, nur kann ich nicht auf Cyrus richtig zugreifen.

Aber hier erstmal die Configs:

cyrus.conf
Code:
# standard standalone server implementation

START {
  # do not delete this entry!
  recover	cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
#  idled		cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap		cmd="imapd" listen="imap" prefork=5
  #imaps		cmd="imapd -s" listen="imaps" prefork=1
  pop3		cmd="pop3d" listen="pop3" prefork=3
  #pop3s		cmd="pop3d -s" listen="pop3s" prefork=1
  #sieve		cmd="timsieved" listen="sieve" prefork=0

  # these are only necessary if receiving/exporting usenet via NNTP
#  nntp		cmd="nntpd" listen="nntp" prefork=3
#  nntps		cmd="nntpd -s" listen="nntps" prefork=1

  # at least one LMTP is required for delivery
#  lmtp		cmd="lmtpd" listen="localhost:lmtp" prefork=0
  lmtpunix	cmd="lmtpd" listen="/var/spool/imap/socket/lmtp" prefork=1

  # this is only necessary if using notifications
#  notify	cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1
}

EVENTS {
  # this is required
  checkpoint	cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression,
  # Sieve or NNTP
  delprune	cmd="cyr_expire -E 3" at=0400

  # this is only necessary if caching TLS sessions
  tlsprune	cmd="tls_prune" at=0400
}

imapd.conf
Code:
 <--- so wurde es bei der Install von Tequila vorgegeben
defaultdomain: linux.linux.de
unixhierarchysep: yes
postmaster: postmaster
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
sievedir: /var/lib/sieve
admins: cyrus admin root
allowanonymouslogin: no
autocreatequota: 10000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: auxprop
lmtp_overquota_perm_failure: no
lmtpsocket: /var/spool/imap/socket/lmtp
### SET THIS TO yes, OTHERWISE YOU CANNOT SEE BOTH PRIVATE AND PUBLIC FODLERS
### ON THE CLIENT SIDE OF EMAIL (I.E. MOZILLA MAIL)
altnamespace: yes
### MUST MUST MUST be 'userid'! Neither 'yes' or 'no' worked at all!
virtdomains: userid
### SET FILE PERMISSIONS TO 750 ON FILE SCREATED BY CYRUS-IMAP
umask: 027

main.cf
Code:
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
#bodychecks = regexp:/etc/postfix/body_checks
bounce_size_limit = 100000
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory =/etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
double_bounce_sender = root@localhost
empty_adress_recipient = root@localhost
#header_checks = regexp:/etc/postfix/header_checks
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 400000000
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masuqerade_domains = $mydomain
masquerade_exceptions = root
message_size_limit = 300000000
#mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = $myhostname,$mydomain, localhost, localhost.$mydomain
mydomain = linux.de
myhostname = linux.linux.de
mynetworks = 192.1.1.0/24, 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
proxy_interfaces = 192.1.1.150
queue_directory = /var/spool/postfix
queue_minfree = 500000000
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relay_domains = $mydestination
relay_hdomains_reject_code = 554
relayhost = [smtp.1und1.com]
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_use_tls = no
smtpd_banner = myhostname ESMTP
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_junk_command_limit = 100
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination 
smtpd_recipient_limit = 50
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_timeout = 300s
smtpd_use_tls = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
html_directory = /usr/share/doc/packages/postfix/html

Ausserdem läuft saslauthd nicht:
Code:
linux:~ # saslauthd -v
saslauthd 2.1.21
authentication mechanisms: getpwent rimap shadow ldap
llinux:~ # rcsaslauthd restart
Shutting down service saslauthd                                      done
Starting service saslauthd                                           failed

Braucht ihr sonst noch irgendwelche Confs?
 
OP
A

altariq2

Member
was vieleicht noch wichtig wäre. ich seh in vielen tuts immer telnet zum testen:

telnet localhost imap
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK chaos.dom.tld Cyrus IMAP4 v2.2.10-Invoca-RPM-2.2.10-1.RHEL4.1 server ready
. logout
* BYE LOGOUT received
. OK Completed
Connection closed by foreign host.

wenn ich telnet ausführe kommt nur das:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.


danach kann ich nichts mehr machen. muss shell dann schliessen.
 
Status
Für weitere Antworten geschlossen.
Oben