Releasing ports bound to a specific IP
Simon
simon at optinet.com
Thu Feb 5 13:52:03 PST 2004
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 at 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 at sopris.net
>
>_______________________________________________
>freebsd-isp at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-isp
>To unsubscribe, send any mail to "freebsd-isp-unsubscribe at freebsd.org"
>
More information about the freebsd-isp
mailing list