-
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:
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!
-
Senior Member
registered user
Take a look at this thread.
http://www.knoppix.net/forum/viewtop...570&highlight=
Hopefully it will give you some ideas.
Regards,
Mark
-
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
-
By PlatinumPlus in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 10-06-2005, 10:17 AM
-
By ilovelinux98 in forum MS Windows & New to Linux
Replies: 0
Last Post: 04-23-2005, 09:30 PM
-
By ace in forum Customising & Remastering
Replies: 14
Last Post: 03-26-2005, 01:40 AM
-
By Coume in forum General Support
Replies: 5
Last Post: 08-06-2003, 06:42 AM
-
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
-
Forum Rules

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure
$107.99

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

Lacie 2big Quadra RAID 2 x 2 TB 4 TB Only 158 hours
$199.00

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$75.99

Lot Mini SAS SFF-8643 To 4 SATA 7pin Hard Disk 6Gbps Data Server Raid Cable 1M
$870.00

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99

Dell 3KDWX PERC H755 12G 8GB Cache Front RAID Controller
$999.99

LSI 9461-16i MEGARAID RAID 12GBPS 16 PCIE3.0 PORT KIT W/BATTERY 03-50011-69004
$145.99

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99