Lieber Besucher, herzlich willkommen bei: Linux Forum Linux-Web.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
Nov 2 17:43:23 h1019889 postfix/postfix-script: refreshing the Postfix mail system Nov 2 17:43:23 h1019889 postfix/master[25138]: reload configuration Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15049]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15049]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15049]: fatal: mysql:/etc/postfix/virtual.mysql(0,100): table lookup problem Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15050]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15050]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15050]: fatal: mysql:/etc/postfix/virtual.mysql(0,100): table lookup problem Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15051]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15051]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15051]: fatal: mysql:/etc/postfix/virtual.mysql(0,100): table lookup problem Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15052]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15052]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15052]: fatal: mysql:/etc/postfix/virtual.mysql(0,100): table lookup problem Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15053]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15053]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15053]: fatal: mysql:/etc/postfix/virtual.mysql(0,100): table lookup problem Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15054]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15054]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Nov 2 17:44:18 h1019889 postfix/trivial-rewrite[15054]: fatal: mysql:/etc/postfix/virtual.mysql(0,100): table lookup problem Nov 2 17:44:19 h1019889 postfix/smtpd[3467]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 17:44:19 h1019889 postfix/smtpd[3467]: warning: problem talking to service rewrite: Success Nov 2 17:44:19 h1019889 postfix/smtpd[32347]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 17:44:19 h1019889 postfix/smtpd[32347]: warning: problem talking to service rewrite: Connection reset by peer Nov 2 17:44:19 h1019889 postfix/master[25138]: warning: process /usr/lib/postfix/trivial-rewrite pid 15049 exit status 1 Nov 2 17:44:19 h1019889 postfix/master[25138]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling Nov 2 17:44:19 h1019889 postfix/smtpd[6721]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 17:44:19 h1019889 postfix/smtpd[6721]: warning: problem talking to service rewrite: Success Nov 2 17:44:19 h1019889 postfix/smtpd[8402]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 17:44:19 h1019889 postfix/smtpd[8402]: warning: problem talking to service rewrite: Connection reset by peer Nov 2 17:44:19 h1019889 postfix/master[25138]: warning: process /usr/lib/postfix/trivial-rewrite pid 15050 exit status 1 Nov 2 17:44:19 h1019889 postfix/smtpd[29831]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 17:44:19 h1019889 postfix/smtpd[29831]: warning: problem talking to service rewrite: Success Nov 2 17:44:19 h1019889 postfix/cleanup[3845]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 17:44:19 h1019889 postfix/cleanup[3845]: warning: problem talking to service rewrite: Connection reset by peer Nov 2 17:44:19 h1019889 postfix/master[25138]: warning: process /usr/lib/postfix/trivial-rewrite pid 15051 exit status 1 Nov 2 17:44:19 h1019889 postfix/smtpd[10249]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 17:44:19 h1019889 postfix/smtpd[10249]: warning: problem talking to service rewrite: Success Nov 2 17:44:19 h1019889 postfix/cleanup[9384]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 17:44:19 h1019889 postfix/cleanup[9384]: warning: problem talking to service rewrite: Connection reset by peer Nov 2 17:44:19 h1019889 postfix/master[25138]: warning: process /usr/lib/postfix/trivial-rewrite pid 15052 exit status 1 Nov 2 17:44:19 h1019889 postfix/smtpd[11673]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 17:44:19 h1019889 postfix/smtpd[11673]: warning: problem talking to service rewrite: Success Nov 2 17:44:19 h1019889 postfix/smtpd[12614]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 17:44:19 h1019889 postfix/smtpd[12614]: warning: problem talking to service rewrite: Connection reset by peer Nov 2 17:44:19 h1019889 postfix/master[25138]: warning: process /usr/lib/postfix/trivial-rewrite pid 15053 exit status 1 Nov 2 17:44:19 h1019889 postfix/smtpd[13665]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 17:44:19 h1019889 postfix/smtpd[13665]: warning: problem talking to service rewrite: Success Nov 2 17:44:19 h1019889 postfix/cleanup[13720]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 17:44:19 h1019889 postfix/cleanup[13720]: warning: problem talking to service rewrite: Connection reset by peer Nov 2 17:44:19 h1019889 postfix/master[25138]: warning: process /usr/lib/postfix/trivial-rewrite pid 15054 exit status 1 Nov 2 18:08:45 h1019889 postfix/smtpd[21233]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Nov 2 18:08:45 h1019889 postfix/smtpd[21233]: warning: problem talking to service rewrite: Connection reset by peer Nov 2 18:08:45 h1019889 postfix/master[25138]: warning: process /usr/lib/postfix/trivial-rewrite pid 22057 exit status 1 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
h1019889:/etc/postfix# cat main.cf relay_domains = $mydestination, mysql:/etc/postfix/transport.mysql smtp_recipient_restrictions = reject_unknown_hostname, reject_unknown_sender_domain, reject_non_fqdn_sender, check_relay_domains virtual_mailbox_maps = mysql:/etc/postfix/virtboxes.mysql virtual_maps = mysql:/etc/postfix/virtual.mysql transport_maps = mysql:/etc/postfix/transport.mysql virtual_mailbox_base = /var/spool/virtboxes virtual_uid_maps = mysql:/etc/postfix/uid.mysql virtual_gid_maps = mysql:/etc/postfix/gid.mysql virtual_minimum_uid = 500 # See /usr/share/postfix/main.cf.dist for a commented, more complete version smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h myhostname = h1019889.serverkompetenz.net alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = hegauparty.de, h1019889.serverkompetenz.net, localhost.serverkompetenz.net, localhost relayhost = mynetworks = 127.0.0.0/8 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
h1019889:/etc/postfix# cat virtboxes.mysql user=mailer password=passwort dbname=mailer table=virtboxes select_field=dir where_field=adresse hosts=localhost h1019889:/etc/postfix# cat virtual.mysql user=mailer password=passwort dbname=mailer table=virtual select_field=new where_field=old hosts=localhost h1019889:/etc/postfix# cat transport.mysql user=mailer password=passwort dbname=mailer table=transport select_field=transport where_field=domain hosts=localhost h1019889:/etc/postfix# cat uid.mysql user=mailer password=passwort dbname=mailer table=virtboxes select_field=uid where_field=adresse hosts=localhost h1019889:/etc/postfix# cat gid.mysql user=mailer password=passwort dbname=mailer table=virtboxes select_field=gid where_field=adresse hosts=localhost |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
h1019889:~# mysql -u mailer -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 15 to server version: 4.1.11-Debian_4sarge5-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use mailer Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> select * from virtboxes; +--------------------+---------------------+------+----------+------+---------------------+ | adresse | dir | uid | password | gid | home | +--------------------+---------------------+------+----------+------+---------------------+ | info@hegauparty.de | hegauparty.de/info/ | 1001 | test | 5000 | var/spool/virtboxes | +--------------------+---------------------+------+----------+------+---------------------+ 1 row in set (0.01 sec) mysql> exit Bye h1019889:~# |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Ghill« (05.11.2006, 09:44)
Quellcode |
|
1 2 3 4 |
fgihr@notebook:~$ mysql -u mailer -h hegauparty.de -p Enter password: ERROR 2003 (HY000): Can't connect to MySQL server on 'hegauparty.de' (111) fgihr@notebook:~$ |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
# # The MySQL database server configuration file. # # You can copy this to one of: # - "/etc/mysql/my.cnf" to set global options, # - "/var/lib/mysql/my.cnf" to set server-specific options or # - "~/.my.cnf" to set user-specific options. # # One can use all long options that the program supports. # Run program with --help to get a list of available options and with # --print-defaults to see which it would actually understand and use. # # For explanations see # http://dev.mysql.com/doc/mysql/en/server-system-variables.html # This will be passed to all mysql clients # It has been reported that passwords should be enclosed with ticks/quotes # escpecially if they contain "#" chars... # Remember to edit /etc/mysql/debian.cnf when changing the socket location. [client] port = 3306 socket = /var/run/mysqld/mysqld.sock # Here is entries for some specific programs # The following values assume you have at least 32M ram # This was formally known as [safe_mysqld]. Both versions are currently parsed. [mysqld_safe] socket = /var/run/mysqld/mysqld.sock nice = 0 [mysqld] # # * Basic Settings # user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock port = 3306 basedir = /usr datadir = /var/lib/mysql tmpdir = /tmp language = /usr/share/mysql/english skip-external-locking # # For compatibility to other Debian packages that still use # libmysqlclient10 and libmysqlclient12. old_passwords = 1 # # Instead of skip-networking the default is now to listen only on # localhost which is more compatible and is not less secure. bind-address = 127.0.0.1 # # * Fine Tuning # key_buffer = 16M max_allowed_packet = 16M thread_stack = 128K # # * Query Cache Configuration # query_cache_limit = 1048576 query_cache_size = 16777216 query_cache_type = 1 # # * Logging and Replication # # Both location gets rotated by the cronjob. # Be aware that this log type is a performance killer. #log = /var/log/mysql.log #log = /var/log/mysql/mysql.log # # Error logging goes to syslog. This is a Debian improvement :) # # Here you can see queries with especially long duration #log-slow-queries = /var/log/mysql/mysql-slow.log # # The following can be used as easy to replay backup logs or for replication. #server-id = 1 log-bin = /var/log/mysql/mysql-bin.log # See /etc/mysql/debian-log-rotate.conf for the number of files kept. max_binlog_size = 104857600 #binlog-do-db = include_database_name #binlog-ignore-db = include_database_name # # * BerkeleyDB # # According to an MySQL employee the use of BerkeleyDB is now discouraged # and support for it will probably cease in the next versions. skip-bdb # # * InnoDB # # InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/. # Read the manual for more InnoDB related options. There are many! # # * Security Features # # Read the manual, too, if you want chroot! # chroot = /var/lib/mysql/ # # If you want to enable SSL support (recommended) read the manual or my # HOWTO in /usr/share/doc/mysql-server/SSL-MINI-HOWTO.txt.gz # ssl-ca=/etc/mysql/cacert.pem # ssl-cert=/etc/mysql/server-cert.pem # ssl-key=/etc/mysql/server-key.pem [mysqldump] quick quote-names max_allowed_packet = 16M [mysql] #no-auto-rehash # faster start of mysql but no tab completition [isamchk] key_buffer = 16M |
Zitat
ich habs jetzt auskommentiert, aber immer noch gleicher fehler
Zitat
ich habs jetzt auskommentiert, aber immer noch gleicher fehler