

slider wrote:Hi Ashocka
Usually the first thing to try is deleting then re-installing your printer.
Try your CUPS page in a web browser > http://127.0.0.1:631/printers/
Let us know how things go.
S

netstat -tulpn
Could not connect to remote server
Check that the address is spelled correctly, or try searching for the site.Unable to connect
can't establish a connection to the server at 127.0.0.1:631.gdeering@lmde ~ $ netstat -tulpn
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:9418 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:51413 0.0.0.0:* LISTEN 7860/transmission
tcp6 0 0 :::9418 :::* LISTEN -
tcp6 0 0 :::139 :::* LISTEN -
tcp6 0 0 :::80 :::* LISTEN -
tcp6 0 0 :::51413 :::* LISTEN 7860/transmission
tcp6 0 0 :::445 :::* LISTEN -
udp 0 0 0.0.0.0:5353 0.0.0.0:* -
udp 0 0 0.0.0.0:10000 0.0.0.0:* -
udp 0 0 0.0.0.0:51413 0.0.0.0:* 7860/transmission
udp 0 0 0.0.0.0:68 0.0.0.0:* -
udp 0 0 0.0.0.0:111 0.0.0.0:* -
udp 0 0 0.0.0.0:57459 0.0.0.0:* -
udp 0 0 192.168.1.3:123 0.0.0.0:* -
udp 0 0 127.0.0.1:123 0.0.0.0:* -
udp 0 0 0.0.0.0:123 0.0.0.0:* -
udp 0 0 192.168.1.255:137 0.0.0.0:* -
udp 0 0 192.168.1.3:137 0.0.0.0:* -
udp 0 0 0.0.0.0:137 0.0.0.0:* -
udp 0 0 192.168.1.255:138 0.0.0.0:* -
udp 0 0 192.168.1.3:138 0.0.0.0:* -
udp 0 0 0.0.0.0:138 0.0.0.0:* -
udp6 0 0 :::5353 :::* -
udp6 0 0 :::46534 :::* -
udp6 0 0 ::1:123 :::* -
udp6 0 0 fe80::222:15ff:fea9:123 :::* -
udp6 0 0 :::123 :::* -

sudo /etc/init.d/cups startifconfig losudo ifconfig lo upaptitude search cups
slider wrote:Thank you for performing the tests!
I have to concur with you that it appears your CUPS may be corrupted or not running? Did you try runningand then the tests?
- Code: Select all
sudo /etc/init.d/cups start
According to netstat it looks like Loopback is listening correctly, but not on 631 printer port.
Checkfor output. Should show "UP LOOPBACK RUNNING".
- Code: Select all
ifconfig lowill get it up, but as for as I can tell it is up already according to netstat output. It would be hard for your system to be running correctly without Loopback up, but I've heard of it being done before on occasion.
- Code: Select all
sudo ifconfig lo up
sudo ifconfig lo
[sudo] password for gdeering:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3866 errors:0 dropped:0 overruns:0 frame:0
TX packets:3866 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:607150 (592.9 KiB) TX bytes:607150 (592.9 KiB)
Also runand list what is installed. An "i" before the package name will denote what is installed.
- Code: Select all
aptitude search cups
gdeering@lmde ~ $ sudo aptitude search cups
p apcupsd - APC UPS Power Management (daemon)
p apcupsd-cgi - APC UPS Power Management (web interface)
p apcupsd-doc - APC UPS Power Management (documentation/ex
p bluez-cups - Bluetooth printer driver for CUPS
c cups - Common UNIX Printing System(tm) - server
p cups-bsd - Common UNIX Printing System(tm) - BSD comm
i cups-client - Common UNIX Printing System(tm) - client p
i cups-common - Common UNIX Printing System(tm) - common f
p cups-dbg - Common UNIX Printing System(tm) - debuggin
c cups-driver-gutenprint - printer drivers for CUPS
c cups-pdf - PDF printer for CUPS
i cups-pk-helper - PolicyKit helper to configure cups with fi
i cups-ppdc - Common UNIX Printing System(tm) - PPD mani
p cupsddk - Common UNIX Printing System (transitional
v cupsddk-drivers -
i ghostscript-cups - interpreter for the PostScript language an
p gnuspool-cupspy - CUPS emulation for GNUspool
p hplip-cups - HP Linux Printing and Imaging - CUPS Raste
i libcups2 - Common UNIX Printing System(tm) - Core lib
p libcups2-dev - Common UNIX Printing System(tm) - Developm
i libcupscgi1 - Common UNIX Printing System(tm) - CGI libr
p libcupscgi1-dev - Common UNIX Printing System(tm) - Developm
i libcupsdriver1 - Common UNIX Printing System(tm) - Driver l
p libcupsdriver1-dev - Common UNIX Printing System(tm) - Developm
i libcupsimage2 - Common UNIX Printing System(tm) - Raster i
p libcupsimage2-dev - Common UNIX Printing System(tm) - Developm
i libcupsmime1 - Common UNIX Printing System(tm) - MIME lib
p libcupsmime1-dev - Common UNIX Printing System(tm) - Developm
i libcupsppdc1 - Common UNIX Printing System(tm) - PPD mani
p libcupsppdc1-dev - Common UNIX Printing System(tm) - Developm
v libcupsys2 -
v libcupsys2-dev -
p libgnomecups1.0-1 - GNOME library for CUPS interaction
p libgnomecups1.0-dev - GNOME library for CUPS interaction (header
p libnet-cups-perl - Perl module for printing through CUPS
i python-cups - Python bindings for CUPS
i python-cupshelpers - Python utility modules around the CUPS pri
v python2.6-cups -
v python2.7-cups -
You can try purging and then re-installing CUPS packages, then re-testing. Please don't forget to run the start command for CUPS server first if you do or restart your system (in this case better than just logging out).
I will need to sleep soon, but I'll try and wait awhile longer. If I miss you I will check back here ASAP tomorrow.
Thank you for being patient.
S

You are quite welcome! That is why we are all here, for each other.THANKS for helping
sudo aptitude install cups
gdeering@lmde ~ $ sudo aptitude install cups
[sudo] password for gdeering:
The following NEW packages will be installed:
cups cups-driver-gutenprint{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,107 kB of archives. After unpacking 17.3 MB will be used.
The following packages have unmet dependencies:
foomatic-db-engine: Breaks: cups (< 1.5.0-3~) but 1.4.8-2 is to be installed.
The following actions will resolve these dependencies:
Remove the following packages:
1) foomatic-db-engine
2) foomatic-filters-ppds
Leave the following dependencies unresolved:
3) foomatic-db recommends foomatic-db-engine
4) foomatic-filters recommends foomatic-db-engine (>= 4.0)
Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
cups cups-driver-gutenprint{a}
The following packages will be REMOVED:
foomatic-db-engine{a} foomatic-filters-ppds{a}
0 packages upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/3,107 kB of archives. After unpacking 16.2 MB will be used.
Do you want to continue? [Y/n/?] y
Preconfiguring packages ...
(Reading database ... 200634 files and directories currently installed.)
Removing foomatic-filters-ppds ...
Removing foomatic-db-engine ...
Processing triggers for man-db ...
Selecting previously deselected package cups.
(Reading database ... 200572 files and directories currently installed.)
Unpacking cups (from .../cups_1.4.8-2_amd64.deb) ...
Selecting previously deselected package cups-driver-gutenprint.
Unpacking cups-driver-gutenprint (from .../cups-driver-gutenprint_5.2.7-2_amd64.deb) ...
Processing triggers for man-db ...
Setting up cups (1.4.8-2) ...
insserv: warning: current start runlevel(s) (0 1 2 3 4 5 6) of script `cups' overwrites defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (empty) of script `cups' overwrites defaults (1).
Starting Common Unix Printing System: cupsd.
Setting up cups-driver-gutenprint (5.2.7-2) ...
Did not update any PPD files
Reloading Common Unix Printing System: cupsd.
Backend usb used by printer HL-2140-series is current.
Current status: 32380 new [-1].
gdeering@lmde ~ $
Selecting previously deselected package cups-pdf.
(Reading database ... 201523 files and directories currently installed.)
Unpacking cups-pdf (from .../cups-pdf_2.5.1-3_amd64.deb) ...
Setting up cups-pdf (2.5.1-3) ...
Reloading Common Unix Printing System: cupsd.
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.gdeering@lmde ~ $ sudo dpkg - configure
[sudo] password for gdeering:
dpkg: error: need an action option
Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked [*] produce a lot of output - pipe it through `less' or `more' !
gdeering@lmde ~ $ 
sudo dpkg --configure -a

If I understand what you are asking correctly let me again point you to your CUPS page as before > http://127.0.0.1:631/If I can ask one more question, is there a superior way to connecting another PC to the printer coming through this machine than via Nautilus/connect to server/SHH?
You are quite welcome. Thank you for choosing to be a part of the Linux Mint community.Again, thanks for your help


Users browsing this forum: No registered users and 2 guests