Re: [expert] 8.2 - 9.0, msec ran and now cups unable to bindsocket

2003-03-06 Thread Pierre Fortin
On Thu, 6 Mar 2003 07:35:19 + David Whiting [EMAIL PROTECTED]
wrote:

 [06/Mar/2003:07:17:05 +] StartListening: Unable to bind socket -
 Cannot assign requested address.
 
 So, something is stopping it from getting the address it wants.  I also
 noticed that named wasn't happy either:

see if anything else has port 631 with: lsof -i :631

 [EMAIL PROTECTED] cups]# service named status
 rndc: connection to remote host closed
 This may indicate that the remote server is using an older version of 
 the command protocol, this host is not authorized to connect,
 or the key is invalid.

Check that your /etc/named.conf and /etc/rndc.conf have the same secret
(key).  If that's ok, you'll need to dig into your network setup...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] 8.2 - 9.0, msec ran and now cups unable to bindsocket

2003-03-06 Thread James Sparenberg
On Thu, 2003-03-06 at 10:03, David Whiting wrote:
 On Thu, Mar 06, 2003 at 08:51:52AM -0500, Pierre Fortin wrote:
  On Thu, 6 Mar 2003 07:35:19 + David Whiting [EMAIL PROTECTED]
  wrote:
  
   [06/Mar/2003:07:17:05 +] StartListening: Unable to bind socket -
   Cannot assign requested address.
   
   So, something is stopping it from getting the address it wants.  I also
   noticed that named wasn't happy either:
  
  see if anything else has port 631 with: lsof -i :631
 
 No, nothing on 631.  This was a new one for me, so I tried it with port
 80 to see what the output should look like and got what appears to be
 sensible so it was working okay, there's nothing to report for port 631.
 
  
   [EMAIL PROTECTED] cups]# service named status
   rndc: connection to remote host closed
   This may indicate that the remote server is using an older version of 
   the command protocol, this host is not authorized to connect,
   or the key is invalid.
  
  Check that your /etc/named.conf and /etc/rndc.conf have the same secret
  (key).  If that's ok, you'll need to dig into your network setup...
 
 Aha! They are very obviously very different.  I'll try to RTFM about how
 to fix this... but might need some help. Watch this space.  
 


Been watching that space for a couple of hours now... nothing's happened
can I go on to another e-mail?  *grin*

James



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] 8.2 - 9.0, msec ran and now cups unable to bindsocket

2003-03-05 Thread Pierre Fortin
On Wed, 5 Mar 2003 13:48:36 + David Whiting [EMAIL PROTECTED]
wrote:

 On Tue, Mar 04, 2003 at 11:30:40PM -0800, Alan wrote:
  On Wed, 2003-03-05 at 01:12, David Whiting wrote:
   Hi,
   
   I've just upgraded from 8.2 to 9.0 (just as everyone else is getting
   exited about 9.1 :-) and have a printing problem.  msec_find ran
   this morning and now cups is unable to bind to socket 631.  I am not
   sure if this is a coincidence but I remember seeing previous posts
   about woes with msec. I have tried to google the error message but
   have not found anything that worked.  I have tried assigning a
   higher port in/etc/cups/cups.conf but that did not work.  I tried:
   
   Port 1631
   Listen localhost:1631
   
   I am running at standard level security.  As I said, I recall seeing
   similar posts in the past but can't quite find the solution.
   
   Any ideas?
  
  This may sound unrelated, but bear with me...
  
  Are there any kernel panic messages in /var/log/messages?
 
 None. And the only messages I see directly related to cups tell me
 child exited with status 99!. 
 
 I have also looked at the various files in /var/log/security but can see
 nothing obvious and /var/log/secure is empty.  
 
 
  
  Do you have an ide-zip drive?
  
 No, just a laptop, with a usb mouse.  I have not made any changes to my
 hardware either.  Strange, cups was working fine under 9.0 for a few
 days, this is not something that happened immediately after the upgrade.
 
 
 I have  retried starting apache but that didn't help. 
 
 I get this message in /var/log/messages though.  Any chance it is
 related?
 
 [alert] httpd: Could not determine the server's fully qualified domain
 name, using 127.0.0.1 for ServerName
 
 If not, I'll worry about this one another day.
 
 I am not so sure that msec is the culprit anymore.  
 
 Does anyone have any other suggesetions about where to look to track
 this down?
 
 Thanks.
 
 Dave

Welcome to the hell of 9.0 on a laptop...  just for starters, I've removed
shorewall and msec from mine.  Reliability is so bad (I don't have the HD
space to install more than one distro, and won't install 9.0 on any other
system I own or support) that I'm lucky to go a week without rebooting... 
see my weird time/mouse bug post last night for the latest (apmd changes
the time  the time change kills mouse's drag functions -- resetting the
time fixes the mouse -- go figre!!)  :^P

That said, have you used suspend/resume?  That's the worst offender for
me...  so bad that I just shutdown/reboot instead...  with suspend/resume,
I lose sound, printer, and looking at a hard lockup within an hour or
so...  hmm  maybe due to the time change or anything UNrelated... 

Also, are you sure the printer is not working at all...  I had one problem
that cleared up as mysteriously as it appeared...  printing would take
several minutes to start -- cups was trying to access my LinkSys gateway,
probably thinking it should act as a print server or somesuch...  Then,
there were the cases where the only way to get the printer working again
was to remove and re-create it...

9.0 on a laptop == lots of luck and patience needed IMO.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] 8.2 - 9.0, msec ran and now cups unable to bindsocket

2003-03-05 Thread Adolfo Bello
On Wed, 2003-03-05 at 09:48, David Whiting wrote:

 I get this message in /var/log/messages though.  Any chance it is
 related?
 
 [alert] httpd: Could not determine the server's fully qualified domain
 name, using 127.0.0.1 for ServerName
 
 If not, I'll worry about this one another day.

It shows a DNS problem that might be related to your printing problem. 

It is not resolving the server name and it defaulting it to IP
127.0.0.1. Is the printer a local or network printer? Is it attached to
the server whose name can not be resolved?
-- 
__   
   / \\   @   __ __@   Adolfo Bello [EMAIL PROTECTED]
  /  //  // /\   / \\   // \  //   Bello Ingenieria S.A, ICQ: 65910258
 /  \\  // / \\ /  //  //  / //cel: +58 416 609-6213
/___// // / _/ \__\\ //__/ // fax: +58 212 952-6797
www.bisapi.com   //pager: www.tun-tun.com (# 609-6213)


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] 8.2 - 9.0, msec ran and now cups unable to bindsocket

2003-03-05 Thread Adolfo Bello
On Wed, 2003-03-05 at 09:27, Anne Wilson wrote:
 On Wednesday 05 Mar 2003 3:08 pm, David Whiting wrote:
  On Wed, Mar 05, 2003 at 11:13:19AM +, Anne Wilson wrote:
   On Wednesday 05 Mar 2003 1:48 pm, David Whiting wrote:
I get this message in /var/log/messages though.  Any chance it is
related?
   
[alert] httpd: Could not determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName
  
   I don't know whether it's related or not, but have you checked that  you
   haven't a corruption in /etc/sysconfig/network ?
 
  It looks okay to me (i.e. no garbage characters, but it could be
  misconfigured without me having a clue)
 
  NETWORKING=yes
  FORWARD_IPV4=false
  DHCP_HOSTNAME=ganymede
  HOSTNAME=ganymede
  DOMAINNAME=ammp.net
  GATEWAY=192.168.57.1
 
 
  I'm pretty sure that this has not changed for a long time though so I
  do not think it should be related to my cups problem.
 
 Hmm - I don't have the dhcp line, so I can't comment on that, but I have the 
 FQDN, so I would have expected HOSTNAME=ganymede.ammp.net?
 
 It's worth a try, anyway.
 
 Anne
I also will try DHCP_HOSTNAME=ganymedy.ammp.net
-- 
__   
   / \\   @   __ __@   Adolfo Bello [EMAIL PROTECTED]
  /  //  // /\   / \\   // \  //   Bello Ingenieria S.A, ICQ: 65910258
 /  \\  // / \\ /  //  //  / //cel: +58 416 609-6213
/___// // / _/ \__\\ //__/ // fax: +58 212 952-6797
www.bisapi.com   //pager: www.tun-tun.com (# 609-6213)


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com