DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-01-22 00:50:43

beebodo
New member
Registered: 2010-01-22
Posts: 2

mysql on CH3WNAS with chroot on Debian fails: Can't create UNIX socket

I successfully installed everything I needed on my CH3WNAS (twonkymedia, firefly, apache ...).
But trying to run mysql almost drives my crazy.

When I installed MySQL (5.0.32 7etch8) on a clean chrooted Debian system using atitude, the installation failed while configuring with the message that the server could not start. It seemed that there was a running process. But there wasn't for sure.

Trying to start mysqld failed with the message:
100121 22:33:58 [ERROR] Can't start server : UNIX Socket : Address family not supported by protocol

Trying to start mysqladmin failed with the message:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't create UNIX socket (97)'

I tried everything I could think about, like modifying debian.cnf or my.cnf. But no success.
I think that there may be some kind of misconfiguration within the net-system in the chrooted Debian system.
But I'm not a Linux expert. So I'm not sure how to figure out.

Does anybody have an idea, what is wrong with my system.
Did anybody manage to start mysql in a similar environment?

Thanx in advance.
beebodo

Offline

 

#2 2010-01-22 11:30:04

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: mysql on CH3WNAS with chroot on Debian fails: Can't create UNIX socket

Don't use unix sockets. Use tcpip port or try unix.o or custom firmware which has unix socket support built in.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#3 2010-01-22 13:17:59

beebodo
New member
Registered: 2010-01-22
Posts: 2

Re: mysql on CH3WNAS with chroot on Debian fails: Can't create UNIX socket

@Sala:
What do I have to do to use TCP/IP instead of Unix sockets?

Actually it seems too tricky to me to use a custom firmware (risk of bricking and loss of warranity).

Last edited by beebodo (2010-01-25 12:43:34)

Offline

 

#4 2010-07-04 18:59:37

elbmic
New member
Registered: 2010-07-04
Posts: 2

Re: mysql on CH3WNAS with chroot on Debian fails: Can't create UNIX socket

Hi.

@beebodo

You wrote, that you have installed twonky on a ch3wnas.
Can you give me a howto to do this?

Thanks.

Regards, elbmic

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB