Network

I have a network using wireless with many Apples and a Linux Server running Samba.

Sometimes the apples computers find the shares in network and sometimes doesn't find.

I changed the shares from Samba to AFP Server, but the problem continues.


In the same network I have a MacBook sharing a printer:

User uploaded file

Sometimes the other computers can print and sometimes they can't

User uploaded file


Does somebody know about that?

Posted on Feb 1, 2016 4:08 AM

Reply
15 replies

Feb 10, 2016 8:16 AM in response to BDAqua

I can't find any error log in Console, but in the Cups I found some think in errors log:

E [28/Jan/2014:16:19:28 -0200] [Job 93] Unable to connect to printer

E [28/Jan/2014:16:19:31 -0200] [Client 25] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/93) from localhost

E [28/Jan/2014:16:19:49 -0200] [Job 94] Connection refused

E [07/Mar/2014:12:43:56 -0300] [Job 122] Connection refused

E [14/Mar/2014:17:59:31 -0300] [Job 131] Connection refused

E [07/Apr/2014:11:33:07 -0300] [Job 165] Unable to connect to printer

E [23/Apr/2014:13:47:55 -0300] [Job 177] Connection refused

E [19/May/2014:15:43:44 -0300] [Job 196] Unable to connect to printer

E [23/May/2014:17:53:28 -0300] [Job 204] Connection refused

E [23/May/2014:17:53:49 -0300] [Job 204] Connection refused

E [29/May/2014:09:04:01 -0300] [Job 214] Connection refused

E [29/May/2014:09:04:22 -0300] [Job 214] Connection refused

E [29/May/2014:09:04:29 -0300] [Job 214] Connection refused

E [29/May/2014:09:04:33 -0300] [Job 214] Connection refused

E [06/Oct/2014:11:40:00 -0300] [Client 25] Returning IPP client-error-bad-request for CUPS-Add-Modify-Printer (ipp://localhost/printers/HP_Officejet_4500_G510a_f) from localhost

E [06/Oct/2014:11:40:02 -0300] [Client 25] Returning IPP client-error-bad-request for CUPS-Add-Modify-Printer (ipp://localhost/printers/HP_Officejet_4500_G510a_f) from localhost

E [06/Oct/2014:11:40:02 -0300] [Client 25] Returning IPP client-error-bad-request for CUPS-Add-Modify-Printer (ipp://localhost/printers/HP_Officejet_4500_G510a_f) from localhost

E [06/Oct/2014:11:40:03 -0300] [Client 25] Returning IPP client-error-bad-request for CUPS-Add-Modify-Printer (ipp://localhost/printers/HP_Officejet_4500_G510a_f) from localhost

E [22/Apr/2015:14:41:15 -0300] [Job 321] Unable to cancel print job.

E [17/Aug/2015:10:19:04 -0300] [Client 25] Returning IPP client-error-not-possible for Cancel-Job (ipps://iMac-de-Ana.local.:631/printers/HP_LaserJet_Pro_MFP_M125a) from 192.168.99.57

E [10/Sep/2015:10:33:05 -0300] Unable to encrypt connection from 192.168.99.57 - unknown error -1=ffffffffffffffff (-1)

E [10/Sep/2015:10:36:08 -0300] Unable to encrypt connection from 192.168.99.57 - unknown error -1=ffffffffffffffff (-1)

E [10/Sep/2015:10:36:18 -0300] Unable to encrypt connection from 192.168.99.57 - unknown error -1=ffffffffffffffff (-1)

E [14/Oct/2015:15:21:35 -0300] Unable to encrypt connection from 192.168.99.112 - connection closed gracefully (-9805)

E [19/Oct/2015:15:47:58 -0200] [Job 990] Unable to send data to printer.

E [19/Oct/2015:15:51:58 -0200] Unable to encrypt connection from 192.168.99.2 - unknown error -1=ffffffffffffffff (-1)

E [19/Oct/2015:15:53:03 -0200] [Job 990] Stopping unresponsive job.

E [19/Oct/2015:15:57:33 -0200] Unable to encrypt connection from 192.168.99.2 - unknown error -1=ffffffffffffffff (-1)

E [19/Oct/2015:15:59:25 -0200] Unable to encrypt connection from 192.168.99.2 - unknown error -1=ffffffffffffffff (-1)

E [20/Oct/2015:14:13:45 -0200] Unable to encrypt connection from 192.168.99.2 - unknown error -1=ffffffffffffffff (-1)

E [03/Nov/2015:18:08:06 -0200] [Job 1129] Aborting job because it has no files.

E [04/Nov/2015:10:21:37 -0200] [Job 1139] Unable to send data to printer.

E [04/Nov/2015:10:26:42 -0200] [Job 1139] Stopping unresponsive job.

E [05/Nov/2015:16:35:52 -0200] Unable to encrypt connection from 192.168.99.2 - unknown error -1=ffffffffffffffff (-1)

E [09/Nov/2015:15:50:09 -0200] Unable to encrypt connection from 192.168.99.2 - unknown error -1=ffffffffffffffff (-1)

E [09/Nov/2015:15:50:19 -0200] Unable to encrypt connection from 192.168.99.2 - unknown error -1=ffffffffffffffff (-1)

E [09/Nov/2015:15:53:53 -0200] [Job 1216] Aborting job because it has no files.

E [16/Nov/2015:16:03:27 -0200] [Job 1275] Aborting job because it has no files.

E [04/Dec/2015:20:06:33 -0200] [Job 1417] Não foi possÃvel enviar os dados à impressora.

E [04/Dec/2015:20:11:42 -0200] [Job 1417] Stopping unresponsive job.

E [16/Dec/2015:14:10:13 -0200] [Job 1521] Aborting job because it has no files.

E [18/Jan/2016:16:06:57 -0200] Unable to encrypt connection from 192.168.99.110 - unknown error -1=ffffffffffffffff (-1)

E [18/Jan/2016:16:11:50 -0200] [Job 1649] Aborting job because it has no files.

E [18/Jan/2016:16:14:38 -0200] Unable to encrypt connection from 192.168.99.112 - connection closed gracefully (-9805)

E [03/Feb/2016:15:58:01 -0200] [Job 1792] Não foi possÃvel abrir “/private/var/spool/cups/tmp/00ff856c0c1f3”.


The access log is normal.

Feb 11, 2016 7:30 PM in response to gilbertovb

From the log…

E [17/Aug/2015:10:19:04 -0300] [Client 25] Returning IPP client-error-not-possible for Cancel-Job (ipps://iMac-de-Ana.local.:631/printers/HP_LaserJet_Pro_MFP_M125a) from 192.168.99.57


The computer name is imac-ana and it is configured in /etc/hosts in server:

127.0.1.1 LED
192.168.99.2 led
192.168.99.101 imac-ana


These do not match.


I don't know why you are defining the hostname in /etc/hosts, it may not be relevant but I have never done this on a Mac.

Is it needed BDAqua?


Macs generally look services up via bonjour (whatever.local) defined in the Sharing section of System Preferences, I don't think a different hostname will help.


You can investigate the bonjour records via 'dns-sd' in Terminal or use Bonjour browser.

https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man1/dns-sd.1.html

I haven't used this on 10.11, so you may want to look for alternatives, it was fine on earlier releases http://tildesoft.com/


I would also start searching for some of the CUPS error strings on the internet, it may lead you down the right path.

Feb 12, 2016 4:33 PM in response to BDAqua

BDAqua wrote:


Great catch Drew! 🙂

…

OSX Server might be different, no idea.


Cheers 🙂


OS X server gets into a mess if the hostname, DNS name, computer name get mixed up. It has the 'changeip -checkhostname' command to address issues like that. I don't know if it relevant here - it is unclear to me if the MacBook is running OS X server.


cups has verbose logging…

https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man8/cupsctl.8.html

cupsctl --debug-logging


It will give more info, however it isn't clear to me if the client is failing to reach the server so it may not help, I have to wonder if the Macbook has a valid certificate to support encryption but I don't know how cups handles that.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Network

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.