Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#101 Le 22/04/2015, à 14:13

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

fatout@fatout-All-Series:~$ sudo service cups start
[sudo] password for fatout: 
cups start/running
fatout@fatout-All-Series:~$ 

j'essaye...

Hors ligne

#102 Le 22/04/2015, à 14:15

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

Firefox ne peut établir de connexion avec le serveur à l'adresse localhost:631.

    Le site est peut-être temporairement indisponible ou surchargé. Réessayez plus tard ;
    Si vous n'arrivez à naviguer sur aucun site, vérifiez la connexion au réseau de votre ordinateur ;
    Si votre ordinateur ou votre réseau est protégé par un pare-feu ou un proxy, assurez-vous que Firefox est autorisé à accéder au Web.

beurk...!

Hors ligne

#103 Le 22/04/2015, à 14:17

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

mais cups n'est plus waiting mais bien start/running c'est une petite victoire là!

Hors ligne

#104 Le 22/04/2015, à 17:35

sylvain3800

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

okay, il n'avait donc jamais demare !!!!
c'est peut etre pourca que le cupsd.conf etait vide
que donne

ls /etc/cups/

et

cat /etc/cups/cupsd.conf

Cogito ergo sum = je consome donc je suis : je pense, donc je suis !

IN-SHADOW:https://www.youtube.com/watch?v=j800SVeiS5I

Hors ligne

#105 Le 22/04/2015, à 21:18

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

Eh bien voici

fatout@fatout-All-Series:~$ sudo service cups start
[sudo] password for fatout: 
cups start/running
fatout@fatout-All-Series:~$ ls /etc/cups/
cupsd.conf  cupsd.conf.save  interfaces  ppd  raw.convs  raw.types  snmp.conf
fatout@fatout-All-Series:~$ cat /etc/cups/cupsd.conf
fatout@fatout-All-Series:~$ 

sur mon terminal

interfaces  ppd

est ecrit en bleu et non pas blanc, est-ce important?
pas de reaction aprés cat /etc/cups/cupsd.conf...

Hors ligne

#106 Le 22/04/2015, à 21:33

sylvain3800

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

en bleu = c'est un dossier
en blanc = un fichier
donc ce n'est pas important
le fichier de conf n'est toujours pas crée ....
mais je vois que tu as relance la commande

sudo service cups start

et que cela ne t'a pas mis d'erreur
chez moi cela donne:

lubuntu@lubuntu:~$ sudo service cups start
start: Job is already running: cups
lubuntu@lubuntu:~$ 

c'est etrange ... et ce fichier de conf vide ...
peux tu essayer de debrancher ton imprimante
d'eteindre et de redemarer l'ordinateur
de lancer la commande
sudo service cups start
et de brancher l'imprimante dans la prise usb
puis de regarder si elle est reconnu (on sait jammais)
puis de lancer de nouveau la commande

 cat /etc/cups/cupsd.conf

en esperant qu'il y ai du changement neutral

Dernière modification par sylvain3800 (Le 22/04/2015, à 21:34)


Cogito ergo sum = je consome donc je suis : je pense, donc je suis !

IN-SHADOW:https://www.youtube.com/watch?v=j800SVeiS5I

Hors ligne

#107 Le 22/04/2015, à 22:27

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

les choses évoluent mais pas de miracle 1er sudo imprimante pas branchée usb

fatout@fatout-All-Series:~$ sudo service cups start
[sudo] password for fatout: 
cups start/running

2éme sudo imprimante relié prise usb

fatout@fatout-All-Series:~$ sudo service cups start
start: Job is already running: cups

puis

fatout@fatout-All-Series:~$  cat /etc/cups/cupsd.conf
fatout@fatout-All-Series:~$ 

est ce qu'il peut y avoir un pare feu, un truc qui m’empêche d’accéder à localhost?

Hors ligne

#108 Le 22/04/2015, à 22:42

alca94

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

est ce qu'il peut y avoir un pare feu, un truc qui m’empêche d’accéder à localhost?

Post 20 vous avez dit

pas d'accés à localhost:631
mais fonctionne sur mon vieux pc portable
en 14.04 LTS aussi,
imprimante installée, fonctionne.
donc ça bug bien au niveau de mon PC

donc ça ne vient pas du pare-feu de la Box mais peut-être celui du PC ?? En avez vous installez un ? Voir la Doc
https://doc.ubuntu-fr.org/pare-feu#pare … ans_ubuntu


POUR METTRE LES RETOURS DU "TERMINAL"  voir les explications sur ce post
https://forum.ubuntu-fr.org/viewtopic.p … #p17345641

Hors ligne

#109 Le 22/04/2015, à 22:44

sylvain3800

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

bon ben ...
en dernier recours tu peux essayer de faire ca :

gksudo xdg-open /etc/cups/cupsd.conf

et tu y copie colle et enregistre ce cupsd.conf que j'ai depuis une session  live usb:

#
#
# Sample configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
# complete description of this file.
#

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn

# Deactivate CUPS' internal logrotating, as we provide a better one, especially
# LogLevel debug2 gets usable now
MaxLogSize 0

# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing Off
BrowseLocalProtocols dnssd

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Web interface setting...
WebInterface Yes

# Restrict access to the server...
<Location />
  Order allow,deny
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

# Set the authenticated printer/job policies...
<Policy authenticated>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

#
#

ensuite tu lance un

sudo service cups restart 

qui devrait fonctionner et prendre en compte les changements et tu essai d'aller sur
localhost:631

Dernière modification par sylvain3800 (Le 22/04/2015, à 22:45)


Cogito ergo sum = je consome donc je suis : je pense, donc je suis !

IN-SHADOW:https://www.youtube.com/watch?v=j800SVeiS5I

Hors ligne

#110 Le 23/04/2015, à 04:55

Alex10336

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

et un

sudo netstat -apn | grep cups

donne ?


« On ne répond pas à une question par une autre question. » (moi ;-) )

Hors ligne

#111 Le 23/04/2015, à 22:08

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

bon ben ...
en dernier recours tu peux essayer de faire ca :

gksudo xdg-open /etc/cups/cupsd.conf

et tu y copie colle et enregistre ce cupsd.conf que j'ai depuis une session  live usb:
Resultat:

    SubscriptionPrivateAccess default
      SubscriptionPrivateValues default

      # Job-related operations must be done by the owner or an administrator...
      <Limit Create-Job Print-Job Print-URI Validate-Job>
        AuthType Default
        Order deny,allow
      </Limit>

      <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
        AuthType Default
        Require user @OWNER @SYSTEM
        Order deny,allow
      </Limit>

      # All administration operations require an administrator to authenticate...
      <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
        AuthType Default
      

Processus actif dans ce terminal,
je ne ferme pas?

Hors ligne

#112 Le 23/04/2015, à 22:11

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

Malgré avoir rentré mon mot de passe administrateur,
on dirait que ça coince, non?

Hors ligne

#113 Le 23/04/2015, à 22:27

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

alca94 a écrit :

est ce qu'il peut y avoir un pare feu, un truc qui m’empêche d’accéder à localhost?

Post 20 vous avez dit

pas d'accés à localhost:631
mais fonctionne sur mon vieux pc portable
en 14.04 LTS aussi,
imprimante installée, fonctionne.
donc ça bug bien au niveau de mon PC

donc ça ne vient pas du pare-feu de la Box mais peut-être celui du PC ?? En avez vous installez un ? Voir la Doc
https://doc.ubuntu-fr.org/pare-feu#pare … ans_ubuntu

Alors j'ai tapé ça

 sudo iptables -L

et voici le resultat peut etre qu'il y a un souci à chain FORWARD (policy DROP)? au lieu de policy accept?

fatout@fatout-All-Series:~$  sudo iptables -L
[sudo] password for fatout: 
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ufw-before-logging-input  all  --  anywhere             anywhere            
ufw-before-input  all  --  anywhere             anywhere            
ufw-after-input  all  --  anywhere             anywhere            
ufw-after-logging-input  all  --  anywhere             anywhere            
ufw-reject-input  all  --  anywhere             anywhere            
ufw-track-input  all  --  anywhere             anywhere            

Chain FORWARD (policy DROP)
target     prot opt source               destination         
ufw-before-logging-forward  all  --  anywhere             anywhere            
ufw-before-forward  all  --  anywhere             anywhere            
ufw-after-forward  all  --  anywhere             anywhere            
ufw-after-logging-forward  all  --  anywhere             anywhere            
ufw-reject-forward  all  --  anywhere             anywhere            
ufw-track-forward  all  --  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
ufw-before-logging-output  all  --  anywhere             anywhere            
ufw-before-output  all  --  anywhere             anywhere            
ufw-after-output  all  --  anywhere             anywhere            
ufw-after-logging-output  all  --  anywhere             anywhere            
ufw-reject-output  all  --  anywhere             anywhere            
ufw-track-output  all  --  anywhere             anywhere            

Chain ufw-after-forward (1 references)
target     prot opt source               destination         

Chain ufw-after-input (1 references)
target     prot opt source               destination         
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:netbios-ns
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:netbios-dgm
ufw-skip-to-policy-input  tcp  --  anywhere             anywhere             tcp dpt:netbios-ssn
ufw-skip-to-policy-input  tcp  --  anywhere             anywhere             tcp dpt:microsoft-ds
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:bootps
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:bootpc
ufw-skip-to-policy-input  all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST

Chain ufw-after-logging-forward (1 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-after-logging-input (1 references)
target     prot opt source               destination         

Chain ufw-after-logging-output (1 references)
target     prot opt source               destination         

Chain ufw-after-output (1 references)
target     prot opt source               destination         

Chain ufw-before-forward (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ACCEPT     icmp --  anywhere             anywhere             icmp destination-unreachable
ACCEPT     icmp --  anywhere             anywhere             icmp source-quench
ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded
ACCEPT     icmp --  anywhere             anywhere             icmp parameter-problem
ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
ufw-user-forward  all  --  anywhere             anywhere            

Chain ufw-before-input (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ufw-logging-deny  all  --  anywhere             anywhere             ctstate INVALID
DROP       all  --  anywhere             anywhere             ctstate INVALID
ACCEPT     icmp --  anywhere             anywhere             icmp destination-unreachable
ACCEPT     icmp --  anywhere             anywhere             icmp source-quench
ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded
ACCEPT     icmp --  anywhere             anywhere             icmp parameter-problem
ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
ACCEPT     udp  --  anywhere             anywhere             udp spt:bootps dpt:bootpc
ufw-not-local  all  --  anywhere             anywhere            
ACCEPT     udp  --  anywhere             224.0.0.251          udp dpt:mdns
ACCEPT     udp  --  anywhere             239.255.255.250      udp dpt:1900
ufw-user-input  all  --  anywhere             anywhere            

Chain ufw-before-logging-forward (1 references)
target     prot opt source               destination         

Chain ufw-before-logging-input (1 references)
target     prot opt source               destination         

Chain ufw-before-logging-output (1 references)
target     prot opt source               destination         

Chain ufw-before-output (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ufw-user-output  all  --  anywhere             anywhere            

Chain ufw-logging-allow (0 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW ALLOW] "

Chain ufw-logging-deny (2 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere             ctstate INVALID limit: avg 3/min burst 10
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-not-local (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere             ADDRTYPE match dst-type LOCAL
RETURN     all  --  anywhere             anywhere             ADDRTYPE match dst-type MULTICAST
RETURN     all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST
ufw-logging-deny  all  --  anywhere             anywhere             limit: avg 3/min burst 10
DROP       all  --  anywhere             anywhere            

Chain ufw-reject-forward (1 references)
target     prot opt source               destination         

Chain ufw-reject-input (1 references)
target     prot opt source               destination         

Chain ufw-reject-output (1 references)
target     prot opt source               destination         

Chain ufw-skip-to-policy-forward (0 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            

Chain ufw-skip-to-policy-input (7 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            

Chain ufw-skip-to-policy-output (0 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            

Chain ufw-track-forward (1 references)
target     prot opt source               destination         

Chain ufw-track-input (1 references)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere             ctstate NEW
ACCEPT     udp  --  anywhere             anywhere             ctstate NEW

Chain ufw-track-output (1 references)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere             ctstate NEW
ACCEPT     udp  --  anywhere             anywhere             ctstate NEW

Chain ufw-user-forward (1 references)
target     prot opt source               destination         

Chain ufw-user-input (1 references)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ipp
ACCEPT     udp  --  anywhere             anywhere             udp dpt:ipp

Chain ufw-user-limit (0 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 5 LOG level warning prefix "[UFW LIMIT BLOCK] "
REJECT     all  --  anywhere             anywhere             reject-with icmp-port-unreachable

Chain ufw-user-limit-accept (0 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            

Chain ufw-user-logging-forward (0 references)
target     prot opt source               destination         

Chain ufw-user-logging-input (0 references)
target     prot opt source               destination         

Chain ufw-user-logging-output (0 references)
target     prot opt source               destination         

Chain ufw-user-output (1 references)
target     prot opt source               destination         
fatout@fatout-All-Series:~$ 

Hors ligne

#114 Le 23/04/2015, à 22:34

alca94

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

et vous ne pouvez pas le désactiver votre pare-feu voir la doc
https://doc.ubuntu-fr.org/gufw


POUR METTRE LES RETOURS DU "TERMINAL"  voir les explications sur ce post
https://forum.ubuntu-fr.org/viewtopic.p … #p17345641

Hors ligne

#115 Le 23/04/2015, à 22:47

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

gufw téléchargé
pare feu activé
incoming autorisé
outgoing autorisé
REGLES
1    631 allow in n'importe ou
2    631(V6) allow in n'importe ouallow out

Hors ligne

#116 Le 23/04/2015, à 22:57

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

suite post #111

fatout@fatout-All-Series:~$ gksudo xdg-open /etc/cups/cupsd.conf
    #
    #
    # Sample configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
    # complete description of this file.
    #

    # Log general information in error_log - change "warn" to "debug"
    # for troubleshooting...
    LogLevel warn

    # Deactivate CUPS' internal logrotating, as we provide a better one, especially
    # LogLevel debug2 gets usable now
    MaxLogSize 0

    # Only listen for connections from the local machine.
    Listen localhost:631
    Listen /var/run/cups/cups.sock

    # Show shared printers on the local network.
    Browsing Off
    BrowseLocalProtocols dnssd

    # Default authentication type, when authentication is required...
    DefaultAuthType Basic

    # Web interface setting...
    WebInterface Yes

    # Restrict access to the server...
    <Location />
      Order allow,deny
    </Location>

    # Restrict access to the admin pages...
    <Location /admin>
      Order allow,deny
    </Location>

    # Restrict access to configuration files...
    <Location /admin/conf>
      AuthType Default
      Require user @SYSTEM
      Order allow,deny
    </Location>

    # Set the default printer/job policies...
    <Policy default>
      # Job/subscription privacy...
      JobPrivateAccess default
      JobPrivateValues default
      SubscriptionPrivateAccess default
      SubscriptionPrivateValues default

      # Job-related operations must be done by the owner or an administrator...
      <Limit Create-Job Print-Job Print-URI Validate-Job>
        Order deny,allow
      </Limit>

      <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
        Require user @OWNER @SYSTEM
        Order deny,allow
      </Limit>

      # All administration operations require an administrator to authenticate...
      <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
        AuthType Default
        Require user @SYSTEM
        Order deny,allow
      </Limit>

      # All printer operations require a printer operator to authenticate...
      <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
        AuthType Default
        Require user @SYSTEM
        Order deny,allow
      </Limit>

      # Only the owner or an administrator can cancel or authenticate a job...
      <Limit Cancel-Job CUPS-Authenticate-Job>
        Require user @OWNER @SYSTEM
        Order deny,allow
      </Limit>

      <Limit All>
        Order deny,allow
      </Limit>
    </Policy>

    # Set the authenticated printer/job policies...
    <Policy authenticated>
      # Job/subscription privacy...
      JobPrivateAccess default
      JobPrivateValues default
      SubscriptionPrivateAccess default
      SubscriptionPrivateValues default

      # Job-related operations must be done by the owner or an administrator...
      <Limit Create-Job Print-Job Print-URI Validate-Job>
        AuthType Default
        Order deny,allow
      </Limit>

      <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
        AuthType Default
        Require user @OWNER @SYSTEM
        Order deny,allow
      </Limit>

      # All administration operations require an administrator to authenticate...
      <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
        AuthType Default
      fatout@fatout-All-Series:~$     #
fatout@fatout-All-Series:~$     #
fatout@fatout-All-Series:~$     # Sample configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
fatout@fatout-All-Series:~$     # complete description of this file.
fatout@fatout-All-Series:~$     #
fatout@fatout-All-Series:~$ 
icate...
   fatout@fatout-All-Series:~$     # Log general information in error_log - chan"warn" to "debug"
fatout@fatout-All-Series:~$     # for troubleshooting...
fatout@fatout-All-Series:~$     LogLevel warn
LogLevel : commande introuvable
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$     # Deactivate CUPS' internal logrotating, as we provide a better one, especially
fatout@fatout-All-Series:~$     # LogLevel debug2 gets usable now
fatout@fatout-All-Series:~$     MaxLogSize 0
MaxLogSize : commande introuvable
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$     # Only listen for connections from the local machine.
fatout@fatout-All-Series:~$     Listen localhost:631
Listen : commande introuvable
fatout@fatout-All-Series:~$     Listen /var/run/cups/cups.sock
Listen : commande introuvable
fatout@fatout-All-Series:~$ 
lfatout@fatout-All-Series:~$     # Show shared printers on the local network.
fatout@fatout-All-Series:~$     Browsing Off
Browsing : commande introuvable
fatout@fatout-All-Series:~$     BrowseLocalProtocols dnssd
BrowseLocalProtocols : commande introuvable
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$     # Default authentication type, when authentication is required...
fatout@fatout-All-Series:~$     DefaultAuthType Basic
DefaultAuthType : commande introuvable
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$     # Web interface setting...
fatout@fatout-All-Series:~$     WebInterface Yes
WebInterface : commande introuvable
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$     # Restrict access to the server...
fatout@fatout-All-Series:~$     <Location />
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$       Order allow,deny
Order : commande introuvable
fatout@fatout-All-Series:~$     </Location>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$     # Restrict access to the admin pages...
fatout@fatout-All-Series:~$     <Location /admin>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$       Order allow,deny
Order : commande introuvable
fatout@fatout-All-Series:~$     </Location>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$     # Restrict access to configuration files...
fatout@fatout-All-Series:~$     <Location /admin/conf>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$       AuthType Default
AuthType : commande introuvable
fatout@fatout-All-Series:~$       Require user @SYSTEM
Require : commande introuvable
fatout@fatout-All-Series:~$       Order allow,deny
Order : commande introuvable
fatout@fatout-All-Series:~$     </Location>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$     # Set the default printer/job policies...
fatout@fatout-All-Series:~$     <Policy default>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$       # Job/subscription privacy...
fatout@fatout-All-Series:~$       JobPrivateAccess default
JobPrivateAccess : commande introuvable
fatout@fatout-All-Series:~$       JobPrivateValues default
JobPrivateValues : commande introuvable
fatout@fatout-All-Series:~$       SubscriptionPrivateAccess default
SubscriptionPrivateAccess : commande introuvable
fatout@fatout-All-Series:~$       SubscriptionPrivateValues default
SubscriptionPrivateValues : commande introuvable
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$       # Job-related operations must be done by the owner or an administrator...
fatout@fatout-All-Series:~$       <Limit Create-Job Print-Job Print-URI Validate-Job>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$         Order deny,allow
Order : commande introuvable
fatout@fatout-All-Series:~$       </Limit>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$       <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$         Require user @OWNER @SYSTEM
Require : commande introuvable
fatout@fatout-All-Series:~$         Order deny,allow
Order : commande introuvable
fatout@fatout-All-Series:~$       </Limit>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$       # All administration operations require an administrator to authenticate...
fatout@fatout-All-Series:~$       <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$         AuthType Default
AuthType : commande introuvable
fatout@fatout-All-Series:~$         Require user @SYSTEM
Require : commande introuvable
fatout@fatout-All-Series:~$         Order deny,allow
Order : commande introuvable
fatout@fatout-All-Series:~$       </Limit>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$       # All printer operations require a printer operator to authenticate...
fatout@fatout-All-Series:~$       <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$         AuthType Default
AuthType : commande introuvable
fatout@fatout-All-Series:~$         Require user @SYSTEM
Require : commande introuvable
fatout@fatout-All-Series:~$         Order deny,allow
Order : commande introuvable
fatout@fatout-All-Series:~$       </Limit>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$       # Only the owner or an administrator can cancel or authenticate a job...
fatout@fatout-All-Series:~$       <Limit Cancel-Job CUPS-Authenticate-Job>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$         Require user @OWNER @SYSTEM
Require : commande introuvable
fatout@fatout-All-Series:~$         Order deny,allow
Order : commande introuvable
fatout@fatout-All-Series:~$       </Limit>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$       <Limit All>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$         Order deny,allow
Order : commande introuvable
fatout@fatout-All-Series:~$       </Limit>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$     </Policy>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$     # Set the authenticated printer/job policies...
fatout@fatout-All-Series:~$     <Policy authenticated>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$       # Job/subscription privacy...
fatout@fatout-All-Series:~$       JobPrivateAccess default
JobPrivateAccess : commande introuvable
fatout@fatout-All-Series:~$       JobPrivateValues default
JobPrivateValues : commande introuvable
fatout@fatout-All-Series:~$       SubscriptionPrivateAccess default
SubscriptionPrivateAccess : commande introuvable
fatout@fatout-All-Series:~$       SubscriptionPrivateValues default
SubscriptionPrivateValues : commande introuvable
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$       # Job-related operations must be done by the owner or an administrator...
fatout@fatout-All-Series:~$       <Limit Create-Job Print-Job Print-URI Validate-Job>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$         AuthType Default
AuthType : commande introuvable
fatout@fatout-All-Series:~$         Order deny,allow
Order : commande introuvable
fatout@fatout-All-Series:~$       </Limit>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$       <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$         AuthType Default
AuthType : commande introuvable
fatout@fatout-All-Series:~$         Require user @OWNER @SYSTEM
Require : commande introuvable
fatout@fatout-All-Series:~$         Order deny,allow
Order : commande introuvable
fatout@fatout-All-Series:~$       </Limit>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$       # All administration operations require an administrator to authenticate...
fatout@fatout-All-Series:~$       <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$         AuthType Default
AuthType : commande introuvable
fatout@fatout-All-Series:~$         Require user @SYSTEM
Require : commande introuvable
fatout@fatout-All-Series:~$         Order deny,allow
Order : commande introuvable
fatout@fatout-All-Series:~$       </Limit>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$       # All printer operations require a printer operator to authenticate...
fatout@fatout-All-Series:~$       <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$         AuthType Default
AuthType : commande introuvable
fatout@fatout-All-Series:~$         Require user @SYSTEM
Require : commande introuvable
fatout@fatout-All-Series:~$         Order deny,allow
Order : commande introuvable
fatout@fatout-All-Series:~$       </Limit>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$       # Only the owner or an administrator can cancel or authenticate a job...
fatout@fatout-All-Series:~$       <Limit Cancel-Job CUPS-Authenticate-Job>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$         AuthType Default
AuthType : commande introuvable
fatout@fatout-All-Series:~$         Require user @OWNER @SYSTEM
Require : commande introuvable
fatout@fatout-All-Series:~$         Order deny,allow
Order : commande introuvable
fatout@fatout-All-Series:~$       </Limit>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$       <Limit All>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$         Order deny,allow
Order : commande introuvable
fatout@fatout-All-Series:~$       </Limit>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$     </Policy>
bash: Erreur de syntaxe près du symbole inattendu « newline »
fatout@fatout-All-Series:~$ 
fatout@fatout-All-Series:~$     #
fatout@fatout-All-Series:~$     #
fatout@fatout-All-Series:~$ tasudo service cups restart sudo service cups restart 
tasudo : commande introuvable
fatout@fatout-All-Series:~$ sudo service cups restart
[sudo] password for fatout: 
cups stop/waiting

Hors ligne

#117 Le 23/04/2015, à 22:58

alca94

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

Je ne pourrais vous aider ,je n'en ai jamais mis ?


POUR METTRE LES RETOURS DU "TERMINAL"  voir les explications sur ce post
https://forum.ubuntu-fr.org/viewtopic.p … #p17345641

Hors ligne

#118 Le 24/04/2015, à 07:32

sylvain3800

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

oh ..je me suis mal exprimé.
je pensais que la commande

gksudo xdg-open /etc/cups/cupsd.conf 

ouvrirai ton editeur de text gedit par ex
et il te fallait juste copier coller ce que j'avais ecris dan le cadre blanc puis de l'enregistrer
si cette commande n'a pas ouvert ton editeur alors lance

gksudo gedit /etc/cups/cupsd.conf

l'editeur devrait s'ouvrir avec un fichier vide dans cet editeur copie colle , le cupsd.conf dans le cadre blanc de mon message precedent.
et enregistre le.
ne rentre pas toute ces lignes comme des commandes dans le terminal
une fois enregistre tu aura ce fichier cupsd.conf a la place de ton cupsd.conf vide
ensuite le

sudo sercice cups restart 

devrait prendre en compte les changements


Cogito ergo sum = je consome donc je suis : je pense, donc je suis !

IN-SHADOW:https://www.youtube.com/watch?v=j800SVeiS5I

Hors ligne

#119 Le 24/04/2015, à 12:05

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

quel banane je suis! merci pour les explications
je refais la manip et voila

fatout@fatout-All-Series:~$ sudo service cups restart
[sudo] password for fatout: 
cups stop/waiting
cups start/running, process 6849
fatout@fatout-All-Series:~$ 

je fais paramètre système VICTOIRE !!!!! connecté
je fais http://localhost:631/admin VICTOIRE!!!!!! Connecté
Sylvain3800 est un type super!!!
merci à vous tous et la communauté Ubuntu
je n'ai pas encore paramétré l'imprimante mais tout va rouler maintenant...!
Alors pour Résumer les post#109 et #118 semblent avoir été décisifs pour solutionner le problème
après 5 pages de recherches et d'intervention d'Alca94 et Sylvain3800 qui m'ont guidés tout au long
de cet imbroglio!!!!Merci et RÉSOLU, bravo les gars!

Hors ligne

#120 Le 24/04/2015, à 12:10

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

Pour finir, Imprimante HP ENVY 7640 reconnue et installée, page test imprimée tout cela en 20 secondes
qu'est ce que c'est chouette quand ça fonctionne!!!!

Hors ligne

#121 Le 24/04/2015, à 15:40

sylvain3800

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

ha cool !!! ca c'est une bonne nouvelle !!!
c'est bien que ca fonctionne car .... je n'etais pas sur que cups accepte de se voir imposer un fichier de conf qu'il n'avait pas lui même crée et si tel etait le cas ...je n'aurai pas pu aider d'avantage ... big_smile
des questions restent en suspend car  je ne comprend toujours pas pourquoi la reinstallation de cups n'a pas crée ce fichier de conf a l'origine et pourquoi cups n'avait pas demarré ... mais l'essentiel c'est que ca fonctionne enfin .


Cogito ergo sum = je consome donc je suis : je pense, donc je suis !

IN-SHADOW:https://www.youtube.com/watch?v=j800SVeiS5I

Hors ligne

#122 Le 24/04/2015, à 19:28

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

des questions restent en suspend

à mon niveau, cela ne pouvait être que des gremlins!!!;)

Hors ligne

#123 Le 25/04/2015, à 12:10

m.balthazar

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

Salut vincefatal,

N'oublie pas d'ajouter « Résolu » dans le titre.

Merci


Aidez-nous à traduire Ubuntu Noble Numbat (doc, applis, descriptions d'applis, pages web) en français  >> https://doc.ubuntu-fr.org/ubuntu-l10n-fr

Hors ligne

#124 Le 25/04/2015, à 14:30

vincefatal

Re : [RESOLU] CUPS, localhost:631 impossible à atteindre

Fait!
merci m.balthazar

Hors ligne