Udzielone Odpowiedzi
- AutorPosty
- tomi66Forumowicz
# Do not load the usblp module on boot blacklist usblp ... install usblp /bin/false ..
[root@Artelivej tomi]# locate cupswrapperdcp135c [root@Artelivej tomi]#
tomi66ForumowiczNadal nie drukuje , podczas szukania sterownika w ustawieniach systemowych „zły argument”
tomi66ForumowiczJest połączenie z serwerem Cups , drukarka dodana ale można drukować tylko do pliku PDF .
tomi66Forumowicz# # File/directory/user/group configuration file for the CUPS scheduler. # See "man cups-files.conf" for a complete description of this file. # # List of events that are considered fatal errors for the scheduler... #FatalErrors config # Do we call fsync() after writing configuration or status files? #SyncOnClose No # Default user and group for filters/backends/helper programs; this cannot be # any user or group that resolves to ID 0 for security reasons... #User daemon #Group lp # Administrator user group, used to match @SYSTEM in cupsd.conf policy rules... # This cannot contain the Group value for security reasons... SystemGroup sys root printadmin # User that is substituted for unauthenticated (remote) root accesses... #RemoteRoot remroot # Do we allow file: device URIs other than to /dev/null? #FileDevice No # Permissions for configuration and log files... #ConfigFilePerm 0640 #LogFilePerm 0644 # Location of the file logging all access to the scheduler; may be the name # "syslog". If not an absolute path, the value of ServerRoot is used as the # root directory. Also see the "AccessLogLevel" directive in cupsd.conf. AccessLog /var/log/cups/access_log # Location of cache files used by the scheduler... #CacheDir /var/cache/cups # Location of data files used by the scheduler... #DataDir /usr/share/cups # Location of the static web content served by the scheduler... #DocumentRoot /usr/share/cups/doc # Location of the file logging all messages produced by the scheduler and any # helper programs; may be the name "syslog". If not an absolute path, the value # of ServerRoot is used as the root directory. Also see the "LogLevel" # directive in cupsd.conf. ErrorLog /var/log/cups/error_log # Location of fonts used by older print filters... #FontPath /usr/share/cups/fonts # Location of LPD configuration #LPDConfigFile xinetd:///etc/xinetd.d/cups-lpd # Location of the file logging all pages printed by the scheduler and any # helper programs; may be the name "syslog". If not an absolute path, the value # of ServerRoot is used as the root directory. Also see the "PageLogFormat" # directive in cupsd.conf. PageLog /var/log/cups/page_log # Location of the file listing all of the local printers... #Printcap /etc/printcap # Format of the Printcap file... #PrintcapFormat bsd #PrintcapFormat plist #PrintcapFormat solaris # Location of all spool files... #RequestRoot /var/spool/cups # Location of helper programs... #ServerBin /usr/lib/cups # SSL/TLS keychain for the scheduler... #ServerKeychain ssl # Location of other configuration files... #ServerRoot /etc/cups # Location of Samba configuration file... #SMBConfigFile # Location of scheduler state files... #StateDir /run/cups # Location of scheduler/helper temporary files. This directory is emptied on # scheduler startup and cannot be one of the standard (public) temporary # directory locations for security reasons... #TempDir /var/spool/cups/tmp
tomi66Forumowicz[root@Artelivej tomi]# systemctl status org.cups.cupsd.service ● org.cups.cupsd.service - CUPS Scheduler Loaded: loaded (/usr/lib/systemd/system/org.cups.cupsd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since pią 2015-04-03 16:26:27 CEST; 1h 47min ago Docs: man:cupsd(8) Process: 989 ExecStart=/usr/bin/cupsd -l (code=exited, status=1/FAILURE) Main PID: 989 (code=exited, status=1/FAILURE) kwi 03 16:26:27 Artelivej cupsd[989]: Unknown SystemGroup "sys root printadmin" on line 19 of /etc/cups...conf. kwi 03 16:26:27 Artelivej systemd[1]: org.cups.cupsd.service: main process exited, code=exited, status=...ILURE kwi 03 16:26:27 Artelivej systemd[1]: Unit org.cups.cupsd.service entered failed state. kwi 03 16:26:27 Artelivej systemd[1]: org.cups.cupsd.service failed. Hint: Some lines were ellipsized, use -l to show in full. [root@Artelivej tomi]#
tomi66ForumowiczNo nie do końca bo też sypie błędami
[root@Artelivej tomi]# systemctl start org.cups.cupsd.service [root@Artelivej tomi]# Broadcast message from systemd-journald@Artelivej (Fri 2015-04-03 16:26:27 CEST): cupsd[989]: Unable to read "/etc/cups/cups-files.conf" due to errors.
tomi66Forumowicz[root@Artelivej tomi]# pacman -S mlocate rozwiązywanie zależności… szukanie sprzecznych pakietów... Pakiety (1) mlocate-0.26-5 Do pobrania: 0,08 MiB Do zainstalowania: 0,34 MiB :: Kontynuować instalację? [T/n] t :: Pobieranie pakietów… Initializing download: http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/core/x86_64/mlocate-0.26-5-x86_64.pkg.tar.xz File size: 82580 bytes Opening output file /var/cache/pacman/pkg/mlocate-0.26-5-x86_64.pkg.tar.xz.part Starting download Connection 0 finished ] [100%] [..................................................] [ 294,5KB/s] [00:00] Downloaded 80,6 kilobytes in 0 seconds. (294,48 KB/s) (1/1) sprawdzanie kluczy w bazie [#####################################] 100% (1/1) sprawdzanie spójności pakietów [#####################################] 100% (1/1) wczytywanie listy plików [#####################################] 100% (1/1) sprawdzanie konfliktów plików [#####################################] 100% (1/1) sprawdzanie dostępnego miejsca na dysku [#####################################] 100% (1/1) instalowanie mlocate [#####################################] 100% [root@Artelivej tomi]# updatedb [root@Artelivej tomi]# sudo updatedb; locate cupswrapperdcp135c [root@Artelivej tomi]# pacman -Qs dcp135c local/brother-dcp135c 1.0.1-1 LPR and CUPS driver for the Brother DCP135C [root@Artelivej tomi]#
tomi66Forumowicz[tomi@Artelivej ~]$ sudo updatedb; locate cupswrapperdcp135c [sudo] hasło użytkownika tomi: sudo: updatedb: command not found bash: locate: nie znaleziono polecenia [tomi@Artelivej ~]$
tomi66ForumowiczInstalując według
Nadal nie można połączyć się z serwerem Cups , po wgraniu sterowników i restarcie systemu[root@Artelivej tomi]# /usr/local/Brother/Printer/dcp135c/cupswrapper/cupswrapperdcp135c bash: /usr/local/Brother/Printer/dcp135c/cupswrapper/cupswrapperdcp135c: Nie ma takiego pliku ani katalogu
tomi66Forumowicz[tomi@Artelivej ~]$ yaourt -S dcp135c [sudo] hasło użytkownika tomi: błąd: pakiet dcp135c nie został znaleziony [tomi@Artelivej ~]$
Co dalej ?
tomi66ForumowiczNo niestety nie pomogły te komendy podane wyżej , a co do problemu botowania to wydaje mi się że użyłem komendy
# mount /dev/sdb /mnt mount: no medium found on /dev/sdb
choć pewności nie mam .
tomi66ForumowiczOdblokowałem start systemu jakimś poleceniem z Arch forum , ale drukarka nadal nie drukuje , brak połączenia z
http://localhost:631
`tomi66Forumowiczetc/fstab
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # UUID=8b8a7eeb-b5a9-4584-b423-e1483560767f /home ext4 defaults 0 0 UUID=f9ecd3c4-2782-4d9f-8eb2-c810799d3c8d swap swap defaults 0 0 UUID=8204d6bf-787c-422a-aa17-7dc03e98fe61 / btrfs rw,relatime,space_cache,autodefrag,inode_cache 0 0
[manjaro@manjaro disk1]$ fdisk -l Disk /dev/sda: 232.9 GiB, 250058268160 bytes, 488395055 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x90909090 Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 31631984 31629937 15.1G 83 Linux /dev/sda2 31731651 483283394 451551744 215.3G 5 Extended /dev/sda5 31731712 32740469 1008758 492.6M 82 Linux swap / Solaris /dev/sda6 32743424 483283394 450539971 214.9G 83 Linux Disk /dev/loop0: 112 KiB, 114688 bytes, 224 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/loop1: 196 MiB, 205541376 bytes, 401448 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/loop2: 941.6 MiB, 987287552 bytes, 1928296 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/loop3: 290.5 MiB, 304562176 bytes, 594848 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/sdc: 149.1 GiB, 160041885696 bytes, 312581808 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x616f48b8 Device Boot Start End Sectors Size Id Type /dev/sdc1 2048 310489087 310487040 148.1G 83 Linux
[manjaro@manjaro ~]$ systemctl status org.cups.cupsd.socket
● org.cups.cupsd.socket – CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/org.cups.cupsd.socket; disabled; vendor preset: disabled)
Active: active (running) since Wed 2015-04-01 17:28:34 UTC; 1h 28min ago
Listen: /run/cups/cups.sock (Stream)
[manjaro@manjaro ~]$`
tomi66ForumowiczStandartowo jeden dysk , a wtryb awaryjny nie mog wej tylko live cd .
tomi66ForumowiczRaczej nie , bo system dopiero co postawiony , a format byl / i home .
- AutorPosty