Date: Thu, 05 Feb 2004 16:51:05 -0500 From: "Simon" <simon@optinet.com> To: "bplimpton@sopris.net" <bplimpton@sopris.net>, "freebsd-isp@freebsd.org" <freebsd-isp@freebsd.org> Subject: Re: Releasing ports bound to a specific IP Message-ID: <20040205215144.71F3C43D6A@mx1.FreeBSD.org> In-Reply-To: <1076015129.4022b019edef1@webmail.sopris.net>
next in thread | previous in thread | raw e-mail | index | archive | help
120.0.0.1 is a loopback interface, do you have it enabled (ifconfig -a)? I can bind mysql on it just fine on FBSD 4.9: dev:~# netstat -na Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 127.0.0.1.3306 *.* LISTEN -Simon On Thu, 05 Feb 2004 14:05:29 -0700 (MST), bplimpton@sopris.net wrote: >Hello all > >Im installing snort and using acid as a front end. The database is mysql. >Everything is installed from ports. > >Mysql started normally until I added the -bind-address=127.0.0.1 directive >to my mysql-server.sh script in /usr/local/etc/rc.d/. > >Now the error I receive in the hostname.err log states: > >Can't start server: Bind on TCP/IP port: Can't assign requested address >Do you already have another mysqld server running on port: 3306 ? >Aborting > >ps ax dosent show a mysqld running >netstat an shows nothing listening on port 3306 > >Ive tried changing the port number that mysqld uses to 3308 and 3310, but I >still get the same error about a bind on the port. > >I think it has more to do with the address 127.0.0.1 than the port number. > >Is there as way to reset or release all the bindings on a specific address? >My FreeBSD is 4.8 >Snort-2.1.0 >MySql version 14.3 Distrib 5.0 for ports >Acid-0.9.6b23 > >Ive checked google and mysql faqs, plus anything else I can think of. > >If anyone has any ideas I would greatly appreciate it. > >Thanks in advance > >Ben >bplimpton@sopris.net > >_______________________________________________ >freebsd-isp@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-isp >To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040205215144.71F3C43D6A>