Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2014 01:57:18 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-ports@freebsd.org
Subject:   print/cups-base web interface broken & unable to print
Message-ID:  <1401958638341-5918098.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
"# service cupsd onestart", then http://localhost:631/ > "Not Found" message
on browser page.
I can print through LPD, but cannot print through any cups defined printer.

* print/cups-base enabled options: LIBPAPER, PYTHON, DBUS, XDG_OPEN,
MDNSRESPONDER
* I have completely removed /usr/local/etc/cups, deinstalled all
cups-related binaries, then clean-installed those same binaries.
* If I enable option PHP & rebuild, compile finishes but install fails:
make install -C print/cups-base
===>  Installing for cups-base-1.7.2_1
===>  Checking if print/cups-base already installed
===>   Registering installation for cups-base-1.7.2_1
pkg-static:
lstat(/asp/obj/asp/git/ports/print/cups-base/work/stage/usr/local/lib/php/20121212-zts/phpcups.so):
No such file or directory
pkg-static:
lstat(/asp/obj/asp/git/ports/print/cups-base/work/stage/usr/local/lib/php/20121212-zts/):
No such file or directory   *** Error code 74
* Log-Level is set to debug and shows:
Listening to :631 (IPv6)
Listening to 127.0.0.1:631 (IPv4)
Listening to /var/run/cups.sock (Domain)
Remote access is disabled.
Using default TempDir of /var/spool/cups/tmp...
Configured for up to 100 clients.
Allowing up to 100 client connections per host.
Using policy "default" as the default.
Full reload is required.
...............
Cleaning out old files in "/var/spool/cups/tmp".
cupsdCleanFiles(path="/var/db/cups", pattern="*.ipp")
Cleaning out old files in "/var/db/cups".
*Unable to open listen socket for address :631 - Address family not
supported by protocol family.*
Listening to 127.0.0.1:631 on fd 8...
Listening to /var/run/cups.sock:631 on fd 9...
Resuming new connection processing...
................
[Client 12] Accepted from localhost:631 (IPv4)
[Client 12] Waiting for request.
[Client 12] GET / HTTP/1.1
cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
*[Client 12] No authentication data provided.*
[Client 12] Closing because Keep-Alive disabled
[Client 12] Closing connection.
cupsdSetBusyState: newbusy="Not busy", busy="Active clients"




-----
FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
--
View this message in context: http://freebsd.1045724.n5.nabble.com/print-cups-base-web-interface-broken-unable-to-print-tp5918098.html
Sent from the freebsd-ports mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1401958638341-5918098.post>