Slow access speeds for backup server
Hi all, I run a small network with a primary and secondary debian server which access the net through a debian router. The debian router serves 3 separate intranets and like the servers, is running Sarge stable. Over the past couple of weeks I've noticed that access times to the backup server have been steadily increasing and now it takes about 2 minutes to display a web page. At first I thought it might be a router issue because when I ran tcpdump the summary at the end said: 403 packets captured 6682 packets received by filter 6279 packets dropped by kernel Although I'm not an experienced Linux user, this seemed to be quite a lot of dropped packets however when I ran tcpdump again there were hardly any dropped packets...(?). Access times to the main server seem relatively unaffected so I assume if the problem was due to external causes like denial of service attacks it would affect everything. Could this lag problem be something to do with process load on the backup server? If so is there a way to check what is causing the load? Or if this is a network issue is there a way to determine the cause? This network configuration has been running fine for over a year now without any changes so I'm a bit stumped about what the problem is. Regards, -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Newbie question: Exim - trouble receiving incoming emails
Hi all, I'm relatively new to Debian administration and I've recently encountered a problem with Exim which has me stumped. While I can send email directly from the server to external recipients and also from other computers within the network, I don't seem to be able to receive any email sent to my domain. When I try to email my domain externally I get: The message could not be sent because one of the recipients was rejected by the server. The rejected email-mail address was '[EMAIL PROTECTED]'. Subject 'test', Account: 'blah', Server: 'mail.bigpond.com', Protocol: SMTP, Server Response: '550 Invalid recipient: [EMAIL PROTECTED]', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79 I recently registered a fixed IP and domain name with my ISP to run my own website from home using a server running Sarge stable. I have installed the standard web mail server options from the Debian vanilla installation disk and everything else seems to be running correctly: My domain name resolves via http to '/var/www/' and I can ssh to the machine externally using the domain name but external emails get rejected. Also the logs in '/var/log/exim4/' don not show any external successful or rejected message attempts sent to the server. Does this mean that my email traffic is being diverted by my ISP's mail servers but all other traffic is being let through or have I just got a setting wrong in the exim-config? My 'update-exim4.conf.conf' document has these parameters set: dc_eximconfig_configtype='internet' dc_other_hostnames='blah.com.au dc_local_interfaces='' dc_readhost='' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='10.0.0.0/8' dc_smarthost='blah.com.au' CFILEMODE='644' dc_use_split_config='false' dc_hide_mailname='false' dc_mailname_in_oh='true' Could someone out there please point me in the direction of a solution? Thanks in advance. -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbie question: Exim - trouble receiving incoming emails
- Original Message - From: Steve Kemp [EMAIL PROTECTED] To: debian list debian-user@lists.debian.org Sent: Wednesday, January 10, 2007 11:47 PM Subject: Re: Newbie question: Exim - trouble receiving incoming emails ... no server error, and the fact that you later say you see nothing in your exim4 logs make me wonder if you've setup MX records for your domain to point to the IP address of your server? Steve -- Hi Steve, Thanks for the reply. As I said I'm fairly new to system administration so I'm not sure what an MX record is. I do know that the administration of my domain name is handled by my ISP (bigpond.com) and they are the ones that redirect traffic from my domain to my IP address. This seems to work for SSH and HTTP traffic but not email. I'm guessing that they are redirecting my email to their network and they are rejecting the messages because Bigpond's mail servers would have no record of my local email users. Does this sound possible? -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbie question: Exim - trouble receiving incoming emails
From: Alan Ianson [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Thursday, January 11, 2007 12:26 AM Subject: Re: Newbie question: Exim - trouble receiving incoming emails ... Just a shot in the dark. If exim4 is set to listen to 127.0.0.1 it will only accept connections from localhost, no one outside of localhost will be able to connect. Hi Alan, Thanks for the reply. I actually set the 'listening' addresses option to blank. I believe this means that my server should be listening on all available network addresses shouldn't it? -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbie question: Exim - trouble receiving incoming emails
- Original Message - From: Andrew Sackville-West [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Thursday, January 11, 2007 3:33 AM Subject: Re: Newbie question: Exim - trouble receiving incoming emails okay, so I had to try this to learn and [EMAIL PROTECTED]:~$ dig +short bigpond.com mx 10 extmail.bigpond.com. [EMAIL PROTECTED]:~$ ping www.bigpond.com PING www.bigpond.com (144.135.18.32) 56(84) bytes of data. 64 bytes from 144.135.18.32: icmp_seq=1 ttl=233 time=212 ms cool, but... [EMAIL PROTECTED]:~$ ping extmail.bigpond.com PING extmail.bigpond.com (144.140.80.13) 56(84) bytes of data. 64 bytes from extmail.bigpond.com (144.140.80.13): icmp_seq=1 ttl=234 time=364 ms that's a different IP. looks to me like the MX record is wrong. Am I doing that right? A Hi Andrew, Bigpond.com isn't my site, it's the ISP that I have registered my domain name with (ie encomium.com.au) and it seems to resolve fine via http, ssh and ping. Any email to user@encomium.com.au however gets the 'No server' message. All I'm really trying to figure out is whether my mail server settings are wrong or whether my ISP is redirecting my email traffic to force me to purchase extra mailboxes on their servers. Is it possible for a DNS provider to redirect traffic to a domain on a particular port (ie 25 and 110)? Also if they are redirecting my mail to an account on their servers, say [EMAIL PROTECTED], would it be possible to set this account up as the primary mail repository? That is, if all email traffic for my site was directed into this account, would it be possible to set my server up to download the messages via POP, sort them by username, then forward them to the respective recipients? -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbie question: Exim - trouble receiving incoming emails
- Original Message - From: Alan Ianson [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Thursday, January 11, 2007 4:49 AM Subject: Re: Newbie question: Exim - trouble receiving incoming emails ... It was a common practice in my area that ISP's would block ports like 25 so you couldn't run servers on a home account, or to prevent spam from originating on their IP block. I don't think that is the case now but that is something you may want to check. Telneting into your mail server on port 25 may give you clues as to what is happening when an outside server tries to connect to your host. I get this when I try to telnet to port 25 remotely: ~$ telnet encomium.com.au 25 220 host.encomium.com.au ESMTP Exim 4.50 Thu, 11 Jan 2007 05:14:53 +1100 -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbie question: Exim - trouble receiving incoming emails
- Original Message - From: Andrew Sackville-West [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Thursday, January 11, 2007 5:31 AM Subject: Re: Newbie question: Exim - trouble receiving incoming emails so you can get to the machine, i.e. the port is not blocked. can you manually mail [EMAIL PROTECTED] from that telnet session? check http://www.yuki-onna.co.uk/email/smtp.html for info on this. A Thanks for the link. Yes I successfully sent a remote email to the domain via telnet on port 25. Although when I try connect to the POP port (110), I get a 'connection refused' message. Shouldn't I be able to connect to either port via telnet? -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbie question: Exim - trouble receiving incoming emails
- Original Message - From: Andrei Popescu [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Thursday, January 11, 2007 6:16 AM Subject: Re: Newbie question: Exim - trouble receiving incoming emails On Thu, 11 Jan 2007 06:00:10 +1100 Duncan McDonald [EMAIL PROTECTED] wrote: - Original Message - From: Andrew Sackville-West [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Thursday, January 11, 2007 5:31 AM Subject: Re: Newbie question: Exim - trouble receiving incoming emails so you can get to the machine, i.e. the port is not blocked. can you manually mail [EMAIL PROTECTED] from that telnet session? check http://www.yuki-onna.co.uk/email/smtp.html for info on this. A Thanks for the link. Yes I successfully sent a remote email to the domain via telnet on port 25. Although when I try connect to the POP port (110), I get a 'connection refused' message. Shouldn't I be able to connect to either port via telnet? Why? Do you have a pop server too? No I was just asking. I'm just trying to figure out why I can send email from my server and manually to it via telnet, but all other messages from mail clients get rejected... -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbie question: Exim - trouble receiving incoming emails
- Original Message - From: Andrew Sackville-West [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Thursday, January 11, 2007 8:10 AM Subject: Re: Newbie question: Exim - trouble receiving incoming emails No I was just asking. I'm just trying to figure out why I can send email from my server and manually to it via telnet, but all other messages from mail clients get rejected... did you do this telnet from the server? or from a remote machine? if you did it from the server, it will, of course, connect. again, can you see the email you manually sent? does it show in the exim logs? /var/log/exim4/mainlog Yes I was emailing from remote machines. I tested sending directly from the remote server and from secondary mail clients that used the remote server. Strangely all the messages are coming through now and I have no idea why. I wonder if my ISP updated its DNS info while I've been fiddling with my server, or have I just hit a magic button? :-) Anyway it seems to be working now so thanks to you ( and the others ) for helping me troubleshoot this. Cheers, -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Log File Permissions Issue
Hi All, I recently installed Awstats on my machine (running Sarge) and everything seems to be working except that it seems to have trouble accessing the Apache log files. As my log files belong to root and the group 'adm', when the Awstats generation script is run by 'www-data' it triggers a permission denied error. I've managed to get it running by changing the ownership of the logs to www-data, but of course when a new log file is created it reverts to root ownership. Is there a way to grant access for all log files to www-data or should I run the Awstats script as root? Cheers, -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Nagios Installation - libsensors3 Warning
Hi All, I recently tried to install Nagios on my Sarge stable machine and got the following message: │ libsensors3 not functional │ │ It appears that your kernel is not compiled with sensors support and that you don't have sensors modules installed. As │ a result, libsensors3 will not be functional on your system. │ │ If you want to enable it, you can: │ - Install the i2c-2.4-xx-x-xxx and lm-sensors-2.4-xx-x-xxx packages │corresponding to your kernel if you are using a prebuilt kernel; │ - Patch your kernel using the packages kernel-patch-2.4-i2c and │kernel-patch-2.4-lm-sensors; │ - Build the modules yourself using i2c-source and lm-sensors-source. As I'm interested in the hardware monitoring functions, how would I go about enabling sensor support (I'm using the prebuilt kernel)? Do I get the i2c-2.4-xx-x-xxx and lm-sensors-2.4-xx-x-xxx packages via apt-get? Any clues would be greatly appreciated. Regards, -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: PostgreSQL Missing Function Error
Hi Roberto, Thanks for the reply. No I didn't use the 'createlang' command, isn't that for adding new languages to postgreSQL? The earth distance functions are installed as standard with the main package and both machines got the default installation. Also both machines seem to have the earthdistance library 'earthdistance.so' located in '/usr/lib/postgresql/lib/' however one works and one doesn't. I'm stumped... Regards, -Duncan Email: [EMAIL PROTECTED] Mobile: 0407 485538 - Original Message - From: Roberto C. Sanchez [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Friday, October 13, 2006 6:02 PM Subject: Re: PostgreSQL Missing Function Error Did you enable the target language using createlang(1) on the new server? Regards, -Roberto -- Roberto C. Sanchez http://people.connexer.com/~roberto http://www.connexer.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
PostgreSQL Missing Function Error
Hi All. I was wondering whether someone could help me explain a weird PostgreSQL error I've encountered. I have two machines running Sarge stable, the first has been operating as a database server for some time and the other I have just set up identically to run as a backup database. Both machines used the default database setup option during installation. Some of my scripts rely on the earth distance functions contained in the 'postgresql-contrib' package, but for some reason the backup PostgreSQL database does not recognise these functions. Eg. my latitude/longitude to distance converter, which runs fine on the main machine, generates this error message: ERROR: function ll_to_earth(numeric, numeric) does not exist HINT: No function matches the given name and argument types. You may need to add explicit type casts. I've tried reinstalling the package in question but it had no effect. Does anyone have a theory why it would run on one and not the other? -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Configuring mdadm - Initialise superblock warning
- Original Message - From: Clive Menzies [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Wednesday, September 13, 2006 8:05 PM Subject: Re: Configuring mdadm - Initialise superblock warning ... I'm no RAID expert but it sounds as though the upgrade hasn't recognised the existing RAID setup and is trying to create a new one, which could lose your data. If you look at man mdadm you should be able to reassemble the existing array. I found these sites useful in setting up RAID: # http://rootraiddoc.alioth.debian.org/ # http://juerd.nl/site.plp/debianraid # http://xtronics.com/reference/SATA-RAID-Debian.htm Regards Clive -- www.clivemenzies.co.uk ... ...strategies for business Hi Clive, Thanks for the links, I'll check them out. I rebooted the machine after the dist-upgrade and it seems to be running fine. Maybe it was just whinging... (?) -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Configuring mdadm - Initialise superblock warning
Hello, I'm a relative newbie to Debian and recently after I ran 'apt-get dist-upgrade' I got the following warning: ? Initialise the superblock if you reuse hard disks ? ? WARNING! If you are using hard disks which have a md superblock from an ? earlier installation in a different RAID array, you MUST zero the ? superblock before activating the autostart feature. ? ? For doing this, do not start the RAID devices automatically and zero the ? superblock (mdadm --zero-superblock /dev/xxx). You can then further use ? 'dpkg-reconfigure mdadm' to activate the autostart feature. I'm running Sarge stable on a RAID1 array using two brand new hard disks, so am I right in assuming that I don't need to initialize the superblock? I've tried Google but I couldn't find anything useful. Can anyone give me some pointers? Cheers, -Duncan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]