Home › Forums › OS X Server and Client Discussion › Questions and Answers › Tiger server — CUPS error message….
- This topic has 9 replies, 6 voices, and was last updated 19 years, 10 months ago by
Anonymous.
-
AuthorPosts
-
May 1, 2005 at 5:00 am #361474
dosser
ParticipantSince migrating to Tiger server, I keep seeing this error message:
emptyReceivePort: mach_msg send returns: (ipc/send) invalid destination port
So what’s odd is that the print server works fine, but it’s generating this error once a minute. Any ideas?
May 1, 2005 at 9:16 pm #361486Spectrum
ParticipantI got that as well after an attempted inplace upgrade. The funny thing is that the Print Server wasn’t active before the upgrade nor after it, yet I got the cups generated errors exactly as you did.
May 8, 2005 at 11:55 pm #361571nkladakis
ParticipantI get a similar message[QUOTE]May 9 02:43:48 lola servermgrd: cupsd mach_msg error (ipc/rcv) timed out[/QUOTE]
May 9, 2005 at 9:13 pm #361586Anonymous
GuestI get the same message in my log files and have been unable to share my MAC-connected printer with my WIndows network all since upgrading to Tiger.
May 27, 2005 at 3:50 pm #361814KevinS
ParticipantI’m seeing this too, even 10.4.1 hasn’t stopped it. Like Spectrum I had no print services active before or after the upgrade from 10.3.9.
Is anyone seeing this in clean installs of Tiger? Right now I’m trying to determine if I should wait for 10.4.2 to see if this is fixed or go to the trouble of exporting all my users from Open Directory and just do a clean install (which would be a real pain…)
June 1, 2005 at 2:35 pm #361842sapolion
ParticipantI have been getting this message on my production server, since upgrading. On my test server ( i.e. a very old iMac) I had problems with email configuration due to previous attempts to use ssll – so I did a clean install and I don’t have the problem – any ideas where to look for the differnce?) The odd thing is I have no printers installed on the Xserver at all. Since changing the log level in the print log did not stop the message showing up every minute, I believe it is something to do with servermgrd, and the print daemons are irrelevant. In any case I’m still working on it.
June 2, 2005 at 5:32 pm #361863sapolion
ParticipantHere is a potential solution. Copy the /etc/cups/cups.conf.default file
into /etc/cups/cups.conf – you don’t really need two servers since an upgrade and an install provide copies of the default config file.Since the problem is from servermgrd and is triggered early on somewhere (still haven’t figured out all the details) you will have to reboot. You may also have to reinstall printers. I was dealling with a system with no attached printers.
June 6, 2005 at 5:02 pm #361908KevinS
Participant[QUOTE BY= MacTroll] If you have a clean installed server, and an upgraded one, you want to check out the files in /etc/cups. This is most likely something in /etc/cups/cupsd.conf that didn’t get changed during the upgrade like it should have.[/QUOTE]
Wow, it’s beyond just something, a diff on the two files shows a major amount of changes. Apple’s changed the locations of the certificates now, I suspect this was part of the problem. In any case, so far, the errors have gone away. This was on a clean install of Panther (all security updates and dot releases applied) upgraded to Tiger. No modifications were made at all, so if you have printer services or have modified your cupsd.conf you’ll probably need to copy over the cupsd.conf.default to cupsd.conf and redo your changes. It appears servermgrd wasn’t the culprit since putting in the .default has made the errors go away.
# diff cupsd.conf.upgrade cupsd.conf.default
2c2
< # "$Id: cupsd.conf,v 1.30.4.1 2003/11/19 21:39:48 jlovell Exp $"
—
> # “$Id: cupsd.conf,v 1.47 2005/02/16 17:58:01 jlovell Exp $”
7c7
< # Copyright 1997-2003 by Easy Software Products, all rights reserved.
—
> # Copyright 1997-2005 by Easy Software Products, all rights reserved.
19c19
< # Hollywood, Maryland 20636-3111 USA
—
> # Hollywood, Maryland 20636 USA
21c21
< # Voice: (301) 373-9603
—
> # Voice: (301) 373-9600
308a309,331
> #
> # AppleQuotas: Use the Apple XServe quota library
> # /usr/lib/libPrintServiceQuota.dylib to enforce quotas.
> # Enabled by default.
> #
>
> #AppleQuotas On
>
> #
> # ServerTokens: specifies what information in provided in the Server
> # header of HTTP responses. The default is Minor.
> #
> # ServerTokens None
> # ServerTokens ProductOnly CUPS
> # ServerTokens Major CUPS/1
> # ServerTokens Minor CUPS/1.1
> # ServerTokens Minimal CUPS/1.1.23
> # ServerTokens OS CUPS/1.1.23 (uname)
> # ServerTokens Full CUPS/1.1.23 (uname) IPP/1.1
> #
>
> #ServerTokens Minor
>
335c358
< # Defaults to "/private/etc/cups/ssl/server.crt".
—
> # Defaults to “/Library/Keychains/System.keychain”.
338c361
< #ServerCertificate /private/etc/cups/ssl/server.crt
—
> #ServerCertificate /Library/Keychains/System.keychain
342c365
< # Defaults to "/private/etc/cups/ssl/server.key".
—
> # Defaults to “/Library/Keychains/System.keychain”.
345c368
< #ServerKey /private/etc/cups/ssl/server.key
—
> #ServerKey /Library/Keychains/System.keychain
400a424,426
> # If Unix domain socket support is enabled the full path of the socket
> # may also be used.
> #
410a437
> # Listen /private/var/run/cupsd
415a443,446
> # NOTE 2: In order for the command-line and web interfaces to work, you
> # must have at least one Port or Listen line that allows access from the
> # local loopback address (localhost).
> #
420a452
> Listen /private/var/run/cupsd
448c480
< MaxClients 500
—
> #MaxClients 100
457c489
< MaxClientsPerHost 100
—
> #MaxClientsPerHost 0
490a523
> # dnssd – Use the DNS Service Discovery (aka Bonjour) protocol.
503a537,553
> # BrowseLocalProtocols: controls the sending/registration of local
> # printers. Can be any of the protocols listed in BrowseProtocols.
> #
> # The default is “cups dnssd”.
>
> #BrowseLocalProtocols cups dnssd
>
> #
> # BrowseRemoteProtocols: controls the receipt/discovery/listening
> # for remote printers. Can be any of the protocols listed in
> # BrowseProtocols.
> #
> # The default is “cups”.
>
> #BrowseRemoteProtocols cups
>
> #
670a721,729
> #
> # DefaultShared: the default printer-is-shared value if not
> # specified when printer is created.
> #
> # On by default.
> #
>
> #DefaultShared On
>
682c741
< SystemGroup lp,admin
—
> SystemGroup admin
834c893,894
<—
>
>837a898,914
>
>
>
>
> AuthType None
> AuthClass Anonymous
>
> ## Restrict access to local domain
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
>
>> AuthType Basic >
> AuthClass System
>
841c918
< # End of "$Id: cupsd.conf,v 1.30.4.1 2003/11/19 21:39:48 jlovell Exp $".
—
> # End of “$Id: cupsd.conf,v 1.47 2005/02/16 17:58:01 jlovell Exp $”.
June 10, 2005 at 7:28 pm #361950Anonymous
GuestTHANK YOU!!!
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed