DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th August 2008
mururoa mururoa is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 46
Thanked 0 Times in 0 Posts
Default cupsd and sshd slow

Hi there,
Since I did a portupgrade I notice the cups daemon and the ssh daemon are very slow to start.
When I say slow I mean it's about minutes. Like 1-2 minutes for cups and 2-3 minutes for sshd.
I can't see any errors then and both daemons work fine.
The system was not reacting like this before the portupgrade (full one).
Any idea ?
Reply With Quote
  #2   (View Single Post)  
Old 27th August 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Sounds like a DNS lookup issue.

Make sure you have an entry in your /etc/hosts file that corresponds to your station's hostname and IP address.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #3   (View Single Post)  
Old 27th August 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

I often set UseDNS to "no" in sshd_config, I can't help you with cupsd though..

Last edited by BSDfan666; 27th August 2008 at 08:13 PM.
Reply With Quote
  #4   (View Single Post)  
Old 27th August 2008
mururoa mururoa is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 46
Thanked 0 Times in 0 Posts
Default

Okay I'll look in this direction.
The PC is using DHCP so that should not be related to /etc/hosts but I'll search later how to disable ipv6 because I should have selected a couple of time no-ipv6 in the options of some ports so it may well be IP related. I know how to do this with linux and not BSD but I guess it's somewhere in the FM so I'll read the FM and should find that pretty soon.
Done now.
But shit, ipv6_enable="NO" in the default rc.conf and not modified in the rc.conf
Hum firefox too seems slow to find sites so it HAVE to be IP related yes.

Last edited by mururoa; 27th August 2008 at 08:56 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sshd logging - can we get the ssh command? Mantazz FreeBSD Security 17 23rd May 2009 08:34 AM
Basic sshd hardening anomie Guides 12 12th September 2008 03:39 AM
sshd doesn't time out arch FreeBSD Security 4 6th September 2008 12:23 PM
sshd and timeout Sunsawe FreeBSD Security 6 29th May 2008 12:54 PM
Sudden SSHd restarts stukov General software and network 4 5th May 2008 06:39 PM


All times are GMT. The time now is 12:25 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick