LinuxForum.Fans
Тема

CUPS не запускается

Автор: oiler1979 6 сообщений 2636 просмотров
#337528

При попытке настройки принтера запускаю CUPS, в ответ получаю:

text
root@debian:/home/andr# cd /etc/init.d/
root@debian:/etc/init.d# cupsys start
bash: cupsys: command not found
root@debian:/etc/init.d# cups start
bash: cups: command not found
root@debian:/etc/init.d# 

Помогите пожалуйста.

#337530

А как-нибудь так

text

/etc/init.d/cupsd start
#337531

Вы бы сначала проверили, может, сервис уже запущен?

text

sabayon-netbook lupo # netstat -pan --inet | grep cupsd
netstat: no support for `AF INET (sctp)' on this system.
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      4629/cupsd
#337532

Как понять запущен или нет???

text
root@debian:/etc/init.d# cupsd start
cupsd: Unknown argument "start" - aborting.
Usage: cupsd [options]
Options:
  -c config-file          Load alternate configuration file.
  -f                      Run in the foreground.
  -F                      Run in the foreground but detach from console.
  -h                      Show this usage message.
  -l                      Run cupsd from launchd(8).
  -t                      Test the configuration file.
text
root@debian:/etc/init.d# netstat -pan --inet | grep cupsd
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      2679/cupsd      
udp        0      0 0.0.0.0:631             0.0.0.0:*                           2679/cupsd
#337535
"oiler1979⇓" написал:
root@debian:/etc/init.d# netstat -pan --inet | grep cupsd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2679/cupsd
udp 0 0 0.0.0.0:631 0.0.0.0:* 2679/cupsd

Сервис уже запущен.

#337538

Спасибо, буду знать

Войдите или зарегистрируйтесь, чтобы ответить.