egfault occur
> ?
Interesting that you should pick on the length - I think that might be
it. When I switched to using a UDP socket, sendto() did complain about
the length. (error 90, message too long). Hmm, that's probably a UDP
packet-size restriction, whereas no such restriction exist
ous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> From: p...@computer.org
> Subject: RE: UDF writing to unix socket - segfaults?
> Date: Wed, 8 Aug 2012 15:39:09 +0200
> To: mysql@lists.mysql.com
>
> Martin Gainty wrote:
>
> > assuming you worked out t
Martin Gainty wrote:
> assuming you worked out the access to network by your code permissions
When I open the unix socket, I give it 0777.
> that means memory heap or stack is being overrun...you would be well
> advised to download the connect() and sendto() code from the OS vendor
I&
n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> From: p...@computer.org
> Subject: UDF writing to unix socket - segfaults?
&g
I am writing a UDF for sending messages to a local daemon. I've been
trying to make it use a UNIX socket, but it keeps segfaulting on
connect() or sendto(). I have double and tripled checked everything,
but I'm not finding anything.
After a day or two, I finally decided to switch
[Sorry] I didn't realize that hitting Reply (using Gmail) sent a
private message. Usually on lists the message ends up on the list.
Will need to observe the header in the future.
tx;
-nat
On 1/27/06, Gleb Paharenko <[EMAIL PROTECTED]> wrote:
> Hello.
>
> Please, next time always CC your messages t
Hello.
Please, next time always CC your messages to the list as well. I'm
not a lampp expert and can only point you to:
http://dev.mysql.com/doc/refman/5.0/en/program-options.html
>This advice proved very helpful. This is where its at now:
>I noticed that the .err file belonged to user 'nobod
t; I changed the own and grp on the /opt/lampp directroy structure, with
> the owner now being mysql with full rights.
> I do not know at which point this happened but I can't bring up the
> thing any longer. This is what I get:
> 060124 14:15:44 mysqld started
> 060124 14
cture, with
the owner now being mysql with full rights.
I do not know at which point this happened but I can't bring up the
thing any longer. This is what I get:
060124 14:15:44 mysqld started
060124 14:15:44 [ERROR] Can't start server : Bind on unix socket:
Permission denied
060124 14:15:44
Hello.
> I see default unix socket file is /tmp/mysql.sock
> which could be removed by someone accidently.
> Is it normal to keep it that way or keep in a
> protected directory ?
See:
http://dev.mysql.com/doc/mysql/en/problems-with-mysql-sock.html
"V. Agarwal&q
Which cnf file (small,medium,large,huge) has params
that are closer to mysql defaults for starting up
server?
I see default unix socket file is /tmp/mysql.sock
which could be removed by someone accidently.
Is it normal to keep it that way or keep in a
protected directory ?
Thanks
r and find the
mysqld
is running and functional, because I can connect to it via unix socket!!!
Things not changed event restart the mysql service, so I have to reboot the
server :(
Anybody here has the same experience, and how this happened?
Oscar Yen.
On Mon, 22 Dec 2003, Aleksei Wolff wrote:
> I just installed the server and I am getting this
> message in the mysql.log when I execute:
>
> ./bin/safe_mysqld --user=mysql &
Hi Alex,
You might want to check the permissions of your /tmp directory. Is it
"drwxrwxrwt"? :)
Regards,
Tan Shao Yi
--
I just installed the server and I am getting this
message in the mysql.log when I execute:
./bin/safe_mysqld --user=mysql &
Thanks in Advance.
Alex-
__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
--
t;From: Arnoldus Th.J. Koeleman [mailto:[EMAIL PROTECTED]
-->Sent: Tuesday, November 11, 2003 12:29 PM
-->To: [EMAIL PROTECTED]
-->Subject: Unix Socket Daemon
-->
-->I wanna bring up the mysql daemon on a unix domain socket.
-->
-->
-->
-->Any Idea how??
-->
-->
--&
I wanna bring up the mysql daemon on a unix domain socket.
Any Idea how??
I don't wanna use the localhost TCP
Slawomir Orlowski schrieb:
I could connect with new /usr/local/mysql/bin/mysql client (old one was not
working) and select data from moved databases.
problem is that web pages are not working any more,
The old one doesn't find the socket.
I did and it worked, but I do not know what to do in
anually all perl
scripts.
so far my problems my faults:
but now we have bug:
bacause I have problem with mysql.socket which was in old version in
/var/lib/mysql now in /tmp
so
./configure --prefix=/usr/local/mysql \
--with-unix-socket-path=/var/lib/mysql/mysql.so
ts:
but now we have bug:
bacause I have problem with mysql.socket which was in old version in
/var/lib/mysql now in /tmp
so
./configure --prefix=/usr/local/mysql \
--with-unix-socket-path=/var/lib/mysql/mysql.sock
make;make install etc.
should produce mysql with s
I see mysqld has options to only use unix domain
socket and not bind to tcpip port. Is there a way to
do it the other way around? don't use unix socket,
only use tcpip?
Also, can I disable the unix sockets during the build
time, so that mysql will only use tcpip? Is there a
way to tell mys
Illingsworth wrote:
>
> Mysqld.log shows this error:
>
> 021122 11:29:05 mysqld started
> 021122 11:29:06 Can't start server : Bind on unix socket: Permission denied
> 021122 11:29:06 Do you already have another mysqld server running on socket:
>
Mysqld.log shows this error:
021122 11:29:05 mysqld started
021122 11:29:06 Can't start server : Bind on unix socket: Permission denied
021122 11:29:06 Do you already have another mysqld server running on socket:
/var/lib/mysql/mysql
get started... see what I could get accomplished just playing around.
CG> [chris@the_pc /] $ mysql
CG> ERROR 2002: Can't connect to local MySQL server through socket
CG> '/var/lib/mysql/mysql.sock' (111)
CG> [chris@the_pc /] $ mysqld
CG> 020530 17:43:26 Can't
around.
[chris@the_pc /] $ mysql
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)
[chris@the_pc /] $ mysqld
020530 17:43:26 Can't start server : Bind on unix socket: Address
already in use
020530 17:43:26 Do you already have another m
On Tue, 2002-02-05 at 02:42, Joe Villari wrote:
> I'm hoping I can get some help here, I'm trying to get MySQL running
> on YellowDog Linux 2.4.17 kernel. I've installed the mysql,
> mysql-server and mysql-devel-3.23.32-1.7a rpms from my install CD.
> Ran mysql_install_db then changed the group
On Tue, 2002-02-05 at 02:42, Joe Villari wrote:
> I'm hoping I can get some help here, I'm trying to get MySQL running
> on YellowDog Linux 2.4.17 kernel. I've installed the mysql,
> mysql-server and mysql-devel-3.23.32-1.7a rpms from my install CD.
> Ran mysql_install_db then changed the group
.
This is what shows up in my mysqld.log after trying to run mysql_safed
020204 16:19:56 mysqld started
020204 16:19:56 Can't start server: Bind on unix socket: Permission denied
020204 16:19:56 Do you already have another mysqld server running on
socket: /var/lib/mysql/mysql.sock?
020204 16:19
EMAIL PROTECTED]>
Sent: Friday, December 28, 2001 3:51 PM
Subject: RE: Bind on unix socket: Permission denied
> > i run mysql_insyall_db and when i started safe_mysql
>
> If you were able to run mysql_instal_db, then mysqld
> was already running.
>
> > # ./safe_mysqld -
t;
> mysqld.log shows
>
> 011228 12:18:51 mysqld started
> 011228 12:18:51 Can't start server : Bind on unix socket:
> Permission denied
> 011228 12:18:51 Do you already have another mysqld server running on
> socket: /var/lib/mysql/mysql.sock ?
You did.
> 011228 12:18
1228 12:18:51 mysqld started
011228 12:18:51 Can't start server : Bind on unix socket: Permission denied
011228 12:18:51 Do you already have another mysqld server running on
socket: /var/lib/mysql/mysql.sock ?
011228 12:18:51 Aborting
011228 12:18:51 /usr/local/libexec/mysqld: Shutdown
I keep getting this error randomly when trying to connect to the MySQL
server:
Can't create UNIX socket (55)
It happens when trying to connect either through PHP or via the shell (mysql
command). I haven't had this problem before - any thoughts? It only happens
temporarily, and th
But when I
specified --with-unix-socket-path=/usr/local/mysql/run/mysql_socket in
the ./configure , I assumed that this would automatically set the
socket to occur in /usr/local/mysql/run without any further work on my
part.
So does that mean that forevermore when invoking the daemon I need to
use the soc
Erik Price wrote:
> Hello,
>
> Despite hours plumbing the MySQL documentation and Paul DuBois' book
> "MySQL" (New Riders), I can't figure out what exactly creates the Unix
> socket for local connections. For some reason no socket was created
> during my s
Hello,
Despite hours plumbing the MySQL documentation and Paul DuBois' book
"MySQL" (New Riders), I can't figure out what exactly creates the Unix
socket for local connections. For some reason no socket was created
during my setup, and I'm not sure how to go abou
Shutdown Complete
>
>010731 08:52:14 mysqld ended
>
>010731 08:59:06 mysqld started
>010731 8:59:06 /usr/sbin/mysqld: Can't create/write to file
>'/x/mysql/mail.dcaliner.co.uk.pid' (Er
>rcode: 13)
>/usr/sbin/mysqld: ready for connections
>010731
:07:12 mysqld ended
010731 09:16:51 mysqld started
010731 9:16:51 Can't start server : Bind on unix socket: Permission denied
010731 9:16:51 Do you already have another mysqld server running on
socket: /var/lib/mysql/mysql.s
ock ?
010731 9:16:51 Aborting
010731 9:16:51 /usr/sbin/my
--with-mysqld-user=mysql \
--with-unix-socket-path=/opt/mysql/var/mysql &&
make &&
make install &&
scripts/mysql_install_db &&
chown -R mysql.mysql /opt/mysql
Explanation:
--prefix=/opt/m
You will configure the source to be installed to the
/opt/mysql-directory:
Change ID to root and enter:
./configure --prefix=/opt/mysql \
--with-mysqld-user=mysql \
--with-unix-socket-path=/opt/mysql/var/mysql &&
privelidges, etc. The other two servers are run as root with no
security. Every thing has gone down hill. All I get is this
message: 'Can't start server : Bind on unix socket: Permission denied'
whenever I try to start mysql.I've even rebooted the unix a few times,
rebuilt t
39 matches
Mail list logo