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)

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
cups with 7.1
« Reply #15 on: March 06, 2007, 10:48:23 AM »
The standard ones...

Code: [Select]
yum localinstall smeserver-cups-0.0.1-02.noarch.rpm \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
Regards,
William

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

Offline allant

  • 7
  • +0/-0
pdf for cups for sme7.1
« Reply #16 on: April 27, 2007, 10:17:27 AM »
hi all,
would anyone please tell me how to install pdf for cups for sme7.1
I have installed cups via info here, but
yum localinstall cups-pdfdistiller
do not work ??

thanks in advance

Offline swissis

  • **
  • 61
  • +0/-0
cups with 7.1
« Reply #17 on: May 14, 2007, 06:53:03 PM »
Hi i managed to install cups but i can't print anything. Even the testpage from the webinterface doesn't work.

My printer goes online from powersave mode but thats all
...

Offline allant

  • 7
  • +0/-0
pdf writing for cups for sme7.1
« Reply #18 on: May 15, 2007, 01:19:25 PM »
thanks ,
my cups is working, it just do not offer pdf writing to an ibay

I did the codes, and also for pdf distiller and get this , and pdf writing is still not available from the cups printer management. via sme server mananger

login as: root

[root@nxxx ~]# yum localinstall smeserver-cups-0.0.1-02.noarch.rpm  --disablerepo=*  --enablerepo=base  --enablerepo=updates  --enablerepo=smeos  --enablerepo=smeupdates  --enablerepo=smeaddons
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Local Package Process
Examining smeserver-cups-0.0.1-02.noarch.rpm: smeserver-cups - 0.0.1-02.noarch
smeserver-cups-0.0.1-02.noarch.rpm: does not update installed package.
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@nxxx ~]# yum localinstall cups-pdfdistiller-20040616-01.noarch.rpm  --disablerepo=*  --enablerepo=base  --enablerepo=updates  --enablerepo=smeos  --enablerepo=smeupdates  --enablerepo=smeaddons
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Local Package Process
Examining cups-pdfdistiller-20040616-01.noarch.rpm: cups-pdfdistiller - 20040616-01.noarch
cups-pdfdistiller-20040616-01.noarch.rpm: does not update installed package.
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@nxxx ~]#

should I try to add --force
so it be reinstall.

what would happen , would that crash the system ??

any suggestion is welcome,
thanks in advance

Offline irian

  • *
  • 184
  • +0/-0
cups with 7.1
« Reply #19 on: August 01, 2007, 02:19:12 PM »
I have the same problem.
Can anyone give advice on how to get the pdf printing to work?
I have installed the dpf-distiller, but nothing shows up in the Cups iterface.

MdV