Koozali.org: home of the SME Server

cups with 7.1

Offline sparticus

  • 12
  • +0/-0
cups with 7.1
« on: January 16, 2007, 06:28:56 AM »
Yesterday everything got updated nicely with yum to 7.1 but for some reason today everything has gone up the wall when it comes to printing. Basically, none of the networked pc's show up the printers and i cant show up cups through the server-manager or directly through ip.
I tried uninstalling cups and then re-installing it again but the exactly same problem occured.
Anybody have any suggestions?

Offline EdelingF

  • ****
  • 215
  • +0/-0
cups with 7.1
« Reply #1 on: January 16, 2007, 10:05:58 AM »
I did a update also from 7.0 to 7.1 and had no problem. Didn't you get any errors?
I'm not that experienced, but it looks like Samba is the problem.

Freek
...

Offline sparticus

  • 12
  • +0/-0
cups with 7.1
« Reply #2 on: January 16, 2007, 02:11:34 PM »
Im not that experienced either so im not sure if Ive missed something, but I dont seem to be getting any errors myself. Thats the strange thing...
Any suggestions for any obvious places to look?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
cups with 7.1
« Reply #3 on: January 16, 2007, 04:30:10 PM »
Quote from: "sparticus"
Im not that experienced either so im not sure if Ive missed something, but I dont seem to be getting any errors myself. Thats the strange thing...
Any suggestions for any obvious places to look?
Are you sure the upgrade did not (re-)install e-smith-LPRng, as this should be uninstalled for cups to run properly if I remember correctly.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline sparticus

  • 12
  • +0/-0
cups with 7.1
« Reply #4 on: January 17, 2007, 12:18:20 AM »
i checked that when i re-installed cups but it didnt re-install it.
Any other ideas?

Offline jahlewis

  • *
  • 151
  • +0/-0
    • http://www.arachnerd.com/
cups with 7.1
« Reply #5 on: January 17, 2007, 05:53:04 AM »
Are you seeing anything in your log files that may give a clue to what is happening?
............

Robert

cups with 7.1
« Reply #6 on: January 22, 2007, 11:15:33 PM »
The installation instructions for CUPS on SME 7.0 do not work on SME 7.1 due to yum configuration changes. Apologies for not noticing this sooner. I hope to come up with a solution soonish.

Offline sparticus

  • 12
  • +0/-0
Fix for Cups on 7.1
« Reply #7 on: January 28, 2007, 01:16:06 PM »
if you login via ssh and then do this on a clean install of 7.1 it will work with cups:

[root@hostname ~]# yum remove e-smith-LPRng

[root@hostname ~]# wget http://mirror.contribs.org/smeserver/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/noarch/smeserver-cups-0.0.1-02.noarch.rpm

[root@hostname ~]# yum localinstall smeserver-cups-0.0.1-02.noarch.rpm

[root@hostname ~]# /sbin/e-smith/signal-event post-upgrade

[root@hostname ~]# /sbin/e-smith/signal-event reboot

Login to server manager and you can access the cups manager from there.

Cheers.

Offline TeNeCo

  • **
  • 60
  • +0/-0
cups with 7.1
« Reply #8 on: February 23, 2007, 02:03:09 PM »
Hello Sparticus,

sorry, but another newbie here...

>Login to server manager and you can access the cups manager from there.

then I get:

The requested URL /server-manager//cgi-bin/printers was not found on this server.

Offline gtob

  • 6
  • +0/-0
    • http://www.ipforum.dk
cups with 7.1
« Reply #9 on: March 03, 2007, 12:09:28 PM »
Quote
>Login to server manager and you can access the cups manager from there.

then I get:

The requested URL /server-manager//cgi-bin/printers was not found on this server.
Me too - Sparticus please help
If you obay to rules, you'll miss all the fun ;o)

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
cups with 7.1
« Reply #10 on: March 03, 2007, 01:19:04 PM »
This was with SME 7.1.1.

Code: [Select]
wget http://mirror.contribs.org/smeserver/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/RPMS/noarch/smeserver-cups-0.0.1-02.noarch.rpm
Code: [Select]
yum localinstall smeserver-cups-0.0.1-02.noarch.rpm --enablerepo=*
Code: [Select]
signal-event post-upgrade; signal-event reboot
Code: [Select]
db configuration setprop cupsd TCPPort 631 access public
Code: [Select]
signal-event remoteaccess-update
Regards,
William

IF I give advise.. It's only if it was me....

Offline gtob

  • 6
  • +0/-0
    • http://www.ipforum.dk
cups with 7.1
« Reply #11 on: March 03, 2007, 03:33:56 PM »
This did the trick - thanks  :D
If you obay to rules, you'll miss all the fun ;o)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
cups with 7.1
« Reply #12 on: March 04, 2007, 11:07:29 AM »
Quote from: "william_syd"
Code: [Select]
yum localinstall smeserver-cups-0.0.1-02.noarch.rpm --enablerepo=*
Be aware that enabling all repositories is not advised, users could have all kind of repositories available if their system is not an out-of-the-box installation.
Quote from: "william_syd"
Code: [Select]
db configuration setprop cupsd TCPPort 631 access public
Do you really need the port to be public? IMHO private should also do (only for local networks and external networks defined in the remote access panel), setting to public would mean the port is opened for everyone on the external interface.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
cups with 7.1
« Reply #13 on: March 04, 2007, 12:38:40 PM »
Quote from: "cactus"
Quote from: "william_syd"
Code: [Select]
yum localinstall smeserver-cups-0.0.1-02.noarch.rpm --enablerepo=*
Be aware that enabling all repositories is not advised, users could have all kind of repositories available if their system is not an out-of-the-box installation.

I was lazy.
Quote from: "cactus"

Quote from: "william_syd"
Code: [Select]
db configuration setprop cupsd TCPPort 631 access public
Do you really need the port to be public? IMHO private should also do (only for local networks and external networks defined in the remote access panel), setting to public would mean the port is opened for everyone on the external interface.

I should have stated that I run SMEserver in server-only mode and as such access from the big bad internet is controlled by another box.

However, I would think that the rpm should be setting the TCPPort property.
Regards,
William

IF I give advise.. It's only if it was me....

Offline gtob

  • 6
  • +0/-0
    • http://www.ipforum.dk
cups with 7.1
« Reply #14 on: March 06, 2007, 10:39:55 AM »
Quote
Be aware that enabling all repositories is not advised, users could have all kind of repositories available if their system is not an out-of-the-box installation.

What repositorie should you use then?
If you obay to rules, you'll miss all the fun ;o)