PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Mysql- Problem beim installieren von confixx



BluBBerBaer
11.03.05, 20:35
Had to create DBD::mysql::dr::imp_data_size unexpectedly at /usr/local/lib/perl/5.6.1/DBI.pm line 713, <STDIN> line 54.
Had to create DBD::mysql::db::imp_data_size unexpectedly at /usr/local/lib/perl/5.6.1/DBI.pm line 713, <STDIN> line 54.
Undefined subroutine &DBD::mysql::db::_login called at /usr/lib/perl5/DBD/mysql.pm line 131, <STDIN> line 54.
Driver has not implemented the disconnect_all method. at /usr/local/lib/perl/5.6.1/DBI.pm line 468
END failed--call queue aborted, <STDIN> line 54.

Das bekomme ich im anschluß wenn ich das Passwort für den Datenbankbenutzer root eingegeben habe in der confixx installation.
Ich bekomme den mysql-server auch nicht gestartet, da steht dann immer failed.

Ich habe auch alle datenpakete installiert die es gibt per apt-get install aber es will einfach nicht funzen.
Habt ihr eine idee ich weis einfach nicht mehr weiter...

Ich benutze Debian Woody.

Gruß BluBBerBaer

Tomek
11.03.05, 22:50
Der MySQL-Server kann nicht gestartet werden? Dazu müsste eine Fehlermeldung in /var/log/syslog oder /var/log/mysql.log auftauchen.

BluBBerBaer
12.03.05, 02:19
Der MySQL-Server kann nicht gestartet werden? Dazu müsste eine Fehlermeldung in /var/log/syslog oder /var/log/mysql.log auftauchen.

In der syslog ist so viel da sehe ich nicht durch und in der mysql log ist gar nichts drin..

Tomek
12.03.05, 11:10
Wie versuchst du den MySQL-Server zu starten und was wird ausgegeben?

Poste auch bitte mal die Konfigurationsdatei /etc/mysql/my.cnf.

BluBBerBaer
12.03.05, 13:02
Den mysql server will ich folgends einrichten:

/etc/init.d/mysql start
Starting MySQL database server: mysqld...failed.

In ps-x finde ich einen safe mysql prozess.

1960 ? S 0:00 /bin/sh /usr/bin/safe_mysqld

___________________________
my.cnf.dpkg-dist
debian.cnf

Diese beiden sind die einzigsten datein in dem ordner.

In der my.cnf.dpkg-dist steht folgendes:

#
# 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]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
# 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 :)
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
language = /usr/share/mysql/english
skip-external-locking
#
# 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
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
#
# 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
#
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
#
# 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

BluBBerBaer
12.03.05, 22:01
Weis niemand eine antwort?
Pls help ich komme ehrlich nicht weiter...

Tomek
13.03.05, 10:17
Füge in den Abschnitt [mysqld] in der /etc/mysql/my.cnf folgendes hinzu:

log = /var/log/mysql.log
log-error = /var/log/mysql-err.log
Dann nochmal versuchen den MySQL-Server zu starten und die beiden Logfiles hier bitte posten.

BluBBerBaer
13.03.05, 13:53
Komischischer weise zeigt er immernoch failed an, aber unter
ps -A steht der mysql server als gestartet drin.

Die logs hab ich eingetragen, sind leer.

Lustigerweise funktioniert phpMyAdmin jetzt halb.

Ich gehe auf https://ip/phpMyAdmin/ ,dann zeigt er mir an das ich das SSL Zertifikat mit Ja bestätigen muss, das mache ich dann und dann kommt eine 404 Fehler Seite.

In Confixx ist noch genau der gleich Fehler.

Ich verstehe das echt nicht, was geht da nur ab? Wie bekomme ich denn jetzt confixx installiert ohne diese blöden fehler, die haben doch irgendetwas mit der DB zu tun so wie es aussieht oder ???

BluBBerBaer
13.03.05, 13:58
/var/lib/mysql/*.err

Hier habe ich das gefunden, bringt dir das mehr?

050309 22:47:07 mysqld started
Cannot initialize InnoDB as 'innodb_data_file_path' is not set.
If you do not want to use transactional InnoDB tables, add a line
skip-innodb
to the [mysqld] section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add for example,
innodb_data_file_path = ibdata1:30M
But to get good performance you should adjust for your hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
050309 22:47:07 /usr/sbin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
050309 22:47:07 mysqld ended



Wenn ich nach den Datenbanken gucke sehe ich das hier. Könnte das daran liegen das confixx sich ned installiert? Aber wie erstelle ich dann eine Db?

mysql> SELECT Db, User FROM db;
Empty set (0.00 sec)

Svenny
13.03.05, 15:06
1. will er wissen ob er innoDB benutzen soll, wenn nicht tu das was da steht.

2. findet er seine datafiles nicht, weil wohl falscher path angegeben oder sonst was

BluBBerBaer
13.03.05, 16:15
Und wie korrigiere ich das bzw wo?