Koozali.org: home of the SME Server

Cups with 7.2

Offline sparticus

  • *
  • 12
  • +0/-0
Cups with 7.2
« on: November 05, 2007, 03:55:12 AM »
I thought best to start a new thread then continue a previous discussion several months ago about cups and 7.1 seen http://forums.contribs.org/index.php?topic=35262.15

Has anybody had any success getting cups to work on 7.2? The previous installation instructions seem to run fine but cant seem to get access to cups through server manager, just keeps saying page not available.

Anybody got any thoughts?

(the last process I tried was the one listed in the link above)

Cheers,
M.

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Cups with 7.2
« Reply #1 on: November 05, 2007, 05:10:08 AM »
I'm *running* cups on 7.2, and it works, but I installed it on 7.0RC2 a long time ago, and have upgraded SME around it...

From when I did install it, my notes say that I had to modify /etc/rc.d/rc.local to start cups on reboot - so perhaps you have it installed OK but it just doesn't start by itself.

Try
Code: [Select]
/etc/rc.d/init.d/cups startthen try browsing to http://servername:631

Offline sparticus

  • *
  • 12
  • +0/-0
Re: Cups with 7.2
« Reply #2 on: November 05, 2007, 07:15:38 AM »
Thats an interesting thought I hadnt actually considered. Amazing how the obvious is sometimes just not obvious...

It wasnt started but... the plot thickens...
I started it ok... but cant browse to the site. I check the status of cups and it says: 'cupsd dead but pid file exists'

Ive never come across this before. Anybody have any thoughts or ideas? I have tried a re-install of cups with no luck.

cheers,
m

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Cups with 7.2
« Reply #3 on: November 05, 2007, 01:27:20 PM »
When I installed cups I was directed to uninstall LPRng and e-smith-LPRng. When I check with rpm -q LPRng e-smith-LPRng I see that they are still not installed.

Are you aware of the CUPS HowTo on the Wiki?  It implies that installation should be pretty simple: http://wiki.contribs.org/Cups

Offline sparticus

  • *
  • 12
  • +0/-0
Re: Cups with 7.2
« Reply #4 on: November 05, 2007, 01:35:05 PM »
I checked whether they are installed and theyre not.

The Wiki does describe a simple installation and Ive got over the process several times but just seems no good.

I can start cups up but as soon as I try to use any web access the status changes to 'cupsd dead but pid file exists'

The error log doesnt seem to display any errors at all.

Thoughts?

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Cups with 7.2
« Reply #5 on: November 05, 2007, 02:08:16 PM »
You could try manually removing the CUPS PID file (or rebooting, which should accomplish the same thing).

I just updated the HowTo in correctly specify the repository name after "--enablerepo=", so maybe it works differently now...

Otherwise you should open a bug report at Bugzilla and hope for more useful input that I can provide  :-?

(I'd suggest posting the new bug in 'SME Contribs', package='Unknown' since I see no entry for cups, smeserver-cups or e-smith-cups, then add the email address of the maintainer from the HowTo in the CC field)

Offline sparticus

  • *
  • 12
  • +0/-0
Re: Cups with 7.2
« Reply #6 on: November 05, 2007, 02:38:14 PM »
I tried a clean install using the wiki which seems to have worked (in that I can access cups), yet to start with the printer setup.

The print-analyzer install option doesnt work though and neither does the drivers install. yum just says that there is no match. Might need to check that out.

thankyou for all your help and feedback.
M.


Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Cups with 7.2
« Reply #7 on: November 05, 2007, 03:25:42 PM »
If as I suspect this link: http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rvandenaker/testing/smeserver-cups/repositories/7.0/ lists the contents of the rvandenaker-cups repository then 'cups-printanalyzer' is a group containing 'PrintAnalyzer' and 'smeserver-PrintAnalyzer'.

Either of these commands should work:
yum --enablerepo=rvandenaker-cups install PrintAnalyzer smeserver-PrintAnalyzer

or
yum --enablerepo=rvandeaker-cups groupinstall cups-printanalyzer

Try the 'groupinstall' option and post back if it works - then I'll update the HowTo.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Cups with 7.2
« Reply #8 on: November 05, 2007, 08:27:26 PM »
Has anybody had any success getting cups to work on 7.2?

I'm curious as to your reasons for wanting to run cups.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Cups with 7.2
« Reply #9 on: November 05, 2007, 08:32:27 PM »
I'm curious as to your reasons for wanting to run cups.
I am using it to supply a PDF printer that delivers in the users mailbox.
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
Re: Cups with 7.2
« Reply #10 on: November 06, 2007, 06:30:44 AM »
I used the first of the commands that you just posted (not groupinstall) and it worked great.
Managed to get it all up and running beautifully. thanks for all your help.

Also, you will want to update the command for the english drivers as well. I used:
Code: [Select]
yum --enablerepo=rvandenaker-cups install drivers-en gimp-print-cups-enand it went fine.

Contrib is looking great.

Cheers,
M.

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Cups with 7.2
« Reply #11 on: November 06, 2007, 04:05:25 PM »
http://wiki.contribs.org/Cups entry updated.

I have reviewed all 'yum...' commands in the wiki and verified that they at least offer to download and install something appropriate-looking when pasted into a shell...