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
cups-config(1)							    Apple Inc.							    cups-config(1)

NAME
cups-config - get cups api, compiler, directory, and link information. SYNOPSIS
cups-config --api-version cups-config --build cups-config --cflags cups-config --datadir cups-config --help cups-config --ldflags cups-config [ --image ] [ --static ] --libs cups-config --serverbin cups-config --serverroot cups-config --version DESCRIPTION
cups-config is the CUPS program configuration utility. It should be used by application developers to determine the necessary command-line options for the compiler and linker, as well as determining installation directories for filters, configuration files, and drivers. OPTIONS
--api-version Displays the current API version (major.minor). --build Displays a system-specific build number. --cflags Displays the necessary compiler options. --datadir Displays the default CUPS data directory. --help Displays the program usage message. --image When used with --libs, adds the CUPS imaging library to the list of displayed libraries. --ldflags Displays the necessary linker options. --libs Displays the necessary librarys to link to. --serverbin Displays the default CUPS binary directory, where filters and backends are stored. --serverroot Displays the default CUPS configuration file directory. --static When used with --libs, shows the static libraries instead of the default (shared) libraries. --version Displays the full version number of the CUPS installation (major.minor.patch). SEE ALSO
http://localhost:631/help COPYRIGHT
Copyright 2007-2009 by Apple Inc. 23 October 2008 CUPS cups-config(1)
All times are GMT -4. The time now is 03:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy