Top-Themen

AppleEntwicklungHardwareInternetLinuxMicrosoftMultimediaNetzwerkeOff TopicSicherheitSonstige SystemeVirtualisierungWeiterbildungZusammenarbeit

Aktuelle Themen

Administrator.de FeedbackApache ServerAppleAssemblerAudioAusbildungAuslandBackupBasicBatch & ShellBenchmarksBibliotheken & ToolkitsBlogsCloud-DiensteClusterCMSCPU, RAM, MainboardsCSSC und C++DatenbankenDatenschutzDebianDigitiales FernsehenDNSDrucker und ScannerDSL, VDSLE-BooksE-BusinessE-MailEntwicklungErkennung und -AbwehrExchange ServerFestplatten, SSD, RaidFirewallFlatratesGoogle AndroidGrafikGrafikkarten & MonitoreGroupwareHardwareHosting & HousingHTMLHumor (lol)Hyper-VIconsIDE & EditorenInformationsdiensteInstallationInstant MessagingInternetInternet DomäneniOSISDN & AnaloganschlüsseiTunesJavaJavaScriptKiXtartKVMLAN, WAN, WirelessLinuxLinux DesktopLinux NetzwerkLinux ToolsLinux UserverwaltungLizenzierungMac OS XMicrosoftMicrosoft OfficeMikroTik RouterOSMonitoringMultimediaMultimedia & ZubehörNetzwerkeNetzwerkgrundlagenNetzwerkmanagementNetzwerkprotokolleNotebook & ZubehörNovell NetwareOff TopicOpenOffice, LibreOfficeOutlook & MailPapierkorbPascal und DelphiPeripheriegerätePerlPHPPythonRechtliche FragenRedHat, CentOS, FedoraRouter & RoutingSambaSAN, NAS, DASSchriftartenSchulung & TrainingSEOServerServer-HardwareSicherheitSicherheits-ToolsSicherheitsgrundlagenSolarisSonstige SystemeSoziale NetzwerkeSpeicherkartenStudentenjobs & PraktikumSuche ProjektpartnerSuseSwitche und HubsTipps & TricksTK-Netze & GeräteUbuntuUMTS, EDGE & GPRSUtilitiesVB for ApplicationsVerschlüsselung & ZertifikateVideo & StreamingViren und TrojanerVirtualisierungVisual StudioVmwareVoice over IPWebbrowserWebentwicklungWeiterbildungWindows 7Windows 8Windows 10Windows InstallationWindows MobileWindows NetzwerkWindows ServerWindows SystemdateienWindows ToolsWindows UpdateWindows UserverwaltungWindows VistaWindows XPXenserverXMLZusammenarbeit
Kommentar vom Moderator 16568 am 09.07.2013 um 12:15:14 Uhr
Ich frage mich ja immer, was die Leute dazu verleitet, Windows-Probleme unter Linux abzulegen...

Portable Apps xampp mysql startet und wird sofort wieder gestoppt

Frage Internet Server

Mitglied: mkapate

mkapate (Level 1) - Jetzt verbinden

05.07.2013, aktualisiert 09.07.2013, 4362 Aufrufe, 1 Kommentar

Hallo zusammen,
ich habe im Netz leider keine Lösungen für mein Problem gefunden und wende mich nun hier an euch. Ich habe mir bei Portable App das xampp portable auf meinen Stick installiert und laut Beschreibung soll das auch sofort an jedem Rechner laufen.
Nach der Installation öffnet sich das Kontroll Panel wo man den Apache, MySQL, Tomcat etc starten oder beenden kann. Der Apache und Tomcat lassen sich ohne Probleme starten nur MySQL macht Probleme. Im Netz war eine Lösung z. B. die mysql_start.bat neu zu starten nachdem man die mysqlerror_log gelöscht hat um zu sehen welche Fehler angezeigt werden. Folgender Eintrag stand nun bei mir:


130705 14:39:54 [Note] Plugin 'FEDERATED' is disabled.
130705 14:39:54 InnoDB: The InnoDB memory heap is disabled
130705 14:39:54 InnoDB: Mutexes and rw_locks use Windows interlocked functions
130705 14:39:54 InnoDB: Compressed tables use zlib 1.2.3
130705 14:39:54 InnoDB: Initializing buffer pool, size = 16.0M
130705 14:39:54 InnoDB: Completed initialization of buffer pool
InnoDB: Error: space header page consists of zero bytes in data file H:\DB_XAMPP\mysql\data\ibdata1
130705 14:39:54 InnoDB: Could not open or create data files.
130705 14:39:54 InnoDB: If you tried to add new data files, and it failed here,
130705 14:39:54 InnoDB: you should now edit innodb_data_file_path in my.cnf back
130705 14:39:54 InnoDB: to what it was, and remove the new ibdata files InnoDB created
130705 14:39:54 InnoDB: in this failed attempt. InnoDB only wrote those files full of
130705 14:39:54 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
130705 14:39:54 InnoDB: remove old data files which contain your precious data!
130705 14:39:54 [ERROR] Plugin 'InnoDB' init function returned error.
130705 14:39:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130705 14:39:54 [ERROR] Unknown/unsupported storage engine: InnoDB
130705 14:39:54 [ERROR] Aborting

130705 14:39:54 [Note] h:\db_xampp\mysql\bin\mysqld.exe: Shutdown complete




Und in der my.ini finde ich (zumindes ich) auch nichts was auf Fehler hinweißt d.h. eines ist mir dann doch aufgefallen! Der Pfad
plugin_dir = "H:/DB_XAMPP/mysql/lib/plugin/"
existiert bei mir nicht! Der Ordner "lib" fehlt bei mir gänzlich







  1. Example MySQL config file for small systems.
  1. This is for a system with little memory (<= 64M) where MySQL is only used
  2. from time to time and it's important that the mysqld daemon
  3. doesn't use much resources.
  1. You can copy this file to
  2. H:/DB_XAMPP/mysql/bin/my.cnf to set global options,
  3. mysql-data-dir/my.cnf to set server-specific options (in this
  4. installation this directory is H:/DB_XAMPP/mysql/data) or
  5. ~/.my.cnf to set user-specific options.
  1. In this file, you can use all long options that a program supports.
  2. If you want to know which options a program supports, run the program
  3. with the "--help" option.

  1. The following options will be passed to all MySQL clients
[client]
  1. password = your_password
port = 3306
socket = "H:/DB_XAMPP/mysql/mysql.sock"


  1. Here follows entries for some specific programs

  1. The MySQL server
[mysqld]
port= 3306
socket = "H:/DB_XAMPP/mysql/mysql.sock"
basedir = "H:/DB_XAMPP/mysql"
tmpdir = "H:/DB_XAMPP/tmp"
datadir = "H:/DB_XAMPP/mysql/data"
pid_file = "mysql.pid"
  1. enable-named-pipe
key_buffer = 16M
max_allowed_packet = 1M
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
log_error = "mysql_error.log"

  1. Change here for bind listening
  2. bind-address="127.0.0.1"
  3. bind-address = ::1 # for ipv6

  1. Where do all the plugins live
plugin_dir = "H:/DB_XAMPP/mysql/lib/plugin/"

  1. Don't listen on a TCP/IP port at all. This can be a security enhancement,
  2. if all processes that need to connect to mysqld run on the same host.
  3. All interaction with mysqld must be made via Unix sockets or named pipes.
  4. Note that using this option without enabling named pipes on Windows
  5. (via the "enable-named-pipe" option) will render mysqld useless!
  6. commented in by lampp security
#skip-networking
skip-federated

  1. Replication Master Server (default)
  2. binary logging is required for replication
  3. log-bin deactivated by default since XAMPP 1.4.11
#log-bin=mysql-bin

  1. required unique id between 1 and 2^32 - 1
  2. defaults to 1 if master-host is not set
  3. but will not function as a master if omitted
server-id = 1

  1. Replication Slave (comment out master section to use this)
  1. To configure this host as a replication slave, you can choose between
  2. two methods :
  1. 1) Use the CHANGE MASTER TO command (fully described in our manual) -
  2. the syntax is:
  1. CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
  2. MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
  1. where you replace <host>, <user>, <password> by quoted strings and
  2. <port> by the master's port number (3306 by default).
  1. Example:
  1. CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
  2. MASTER_USER='joe', MASTER_PASSWORD='secret';
  1. OR
  1. 2) Set the variables below. However, in case you choose this method, then
  2. start replication for the first time (even unsuccessfully, for example
  3. if you mistyped the password in master-password and the slave fails to
  4. connect), the slave will create a master.info file, and any later
  5. change in this file to the variables' values below will be ignored and
  6. overridden by the content of the master.info file, unless you shutdown
  7. the slave server, delete master.info and restart the slaver server.
  8. For that reason, you may want to leave the lines below untouched
  9. (commented) and instead use CHANGE MASTER TO (see above)
  1. required unique id between 2 and 2^32 - 1
  2. (and different from the master)
  3. defaults to 2 if master-host is set
  4. but will not function as a slave if omitted
