unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Oleg Pykhalov <go.wigust@gmail.com>
To: "Gnu Röoty" <walidslack@gmail.com>
Cc: 32296@debbugs.gnu.org
Subject: bug#32296: cups not started
Date: Wed, 01 Aug 2018 16:59:23 +0300	[thread overview]
Message-ID: <87d0v2p4qs.fsf@gmail.com> (raw)
In-Reply-To: <CAOWR9dsjGM-JjD9N4ZXi6BZT3EWJsz2BwBRLFQLBQTzXjt6XSg@mail.gmail.com> ("Gnu \=\?utf-8\?Q\?R\=C3\=B6oty\=22's\?\= message of "Sat, 28 Jul 2018 15:10:25 +0200")

[-- Attachment #1: Type: text/plain, Size: 1777 bytes --]

Hello,

Gnu Röoty <walidslack@gmail.com> writes:

> Hi I have a problem with the CUPS service.

What is the problem?

Does ‘sudo herd status cups’ tells the service is not started?


What about listening ports and running process?

Does ‘netstat’ response is differ for you?
--8<---------------cut here---------------start------------->8---
$ sudo netstat -plunt | grep cups
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      459/cupsd
tcp6       0      0 ::1:631                 :::*                    LISTEN      459/cupsd
--8<---------------cut here---------------end--------------->8---

And ‘pgrep’?
--8<---------------cut here---------------start------------->8---
$ pgrep -fa cups
459 /gnu/store/4f5309lrqj4y4r0zajbgkja610gxg2z2-cups-2.2.8/sbin/cupsd -f -c /gnu/store/7fwyhl7j4ims62lfysjrzvlr8pb1x67v-cupsd.conf -s /gnu/store/za00ywd2app6a8pw4hrcgwzcy18sgana-cups-files.conf
--8<---------------cut here---------------end--------------->8---

> I put the script
>
> (service cups-service-type
> (cups-configuration
> (web-interface? #t)
> (extensions
> (list cups-filters hplip))))
> 
> and I have put in the 'use-service-module cups' and 'use-package-module
> cups'

The snippet look legit.  Could you post your full system ‘config.scm’?


> I upgrade  my GuixSD with sudo -E guix system reconfigure /etc/config
> but it's same.

I run a ‘sudo -E guix system reconfigure /etc/config’ command [1] to
reconfigure my system, too.  Did you run ‘guix pull’ before [1] command?

What does ‘guix --version’ tell?


Do logs contain useful information (‘/var/log/messages’ and
‘/var/log/cups/access_log’, ‘/var/log/cups/error_log’ files)?

Thanks,
Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2018-08-01 14:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-28 13:10 bug#32296: cups not started Gnu Röoty
2018-08-01 13:59 ` Oleg Pykhalov [this message]
2018-08-01 18:05 ` Gnu Röoty
2018-08-01 21:50   ` Oleg Pykhalov
2018-08-02  7:05 ` bug#32296: Gnu Röoty
2018-08-02  7:45   ` bug#32296: Oleg Pykhalov
2018-08-02  7:51   ` bug#32296: Martin Castillo
2018-08-02 12:33     ` bug#32296: Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0v2p4qs.fsf@gmail.com \
    --to=go.wigust@gmail.com \
    --cc=32296@debbugs.gnu.org \
    --cc=walidslack@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).