Results 1 to 3 of 3

Thread: MySQL on Knoppix 3.7 Remaster

  1. #1

    MySQL on Knoppix 3.7 Remaster

    Well, I recently started a remaster of Knoppix 3.7 (I was worried about the complexities of UnionFS and already had a copy of 3.7 at hand). I decided to install a LAMP system on it to run a PHP/MySQL application. The entire system worked well from a chroot environment off the 3.7 CD, so I compressed it to a shocking size of 609MB!!! Anyways, I used my 3.7 CD with the bootfrom= option to boot my system! It worked great! (One of my additions was Firefox, which I understand comes with 3.8...) Anyways, Apache/PHP is working great, but MySQL is not behaving. If I start it with "/etc/init.d/mysql start", it tells me that:
    Starting MySQL database server: mysqld...failed.
    Please take a look at the syslog.
    So I check the syslog:
    knoppix@ttyp1[knoppix]$ sudo cat /var/log/syslog
    knoppix@ttyp1[knoppix]$
    So I'm thinking, okay, I'll just start it directly...it should work, right? I was wrong:
    050423 22:39:05 InnoDB: Operating system error number 30 in a file operation.
    InnoDB: See http://dev.mysql.com/doc/mysql/en/InnoDB.html
    InnoDB: for installation help.
    InnoDB: Error number 30 means 'Read-only file system'.
    InnoDB: Some operating system error numbers are described at
    InnoDB: http://dev.mysql.com/doc/mysql/en/Op...ror_codes.html
    InnoDB: File name ./ibdata1
    InnoDB: File operation call: 'open'.
    InnoDB: Cannot continue operation.
    At this point, I'm getting irritated. So I perform an ls -l of /var/lib/mysql, where it is trying to write ibdata1:
    total 0
    lrwxrwxrwx 1 root root 45 Apr 23 18:22 ib_arch_log_0000000000 -> /KNOPPIX/var/lib/mysql/ib_arch_log_0000000000
    lrwxrwxrwx 1 root root 34 Apr 23 18:22 ib_logfile0 -> /KNOPPIX/var/lib/mysql/ib_logfile0
    lrwxrwxrwx 1 root root 34 Apr 23 18:22 ib_logfile1 -> /KNOPPIX/var/lib/mysql/ib_logfile1
    lrwxrwxrwx 1 root root 30 Apr 23 18:22 ibdata1 -> /KNOPPIX/var/lib/mysql/ibdata1
    drwx------ 2 mysql mysql 40 Apr 22 20:33 {PRIVATE DATABASE NAME REMOVED}
    drwxr-xr-x 2 mysql mysql 460 Apr 22 20:32 mysql
    drwxr-xr-x 2 mysql mysql 40 Aug 16 2001 test
    So I think, aha, that's the problem, it's pointing at /KNOPPIX, which is readonly. My question is: why? Is this necessary? Can I just remove the symlink? Will everything then be hunky-dory? Do I have to copy a file? Any help here?

    Thanks in advance!

  2. #2
    Senior Member registered user
    Join Date
    Aug 2003
    Posts
    126
    Take a look at this thread.

    http://www.knoppix.net/forum/viewtop...570&highlight=

    Hopefully it will give you some ideas.
    Regards,
    Mark

  3. #3
    Junior Member
    Join Date
    Apr 2005
    Posts
    3
    And this thread. Same exact problem, solution was editing the 'minirt' file and copying the innodb tablespace and log files to the ramdisk when initialized.

    http://www.knoppix.net/forum/viewtopic.php?t=18393

Similar Threads

  1. Updating MySQL in Knoppix
    By PlatinumPlus in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 10-06-2005, 10:17 AM
  2. MySQL on Knoppix
    By ilovelinux98 in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 04-23-2005, 09:30 PM
  3. I want /var/lib/mysql/foo to NOT be linked to /KNOPPIX!!!!
    By ace in forum Customising & Remastering
    Replies: 14
    Last Post: 03-26-2005, 01:40 AM
  4. [MySQL] Export a DB From PHPMyAdmin to /var/lib/mysql
    By Coume in forum General Support
    Replies: 5
    Last Post: 08-06-2003, 06:42 AM
  5. Mysql and knoppix
    By antti in forum General Support
    Replies: 1
    Last Post: 02-10-2003, 02:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Datto S4P10 1U Blade Rack Server Intel Xeon D-2143IT 2.20GHz 48GB DDR4 4-Bay PSU picture

Datto S4P10 1U Blade Rack Server Intel Xeon D-2143IT 2.20GHz 48GB DDR4 4-Bay PSU

$197.76



Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR picture

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR

$95.20



Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working picture

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working

$149.99



Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric picture

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric

$174.99



Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB

$149.99



Dell PowerEdge VRTX 2.5

Dell PowerEdge VRTX 2.5"x25 Bay Blade Enclosure 4x1600W + 4X M640 (4X Blades)

$1599.99



Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays picture

Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays

$799.99



Cisco B200 M3 2x E5-2670V2 10 Core 8x 16GB-128GB Ram Blade Server VIC1240 14900R picture

Cisco B200 M3 2x E5-2670V2 10 Core 8x 16GB-128GB Ram Blade Server VIC1240 14900R

$399.00



Dell Poweredge VRTX 25Bay 2.5

Dell Poweredge VRTX 25Bay 2.5" 2x PERC 8, 2xCMC, I/O 1GB Pass Through, 4x PS

$578.08



Lenovo ThinkSystem SN550 Blade | 7X16 | 01KP356 | Drives and RAM not included picture

Lenovo ThinkSystem SN550 Blade | 7X16 | 01KP356 | Drives and RAM not included

$299.99