Sponsored Content
Full Discussion: CUPS has gone away
Top Forums UNIX for Advanced & Expert Users CUPS has gone away Post 303003935 by bakunin on Saturday 23rd of September 2017 04:37:21 AM
Old 09-23-2017
Quote:
Originally Posted by Meow613
Code:
root@server1:/home/server1#  ls -l /etc/cups/cupsd.conf
-rw-r----- 1 root lp 6737 Sep 10 00:25 /etc/cups/cupsd.conf

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
Code:
This site can't be reached
localhost refused to connect.
ERR_CONNECTION_REFUSED

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.

I hope this helps.

bakunin
 

9 More Discussions You Might Find Interesting

1. HP-UX

Installation of CUPS in HP-UX

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)
Discussion started by: meeraramanathan
6 Replies

2. UNIX for Dummies Questions & Answers

how does cups recognize a new driver?

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)
Discussion started by: vickenyon
8 Replies

3. Red Hat

Problem with compileing CUPS

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)
Discussion started by: eliraza6
4 Replies

4. Red Hat

cups printing error

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)
Discussion started by: Tommyk
0 Replies

5. UNIX for Advanced & Expert Users

Troubleshooting printing through Cups

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)
Discussion started by: Rockyc3400
2 Replies

6. UNIX for Dummies Questions & Answers

CUPs automation

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)
Discussion started by: jdmorecraft
1 Replies

7. Solaris

CUPS problems

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)
Discussion started by: matt99199
0 Replies

8. UNIX for Dummies Questions & Answers

CUPS configuration

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)
Discussion started by: Gajeela
1 Replies

9. UNIX for Dummies Questions & Answers

[CUPS] printers not shown after a while

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)
Discussion started by: Gajeela
0 Replies
cupsd(8)							    Apple Inc.								  cupsd(8)

NAME
cupsd - cups scheduler SYNOPSIS
cupsd [ -c config-file ] [ -f ] [ -F ] [ -h ] [ -l ] [ -t ] DESCRIPTION
cupsd is the scheduler for CUPS. It implements a printing system based upon the Internet Printing Protocol, version 2.1. If no options are specified on the command-line then the default configuration file /etc/cups/cupsd.conf will be used. OPTIONS
-c config-file Uses the named configuration file. -f Run cupsd in the foreground; the default is to run in the background as a "daemon". -F Run cupsd in the foreground but detach the process from the controlling terminal and current directory. This is useful for running cupsd from init(8). -h Shows the program usage. -l This option is passed to cupsd when it is run from launchd(8). -t Test the configuration file for syntax errors. COMPATIBILITY
cupsd implements all of the required IPP/2.1 attributes and operations. It also implements several CUPS-specific administration operations. SEE ALSO
backend(7), classes.conf(5), cups-deviced(8), cups-driverd(8), cups-lpd(8), cups-polld(8), cupsd.conf(5), filter(7), launchd(8), mime.convs(5), mime.types(5), printers.conf(5), http://localhost:631/help COPYRIGHT
Copyright 2007-2013 by Apple Inc. 9 March 2009 CUPS cupsd(8)
All times are GMT -4. The time now is 07:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy