Thanks for replying Richard, The link you gave me basically told me it could connect to every port that Nmap could except 3306 which is where MySQL is listening. That might explain why Scoop isn't working but I still don't get it because apache should be connecting to MySQL locally via sockets not externally via TCP which is why the link you gave me failed and running nmap locally worked. Like I mentioned below I double checked that both my mysql.sock file and the dir it lives in both have 777 permissions. My problem is that my Win2K client is still not able to use my MDK server as a gateway to the internet. After I used the 'Tiny Firewall' application it did something that prevents my server from acting like a gateway and prevents access to the 3306 port MySQL is listening on. I was hoping one of the experts in this forum would be able to tell me exactly what the 'Tiny Firewall' GUI does so that I could back out all of the changes it's made and use my network again...
-Ben > Hi Ben , dont get caught by using nmap from the same machine, I did !!! > got similar results, had a port scan done externally and it was OK. try > http://mycgiserver.com/~kalish/ > > > HTH > > Ben Nicolas wrote: >> >> I apologize if this message has reached this list multiple times, I'm >> using a web-based e-mail program I'm not familiar with because of the >> problem discussed below >> >> Network Setup >> Server/Internet Gateway/Router: Linux-Mandrake 8.0 >> Client: Windows 2000 >> >> What I did: >> My network was running fine until I ran the "Tiny Firewall" gui app >> (part of the Mandrake Control Center under Security) >> >> Problem: >> Now client can't connect to the internet. >> I was running "Scoop" which is an apache/mod-perl based web app that >> interacts heavily with MySQL via the Perl DBI module. DBI can no >> longer connect to the MySQLdatabase. >> When I look at the error logs I see: >> failed: Can't connect to local MySQL server through socket >> '/var/lib/mysql/mysql.sock' >> And yes I have double checked to make sure the the socket mysql.sock >> is there and that both the dir /var/lib/mysql and the mysql.sock file >> are executable. >> >> Interesting info: >> The Server can still connect to the internet. >> I can still ping back and forth between both machines. I can even >> ping the server by host name because I'm running my own DNS. >> I've tried iptables (-F, -X, and -Z) as well as run scripts I've found >> that supposedly reset iptables to their default values. >> I have also deleted all the rc.firewall* files in the /etc/rc.d dir >> created by the stupid GUI >> I can access mysql from the command line no prob using the username >> and password that apache connects as. >> I've scoured the internet to the best of my ability and have not been >> able to find any info to help me solve this utterly deabilitating >> problem. >> >> what nmap -v my_ip said were open pre-debacle: >> 21/tcp open ftp >> 22/tcp open ssh >> 23/tcp open telnet >> 25/tcp open smtp >> 53/tcp open domain >> 80/tcp open http >> 110/tcp open pop-3 >> 111/tcp open sunrpc >> 139/tcp open netbios-ssn >> 631/tcp open unknown >> 901/tcp open samba-swat >> 3128/tcp open squid-http >> 3306/tcp open mysql >> 6000/tcp open X11 >> 32770/tcp open sometimes-rpc3 >> >> what nmap -v my_ip says is open post-debacle: >> (this is basically what I want) >> 21/tcp open ftp >> 22/tcp open ssh >> 25/tcp open smtp >> 53/tcp open domain >> 80/tcp open http >> 139/tcp open netbios-ssn >> 3128/tcp open squid-http >> 3306/tcp open mysql >> 6000/tcp open X11 >> >> ------------------------------------------------------------------------ >> Name: >> Type: unspecified type (application/octet-stream) >> Encoding: base64 >> >> ------------------------------------------------------------------------ >> Want to buy your Pack or Services from MandrakeSoft? >> Go to http://www.mandrakestore.com > > -- > Richard Bown > Ericsson Microwave Systems AB > SE-431 84 M�lndal > e-mail [EMAIL PROTECTED] > tel +46 31 74 72422 > mobile +46 7098 72422
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