#server-id = 2
  1. The replication master for this slave - required
#master-host = <hostname>
  1. The username the slave will use for authentication when connecting
  2. to the master - required
#master-user = <username>
  1. The password the slave will authenticate with when connecting to
  2. the master - required
#master-password = <password>
  1. The port the master is listening on.
  2. optional - defaults to 3306
#master-port = <port>
  1. binary logging - not required for slaves, but recommended
#log-bin=mysql-bin
  1. Point the following paths to different dedicated disks
#tmpdir = "H:/DB_XAMPP/tmp"
#log-update = /path-to-dedicated-directory/hostname

  1. Uncomment the following if you are using BDB tables
#bdb_cache_size = 4M
#bdb_max_lock = 10000

  1. Comment the following if you are using InnoDB tables
#skip-innodb
innodb_data_home_dir = "H:/DB_XAMPP/mysql/data"
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = "H:/DB_XAMPP/mysql/data"
#innodb_log_arch_dir = "H:/DB_XAMPP/mysql/data"
## You can set .._buffer_pool_size up to 50 - 80 %
## of RAM but beware of setting memory usage too high
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M
## Set .._log_file_size to 25 % of buffer pool size
innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50

## UTF 8 Settings
#init-connect=\'SET NAMES utf8\'
#collation_server=utf8_unicode_ci
#character_set_server=utf8
#skip-character-set-client-handshake
#character_sets-dir="H:/DB_XAMPP/mysql/share/charsets"

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
  1. Remove the next comment character if you are not familiar with SQL
#safe-updates

[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout

Könnt Ihr mir da weiterhelfen???


Dank euch schonmal im vorraus

LG
Mitglied: SlainteMhath
05.07.2013 um 15:31 Uhr
Moin,

da steht doch eingelich ziemlich genau, was das Problem ist:
InnoDB: Error: space header page consists of zero bytes in data file H:\DB_XAMPP\mysql\data\ibdata1
130705 14:39:54 InnoDB: Could not open or create data files.
130705 14:39:54 InnoDB: If you tried to add new data files, and it failed here,
130705 14:39:54 InnoDB: you should now edit innodb_data_file_path in my.cnf back
130705 14:39:54 InnoDB: to what it was, and remove the new ibdata files InnoDB created
130705 14:39:54 InnoDB: in this failed attempt. InnoDB only wrote those files full of
130705 14:39:54 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
130705 14:39:54 InnoDB: remove old data files which contain your precious data!
130705 14:39:54 [ERROR] Plugin 'InnoDB' init function returned error.

=> Die Datenbank(datei) 2ibdata1" ist defekt bzw kann nicht erstellt werden. Existiert denn der Pfad und sind entsprechende Rechte vorhanden?

lg,
Slainte
Bitte warten ..
Neuester Wissensbeitrag
Windows 10

Powershell 5 BSOD

(1)

Tipp von agowa338 zum Thema Windows 10 ...

Ähnliche Inhalte
Windows Server
Server 2008R2 startet nicht mehr (Bad Patch 0xa) (18)

Frage von Haures zum Thema Windows Server ...

Ubuntu
Kerio Mailserver Startet nicht (5)

Frage von Patrick2017 zum Thema Ubuntu ...

Windows 8
gelöst Active Directory Default User.v2 Profile - Windows 8.1 Apps Error (4)

Frage von adm2015 zum Thema Windows 8 ...

Heiß diskutierte Inhalte
LAN, WAN, Wireless
gelöst Server erkennt Client nicht wenn er ausserhalb des DHCP Pools liegt (28)

Frage von Mar-west zum Thema LAN, WAN, Wireless ...

Outlook & Mail
Outlook 2010 findet ost datei nicht (18)

Frage von Floh21 zum Thema Outlook & Mail ...

Windows Server
Server 2008R2 startet nicht mehr (Bad Patch 0xa) (18)

Frage von Haures zum Thema Windows Server ...