Ok, i delete cups package.
And, after new install, cupsd run!

$ ls -al /etc/cups/
total 92
drwxr-xr-x   4 root  _cups    512 Oct 16 08:58 ./
drwxr-xr-x  59 root  wheel   2560 Oct 16 09:21 ../
-rw-------   1 root  _cups      0 Oct 16 08:58 classes.conf
-rw-r--r--   1 root  _cups      0 Oct 16 08:58 client.conf
-rw-r--r--   1 root  _cups    936 Oct  9 19:30 command.types
-rw-r-----   1 root  _cups   2979 Oct 16 08:58 cups-files.conf
-rw-r--r--   1 root  _cups  10802 Oct 16 08:58 cups-pdf.conf
-rw-r-----   1 root  _cups   6278 Oct 16 08:58 cupsd.conf
-rw-r--r--   1 root  _cups      0 Oct 16 08:58 lpoptions
drwxr-xr-x   2 root  _cups    512 Oct  9 19:30 ppd/
-rw-r--r--   1 root  _cups    273 Sep 15 19:58 printcap
-rw-------   1 root  _cups      0 Oct 16 08:58 printers.conf
-rw-------   1 root  _cups    886 Oct  9 15:39 printers.conf.O
-rw-r-----   1 root  _cups    142 Oct 16 08:58 snmp.conf
drwx------   2 root  _cups    512 Oct 16 08:58 ssl/
-rw-r-----   1 root  _cups    111 Oct 10 13:28 subscriptions.conf
-rw-r-----   1 root  _cups    401 Oct  9 20:10 subscriptions.conf.O

$ doas /usr/local/sbin/cupsd -t
"/etc/cups/cups-files.conf" is OK.
"/etc/cups/cupsd.conf" is OK.

Ty!

Le 10/16/17 à 08:50, Stephane HUC "PengouinBSD" a écrit :
> Hi :p
> 
> Ok, i delete /var/cache/cups.
> 
> And, into /etc/cups/, i've not file cupsd.conf!
> 
> $ ls -al /etc/cups/
> total 64
> drwxr-xr-x   4 root  _cups    512 Oct 10 13:28 .
> drwxr-xr-x  59 root  wheel   2560 Oct 16 01:10 ..
> -rw-r--r--   1 root  _cups    936 Oct  9 19:30 command.types
> -rw-r--r--   1 root  _cups  10802 Oct  9 17:41 cups-pdf.conf
> -rw-r--r--   1 root  _cups      0 Oct  9 16:34 lpoptions
> drwxr-xr-x   2 root  _cups    512 Oct  9 19:30 ppd
> -rw-r--r--   1 root  _cups    273 Sep 15 19:58 printcap
> -rw-------   1 root  _cups    886 Oct  9 15:39 printers.conf.O
> drwx------   2 root  _cups    512 Aug 29 20:37 ssl
> -rw-r-----   1 root  _cups    111 Oct 10 13:28 subscriptions.conf
> -rw-r-----   1 root  _cups    401 Oct  9 20:10 subscriptions.conf.O
> 
> 
> Le 10/16/17 à 08:45, Robert Klein a écrit :
>> Hi,
>>
>> On Mon, 16 Oct 2017 08:10:41 +0200
>> "Stephane HUC \"PengouinBSD\"" <b...@stephane-huc.net> wrote:
>>
>>> The output is none:
>>>
>>> [08:07:05] :root@ptb-zou: ~ $ /usr/local/sbin/cupsd -t
>>> [08:07:05] :root@ptb-zou: ~ $
>>>
>>
>> I'd have expected something like
>>
>> "/etc/cups/cupsd.conf" is OK.
>>
>>
>> but you probably don't need cupsd.conf/
>>
>>
>>> And about file log:
>>>
>>> $ cat
>>> /var/log/cups/error_log                                                     
>>>                                                   
>>>
>>> E [09/Oct/2017:20:10:22 +0200] Unable to create
>>> "/var/cache/cups/job.cache.N": No such file or directory
>>> E [10/Oct/2017:13:28:09 +0200] Unable to create
>>> "/var/cache/cups/job.cache.N": No such file or directory
>>>
>>> $ ls -al /var/cache/ | grep cups
>>> drwxr-xr-x   2 root  wheel   512 Oct 15 21:24 cups
>>>
>>> do i need _cups user rights?
>>>
>>
>> yes.  You can just delete the directory, cups recreates it on start.
>>
>>
>> Best regards
>> Robert
>>
>>
>>
>>
>>
>>
>>>
>>> Le 10/16/17 à 08:01, Robert Klein a écrit :
>>>> Hi,
>>>>
>>>> On Sun, 15 Oct 2017 21:35:30 +0200
>>>> "Stephane HUC \"PengouinBSD\"" <b...@stephane-huc.net> wrote:
>>>>  
>>>>> Hi,
>>>>>
>>>>> After upgrade to 6.2 (amd64), Cups not run!
>>>>>
>>>>> $ doas rcctl start cupsd
>>>>> cupsd(failed)  
>>>>
>>>> What is the output of 
>>>>
>>>> /usr/local/sbin/cupsd -t
>>>>
>>>> run as root?
>>>>
>>>>
>>>> Is there anything in the /var/log/cups/error_log logfile?
>>>>
>>>>
>>>> Best regards
>>>> Robert  
>>>
>>
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
----
<me>Stephane HUC as PengouinBSD or CIOTBSD</me>
<mail>b...@stephane-huc.net</mail>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to