LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cups error (https://www.linuxquestions.org/questions/linux-newbie-8/cups-error-311377/)

pracslipkerm 04-09-2005 08:07 AM

cups error
 
Hi
I am a newbie, I have a Canon i250 that I am trying to install on Suse 9.1 personal. I have downloaded the driver from the NZ Canon site and tried to install it but when I try to configure the printer I get a Do-Request Error: Client-error-request-value-too-long or the cups daemon dies during initialisation. I tried removing the cups packages and re-installing (habit from windows) but it hasn't changed anything. Any help would be fantastic (my wife is happy to use linux but really needs a printer!) Thanks for any wisdom :-)

zeos 04-10-2005 07:44 AM

are there any pertinent errors in /var/log/cups/error_log by chance?

What are you're permissions on /var/spool/cups directory?

pracslipkerm 04-12-2005 09:12 PM

Permissions
 
Thanks heaps "zeos"
The log file showed that it was unable to create certificate /etc/cups/cert/0 the permissions were wrong and /var/spool/cups/ didn't exist. I created this and that error is now gone!
Now when I try to install the printer I get a "cups daemon died on initialisation" error on starting the printers in Yast and on exiting as well. When I open printers again in Yast the settings are lost.
I appreciate your time and wisdom

zeos 04-13-2005 05:50 AM

who owns the files (and what are the permissions) in /etc/cups?

ls -laR /etc/cups/

pracslipkerm 04-13-2005 02:55 PM

Hi zeos,
Following is the permissions and ownerships. I reinstalled cups and now there isn't a cups log directory. in cupsd.conf loglevel was info and I changed it to debug but I still don't have a log file. I have the printer setup now but it hangs when trying to print. The kprinter screen coimes up nothing happens, you can't click on anything... I am much closer to having a printer, thank you very much zeos!!!

localhost:/home/steve # ls -laR /etc/cups
/etc/cups:
total 2380
drwxrwxr-x 6 lp lp 488 2005-04-13 13:31 .
drwxr-xr-x 58 root root 5952 2005-04-13 15:29 ..
drwx--x--x 2 lp lp 72 2005-04-14 05:56 certs
-rw-r----- 1 lp lp 95 2005-04-13 13:31 classes.conf
-rw-r----- 1 lp lp 95 2005-04-13 13:26 classes.conf.O
-rw-r--r-- 1 root root 1215 2004-04-07 05:54 command.types
-rw-r----- 1 lp lp 21331 2005-04-13 14:45 cupsd.conf
drwxr-xr-x 2 lp lp 48 2004-04-07 03:02 interfaces
-rw-r--r-- 1 root root 19 2005-04-13 13:31 lpoptions
-rw-r--r-- 1 root root 4698 2004-04-07 03:02 mime.convs
-rw-r--r-- 1 root root 5990 2004-04-07 03:02 mime.types
drwxr-xr-x 2 lp lp 80 2005-04-13 13:30 ppd
-rw-r--r-- 1 root root 2357664 2005-04-13 13:19 ppds.dat
-rw-r--r-- 1 root root 185 2005-04-13 13:31 printcap
-rw-r----- 1 lp lp 296 2005-04-13 13:31 printers.conf
-rw-r----- 1 lp lp 296 2005-04-13 13:31 printers.conf.O
drwx------ 2 lp lp 48 2004-04-07 03:02 ssl

/etc/cups/certs:
total 5
drwx--x--x 2 lp lp 72 2005-04-14 05:56 .
drwxrwxr-x 6 lp lp 488 2005-04-13 13:31 ..
-r--r----- 1 lp lp 32 2005-04-14 05:56 0

/etc/cups/interfaces:
total 1
drwxr-xr-x 2 lp lp 48 2004-04-07 03:02 .
drwxrwxr-x 6 lp lp 488 2005-04-13 13:31 ..

/etc/cups/ppd:
total 9
drwxr-xr-x 2 lp lp 80 2005-04-13 13:30 .
drwxrwxr-x 6 lp lp 488 2005-04-13 13:31 ..
-rw-r--r-- 1 lp lp 6722 2005-04-13 13:31 canon_i250.ppd

/etc/cups/ssl:
total 1
drwx------ 2 lp lp 48 2004-04-07 03:02 .
drwxrwxr-x 6 lp lp 488 2005-04-13 13:31 ..

zeos 04-13-2005 04:25 PM

When you re-installed cups did you shut it down first/restart the service?

/etc/init.d/cups status will show you if it's running...

Also, point your browser at http://127.0.0.1:631 and poke around the printer setup to make sure it's set up properly

pracslipkerm 04-17-2005 02:51 PM

Media Tray Empty
 
Hi,
I did stop cups before re-installing and I restarted it. When I look at 127.0.0.1:631 It shows that the "media tray empty!" even though paper is in the printer. When I try to modify printer it asks for a password and the root and user logins don't work???
I really appreciate your help. Thanks again!

zeos 04-17-2005 02:59 PM

you'll have to allow yourself access to the printer configs...
do:
(as root)
lppasswd -a root <enter>
enter a password.

Logon to the admin interface with "root" and the password you entered here....

pracslipkerm 04-18-2005 02:57 PM

Test Page Error
 
OK, The password worked, thanks zeos!!! I went through the setup and now when I try to print the test page I get:
"STS:USB I250 04 G* BL010 E 100 Y B "
On the cups printer status page, what does this mean???
Any help would be great!

JZL240I-U 05-17-2005 07:23 AM

Umm, you are using the USB-port? Or parallel? Make sure what (type of cable you use) and check whether this is set up accordingly in http://127.0.0.1:631 and retry.

Or have you solved it in the mean time by yourself? :)

hellodio 11-07-2005 04:36 PM

On Debian I had to downgrade cups to version 1.1.14!


All times are GMT -5. The time now is 01:17 AM.