Tiny Core Base > CorePlus
[Solved] Unable to start the CUPS web interface
t18:
Added logs.
Juanito:
Does the directory /usr/local/etc/cups/ppd exist?
t18:
--- Quote from: Juanito on April 14, 2025, 06:29:20 AM ---Does the directory /usr/local/etc/cups/ppd exist?
--- End quote ---
Yes, since I've copied my ppd file into it.
What doesn't exist is the /usr/local/share/cups/model/ (please see error_log) in which it seems to look for the ppd file.
So I've made it manually and copied my file into that. No error returned, but it doesn't work yet.
Rich:
Hi t18
I found these lines from error_log interesting:
--- Code: ---E [14/Apr/2025:08:22:28 +0000] [CGI] Unable to scan \"@LOCAL\"!
E [14/Apr/2025:08:23:18 +0000] [cups-driverd] Unable to open \"/usr/local/share/cups/model/mnt/sda2/Generic-GDI_Printer-gdi.ppd\" - No such file or directory
E [14/Apr/2025:08:23:18 +0000] [Client 5] Returning HTTP Forbidden for CUPS-Add-Modify-Printer (ipp://localhost:631/printers/Samsung_ML-1210) from localhost
E [14/Apr/2025:08:24:27 +0000] [cups-driverd] Unable to open \"/usr/local/share/cups/model/home/tc/Generic-GDI_Printer-gdi.ppd\" - No such file or directory
--- End code ---
Line 1 seems to suggest difficulty accessing localhost.
I noticed this note in libcups.tcz.info:
--- Code: ---Comments: common unix printing system libraries
----------
howto print from a cups client to cups server
create a file of the form:
$ cat /usr/local/etc/cups/client.conf
ServerName 192.168.1.200
replace 192.168.1.200 with the ip address of your cups server
and modify hosts as follows:
$ cat /etc/hosts
127.0.0.1 cups_client localhost localhost.local
192.168.1.200 cups_server cups_server.local
replace cups_client and cups_server with the hostnames from your client/server
--- End code ---
Lines 2 and 4 contain paths that look a little odd:
--- Code: ---/usr/local/share/cups/model/mnt/sda2/Generic-GDI_Printer-gdi.ppd
^^^^^^^^___ odd part
/usr/local/share/cups/model/home/tc/Generic-GDI_Printer-gdi.ppd
^^^^^^^___ odd part
--- End code ---
Line 3 suggests a permission error, possibly related to
line 1, or maybe the /printers/ directory itself:
--- Code: ---ipp://localhost:631/printers/Samsung_ML-1210
--- End code ---
Navigation
[0] Message Index
[*] Previous page
Go to full version