Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: itasor on March 22, 2008, 02:48:25 AM
-
I was asking this question in the wrong section before, sorry about that. I am trying to install CUPS on my SME Server, because my Macs aren't printing right. I have very little Linux knowledge, but I went through the wiki step by step and it was going great. Then I came across this exact same issue: http://forums.contribs.org/index.php?topic=40195.0
Could someone do a huge favor and post the step by step commands I need to type in? Step 3 here: http://wiki.contribs.org/Cups#Installation is where the error comes up.
I was hoping I could just follow the wiki and get this installed, but I guess not knowing how to use the Linux command line is killing me. :(
Thanks!!
-
I don't use cups but here is my bash history that got the files on my server and yum was happy to attempt to install.
I aborted at the yum y/n prompt.
1012 mkdir -p cups_rpms
1013 cd cups_rpms/
1014 wget ftp://mirror.pacific.net.au/smeserver/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/i386/*
1015 wget ftp://mirror.pacific.net.au/smeserver/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/noarch/*
1016 yum localinstall *.rpm
-
I don't use cups but here is my bash history that got the files on my server and yum was happy to attempt to install.
I aborted at the yum y/n prompt.
William_syd next time do not point to one of the mirrors directly but use the mirror.contribs.org placeholder instead, this will prevent deadlinks as users are automatically forwarded to a functioning mirror that way. So your bash script should read:
mkdir -p /tmp/cups_rpms
cd cups_rpms/
wget ftp://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/i386/*
wget ftp://mirror.contribs.org/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/noarch/*
yum localinstall /tmp/cups_rpms/*.rpm
-
So your bash script should read:
Hi there,
I did this, and it all went through.
I tried to printer, click-here, do-admin, add-printer (all well so far),
but when I enter the printer details: laserc, office, printer and ENTER
the screen blanks and nothing happens!
I get the same result if I go straight to http://192.168.100.100:631
Any idea(s) would be appreciated.
Rob
-
I would start searching httpd logs for errors and then go to bugzilla
-
I would start searching httpd logs for errors and then go to bugzilla
my access-log when accessing server manager/printers is below:
why does the IP 192.168.40.79 show up when the test server is 192.168.40.14?
(I thought this maybe a confif error so changed the test server from .4 to .14 but still get the .79)
samelaa.com.au 192.168.40.79 - - [03/Feb/2010:09:55:46 +1030] "GET /server-manager HTTP/1.1" 302 220 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7"
samelaa.com.au 192.168.40.79 - - [03/Feb/2010:09:55:46 +1030] "GET /server-manager HTTP/1.1" 301 244 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7"
samelaa.com.au 192.168.40.79 - - [03/Feb/2010:09:55:46 +1030] "GET /server-manager/ HTTP/1.1" 200 1556 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7"
samelaa.com.au 192.168.40.79 - - [03/Feb/2010:09:55:46 +1030] "GET /server-manager/navigation HTTP/1.1" 200 7128 "https://192.168.40.14/server-manager/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7"
samelaa.com.au 192.168.40.79 - - [03/Feb/2010:09:55:47 +1030] "GET /server-manager/initial.cgi HTTP/1.1" 200 2417 "https://192.168.40.14/server-manager/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7"
samelaa.com.au 192.168.40.79 - - [03/Feb/2010:09:55:47 +1030] "GET /favicon.ico HTTP/1.1" 404 209 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7"
samelaa.com.au 192.168.40.79 - - [03/Feb/2010:09:55:52 +1030] "GET /server-manager/cgi-bin/cups HTTP/1.1" 200 2117 "https://192.168.40.14/server-manager/navigation" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7"
clicking 'printers' also generates the error_log entry
[Wed Feb 03 10:08:03 2010] [error] [client 192.168.40.79] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
clicking through the cups pages adds nothing to the access-log
And here's another WIERD thing ...
when I go into Administration, the icons for add-class etc do not appear,
and when I go into Add-Printer the continue icon does not appear!
BUT if I go back to Admin, the 1st Add-Class icon appears, and
back into Add-Printer, the continue icon DOES appear!
cycling back and forth, each go back to Administration result in the other icons
to appear one per back/forth! in order of Manage-Jobs, Add-Printer, Manage-Classes (2nd icon on the top line), Manage-Printers (2nd icon on last line).
And then at another time is all appears first time!
I have found the /var/log/cups/error_log adding the following at every cups screen,
that is entering it, choosing admin, and then adding printer and then 'continue' to add the printer - which is where I just get nothing.
I [03/Feb/2010:16:02:45 +1030] Listening to 7f000001:631
I [03/Feb/2010:16:02:45 +1030] Listening to c0a8280e:631
I [03/Feb/2010:16:02:45 +1030] Loaded configuration file "/etc/cups/cupsd.conf"
I [03/Feb/2010:16:02:45 +1030] Configured for up to 100 clients.
I [03/Feb/2010:16:02:45 +1030] Allowing up to 100 client connections per host.
I [03/Feb/2010:16:02:45 +1030] Full reload is required.
I [03/Feb/2010:16:02:45 +1030] LoadPPDs: Read "/etc/cups/ppds.dat", 1268 PPDs...
I [03/Feb/2010:16:02:45 +1030] LoadPPDs: No new or changed PPDs...
I [03/Feb/2010:16:02:45 +1030] Full reload complete.
IS IT POSSIBLE TO MANAGE CUPS FROM THE COMMAND LINE?
browsing documentation I found how to use lpadmin to add a printer and lpinfo but both give me a similar failure below.
lpinfo -v
lpinfo: cups-get-devices failed: server-error-service-unavailable
lpadmin: add-printer (enable) failed: server-error-service-unavailable
This is SME 7.4 running on a dualcore new machine with a 4GB memory and 64GB SSD (solid state drive).
I am at a loss still!
TIA for any ideas
-
Hi there
Got the exact same failure, did you find a solution?
-
Also by now you should consider going to SME 8 and presumanly that will bypass this issue.