If there are not non-printable characters in the file (as Corona688 suggested) and there are no privilege problems (post an output of ls -l /etc/cups/cupsd.conf if unsure) I suppose the file is syntactically wrong (i.e. it has content that makes no sense to CUPS).
Try commenting out everything, then try to stop/start the service again. If it works uncomment one part of the file and stop/start again. Repeat this until you have found the part which prevents CUPS from starting.
It probably depends on how CUPS is started, but i suppose it is correct. Try changing that to 644 (rw-r--r--) and restart CUPS for a test - if the error mesage stays the same this is not the problem.
Quote:
Originally Posted by Meow613
I have commented out ALL the lines. This is what I get from attempting to run CUPS
I think it is a permission error. Whast is wrong here -
Doesn't it state the reason clearly? "localhost refused to connect": i am not a Linux expert, but as far as i know CUPS opens a network connection to the system it runs on (localhost, or 127.0.0.1) and this obviously fails.
First: now, that the error message has changed it is established that your config file has some error in it. You can and should that correct later. Second: there is also this issue with the refused connection to localhost Possible reasons might be: a host-based firewall rule which prevents this connection, the CUPS process not being allowed to write to /tmp so that it can't create the socket (if i remember correctly it is done it /tmp in Linux).
I can't perhaps tell you all the possible reasons for this in an exhaustive list, but i think you get the gist of it: read the error messages, then try one possible reason after the other and resolve it testwise - if it helps or changes the error, you are one tep further, otherwise step back and repeat.
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 2,288
Thanks Given: 430
Thanked 480 Times in 395 Posts
Hi.
Shot in the dark -- the sources.list.ddirectory is supposed to contain filenames that end in list. Here's an example from one of our systems (a CentOS box):
And here is one from MiNT:
However, you apparently have a file name that ends in .d for some reason:
That would be something to correct, but as I say, a shot in the dark, so it may not amount to anything.
I'm currently running a CUPS server and it shows the printers on other computers just fine, but after a while they disappear. I found out, that restarting /etc/init.d/cups-browsed fixes the problem (for about 15min).
When the printers disappear, the cups-browsed service is still running, so I... (0 Replies)
Hi,
I just set up a CUPS server for my printers and want every computer in my home to use it. To connect to the print server with my Ubuntu 14.04 as a client which possibilities are there, if I don't want to use a client.conf in /etc/cups/ (1 Reply)
I am running cups 2.0.2 on solaris 11, trying to get CUPS to report the page count of what was printed correctly.
Right now I have the printer configured as post script both on solaris and on the windows box i am printing from.
What happens is that when i print more pages than 2, the page count... (0 Replies)
A little background information:
We are a company that uses Sharp MFP devices for everyone to print on.
We have a lot of MAC BYOD devices.
All printing is done through a product called PaperCut which is ran on a Windows 2008 R2 server.
Sharp charges our company for each print job done in... (1 Reply)
Hello Experts,
I have been facing an issue with printing through cups configured on Linux server.
All was going on well but all of a sudden the printers started giving an error message, "Unsupported format application/postscript!" and we cant get any prints of any printer.
Need your help as... (2 Replies)
Hi All,
Having searched for a solution to this issue i found no suggestions which help my particular problem.
I am getting the following error message on 1 of the 3 printers i have configured:
recoverable: Network host 'xxx.xxx.xxx.xxx' is busy; will retry in 30 seconds
All 3 printers are... (0 Replies)
Hi guys,
I'm trying to install a newer version of CUPS and my compilation fails:
# ./configure
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling...... (4 Replies)
hi there,
i am attempting to recognize a network printer on my red hat box. i know the IP, i have procured the correct driver, however, CUPS (nor the add printer utility) doesn't recognize the driver nor the printer type. i am assuming this has to do with the location of the driver. can anyone... (8 Replies)
Hi,
Can anybody provide me the download link for CUPS on HP-UX 11i?
and point me where i can get thorough help or howtos, certainly detailed, to get cups and hopefully
my printer running?
Thanks in advance. (6 Replies)