LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-14-2015, 07:01 PM   #1
gentisle
Member
 
Registered: May 2005
Location: USA
Distribution: LinuxMint
Posts: 220

Rep: Reputation: 7
CUPS Server Error - httpConnectionEncrypt Failed


Solaris 11.2 AMD Athlon 64 2.6GHz, 4GB, ATI 512MB video card. Epson XP-610 Workforce inkjet connected via USB, and also thru the network (it works fine on Windows XP and OS X over the net).

When I pull up the Printer Configuration app, these menus are grayed out:
Code:
Server/new,
Printer menu,
View menu.
There doesn't seem to be a way to manipulate anything through that app.

The Monitored Resources icon popped up in the system tray (Windows speak, don't know the Solaris name for it yet), and it lead me to the SMF Services app. There it told me

Code:
1 Unhealthy instance svc:/application/cups/scheduler:default state: maintenance
So I downloaded doc 821-1451.pdf "Oracle Adminstration Common Tasks" and went to the CUPS section to begin reading. When all else fails, RTFM, right? There I read that I could access via Firefox, but Firefox says, "problem loading page", and "can't establish a connection to the server at localhost:631" Then, I wrote down this error, but forgot where I got it from: Troubleshooting - cups spooler doesn't appear to be running.
/etc/printers.conf contains:
Code:
_all:all=Epson-WorkForce-610
_default:use=Epson-WorkForce-610
Epson-WorkForce-610:\
	:bsdaddr=myservername,Epson-WorkForce-610:\
	:description=Epson WorkForce 610:
I used the svcs and svcadm commands as per the aforementioned pdf and found that the application/cups is in maintenance. Tried disabling, then reenabling, but still in maintenance. I scanned down the pdf looking for troubleshooting, but did not find. After several years, I'm still just learning Solaris, and haven't really advanced, ugh! May I have some help on this please! Thanks.

Last edited by gentisle; 06-14-2015 at 07:03 PM. Reason: Correction
 
Old 06-15-2015, 04:20 AM   #2
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 1,071

Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
Please see the log that is given with
Code:
svcs -vx svc:/application/cups/scheduler:default
 
1 members found this post helpful.
Old 06-17-2015, 04:03 PM   #3
gentisle
Member
 
Registered: May 2005
Location: USA
Distribution: LinuxMint
Posts: 220

Original Poster
Rep: Reputation: 7
I've tried a few things and here is what I've found:
output from commands:
Code:
svcs -vx svc:/application/cups/scheduler:default
svc:/application/cups/scheduler:default (CUPS Print Spooler)
 State: maintenance since June 17, 2015 01:01:06 PM CDT
Reason: Restarting too quickly.
   See: http://support.oracle.com/msg/SMF-8000-L5
   See: man -M /usr/share/man -s 8 cupsd
   See: /var/svc/log/application-cups-scheduler:default.log
Impact: This service is not running.

cups-genppdupdate
Updated /etc/cups/ppd/Epson-WorkForce-610.ppd using gutenprint.5.2://escp2-wf610/expert
Updated 1 PPD file.  Restart cupsd for the changes to take effect

~# svcs '*cups*'
STATE          STIME    FMRI
online         13:00:45 svc:/application/cups/in-lpd:default
maintenance    13:01:06 svc:/application/cups/scheduler:default

/var/svc/log/application-cups-scheduler:default.log
[ May 16 21:17:54 Executing start method ("/lib/svc/method/svc-cupsd"). ]
No Gutenprint PPD files to update.
[ May 16 21:18:25 Method "start" exited with status 0. ]
[ May 16 16:55:18 Executing start method ("/lib/svc/method/svc-cupsd"). ]
No Gutenprint PPD files to update.

{it continues w/the same output each day until...}
[ May 18 06:21:29 Method "start" exited with status 0. ]
[ May 18 14:26:15 Stopping because process dumped core. ]
[ May 18 14:26:16 Executing stop method (:kill). ]
[ May 18 14:26:18 Executing start method ("/lib/svc/method/svc-cupsd"). ]
Updated /etc/cups/ppd/Epson-WorkForce-610.ppd using gutenprint.5.2://escp2-wf610/expert
Updated 1 PPD file.  Restart cupsd for the changes to take effect.
{....}
Updated /etc/cups/ppd/Epson-WorkForce-610.ppd using gutenprint.5.2://escp2-wf610/expert
Updated 1 PPD file.  Restart cupsd for the changes to take effect.
[ Jun 17 13:00:55 Method "start" exited with status 0. ]
[ Jun 17 13:00:56 Stopping because process dumped core. ]
[ Jun 17 13:00:56 Executing stop method (:kill). ]
[ Jun 17 13:00:56 Restarting too quickly, changing state to maintenance. ]
[ Jun 17 13:00:58 Leaving maintenance because clear requested. ]
[ Jun 17 13:00:58 Enabled. ]
[ Jun 17 13:00:58 Executing start method ("/lib/svc/method/svc-cupsd"). ]
Updated /etc/cups/ppd/Epson-WorkForce-610.ppd using gutenprint.5.2://escp2-wf610/expert
Updated 1 PPD file.  Restart cupsd for the changes to take effect.
[ Jun 17 13:01:00 Method "start" exited with status 0. ]
[ Jun 17 13:01:00 Stopping because process dumped core. ]
[ Jun 17 13:01:00 Executing stop method (:kill). ]
[ Jun 17 13:01:00 Executing start method ("/lib/svc/method/svc-cupsd"). ]
Updated /etc/cups/ppd/Epson-WorkForce-610.ppd using
Also, I've found a few web pages, however the commands they list don't all work for some reason or other. There were a couple of pages including Dan Anderson's Blog, but they are Solaris 10, and both say to load the companion CD which came w/version 10. Shortly after installing 11.2, I tried to get the repositories up and running, and it crapped out after several GB downloaded. I suspect it had something to do w/not enough disk space, but it could simply be my ignorance of the system. I have the 4 giant files downloaded that make up the repository. If I could figure out how to put them together and make them available that might help. Currently, they're on an external HDD formatted NTFS.

Also, sometime earlier, I had tried to set the printer up through the network, and I found a config file that listed the address, so what I did got recorded somewhere. When I boot the system, the printer kicks out a blank page, and the front panel says, "Printing" even though I'm not printing anything. Since I can't get to the queue -- if there is one setup -- I don't know if there was something I tried to print earlier that is still trying to get out.

And I issued a command with the -t parameter for test, and it told me there were errors in printers.conf which looks like this:
Code:
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file.  All changes to this file
# will be lost.
_all:all=Epson-WorkForce-610
_default:use=Epson-WorkForce-610
Epson-WorkForce-610:\
	:bsdaddr=MyServerName,Epson-WorkForce-610:\
	:description=Epson WorkForce 610:
I read through the printers.conf man page, but that didn't really make sense to me. I looked for an "example" printers.conf for Solaris 11, but nothing there.
I suspect that I messed something up when I tried to setup the printer originally. I *hoped* that it would be almost as simple as in Windows, but alas, Solaris is Unix, and that was not to be.
When I try to ping the printer, ping says, unknown address family. The Solaris box is on a router that is in the 10.x.x.x range, and that router is connected directly to the router/modem which is on 192.x.x.x. But Windows seems to find the printer through the 10.... router. Would it be easier to install CUPS, and reinstall? (I tried to uninstall through the Package Manager, but it complained. Now that I think about it, it might be because I didn't think to stop the cupsd. Thanks for your help.
 
Old 06-17-2015, 04:15 PM   #4
gentisle
Member
 
Registered: May 2005
Location: USA
Distribution: LinuxMint
Posts: 220

Original Poster
Rep: Reputation: 7
BTW, as I stated originally, there are NO dialog boxes available to me from the Print Manager such as you would see here:
http://unixadminschool.com/blog/manp...in-solaris-10/
 
Old 06-17-2015, 06:03 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,761

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
Quote:
Originally Posted by gentisle View Post
I have the 4 giant files downloaded that make up the repository. If I could figure out how to put them together and make them available that might help.
Downloading the "Repository Assembly Script" and reading/following the "README instructions" file, both available on the very same page from where you downloaded the four giant files, would likely help you to complete that task.
 
1 members found this post helpful.
Old 06-17-2015, 08:55 PM   #6
gentisle
Member
 
Registered: May 2005
Location: USA
Distribution: LinuxMint
Posts: 220

Original Poster
Rep: Reputation: 7
jlliagre:

Thanks, I found it.
 
Old 06-25-2015, 07:54 PM   #7
gentisle
Member
 
Registered: May 2005
Location: USA
Distribution: LinuxMint
Posts: 220

Original Poster
Rep: Reputation: 7
I never could get that script running to install the repositories...but that's not the issue in this thread.

I semi-solved this issue by installing Solaris again. I guess the CUPS system got scrambled. It was too advanced for me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] CUPS issue; error with network printer "/usr/lib/cups/backend/hp failed" floppy_stuttgart Linux - Newbie 1 06-22-2014 04:04 AM
Print to CUPS server fails with "/usr/lib/cups/filter/foomatic-rip failed" Aule Linux - Newbie 6 09-27-2013 09:08 AM
CUPS printing error: ="/usr/local/libexec/cups/filter/rastertosamsungspl failed ted_chou12 Linux - Software 0 08-04-2012 05:22 AM
[SOLVED] cups "/usr/lib/cups/filter/foomatic-rip failed" error wufo Slackware 4 01-31-2010 02:20 PM
connection to cups server failed only if from server itself in KDE applications kyuso Fedora 0 01-22-2005 10:34 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration