Tiny Core Extensions > TCE Q&A Forum

CUPS: Ver. 1.3.8 works - 1.4.1 doesn't

<< < (2/3) > >>

Multitudes:

--- Quote from: curaga on October 06, 2009, 01:58:42 PM ---Quoting from http://www.linuxforums.org/forum/mandriva-linux-help/151962-solved-cups-printing-error-request-localhost-using-invalid-host-field.html


--- Quote ---Request from "localhost" using invalid Host: field "::1"

.

A bit of searching led to a few such CUPS related errors, all posted after recent upgrades (mostly since April). The solutions varied... I did the following to get it to work:
Open /etc/cups/cupsd.conf
Add the line "ServerAlias *"
Add the line "Port 631"
Add the line "Listen /var/run/cups/cups.sock"
Save the file and restart cups ("/etc/init.d/cups restart").
--- End quote ---

If that works, maybe it should be added to the extension.

--- End quote ---

I tried it but got the same result as before.

/Multitudes

alu:
with cups 1.3.8 and tc 2.4rc5 i noticed that cups_start.sh has to be loaded as root, and that it points to /etc/init.d/cupsd which does not exist; i did the following:

tc@box:~$ sudo cups_start.sh
aterm: can't load color "dark", colorID = 1, (29)
sudo: /etc/init.d/cups: command not found

i did not understand this error message, but it points me to the solution; after it, i did:

tc@box:~$ cups_start.sh
 4486 tc       grep cupsd
sudo: /etc/init.d/cups: command not found
tc@box:~$ kill 4486
sh: cannot kill pid 4486: No such process

and then:

tc@box:~$ sudo /usr/local/sbin/cupsd

it made me able to log into cups and to print without issue; i have tried the new cups extension, but i can't print probably because the usb port of my printer won't be catched up (even if i can set the printer with the cups frontend).

Juanito:
..but where did you take the extension with cups-1.3.8 from?

The cups.tcz extension is cups-1.4.1, if you have a previous tcz extension using cups-1.3.8, it will contain a user.tar.gz file which will not be processed properly by tc-2.4.

alu:
yes, i use the old cup.tcz extension, and it seems to behave adequately with the hitches mentionned in my post; i tried the new one, but after spending 3 hours to configure and reconfigure the (usb) printer with cups and lp without success, i gave out; with the new extension, my problem was:

1. cupsd started as expected;
2. lsusb see the printer
3. i use a ppd file and have had no problem with the configuration of the printer with cups frontend;

but: i tried to print, cups stores the job, but didn't print anything; i think that it can't read the usb port, but didn't investigate further.

Juanito:

--- Quote from: alu on October 10, 2009, 01:18:08 AM ---but: i tried to print, cups stores the job, but didn't print anything; i think that it can't read the usb port, but didn't investigate further.

--- End quote ---

..as per google, you probably need to "rmmod" the usblp kernel module and even then there may be a problem with cups expecting the usb device to be owned by "lp:lp" rather than "tc:staff" (even though it was compiled to expect tc:staff).

I believe Pethie is just finishing up a cups-1.3.11 extension for users that cannot use the cups (1.4.1) extension.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version