FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 08-01-2008, 09:35 PM
"James R. Jones"
 
Default ubuntu 8.04 lts cups problem

Hello,

I have a small problem, cups does not want to work. When I go to system
-> administration -> printing and click on go to server the connect to
cups window server pops up with /var/run/cups/cups.sock and my username
in the user name box.


The error message is the following:

CUPS server error
There was an error during the CUPS operation: 'httpConnectionEncrypt failed'

In the /var/log/messages the following appears when I restart the cupsys
in init.d as root.



Aug 1 13:09:16 travel-box kernel: [ 9914.018966]
audit(1217624956.164:6): type=1503 operation="inode_permission"
requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=6337
profile="/usr/sbin/cupsd" namespace="default"
Aug 1 13:09:16 travel-box kernel: [ 9914.051756]
audit(1217624956.196:7): type=1503 operation="inode_permission"
requested_mask="Ux::" denied_mask="Ux::"
name="/usr/lib/vmware-tools/bin32/vmware-tpvmlp" pid=6337
profile="/usr/sbin/cupsd" namespace="default"
Aug 1 13:09:16 travel-box kernel: [ 9914.052539]
audit(1217624956.196:8): type=1503 operation="inode_permission"
requested_mask="rw::" denied_mask="rw::" name="/dev/tty" pid=6337
profile="/usr/sbin/cupsd" namespace="default"
Aug 1 13:09:16 travel-box kernel: [ 9914.115885]
audit(1217624956.260:9): type=1503 operation="inode_permission"
requested_mask="::rw" denied_mask="::rw" name="/dev/tty" pid=6348
profile="/usr/sbin/cupsd" namespace="default"


I have searched yahoo and google for a solution and cannot find a
solution. I have seen several messages similar to mine with no
resolution. I have even uninstalled cups and reinstalled cups to see if
that would resolve the problem. After coming to a dead end I turn to
the list wizards for help.


Any help would be appreciated.

jim


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-01-2008, 09:56 PM
Karl Larsen
 
Default ubuntu 8.04 lts cups problem

James R. Jones wrote:
> Hello,
>
> I have a small problem, cups does not want to work. When I go to
> system -> administration -> printing and click on go to server the
> connect to cups window server pops up with /var/run/cups/cups.sock and
> my username in the user name box.
>
> The error message is the following:
>
> CUPS server error
> There was an error during the CUPS operation: 'httpConnectionEncrypt
> failed'
>
> In the /var/log/messages the following appears when I restart the
> cupsys in init.d as root.
>
>
> Aug 1 13:09:16 travel-box kernel: [ 9914.018966]
> audit(1217624956.164:6): type=1503 operation="inode_permission"
> requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=6337
> profile="/usr/sbin/cupsd" namespace="default"
> Aug 1 13:09:16 travel-box kernel: [ 9914.051756]
> audit(1217624956.196:7): type=1503 operation="inode_permission"
> requested_mask="Ux::" denied_mask="Ux::"
> name="/usr/lib/vmware-tools/bin32/vmware-tpvmlp" pid=6337
> profile="/usr/sbin/cupsd" namespace="default"
> Aug 1 13:09:16 travel-box kernel: [ 9914.052539]
> audit(1217624956.196:8): type=1503 operation="inode_permission"
> requested_mask="rw::" denied_mask="rw::" name="/dev/tty" pid=6337
> profile="/usr/sbin/cupsd" namespace="default"
> Aug 1 13:09:16 travel-box kernel: [ 9914.115885]
> audit(1217624956.260:9): type=1503 operation="inode_permission"
> requested_mask="::rw" denied_mask="::rw" name="/dev/tty" pid=6348
> profile="/usr/sbin/cupsd" namespace="default"
>
> I have searched yahoo and google for a solution and cannot find a
> solution. I have seen several messages similar to mine with no
> resolution. I have even uninstalled cups and reinstalled cups to see
> if that would resolve the problem. After coming to a dead end I turn
> to the list wizards for help.
>
> Any help would be appreciated.
>
> jim
>
>
Well almost everyone loads Hardy and after it is set up about right
they set up the printer just like it was on Gutsy and it works.

All your reload and long list of data means nothing to me. Lets go
back to the beginning. What kind of printer do you have? Did you find it
in the list of supported printers? Did you have it plugged in when you
ran the printer setup software?

Karl


--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-01-2008, 10:08 PM
"James R. Jones"
 
Default ubuntu 8.04 lts cups problem

Karl Larsen wrote:

James R. Jones wrote:


Hello,

I have a small problem, cups does not want to work. When I go to
system -> administration -> printing and click on go to server the
connect to cups window server pops up with /var/run/cups/cups.sock and
my username in the user name box.


The error message is the following:

CUPS server error
There was an error during the CUPS operation: 'httpConnectionEncrypt
failed'


In the /var/log/messages the following appears when I restart the
cupsys in init.d as root.



Aug 1 13:09:16 travel-box kernel: [ 9914.018966]
audit(1217624956.164:6): type=1503 operation="inode_permission"
requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=6337
profile="/usr/sbin/cupsd" namespace="default"
Aug 1 13:09:16 travel-box kernel: [ 9914.051756]
audit(1217624956.196:7): type=1503 operation="inode_permission"
requested_mask="Ux::" denied_mask="Ux::"
name="/usr/lib/vmware-tools/bin32/vmware-tpvmlp" pid=6337
profile="/usr/sbin/cupsd" namespace="default"
Aug 1 13:09:16 travel-box kernel: [ 9914.052539]
audit(1217624956.196:8): type=1503 operation="inode_permission"
requested_mask="rw::" denied_mask="rw::" name="/dev/tty" pid=6337
profile="/usr/sbin/cupsd" namespace="default"
Aug 1 13:09:16 travel-box kernel: [ 9914.115885]
audit(1217624956.260:9): type=1503 operation="inode_permission"
requested_mask="::rw" denied_mask="::rw" name="/dev/tty" pid=6348
profile="/usr/sbin/cupsd" namespace="default"


I have searched yahoo and google for a solution and cannot find a
solution. I have seen several messages similar to mine with no
resolution. I have even uninstalled cups and reinstalled cups to see
if that would resolve the problem. After coming to a dead end I turn
to the list wizards for help.


Any help would be appreciated.

jim



Well almost everyone loads Hardy and after it is set up about right
they set up the printer just like it was on Gutsy and it works.


All your reload and long list of data means nothing to me. Lets go
back to the beginning. What kind of printer do you have? Did you find it
in the list of supported printers? Did you have it plugged in when you
ran the printer setup software?


Karl




Karl,

I get no printer list not even the local pdf, all options except for
Goto server and reload on the menu bar are grayed out. I want to
connect to a network printer but since everything is grayed out I
can't. The problem seems to be with cups itself not starting up or
starting up properly.

I have set up several ubuntu workstations in the past and this is my
first problem with cups. Like you indicated it should just work.


jim
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-01-2008, 10:12 PM
"Chris Mohler"
 
Default ubuntu 8.04 lts cups problem

On Fri, Aug 1, 2008 at 4:35 PM, James R. Jones <bnjrj@uaf.edu> wrote:
> Hello,
>
> I have a small problem, cups does not want to work. When I go to system ->
> administration -> printing and click on go to server the connect to cups
> window server pops up with /var/run/cups/cups.sock and my username in the
> user name box.
>
> The error message is the following:

Hi Jim,

Are you connecting a local printer? I think the "connect to server"
might be unnecessary if so. Can you reach http://localhost:631 in a
browser? What make/model of printer are you trying to use, and how
does it connect (USB. Parallel, etc.)?

I've only used the "connect to server" button to attempt to reach
remote print servers. I think you can ignore the error in the syslog
- I see a similar message and CUPS is 100% functional here.


Chris

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-01-2008, 10:13 PM
"Chris Mohler"
 
Default ubuntu 8.04 lts cups problem

On Fri, Aug 1, 2008 at 5:08 PM, James R. Jones <bnjrj@uaf.edu> wrote:
> Karl Larsen wrote:
>>
>> James R. Jones wrote:
>>
>>>
>>> Hello,
>>>
>>> I have a small problem, cups does not want to work. When I go to system
>>> -> administration -> printing and click on go to server the connect to cups
>>> window server pops up with /var/run/cups/cups.sock and my username in the
>>> user name box.
>>>
>>> The error message is the following:
>>>
>>> CUPS server error
>>> There was an error during the CUPS operation: 'httpConnectionEncrypt
>>> failed'
>>>
>>> In the /var/log/messages the following appears when I restart the cupsys
>>> in init.d as root.
>>>
>>>
>>> Aug 1 13:09:16 travel-box kernel: [ 9914.018966]
>>> audit(1217624956.164:6): type=1503 operation="inode_permission"
>>> requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=6337
>>> profile="/usr/sbin/cupsd" namespace="default"
>>> Aug 1 13:09:16 travel-box kernel: [ 9914.051756]
>>> audit(1217624956.196:7): type=1503 operation="inode_permission"
>>> requested_mask="Ux::" denied_mask="Ux::"
>>> name="/usr/lib/vmware-tools/bin32/vmware-tpvmlp" pid=6337
>>> profile="/usr/sbin/cupsd" namespace="default"
>>> Aug 1 13:09:16 travel-box kernel: [ 9914.052539]
>>> audit(1217624956.196:8): type=1503 operation="inode_permission"
>>> requested_mask="rw::" denied_mask="rw::" name="/dev/tty" pid=6337
>>> profile="/usr/sbin/cupsd" namespace="default"
>>> Aug 1 13:09:16 travel-box kernel: [ 9914.115885]
>>> audit(1217624956.260:9): type=1503 operation="inode_permission"
>>> requested_mask="::rw" denied_mask="::rw" name="/dev/tty" pid=6348
>>> profile="/usr/sbin/cupsd" namespace="default"
>>>
>>> I have searched yahoo and google for a solution and cannot find a
>>> solution. I have seen several messages similar to mine with no resolution.
>>> I have even uninstalled cups and reinstalled cups to see if that would
>>> resolve the problem. After coming to a dead end I turn to the list wizards
>>> for help.
>>>
>>> Any help would be appreciated.
>>>
>>> jim
>>>
>>>
>>>
>>
>> Well almost everyone loads Hardy and after it is set up about right
>> they set up the printer just like it was on Gutsy and it works.
>>
>> All your reload and long list of data means nothing to me. Lets go back
>> to the beginning. What kind of printer do you have? Did you find it in the
>> list of supported printers? Did you have it plugged in when you ran the
>> printer setup software?
>>
>> Karl
>>
>>
>
> Karl,
>
> I get no printer list not even the local pdf, all options except for Goto
> server and reload on the menu bar are grayed out. I want to connect to a
> network printer but since everything is grayed out I can't. The problem
> seems to be with cups itself not starting up or starting up properly.
> I have set up several ubuntu workstations in the past and this is my first
> problem with cups. Like you indicated it should just work.
>
> jim

Jim,

If you click on "Server Settings" on the left, is "Show printers
shared by other sytems" checked?

Chris

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-01-2008, 10:17 PM
"James R. Jones"
 
Default ubuntu 8.04 lts cups problem

Chris Mohler wrote:

On Fri, Aug 1, 2008 at 4:35 PM, James R. Jones <bnjrj@uaf.edu> wrote:


Hello,

I have a small problem, cups does not want to work. When I go to system ->
administration -> printing and click on go to server the connect to cups
window server pops up with /var/run/cups/cups.sock and my username in the
user name box.

The error message is the following:



Hi Jim,

Are you connecting a local printer? I think the "connect to server"
might be unnecessary if so. Can you reach http://localhost:631 in a
browser? What make/model of printer are you trying to use, and how
does it connect (USB. Parallel, etc.)?

I've only used the "connect to server" button to attempt to reach
remote print servers. I think you can ignore the error in the syslog
- I see a similar message and CUPS is 100% functional here.


Chris



Chris,

Yes I have tried the http://localhost:631 to talk to cups, but I get the
error "can't establish connection to server at localhost:631"


Localhost is in my host file because I can ping localhost and get a
reply back.


That is why I think it is a problem with cups itself but am at a loss
where to begin.


jim
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-01-2008, 10:28 PM
"James R. Jones"
 
Default ubuntu 8.04 lts cups problem

Chris Mohler wrote:



Jim,

If you click on "Server Settings" on the left, is "Show printers
shared by other sytems" checked?

Chris



Chris,

When I click on "Server Settings" nothing happens.

At the bottom of the Printer configuration window, in the lower left
hand side it says "Not Connected"


jim

jim
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-01-2008, 10:30 PM
"Chris Mohler"
 
Default ubuntu 8.04 lts cups problem

On Fri, Aug 1, 2008 at 5:17 PM, James R. Jones <bnjrj@uaf.edu> wrote:
> Chris Mohler wrote:
>>
>> On Fri, Aug 1, 2008 at 4:35 PM, James R. Jones <bnjrj@uaf.edu> wrote:
>>
>>>
>>> Hello,
>>>
>>> I have a small problem, cups does not want to work. When I go to system
>>> ->
>>> administration -> printing and click on go to server the connect to cups
>>> window server pops up with /var/run/cups/cups.sock and my username in the
>>> user name box.
>>>
>>> The error message is the following:
>>>
>>
>> Hi Jim,
>>
>> Are you connecting a local printer? I think the "connect to server"
>> might be unnecessary if so. Can you reach http://localhost:631 in a
>> browser? What make/model of printer are you trying to use, and how
>> does it connect (USB. Parallel, etc.)?
>>
>> I've only used the "connect to server" button to attempt to reach
>> remote print servers. I think you can ignore the error in the syslog
>> - I see a similar message and CUPS is 100% functional here.
>>
>>
>> Chris
>>
>>
>
> Chris,
>
> Yes I have tried the http://localhost:631 to talk to cups, but I get the
> error "can't establish connection to server at localhost:631"
>
> Localhost is in my host file because I can ping localhost and get a reply
> back.
>
> That is why I think it is a problem with cups itself but am at a loss where
> to begin.

Might be a red herring, but what's the output of 'sudo iptables -L'?

Also, maybe this is worth a shot:
sudo dpkg --purge --ignore-depends=cupsys cupsys
sudo apt-get install cupsys

I just tried it and it didn't break anything (that I noticed). The
"--purge" should clean out all of the old config files.

If that doesn't work, you might try 'sudo dpkg-reconfigure cupsys'

Let me know if any of these work for you...

Chris

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-01-2008, 10:47 PM
"James R. Jones"
 
Default ubuntu 8.04 lts cups problem

Might be a red herring, but what's the output of 'sudo iptables -L'?

Also, maybe this is worth a shot:
sudo dpkg --purge --ignore-depends=cupsys cupsys
sudo apt-get install cupsys

I just tried it and it didn't break anything (that I noticed). The
"--purge" should clean out all of the old config files.

If that doesn't work, you might try 'sudo dpkg-reconfigure cupsys'

Let me know if any of these work for you...

Chris



Chris,

Thanks that solved it, I did not have to do the dpkg-reconfigure cupsys.
The only questions what is the difference of using the commands versus
using the gui System -> Administration -> Synaptic Package Manager ? I
thought that unistalling and reinstalling would accomplish the same things.


Thanks for your help - problem is now solved and I have printing.

jim
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-01-2008, 11:02 PM
"Chris Mohler"
 
Default ubuntu 8.04 lts cups problem

On Fri, Aug 1, 2008 at 5:47 PM, James R. Jones <bnjrj@uaf.edu> wrote:
>>
>>
>> Might be a red herring, but what's the output of 'sudo iptables -L'?
>>
>> Also, maybe this is worth a shot:
>> sudo dpkg --purge --ignore-depends=cupsys cupsys
>> sudo apt-get install cupsys
>>
>> I just tried it and it didn't break anything (that I noticed). The
>> "--purge" should clean out all of the old config files.
>>
>> If that doesn't work, you might try 'sudo dpkg-reconfigure cupsys'
>>
>> Let me know if any of these work for you...
>>
>> Chris
>>
>>
>
> Chris,
>
> Thanks that solved it, I did not have to do the dpkg-reconfigure cupsys. The
> only questions what is the difference of using the commands versus using the
> gui System -> Administration -> Synaptic Package Manager ? I thought that
> unistalling and reinstalling would accomplish the same things.
>
> Thanks for your help - problem is now solved and I have printing.

Glad to hear it. I think choosing "Mark for complete removal" in
Synaptic is the equiv of "--purge", but I'm not 100% on that.

Chris

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 11:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org