LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   CUPS Server Error - httpConnectionEncrypt Failed (https://www.linuxquestions.org/questions/solaris-opensolaris-20/cups-server-error-httpconnectionencrypt-failed-4175545355/)

gentisle 06-14-2015 07:01 PM

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.

MadeInGermany 06-15-2015 04:20 AM

Please see the log that is given with
Code:

svcs -vx svc:/application/cups/scheduler:default

gentisle 06-17-2015 04:03 PM

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.

gentisle 06-17-2015 04:15 PM

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/

jlliagre 06-17-2015 06:03 PM

Quote:

Originally Posted by gentisle (Post 5378887)
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.

gentisle 06-17-2015 08:55 PM

jlliagre:

Thanks, I found it.

gentisle 06-25-2015 07:54 PM

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.


All times are GMT -5. The time now is 12:48 AM.