Page 1 of 2

[Solved]cups.sock missing

Posted: 28 Sep 2013, 11:28
by xtudiux
good pm,
my cups setting in /var is missing...everytime I restarts...

:D

Re: cups.sock missing

Posted: 28 Sep 2013, 14:21
by francois
Are you working with 2.1 version? Did you install printing.xzm module?

Re: cups.sock missing

Posted: 29 Sep 2013, 13:31
by xtudiux
good pm,

Yep. installed 2.1 x64. Also installed printing.xzm. It works when I downloaded the cups.xxx.xzm. It works again. but when I restart the system again. cups.sock is missing again. :D

Re: cups.sock missing

Posted: 29 Sep 2013, 19:12
by wread
When you download cups.xxx.xzm you must put it in modules folder; if you leave it in a volatile folder, it will be gone when you restart the machine :(

Re: cups.sock missing

Posted: 30 Sep 2013, 03:14
by xtudiux
Good pm,

I put it on the module folder. I notice that the permission on /var/run/cups is lp and its is only read...when i used the root account it works.

Re: cups.sock missing

Posted: 01 Oct 2013, 15:25
by francois
1) From what I understand you try a) to work from guest mode and you b) have the save change cheatcode in your bootloader commands. What is the bootloader that you are using currently? And what are the commands invoqued to have the save change options working?

2) You are trying to modify some parameters in the /etc/cups/cupsd.conf relative to some command lines in this file:

Code: Select all

# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
3) You have been setting CUPS from guest mode, but using root from terminal to get cupsd.conf modified within guest mode.

Did you tried to logout guest mode, login root mode and setup the cupsd.conf file from root mode?

Re: cups.sock missing

Posted: 02 Oct 2013, 05:33
by xtudiux
1.) hmmm...I think its syslinux.
2.) I didnt change any setting in cupsd.conf
3.) It used to work under guest mode...

I havent tried to logout in guest mode yet...I'll try that...
PS. the temp soln is download the cups-1.5.4-x86_64.xzm to make the print work... :D

Re: cups.sock missing

Posted: 12 Oct 2013, 04:25
by xtudiux
Good am,

I notice when my porteus v2.1 x64 xfce boots up and manually activate the system-printer it works. but it activate automatically on boot-up. cups.sock is missing...
Just an observation. :D

Re: cups.sock missing

Posted: 12 Oct 2013, 12:01
by fanthom
@xtudiux
thats important information - will check it today.
thanks

EDIT:\\
everything is ok - cups sock is created no matter if module is activated during boot or during live session.
please make sure you have /etc/rc.d/rc.cups executable (maybe non exec file from your changes is playing a role here):

Code: Select all

chmod +x /etc/rc.d/rc.cups

Re: cups.sock missing

Posted: 08 Nov 2013, 03:12
by xtudiux
Good am...

Still the same...I have to manually activate the printer.xzm to make it work..anyway. its alright I rarely use it anyway...hehehehhe :D

Re: cups.sock missing

Posted: 08 Nov 2013, 22:57
by tome
Try fresh mode and load your modules during boot in correct order - simply change first letter (number) of module name.

Re: cups.sock missing

Posted: 13 Nov 2013, 03:15
by francois
Have you tried the print.xzm in fresh mode? Also, a very silly question, in what folder did you put the module? :oops:

Re: cups.sock missing

Posted: 13 Nov 2013, 06:44
by xtudiux
Good pm,

1. havent try the fresh mode
2. its on the base folder...

Re: cups.sock missing

Posted: 14 Nov 2013, 00:22
by francois
Just give a try to always fresh mode, and report.

Re: cups.sock missing

Posted: 24 Dec 2013, 11:36
by xtudiux
Good pm,

Tried Always Fresh...Still the same...the printer module is not working...It needs to be deactivated then activate...

Anyway, I have a partial solution...I put it on the manual activation... :) ...Its not an elegant solution but it works...hehehhe