LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-21-2010, 05:03 AM   #1
ericdanc
LQ Newbie
 
Registered: Dec 2009
Location: Norddeutschland
Distribution: Etch and Lenny
Posts: 25

Rep: Reputation: 15
CUPS problems with brother dcp7010 in lenny


installed lenny and am trying to install brother dcp7010 again:

1) i can't start CUPS server with /etc/init.d/cups restart
"file not found", there is a cups@ link in /etc/init.d.

2) when i install dcp7010 cupswrapper
dpkg -i cupswrapperDCP7010-2.0.1-2.i386.de
it ends with
" lpinfo: Verbindung zum Server nicht möglich: Verbindungsaufbau abgelehnt
lpadmin: Verbindung zum Server nicht möglich: Verbindungsaufbau abgelehnt"
(connection to server not possible, refused)

3)http://localhost:631 doesn't work.

4)foomatic-gui can't find the installed dcp7010 lpr-driver
brdcp7010lpr-2.0.1-1.i386.deb, (a couple of days ago it did)

This is frustrating because it worked in etch and worked for awhile in lenny. The dcp7010-scanner does work.

Last edited by ericdanc; 01-21-2010 at 05:04 AM.
 
Old 01-21-2010, 05:09 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Where does the cups link point to? Can you confirm that the cups server is not running with
Code:
ps -ef | grep cups
and where it is installed with:
Code:
whereis cups
All the times I installed CUPS on Debian servers, the startup script got created without problems in /etc/init.d/. If you have CUPS installed in the same (default) place I'd be happy to post the startup script here if that helps you out.

Kind regards,

Eric
 
Old 01-21-2010, 06:58 AM   #3
ericdanc
LQ Newbie
 
Registered: Dec 2009
Location: Norddeutschland
Distribution: Etch and Lenny
Posts: 25

Original Poster
Rep: Reputation: 15
c# ls -l /etc/init.d/cups
lrwxrwxrwx 1 root root 18 21. Jan 09:52 /etc/init.d/cups -> /etc/init.d/cupsys

but

# li /etc/init.d/cupsys
ls: Zugriff auf /etc/init.d/cupsys nicht möglich: Datei oder Verzeichnis nicht gefunden
(no such file)

i did the link, it worked in etch and at first in lenny.

# ps -ef | grep cups
root 3303 3239 0 13:52 pts/1 00:00:00 grep cups

c# whereis cups
cups: /etc/cups /usr/lib/cups /usr/include/cups /usr/share/cups

Ok, please post your script, Eric. Maybe i should reinstall CUPS? I tried, but no effect. CUPS is screwed up somehow...

On other PC here, same lenny install, CUPS seems to be ok.
 
Old 01-21-2010, 07:10 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Did you remove CUPS before trying the install again? That would be the cleanest option. Anyway, I'm attaching my cups init script. Copy it to your server, rename it to delete the txt extension, and set the permissions like this:
Code:
-rwxr-xr-x  1 root root  2526 2009-05-25 16:43 cups
Then try to start CUPS using the startup script. If that doesn't work, uninstall CUPS (with the purge option to delete all configs) and try reinstalling from scratch.

Kind regards,

Eric

Last edited by EricTRA; 01-24-2010 at 05:34 AM.
 
Old 01-21-2010, 07:20 AM   #5
ericdanc
LQ Newbie
 
Registered: Dec 2009
Location: Norddeutschland
Distribution: Etch and Lenny
Posts: 25

Original Poster
Rep: Reputation: 15
dpkg -r --purge cups ??
 
Old 01-21-2010, 07:22 AM   #6
ericdanc
LQ Newbie
 
Registered: Dec 2009
Location: Norddeutschland
Distribution: Etch and Lenny
Posts: 25

Original Poster
Rep: Reputation: 15
c# dpkg --purge cups
dpkg: Abhängigkeitsprobleme verhindern Entfernen von cups:
hplip hängt ab von cups (>= 1.1.20).
cupsys hängt ab von cups.
dpkg: Fehler beim Bearbeiten von cups (--purge):
Abhängigkeitsprobleme - entferne nicht
Fehler traten auf beim Bearbeiten von:
cups
 
Old 01-21-2010, 07:23 AM   #7
ericdanc
LQ Newbie
 
Registered: Dec 2009
Location: Norddeutschland
Distribution: Etch and Lenny
Posts: 25

Original Poster
Rep: Reputation: 15
aptitude remove cups
ok
 
Old 01-21-2010, 07:24 AM   #8
ericdanc
LQ Newbie
 
Registered: Dec 2009
Location: Norddeutschland
Distribution: Etch and Lenny
Posts: 25

Original Poster
Rep: Reputation: 15
now what?
aptitude install cups ?
 
Old 01-21-2010, 07:32 AM   #9
ericdanc
LQ Newbie
 
Registered: Dec 2009
Location: Norddeutschland
Distribution: Etch and Lenny
Posts: 25

Original Poster
Rep: Reputation: 15
apt-get install cupsys cupsys-bsd a2ps foomatic-bin foomatic-filters-ppds
 
Old 01-21-2010, 09:38 AM   #10
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Sorry, I was busy for some time at work and didn't have the possibility to answer. At what point are you now? Were you able to uninstall CUPS? For installing just:
Code:
apt-get install cups
should do the trick. Apt should take care of all dependencies.

Kind regards,

Eric
 
Old 01-21-2010, 11:32 AM   #11
ericdanc
LQ Newbie
 
Registered: Dec 2009
Location: Norddeutschland
Distribution: Etch and Lenny
Posts: 25

Original Poster
Rep: Reputation: 15
i did:
#aptitude remove cups
#apt-get install cupsys cupsys-bsd a2ps foomatic-bin foomatic-filters-ppds

but cups script still not there. i copied cups fom my other PC. now,
http://localhost:631 works

and

# /etc/init.d/cups restart
Restarting Common Unix Printing System: cupsd.

thanks, i'll try to get the printer installed now...

Eric
yesterday we were at the abyss. today we're one step further.
 
Old 01-21-2010, 11:37 AM   #12
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

It's always good practice to stick with one package manager to avoid confusion. I always use apt. If you're used to working with aptitude then you should use it also to install your applications. That way you'll always have package manager that's aware of everything. If you switch between them, tracks might get lost, resulting in the strangest errors.

Great if you got it working, let's hope all functions are available. I hope that by one step further you don't mean more down into the abyss

Kind regards,

Eric
 
1 members found this post helpful.
Old 01-21-2010, 11:56 AM   #13
ericdanc
LQ Newbie
 
Registered: Dec 2009
Location: Norddeutschland
Distribution: Etch and Lenny
Posts: 25

Original Poster
Rep: Reputation: 15
[QUOTE=EricTRA;3835280]Hello,

It's always good practice to stick with one package manager to avoid confusion. I always use apt. If you're used to working with aptitude then you should use it also to install your applications. That way you'll always have package manager that's aware of everything. If you switch between them, tracks might get lost, resulting in the strangest errors.

Great if you got it working, let's hope all functions are available. I hope that by one step further you don't mean more down into the abyss
--------------------
just added printer thru the CUPS-GUI and scanner still works.

You're right, i like aptitude the best, but in the hectic...

One last question, how does one "thank" someone here?

eric
 
Old 01-21-2010, 12:00 PM   #14
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

That's good news that you got it working. You can thank someone by clicking on the Thanks button on the post in question. You can also indicate if a particular post has been helpful by indicating so next to the question under the Thanks button.

If you consider your problem/question solved then please mark it as such using the Thread Tools.

Kind regards,

Eric
 
  


Reply

Tags
cups, lenny



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Brother QL-580N doesn't print from CUPS noisebleed Linux - Networking 9 10-07-2012 11:57 PM
Can't get Brother HL2070N ppd to work with cups oldgeek Slackware 3 12-06-2006 11:45 AM
Brother printer + cups -> nothing rabby Linux - Newbie 1 02-28-2006 04:08 PM
CUPS and Brother MFC-5440CN sklitzz Linux - Hardware 1 02-12-2006 01:35 PM
CUPS USB not working on Brother HL-1440 jmlleung Linux - Software 0 03-06-2004 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration