Re: [CentOS] Killing a Service
On Mon, Oct 15, 2012 at 8:53 AM, John Reddy wrote: > > Hi; > I get this: > ]# /etc/init.d/dovecot start > Starting Dovecot Imap: Fatal: listen(143) failed: Address already in use > and this: > ]# netstat -ltn > Active Internet connections (only servers) > Proto Recv-Q Send-Q Local Address Foreign Address > State > tcp0 0 0.0.0.0:33060.0.0.0:* > LISTEN > tcp0 0 209.216.9.56:5870.0.0.0:* > LISTEN > tcp0 0 127.0.0.1:587 0.0.0.0:* > LISTEN > tcp0 0 0.0.0.0:143 0.0.0.0:* > LISTEN > tcp0 0 127.0.0.1:530.0.0.0:* > LISTEN > tcp0 0 0.0.0.0:21 0.0.0.0:* > LISTEN > tcp0 0 0.0.0.0:23 0.0.0.0:* > LISTEN > tcp0 0 209.216.9.56:25 0.0.0.0:* > LISTEN > tcp0 0 127.0.0.1:250.0.0.0:* > LISTEN > tcp0 0 127.0.0.1:953 0.0.0.0:* > LISTEN > tcp0 0 :::80 :::* > LISTEN > tcp0 0 ::1:53 :::* > LISTEN > tcp0 0 :::22 :::* > LISTEN > tcp0 0 ::1:953 :::* > LISTEN > and this: > # /usr/sbin/lsof -i|grep 143 > returns *nothing*. How do I figure out which program is using tcp to > listen on port 143? > TIA, > John > Try "lsof -i tcp:143" or "netstat -antp | grep 143" Cliff ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] logwatch not mailing
On Thu, Aug 20, 2009 at 3:55 PM, Ray Leventhal wrote: > I noticed a few days ago that I'm not getting my logwatch emails to the > root account any longer, and while I've definitely been applying updates > from base, no other changes have happened on this box. I'd check the /var/spool/cron log to see if it's actually running properly. After that I'd check the maillogs to see if there was a delivery problem. > > I ran logwatch at the command line: > > logwatch --detail medium --mailto r...@fqdn.example.com Try that again, but tail -f /var/log/maillog in another window (if there's not alot of mail traffic on that host) to see if it's generating any mail logs > > but still no email. > > As expected, /etc/cron.daily has the following entry: > lrwxrwxrwx 1 root root 39 Jul 30 2008 0logwatch -> > /usr/share/logwatch/scripts/logwatch.pl > What are the permissions on /usr/share/logwatch/scripts/logwatch.pl? Check to see if any updates were applied to logwatch recently (yum info or rpm -qi logwatch) and check your logwatch config files to see if anything changed there. Hope this helps, Cliff ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] squid timeout error
On Mon, Feb 2, 2009 at 4:45 AM, John Doe wrote: > > While trying to retrieve the URL: http://www.wisegeek.com/ > > * Connection to 174.132.22.20 Failed > > First, maybe you should post to the squid mailing list... > Did you check your timeout values? > > JD > > > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Re: OT: YUM, RPM and PGP keys
>on 5-12-2008 5:54 AM Jason Pyeron spake the following: >>> -Original Message- >>> Behalf Of Ralph Angenendt >>> >>> Jason Pyeron wrote: I was just about to ask the same, but for packages I just rolled. Is there a cmd line swith or env var? >>> Why not sign packages you roll? It really isn't that hard. RPM does have >> >> It's a throw away project on a throwaway vm instance. >> >>> issues with large keys, though - Key on the top1000 list aren't usable >>> :) - I think 64kb is the maximum size. >>> >>> And: Setting gpgcheck to 0 in yum.conf should disable global gpg >>> checking, you can turn it on for each repository in the .repo files >>> under /etc/yum.repos.d/. So the choice of how you shoot yourself in the >>> foot with unsigned packages is up to you >:) >> >> But there are no (temporary) options from the command line? >> >I haven't found any. Something like --nosign or --ignore-nokey would be great. I generally copy /etc/yum.conf to /etc/yum.localinstall.conf and change the gpgcheck flag to 0, then use "yum -c /etc/yum.localinstall.conf localinstall package" to install any unsigned packages. I've only used it with packages from a know good source (mostly locally built). Cliff ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos