Hi All, I upgraded my server to Ubuntu 9.10. Everything is OK except that external calls to the DNS resulted in: Code: Dec 13 01:59:10 inferno mydns[5119]: *** stack smashing detected ***: /usr/local/sbin/mydns terminated Dec 13 01:59:10 inferno mydns[5040]: pid 5119 exited due to signal 6 Dec 13 01:59:10 inferno mydns[5040]: Server pid 5119 died So, I re-downloaded and did the configure, make, make install and rebooted. Now I no longer get that error, but externals are still not resolving! I updated my info at register.com to get things up and running, but can't figure out why this isn't working. If I run dig against localhost things are fine: Code: root@inferno:~/mydns-1.2.8# dig @localhost www.cocoanet.us ; <<>> DiG 9.6.1-P2 <<>> @localhost www.cocoanet.us ; (2 servers found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 66 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.cocoanet.us. IN A ;; ANSWER SECTION: www.cocoanet.us. 86400 IN A 74.1.46.163 ;; Query time: 10 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Sun Dec 13 02:28:42 2009 ;; MSG SIZE rcvd: 49 mydnsexport is fine, too! Not sure what's going on with this problem. Any ideas on what to check???
Any ideas on the "Stack Smashing" Can't find much about it pertaining to mydns. netstat -tap: Code: root@inferno:~# netstat -tap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 inferno.cocoanet.u:7634 *:* LISTEN 3944/hddtemp tcp 0 0 *:ftp *:* LISTEN 4279/pure-ftpd (SER tcp 0 0 h-74-1-46-174.sf:domain *:* LISTEN 3998/mydns tcp 0 0 h-74-1-46-169.sf:domain *:* LISTEN 3998/mydns tcp 0 0 h-74-1-46-168.sf:domain *:* LISTEN 3998/mydns tcp 0 0 h-74-1-46-167.sf:domain *:* LISTEN 3998/mydns tcp 0 0 h-74-1-46-166.sf:domain *:* LISTEN 3998/mydns tcp 0 0 h-74-1-46-165.sf:domain *:* LISTEN 3998/mydns tcp 0 0 h-74-1-46-164.sf:domain *:* LISTEN 3998/mydns tcp 0 0 www.cocoanet.us:domain *:* LISTEN 3998/mydns tcp 0 0 inferno.cocoanet:domain *:* LISTEN 3998/mydns tcp 0 0 inferno.cocoanet:domain *:* LISTEN 3998/mydns tcp 0 0 *:ssh *:* LISTEN 7984/sshd tcp 0 0 *:ipp *:* LISTEN 4469/cupsd tcp 0 0 *:smtp *:* LISTEN 4201/master tcp 0 0 inferno.cocoanet.u:5433 *:* LISTEN 3040/postgres tcp 0 0 inferno.cocoanet.u:6010 *:* LISTEN 32246/0 tcp 0 0 inferno.cocoanet.:10024 *:* LISTEN 2728/amavisd (maste tcp 0 0 inferno.cocoanet.:10025 *:* LISTEN 4201/master tcp 0 0 *:mysql *:* LISTEN 2907/mysqld tcp 0 0 inferno.cocoanet.:spamd *:* LISTEN 3164/spamd.pid tcp 0 0 *:5552 *:* LISTEN 1724/tprintdaemon tcp 0 0 inferno.cocoanet.:43995 inferno.cocoanet:domain TIME_WAIT - tcp 0 0 inferno.cocoanet.:mysql inferno.cocoanet.:50500 ESTABLISHED 2907/mysqld tcp 0 52 inferno.cocoanet.us:ssh fwcout.eaton.com:39647 ESTABLISHED 32181/sshd: dante [ tcp 0 0 inferno.cocoanet.:50500 inferno.cocoanet.:mysql ESTABLISHED 31979/amavisd (ch2- tcp 0 0 inferno.cocoanet.:42760 inferno.cocoanet.:mysql ESTABLISHED 29851/amavisd (ch16 tcp 0 0 inferno.cocoanet.:52680 inferno.cocoanet.us:ftp TIME_WAIT - tcp 0 0 inferno.cocoanet.:60776 inferno.cocoanet.us:www TIME_WAIT - tcp 0 0 inferno.cocoanet.:mysql inferno.cocoanet.:42760 ESTABLISHED 2907/mysqld tcp6 0 0 [::]:ftp [::]:* LISTEN 4279/pure-ftpd (SER tcp6 0 0 localhost:domain [::]:* LISTEN 3998/mydns tcp6 0 0 [::]:ssh [::]:* LISTEN 7984/sshd tcp6 0 0 [::]:ipp [::]:* LISTEN 4469/cupsd tcp6 0 0 localhost:5433 [::]:* LISTEN 3040/postgres tcp6 0 0 localhost:6010 [::]:* LISTEN 32246/0 tcp6 0 0 [::]:8443 [::]:* LISTEN 4587/apache2 tcp6 0 0 [::]:https [::]:* LISTEN 4587/apache2 tcp6 0 0 [::]:microsoft-ds [::]:* LISTEN 4341/smbd tcp6 0 0 [::]:imaps [::]:* LISTEN 3594/couriertcpd tcp6 0 0 [::]:pop3s [::]:* LISTEN 3651/couriertcpd tcp6 0 0 [::]:netbios-ssn [::]:* LISTEN 4341/smbd tcp6 0 0 [::]:pop3 [::]:* LISTEN 3620/couriertcpd tcp6 0 0 [::]:imap2 [::]:* LISTEN 3555/couriertcpd tcp6 0 0 [::]:www [::]:* LISTEN 4587/apache2 tcp6 0 0 h-74-1-46-:microsoft-ds adsl-233-9-172.mi:62677 ESTABLISHED 8067/smbd tcp6 0 0 inferno.cocoanet.:imap2 inferno.cocoanet.:37197 TIME_WAIT - tcp6 0 0 localhost:36717 localhost:8443 TIME_WAIT - tcp6 0 0 h-74-1-46-:microsoft-ds adsl-233-9-172.mi:62666 ESTABLISHED 8065/smbd tcp6 0 0 www.cocoanet.us:www whqcf2.etn.com:65503 TIME_WAIT - tcp6 0 0 h-74-1-46-:microsoft-ds tn-74-4-37-159.dhc:2840 ESTABLISHED 31960/smbd tcp6 0 0 h-74-1-46-:microsoft-ds tn-74-4-37-159.dhc:2826 ESTABLISHED 31957/smbd tcp6 0 0 www.cocoanet.us:www 216.104.15.130%19:25467 TIME_WAIT - tcp6 0 0 www.cocoanet.us:www whqcf2.etn.com:29185 TIME_WAIT - tcp6 0 0 inferno.cocoanet.us:www whqcf2.etn.com:30236 FIN_WAIT2 - tcp6 0 0 h-74-1-46-166.sfldm:www s15255494.rootmas:49866 TIME_WAIT - tcp6 0 0 www.cocoanet.us:www whqcf2.etn.com:6413 TIME_WAIT - tcp6 0 0 h-74-1-46-:microsoft-ds tn-74-4-37-159.dhc:2832 ESTABLISHED 31959/smbd tcp6 0 0 www.cocoanet.us:www whqcf2.etn.com:19890 FIN_WAIT2 - tcp6 0 0 www.cocoanet.us:www whqcf2.etn.com:41301 TIME_WAIT - tcp6 0 0 h-74-1-46-:microsoft-ds tn-74-4-37-159.dhc:2820 ESTABLISHED 31955/smbd tcp6 0 0 h-74-1-46-:microsoft-ds tn-74-4-37-159.dhc:2829 ESTABLISHED 31958/smbd tcp6 0 0 inferno.cocoanet.:imap2 inferno.cocoanet.:37196 TIME_WAIT - tcp6 0 0 inferno.cocoanet.us:www whqcf2.etn.com:51562 FIN_WAIT2 - tcp6 0 0 inferno.co:microsoft-ds adsl-233-9-172.mi:62648 ESTABLISHED 8059/smbd tcp6 0 0 www.cocoan:microsoft-ds adsl-233-9-172.mi:62651 ESTABLISHED 8060/smbd tcp6 0 0 h-74-1-46-:microsoft-ds adsl-233-9-172.mi:62657 ESTABLISHED 8062/smbd tcp6 0 0 inferno.cocoanet.:imap2 inferno.cocoanet.:37195 TIME_WAIT - tcp6 0 0 h-74-1-46-:microsoft-ds adsl-233-9-172.mi:62663 ESTABLISHED 8064/smbd tcp6 0 0 www.cocoan:microsoft-ds tn-74-4-37-159.dhc:2814 ESTABLISHED 31953/smbd tcp6 0 0 h-74-1-46-:microsoft-ds tn-74-4-37-159.dhc:2817 ESTABLISHED 31954/smbd tcp6 0 0 www.cocoanet.us:www whqcf2.etn.com:58854 TIME_WAIT - tcp6 0 0 h-74-1-46-:microsoft-ds adsl-233-9-172.mi:62660 ESTABLISHED 8063/smbd tcp6 0 0 h-74-1-46-:microsoft-ds adsl-233-9-172.mi:62669 ESTABLISHED 8066/smbd tcp6 0 0 www.cocoanet.us:www whqcf2.etn.com:36637 FIN_WAIT2 - tcp6 0 0 www.cocoanet.us:www whqcf2.etn.com:8668 TIME_WAIT - tcp6 0 0 inferno.cocoanet.:imap2 inferno.cocoanet.:37198 TIME_WAIT - tcp6 0 0 h-74-1-46-:microsoft-ds tn-74-4-37-159.dhc:2823 ESTABLISHED 31956/smbd tcp6 0 0 www.cocoanet.us:www whqcf2.etn.com:30762 TIME_WAIT - tcp6 0 0 h-74-1-46-:microsoft-ds adsl-233-9-172.mi:62654 ESTABLISHED 8061/smbd tcp6 0 0 inferno.co:microsoft-ds tn-74-4-37-159.d:gsiftp ESTABLISHED 31952/smbd iptables -L Code: root@inferno:~# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain fail2ban-ssh (1 references) target prot opt source destination RETURN all -- anywhere anywhere
Till & Everyone, I'm totally baffled on this and its now working. Here's what I've done: Disabled ipv6 in kernel entry in grub menu.lst Fixed the entries for A, MX and NS records so they end with a '.' dot, again. I had done this when I fixed some issue under 9.04; so why did they disappear?? Changed the NS pointer at register.com to a different IP plumbed up on the same NIC. Disabling IPv6 seems to have solved the problem with mydns crashing. I have no idea what happened to the DNS entries and why they are different than what I had before. However, I also lost 2 email addresses, but I recreated those and the old e-mails were there. I wonder if MySQL Rolled Back to some state as I also had to fix up paths in some of the DB tables that had the ISPConfig2 style paths!!!!! And I know those were OK because Wordpress on 4 instances was working fine, and jinzora2 was working fine!!! As for changing to use a different IP address, again I'm very confused because this worked fine before the upgrade to 9.10!!! Another symptom is that there is NO traffic on eth1 except for cups and arp even though the NS IP is plumbed on eth1!!! And so are some websites, too!!! So, why is traffic only on nic0 and not on nic2???? Both are on same VLAN, did VLAN filtering change with 9.10???
I figured out the MySQL issue. During upgrade the /etc/mysql/my.cnf file got overwritten. I had set the data-directory to a 'custom' location on a LVM managed volume, but when it my.cnf got overwritten it pointed to the OLD data files in the default location. I'm surprised there weren't more issues Still trying to figure out the network issue. Will open a new thread on that.