cups failed last week, now amanda

Gene Heskett gene.heskett at verizon.net
Thu Dec 11 02:24:02 UTC 2008


On Wednesday 10 December 2008, Craig White wrote:
>On Wed, 2008-12-10 at 19:02 -0500, Gene Heskett wrote:
>> On Wednesday 10 December 2008, Craig White wrote:
>> >On Wed, 2008-12-10 at 11:56 -0500, Gene Heskett wrote:
>> >> On Wednesday 10 December 2008, Mike Cloaked wrote:
>> >> >Dave Feustel-2 wrote:
>> >> >> Can you add a rule to your firewall that drops all IP6 traffic?
>> >> >
>> >> >Or if running bind then adding
>> >> >OPTIONS="-4"
>> >> >to /etc/sysconfig/named
>> >> >will stop dns lookups for ipv6...
>> >>
>> >> I didn't even have bind installed, do now, set that option but no
>> >> change. ===
>> >> [root at coyote /]# su amanda -c "amcheck Daily"
>> >> Amanda Tape Server Host Check
>> >> -----------------------------
>> >> Holding disk /dumps: 359370752 kB disk space available, using 358858752
>> >> kB slot 5:read label `Dailys-5', date `20081109151648'.
>> >> NOTE: skipping tape-writable test
>> >> Tape Dailys-5 label ok
>> >> Server check took 1.019 seconds
>> >>
>> >> Amanda Backup Client Hosts Check
>> >> --------------------------------
>> >> WARNING: coyote: selfcheck request failed: timeout waiting for ACK
>> >> Client check: 1 host checked in 30.035 seconds.  1 problem found.
>> >>
>> >> (brought to you by Amanda 2.6.2alpha-20081208)
>> >> =====
>> >> So I've removed it again.
>> >
>> >----
>> >what have you done to make you believe that ipv6 is disabled?
>>
>> I do not have any use for it, and ifcfg-eth0 says IPV6INIT=no.
>>
>> >do you see any ipv6 addresses when you run ifconfig?
>>
>> Yes:
>> [root at coyote /]# ifconfig
>> eth0      Link encap:Ethernet  HWaddr 00:1F:C6:62:FC:BB
>>           inet addr:192.168.71.3  Bcast:192.168.71.255  Mask:255.255.255.0
>>           inet6 addr: fe80::21f:c6ff:fe62:fcbb/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:3568408 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:3418643 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:1742631779 (1.6 GiB)  TX bytes:1522706569 (1.4 GiB)
>>           Interrupt:22
>>
>> lo        Link encap:Local Loopback
>>           inet addr:127.0.0.1  Mask:255.0.0.0
>>           inet6 addr: ::1/128 Scope:Host
>>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>>           RX packets:28900919 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:28900919 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:0
>>           RX bytes:3294915014 (3.0 GiB)  TX bytes:3294915014 (3.0 GiB)
>
>----
>clearly that wouldn't work for your loopback adaptor...
>
>try adding to /etc/modprobe.conf...
>
>alias net-pf-10 off
>
>and rebooting and that should shut off ipv6 everywhere

modprobe.conf:

alias net-pf-10 off
alias eth0 forcedeth
alias scsi_hostadapter libata
alias scsi_hostadapter1 pata_amd
alias scsi_hostadapter2 sata_nv
alias scsi_hostadapter3 pata_jmicron
alias scsi_hostadapter4 ahci
options snd cards_limit=8
alias snd-card-0 snd-emu10k1
options snd-emu10k1 index=0
alias snd-card-1 snd-hda-intel
options snd-hda-intel index=1
alias snd-card-2 snd-hda-intel
options snd-hda-intel index=2
alias snd-card-7 snd-usb-audio
options snd-usb-audio index=7

rebooted, relabeled, fresh out of banannas:

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1F:C6:62:FC:BB
          inet addr:192.168.71.3  Bcast:192.168.71.255  Mask:255.255.255.0
          inet6 addr: fe80::21f:c6ff:fe62:fcbb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1612 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1643 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:292190 (285.3 KiB)  TX bytes:167159 (163.2 KiB)
          Interrupt:22 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2068 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2068 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:357469 (349.0 KiB)  TX bytes:357469 (349.0 KiB)

>Craig

However:
# su amanda -c "amcheck Daily"
Amanda Tape Server Host Check
-----------------------------
Holding disk /dumps: 363102208 kB disk space available, using 362590208 kB
slot 5:read label `Dailys-5', date `20081109151648'.
NOTE: skipping tape-writable test
Tape Dailys-5 label ok
Server check took 1.191 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 2.655 seconds.  0 problems found.

(brought to you by Amanda 2.6.2alpha-20081208)

So that is fixed.  I wonder if cups is too?  No, selinux, which is back to 
enforcing now, is denying cups any access to lp3.

Nope, even after manually copying one of the 3 identical HL2140.ppd files 
into /etc/cups/printers/lp3.ppd, it prints blank sheets of paper, and logs, 
when I try to change the default paper size to letter from A4:

E [10/Dec/2008:21:12:25 -0500] CUPS-Add-Modify-Printer: Unauthorized

And I've run thru the delete/add at localhost:631 until I have run out of 
options, even going so far as to set the perms identical, no change in the 
error messages.

Your turn.




-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The worst is not so long as we can say "This is the worst."
		-- King Lear




More information about the fedora-list mailing list