Re: [OT] Nagios check no ping

2015-12-22 Thread Camaleón
El Tue, 22 Dec 2015 15:26:48 +0100, Maykel Franco escribió:

> Buenas, tengo montado un nagios 4.1 a "pelo" desde hace algún tiempo en
> Debian y funciona de maravillas, lo único que me ha surgido un pequeño
> problema y es añadir un hosts al que no se le puede hacer ping, lo que
> no quita que tú puedas monitorizar los servicios, pero al detectar que
> el host no se puede monitorizar, no me llegan las alertas de los
> servicios porque entiende que está down... He probado esto:
> 
> http://www.htmlgraphic.com/nagios-check-host-without-ping/
> 
> Pero no me ha funcionado.
> 
> Otra opción es poner esta variable a 0:
> 
> execute_host_checks=1
> 
> Para que no ejecute los checks de host, y añada posteriormente un
> servicio de ping, que es básicamente lo que hace nagios cuando le añades
> el host... un ping.
> 
> Lo que implica que tengo que ir host por host añadiendo el servicio PING
> para monitorizarlo ya que el check de host alive ya quedaría
> invalidado...
> 
> Alguna otra idea?

Por aquí apuntan varias opciones (leer con calma y tranquilidad :-P):

Enable availability monitoring but without ping check to host
https://www.alienvault.com/forums/discussion/2218/enable-availability-monitoring-but-without-ping-check-to-host

Modify/Disable Host Checks When Host Not Pingable
https://support.nagios.com/forum/viewtopic.php?f=7=32202

Saludos,

-- 
Camaleón



Re: Fijar emparejamiento bluetooth

2015-12-22 Thread Camaleón
El Mon, 21 Dec 2015 21:51:13 +0100, Josu Lazkano escribió:

> El día 20 de diciembre de 2015, 19:23, Camaleón 
> escribió:

(...)

>> Para que lo haga automáticamente tendrás que añadir alguna regla a udev
>> como indican en la wiki de ArchLinux:
>>
>> https://wiki.archlinux.org/index.php/Bluetooth#Bluetoothctl
>>
> Gracias por responder,
> 
> He probado a crear una regla udev:
> 
> # cat /etc/udev/rules.d/10-local.rules # Set bluetooth power up
> ACTION=="add", KERNEL=="hci0", RUN+="/bin/hciconfig hci0 up"
> 
> Lo curioso es que a veces cuando reinicia y la primera vez que enciendo
> el dispositivos si que se conecta bien.
> 
> Pero si apago el dispositivo y lo vuelvo a encender ya no conecta hasta
> que reinicio el PC.
> 
> Tampoco funciona siempre, a veces no se conecta la primera vez.

¿Hibernas o suspendes el equipo?

> Esta es la informacion que me da bluetoothctl:
> 
> [bluetooth]# info xx:xx:xx:xx:xx:xx Device xx:xx:xx:xx:xx:xx Name:
> 8Bitdo NES30 GamePad Alias: 8Bitdo NES30 GamePad Class: 0x002540 Icon:
> input-keyboard Paired: yes Trusted: yes Blocked: no Connected: no
> LegacyPairing: no UUID: Human Interface Device...
> (1124--1000-8000-00805f9b34fb)
> 
> Sigo investigando.

Cuando no lo detecte, ejecútalo a mano "hciconfig hci0 up" a ver qué te 
dice. Si te devuelve algo del tipo "device busy" prueba reiniciando el 
demonio "service bluetooth restart". O también, como parece que sí 
reconoce el dispositivo y lo tiene como emparejado, puedes intentar 
simplemente conectarte.

En cualquier caso, revisa siempre los registros en /var/log/syslog o el 
dmesg. Además, verifica los archivos de configuración "/etc/default/
bluetooth" y "/etc/bluetooth/*.conf".

Saludos,

-- 
Camaleón



som skype

2015-12-22 Thread Manoel Pedro de Araújo
Olá tudo bem?

Meu skype está sem som. Como eu devo fazer para configurar.
Nas opções de audio,  o microfone e auto-falante neste não aparece o drives
de audio como antes apareciam.

-- 
Manoel


Re: postfix en nullmailer

2015-12-22 Thread Richard Lucassen
On Tue, 22 Dec 2015 09:28:13 +0100
Geert Stappers  wrote:

> Omdat er een verschil is tussen `apt-get remove` en `apt-get purge`
> zodat wel eens een mooi compromis kunnen zijn.
> 
> Toelichting op het idee van Paul en mijn inschatting:
> `apt-get purge` verwijderd ook configuratie bestanden,
> `apt-get remove` niet.

Ik heb het maar opgelost met een tweede main.cf die zich als
nullmailer gedraagt. Wel zo simpel.

-- 
richard lucassen
http://contact.xaq.nl/



Re: cómo hacer una imagen iso en ¿vivo? a partir de un debian 9 cifrado.

2015-12-22 Thread Óscar Triana - Suportium



El 22/12/2015 a las 19:51, listascor...@msjs.co escribió:

Hola lista

¿que tal van las causa debianita? ¿bien?... alguien sabe como hacer 
una imagen iso en ¿vivo? a partir de un s.o. instalado (con sus 
configuraciones). El s.o. es debian 9 cifrado.


Remastersys-> no tiene soporte para debian 9.
dd utility -> no se puede instalar en debian 9.
debian live -> no encontré el tuto.
systemback -> no tiene soporte para debian 9.

¿alguna idea?

Saludos,


Debian 9? En versión estable no existe.



Re: Attempt to Move Root

2015-12-22 Thread Sven Hartge
Nicolas George  wrote:
> Le duodi 2 nivôse, an CCXXIV, John Hasler a écrit :
>> Think about multiboot home user systems.

> Multiboot or no multiboot, once the system(s) is/are installed, nobody
> writes outside the partitions.

In ye olde days (pre-Windowsm 98) some programs (I think Photoshop did
it.) wrote licence data into that space, because it was unused. The copy
protection scheme of some games also tried to hide information there.

So "nobody" is not quite right. "nobody with the right mind" would be a
better description.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



Re: random reboots of my Lenovo ThinkPad (3.16.7-ckt20-1+deb8u1) (kernel stack trace)

2015-12-22 Thread Anders Andersson
On Tue, Dec 22, 2015 at 9:27 PM, Staszek <stf.list.ot...@eisenbits.com> wrote:
> Hi!
>
> My old Lenovo ThinkPad T61 laptop reboots by itself from time to time.
> Usually without a clue, but this time I was able to capture the stack
> trace:
> http://people.eisenbits.com/~stf/load/20151222-kernel-stack-trace.png .
>
> How to debug it? I've installed linux-image-3.16.0-4-amd64-dbg package:
> https://packages.debian.org/jessie/linux-image-3.16.0-4-amd64 , now is
> /usr/lib/debug/vmlinux-3.16.0-4-amd64 the vmlinux file matching my
> kernel version? What does "ckt20" stand for?
> For now I just wanted to follow the stack trace, eg. with addr2line.
> Sometimes it prints out some source code address but usually just
> "??:0". Why?
>
> Perhaps this is a hardware error, but where? Is this the graphic card?
> Or the south bridge maybe?
> Is this patchable?

First thing I do in a case like this is to run memtest86 in some form
on the hardware.



Re: A start job is runing for device ....

2015-12-22 Thread merlinva2012
Disculpen mis pocos conocimientos, como reflejo ese cambio en fstab


--
Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/



Re: Fijar emparejamiento bluetooth

2015-12-22 Thread Josu Lazkano
El día 22 de diciembre de 2015, 15:57, Camaleón  escribió:
> El Mon, 21 Dec 2015 21:51:13 +0100, Josu Lazkano escribió:
>
>> El día 20 de diciembre de 2015, 19:23, Camaleón 
>> escribió:
>
> (...)
>
>>> Para que lo haga automáticamente tendrás que añadir alguna regla a udev
>>> como indican en la wiki de ArchLinux:
>>>
>>> https://wiki.archlinux.org/index.php/Bluetooth#Bluetoothctl
>>>
>> Gracias por responder,
>>
>> He probado a crear una regla udev:
>>
>> # cat /etc/udev/rules.d/10-local.rules # Set bluetooth power up
>> ACTION=="add", KERNEL=="hci0", RUN+="/bin/hciconfig hci0 up"
>>
>> Lo curioso es que a veces cuando reinicia y la primera vez que enciendo
>> el dispositivos si que se conecta bien.
>>
>> Pero si apago el dispositivo y lo vuelvo a encender ya no conecta hasta
>> que reinicio el PC.
>>
>> Tampoco funciona siempre, a veces no se conecta la primera vez.
>
> ¿Hibernas o suspendes el equipo?
>
>> Esta es la informacion que me da bluetoothctl:
>>
>> [bluetooth]# info xx:xx:xx:xx:xx:xx Device xx:xx:xx:xx:xx:xx Name:
>> 8Bitdo NES30 GamePad Alias: 8Bitdo NES30 GamePad Class: 0x002540 Icon:
>> input-keyboard Paired: yes Trusted: yes Blocked: no Connected: no
>> LegacyPairing: no UUID: Human Interface Device...
>> (1124--1000-8000-00805f9b34fb)
>>
>> Sigo investigando.
>
> Cuando no lo detecte, ejecútalo a mano "hciconfig hci0 up" a ver qué te
> dice. Si te devuelve algo del tipo "device busy" prueba reiniciando el
> demonio "service bluetooth restart". O también, como parece que sí
> reconoce el dispositivo y lo tiene como emparejado, puedes intentar
> simplemente conectarte.
>
> En cualquier caso, revisa siempre los registros en /var/log/syslog o el
> dmesg. Además, verifica los archivos de configuración "/etc/default/
> bluetooth" y "/etc/bluetooth/*.conf".
>
> Saludos,
>
> --
> Camaleón
>

Gracias de nuevo.

Apago el PC.

Parece que no es tan sencillo, he leido un monton de guias pero no me
funciona de ninguna de las maneras.

Realmente el dispositivo se comporta como un teclado. La idea es que
cuando lo encienda el propio PC lo detect y conecte, sin hacer nada
mas.

Un saludo.

-- 
Josu Lazkano



Re: cómo hacer una imagen iso en ¿vivo? a partir de un debian 9 cifrado.

2015-12-22 Thread listascor...@msjs.co
El 22/12/15 a las 13:53, Óscar Triana - suport...@bendel.debian.org: 
S.I.I. escribió:



El 22/12/2015 a las 19:51, listascor...@msjs.co escribió:

Hola lista

¿que tal van las causa debianita? ¿bien?... alguien sabe como hacer
una imagen iso en ¿vivo? a partir de un s.o. instalado (con sus
configuraciones). El s.o. es debian 9 cifrado.

Remastersys-> no tiene soporte para debian 9.
dd utility -> no se puede instalar en debian 9.
debian live -> no encontré el tuto.
systemback -> no tiene soporte para debian 9.

¿alguna idea?

Saludos,


Debian 9? En versión estable no existe.

Es Debian Stretch = Debian 9







Re: Stretch installation boots to read only(SOLVED)

2015-12-22 Thread Sven Hartge
Gary Roach  wrote:

> That said, what caused this problem. I did not edit the fstab file 
> during upgrade and the system was working just fine before. Is this a 
> bug in the upgrade process? 

As far as I know the upgrade process does not touch /etc/fstab. So my
guess is that this entry was already broken a long time but you never
noticed because the SysV-Init scripts are very forgiving and papered
over many errors like this while systemd is very strict.

This is why you so many "systemd is bad, my Debian is broken now!" posts
and emails all over the place but on most cases systemd is only the
messenger of brokeness and not the main cause.


Grüße,
S°

-- 
Sigmentation fault. Core dumped.



Re: Attempt to Move Root

2015-12-22 Thread Nicolas George
Le duodi 2 nivôse, an CCXXIV, John Hasler a écrit :
> Think about multiboot home user systems.

Multiboot or no multiboot, once the system(s) is/are installed, nobody
writes outside the partitions.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


cómo hacer una imagen iso en ¿vivo? a partir de un debian 9 cifrado.

2015-12-22 Thread listascor...@msjs.co

Hola lista

¿que tal van las causa debianita? ¿bien?... alguien sabe como hacer una 
imagen iso en ¿vivo? a partir de un s.o. instalado (con sus 
configuraciones). El s.o. es debian 9 cifrado.


Remastersys-> no tiene soporte para debian 9.
dd utility -> no se puede instalar en debian 9.
debian live -> no encontré el tuto.
systemback -> no tiene soporte para debian 9.

¿alguna idea?

Saludos,



Re: Stretch installation boots to read only(SOLVED)

2015-12-22 Thread Gary Roach

Thanks all;
The corrections in fstab fixed all of the problems. Thanks for the tip 
to get rid of ConsoleKit.
That said, what caused this problem. I did not edit the fstab file 
during upgrade and the system was working just fine before. Is this a 
bug in the upgrade process? I have seen several other web questions on 
the same problem. I had the same problem when I upgraded to jessie. That 
time I ended up reinstalling the whole system since it needed a good 
housecleaning anyway.


Gary R.

On 12/22/2015 01:14 AM, anxious...@gmail.com wrote:

On Tuesday, 22 December 2015 08:00:05 UTC, Gary Roach  wrote:

OK

systemctl --failed gives
root@supercrunch:/etc# systemctl --failed
UNIT LOAD   ACTIVE SUB DESCRIPTION
● anacron.service  loaded failed failed Run anacron jobs
● apache2.service  loaded failed failed LSB: Apache2
web server
● autofs.service   loaded failed failed Automounts
filesystems on demand
● colord.service   loaded failed failed Manage,
Install and Generate Color Profiles
● console-kit-log-system-start.service loaded failed failed Console
System Startup Logging
● exim4.serviceloaded failed failed LSB: exim
Mail Transport Agent
● munin-node.service   loaded failed failed Munin Node
● postgresql@9.1-main.service  loaded failed failed PostgreSQL
Cluster 9.1-main
● postgresql@9.4-main.service  loaded failed failed PostgreSQL
Cluster 9.4-main
● systemd-hostnamed.serviceloaded failed failed Hostname Service
● systemd-tmpfiles-setup.service   loaded failed failed Create
Volatile Files and Directories
● systemd-update-utmp.service  loaded failed failed Update UTMP
about System Boot/Shutdown

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB= The low-level unit activation state, values depend on unit type.

12 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

And 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).
#
#   
# / was on /dev/sda1 during installation
/dev/sda1  /ext4 rw noatime  0 1
# UUID=3b06b2a3-6daa-4b9f-983b-84501950bc9c  / ext4rw, noatime
0   1
# swap was on /dev/sda5 during installation
/dev/sda5noneswap sw   0 0
# UUID=0a63cffb-6edb-4d5c-a1f6-a2438d4a7745  none swap
sw  0   0
/dev/sr0/media/cdrom0   udf,iso9660 user,noauto 0   0

This didn't work with the UUID's either.

And the mount -a error is:
root@supercrunch:/etc# mount -a
mount: /etc/fstab: parse error: ignore entry at line 9.

I think that covers everything. I went through the apt-get process until
no more files needed updating. Ran apt-get check etc. Nothing showed up.

Gary R.

/etc/fstab uses spaces to separate the fields. There may, once upon a time, 
have been a good reason for that design decision.

So your line:

/dev/sda1  /ext4 rw noatime  0 1

needs the space between rw and noatime to be replaced by a comma and no space.

As Marc pointed out above.

anxiousmac






[SOLUCIONADO] Re: [OT] Nagios check no ping

2015-12-22 Thread Maykel Franco
El día 22 de diciembre de 2015, 22:56, Esteban Monge
 escribió:
> El 2015-12-22 08:26, Maykel Franco escribió:
>>
>> Buenas, tengo montado un nagios 4.1 a "pelo" desde hace algún tiempo
>> en Debian y funciona de maravillas, lo único que me ha surgido un
>> pequeño problema y es añadir un hosts al que no se le puede hacer
>> ping, lo que no quita que tú puedas monitorizar los servicios, pero al
>> detectar que el host no se puede monitorizar, no me llegan las alertas
>> de los servicios porque entiende que está down... He probado esto:
>>
>> http://www.htmlgraphic.com/nagios-check-host-without-ping/
>>
>> Pero no me ha funcionado.
>>
>> Otra opción es poner esta variable a 0:
>>
>> execute_host_checks=1
>>
>> Para que no ejecute los checks de host, y añada posteriormente un
>> servicio de ping, que es básicamente lo que hace nagios cuando le
>> añades el host... un ping.
>>
>> Lo que implica que tengo que ir host por host añadiendo el servicio
>> PING para monitorizarlo ya que el check de host alive ya quedaría
>> invalidado...
>
> Supongamos que esta usando los template por defecto de Nagios, le
> recomendaría que no haga las configuraciones con un editor de texto, existe
> una herramienta que se llama NagioSQL, muy bueno.
>
> Pero como seguro lo esta haciendo vía texto, supongamos que esta haciéndolo
> con los archivos, tiene varios templates que le sirven.
> generic-host
> linux-server
>
> Son los dos que vienen, de hecho linux-server hace uso de generic-host. Le
> recomiendo que lo llame:
> linux-server-ping
>
> Y que copie el archivo  con el nombre:
> linux-server-noping
>
> A este le cambia la línea:
> check_command check-host-alive
>
> A:
> check_command check-host-alive-noping
>
> Al archivo commands le agrega el nuevo check:
> define command{
> command_namecheck-host-alive-noping
> command_line$USER1$/check_tcp -H $HOSTADDRESS$ -p 666
> }
>
> 666 es sólo un puerto de ejemplo
>
> Listo use ese template para todos los que no son alcanzables vía ping.
>
> Por favor avise como le fue.
>
>>
>> Alguna otra idea?
>
>

Gracias Esteban, si ya lo solucioné en un correo anterior, es justo lo
que he hecho, más o menos. Pero con lo que me has pasado queda más
claro.

Gracias a todos.



Re: Attempt to Move Root

2015-12-22 Thread Sven Hartge
Nicolas George  wrote:
> Le duodi 2 nivôse, an CCXXIV, Sven Hartge a écrit :

>> In ye olde days (pre-Windowsm 98) some programs (I think Photoshop
>> did it.) wrote licence data into that space, because it was unused.
>> The copy protection scheme of some games also tried to hide
>> information there.
>> 
>> So "nobody" is not quite right. "nobody with the right mind" would be
>> a better description.

> I did not know that, it is simply disgusting. Well, if you have to
> deal with bad-behaved proprietary programs that fancy themselves more
> powerful than the operating system, then you can not use that feature
> of GRUB. That means you have to put its second stage in a partition;
> obviously, this is possible too.

> But when dealing with that level of stupidity, really there is nothing
> to do: we can not trust these proprietary programs will not decide to
> write anywhere on the disk just because they have decided they have
> the right to do so, or because they have a bug.

And this is why I love the GPT. There is a defined space for the
bootloader to be and no nether region of swirly unknowness between the
MBR and the start of the first partition.

Also this: Sit back kids, Uncle Sven tells a story from the trenches of
the 1st GRUB war.

I was upgrading a remote server from Squeeze to Wheezy. This server uses
LVM on top of an MD-RAID1, /boot is included in / which is a LV. so GRUB
needs to know about MD and LVM (and the filesystem of / of course).

With Squeeze everything was fine and dandy.

But after upgrading to Wheezy, GRUB would no longer install into the
31744 byte-sized space after the MBR. Its core.img with all needed
componenents was 12 bytes to large, about 60 bytes bigger than the one
from Squeeze!

What to do? Using the old one from Squeeze? Psshht, needing to hold the
old package for ever, maybe making the system unbootable in the worst
moment? Not an option!

But we have a MD-RAID! I removed one disk from the RAID, repartitioned
it as GPT, added a bios_grub partition of the right (and future-proof!)
size before the data partition, readded this to the running half of the
RAID, let the RAID resync, repeated the whole procedure with the other
disk, installed GRUB to its new home, rebooted while hoping/praying and
... tadaaa ... the system came right up.

This of course was only possible because the MD-RAID code allows for a
slight variation on the partition size so I had to be careful to stay
inside that margin but in the end it worked out fine with only 3 minutes
of downtime for the reboot.

And because of that experience I use only the GPT for physical servers,
even when booting in legacy mode. Because I have a known place of a
known size for the boot loader.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



Re: Need a calculator that knows about coulombs

2015-12-22 Thread Gene Heskett
On Tuesday 22 December 2015 20:31:50 rlhar...@oplink.net wrote:

> On Tue, December 22, 2015 7:09 pm, Gene Heskett wrote:
> > Re: Need a calculator that knows about coulombs
>
> Look for "Weber" as well as for "Coulumb".
>
> Russ

That too is a new term to me, how does it translate?

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Some mill pix are at:
Genes Web page 



Re: Need a calculator that knows about coulombs

2015-12-22 Thread John Hasler
Units may be what you want:

You have: (.007 coulomb)/(119 volt)
You want: farad
* 5.8823529e-05
/ 17000
You have: (14 ampere)*(2.3 second)
You want: coulomb
* 32.2
/ 0.031055901




-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Need a calculator that knows about coulombs

2015-12-22 Thread John Hasler
Gene Heskett writes:
> In this case, the size of a capacitor hooked to a square wave source,
> and I want to know how much charge is transfered for every full cycle
> of the input square wave.

Zero assuming linear source and load impedence.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: AP support for wl driver

2015-12-22 Thread Stuart Longland
On 21/12/15 13:01, Himanshu Shekhar wrote:
> On Mon, Dec 21, 2015 at 1:58 AM, Stuart Longland
> > wrote:
> I've never tried HostAP with this particular device.
> 
> 
> Please make a try once. We would be pleased to have your experiences. I
> would suggest to use the hotspotd program (depends on hostapd, dnsmasq).
> It's the simplest I've known, but not in Debian repos. A Google search
> would pop it up. 

Well, the machine runs Gentoo, not Debian.  Most of my personal machines
run Gentoo Linux.

Machines I support for my workplace either run Ubuntu or, more recently,
Debian.

> I don't blame the 'b43' developers for this.  They have done an
> excellent job to get it working to the level they have.  Their work has
> been almost entirely the result of clean-room reverse engineering.
> 
> It shouldn't be that way though.
> 
> 
> I understand the pain for a proprietary software manufacturer to spend
> time and money on a free project with no monetary return.
> However, one should not make a software that locks the capabilities of
> the hardware, making the device function in a non-appreciable manner.

Tell that to those who make the 'wl' driver.  None of us replying to
this thread are responsible in any way shape or form for the features,
or lack thereof, of the 'wl' driver.

> Himanshu, if your chip is supported by one of the drivers listed here:
> https://wireless.wiki.kernel.org/en/users/drivers.  If one of those is
> compatible, then you've got a chance.
> 
> 
> Yup! That's the 'wl' driver. I've been using it right from the first day
> I installed Debian.

Nope.  Look again, 'wl' isn't listed on that page.

> I downloaded the Windows driver, but ndis suports drivers made for
> Windows XP only.
> Walking through the Windows driver made me discover multiple ".hex"
> files with no idea on how to use them.

Yeah, ndiswrapper oddly enough was Broadcom's "officially supported"
driver for Linux.  i.e. if someone asked, they'd tell people to use
their Windows driver with ndiswrapper.

This, amongst other things, is why I do not support Broadcom for WiFi chips.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



signature.asc
Description: OpenPGP digital signature


Re: Need a calculator that knows about coulombs

2015-12-22 Thread David Christensen

On 12/22/2015 05:43 PM, Gene Heskett wrote:

... the size of a capacitor hooked to a square wave source, and I
want to know how much charge is transfered for every full cycle of
the input square wave.


Use a DC current probe, use a digital sampling oscilloscope, and perform 
a numerical integration according to the third equation presented on the 
Wikipedia "Electric charge" page:



https://en.wikipedia.org/wiki/Electric_charge#Conservation_of_electric_charge


David



Need a calculator that knows about coulombs

2015-12-22 Thread Gene Heskett
Greetings all;

Do we have such a beast?

Thanks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Some mill pix are at:
Genes Web page 



Re: Need a calculator that knows about coulombs

2015-12-22 Thread rlharris
On Tue, December 22, 2015 7:09 pm, Gene Heskett wrote:
> Re: Need a calculator that knows about coulombs

Look for "Weber" as well as for "Coulumb".

Russ



Re: Need a calculator that knows about coulombs

2015-12-22 Thread Jimmy Johnson

On 12/22/2015 05:09 PM, Gene Heskett wrote:

Greetings all;

Do we have such a beast?

Thanks.

Cheers, Gene Heskett



Free on the web: http://www.endmemo.com/physics/coulomb.php
--
Debian Jessie - KDE 4.14.2  - EXT4 - AMD64 at sda10
Registered Linux User #380263



Re: Re: Odd radeon bug on startup

2015-12-22 Thread Jacob Adams
Yep that's the exact same problem! Thanks for pointing that out, I
missed that bug somehow. I'll reopen it immediately.
-- 
Jacob Adams
GPG Key: AF6B 1C26 E2D0 A988 432B  94F4 24C0 2B85 B59F E5A9



signature.asc
Description: OpenPGP digital signature


Re: Need a calculator that knows about coulombs

2015-12-22 Thread Gene Heskett
On Tuesday 22 December 2015 20:17:58 Jimmy Johnson wrote:

> On 12/22/2015 05:09 PM, Gene Heskett wrote:
> > Greetings all;
> >
> > Do we have such a beast?
> >
> > Thanks.
> >
> > Cheers, Gene Heskett
>
> Free on the web: http://www.endmemo.com/physics/coulomb.php

That might be interesting, but at first glance, is not applicable to what 
I want to experiment with. In this case, the size of a capacitor hooked 
to a square wave source, and I want to know how much charge is 
transfered for every full cycle of the input square wave.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Some mill pix are at:
Genes Web page 



Re: Re: Re: Odd radeon bug on startup

2015-12-22 Thread Jacob Adams
I went digging through installed packages before reopening the bug and
looks like I had disabled non-free without removing
firmware-amd-graphics. Re-enabling non-free and upgrading
firmware-amd-graphics fixed the problem.

-- 
Jacob Adams
GPG Key: AF6B 1C26 E2D0 A988 432B  94F4 24C0 2B85 B59F E5A9



signature.asc
Description: OpenPGP digital signature


Re: Attempt to Move Root

2015-12-22 Thread John Hasler
I wrote:
> "Unused" is the problem with this design.  The space is unused on by
> accident.  There is no standard (even an informal one) that reserves it.

Nicolas George writes:
> This is theoretical. In practice, it works pretty well, because people
> (at least competent sysadmins and authors of installers) do not mess
> randomly with their partition table.

Think about multiboot home user systems.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: cómo hacer una imagen iso en ¿vivo? a partir de un debian 9 cifrado.

2015-12-22 Thread César Cordero
En ubuntu se puede. Busca los tuto de ubuntu. Creo que con genimageiso.
Debian 9 es en realidad Debian Testing y está más cerca de Ubuntu que de
Debian estable (Debian 8).
El 22/12/2015 14:41, "listascor...@msjs.co"  escribió:

> El 22/12/15 a las 13:53, Óscar Triana - suport...@bendel.debian.org:
> S.I.I. escribió:
>
>>
>>
>> El 22/12/2015 a las 19:51, listascor...@msjs.co escribió:
>>
>>> Hola lista
>>>
>>> ¿que tal van las causa debianita? ¿bien?... alguien sabe como hacer
>>> una imagen iso en ¿vivo? a partir de un s.o. instalado (con sus
>>> configuraciones). El s.o. es debian 9 cifrado.
>>>
>>> Remastersys-> no tiene soporte para debian 9.
>>> dd utility -> no se puede instalar en debian 9.
>>> debian live -> no encontré el tuto.
>>> systemback -> no tiene soporte para debian 9.
>>>
>>> ¿alguna idea?
>>>
>>> Saludos,
>>>
>>> Debian 9? En versión estable no existe.
>>
> Es Debian Stretch = Debian 9
>
>>
>>
>>
>


Re: Attempt to Move Root

2015-12-22 Thread Brian
On Tue 22 Dec 2015 at 20:44:31 +0100, Sven Hartge wrote:

> Nicolas George  wrote:
> > Le duodi 2 nivôse, an CCXXIV, John Hasler a écrit :
> >> Think about multiboot home user systems.
> 
> > Multiboot or no multiboot, once the system(s) is/are installed, nobody
> > writes outside the partitions.
> 
> In ye olde days (pre-Windowsm 98) some programs (I think Photoshop did
> it.) wrote licence data into that space, because it was unused. The copy
> protection scheme of some games also tried to hide information there.
> 
> So "nobody" is not quite right. "nobody with the right mind" would be a
> better description.

However (whoever is "right"), Debian developers are aware of this
problem and are willing to fix it if it happens:

  
http://www.chiark.greenend.org.uk/~cjwatson/blog/windows-applications-making-grub2-unbootable.html



Re: [OT] Nagios check no ping

2015-12-22 Thread Esteban Monge

El 2015-12-22 08:26, Maykel Franco escribió:

Buenas, tengo montado un nagios 4.1 a "pelo" desde hace algún tiempo
en Debian y funciona de maravillas, lo único que me ha surgido un
pequeño problema y es añadir un hosts al que no se le puede hacer
ping, lo que no quita que tú puedas monitorizar los servicios, pero al
detectar que el host no se puede monitorizar, no me llegan las alertas
de los servicios porque entiende que está down... He probado esto:

http://www.htmlgraphic.com/nagios-check-host-without-ping/

Pero no me ha funcionado.

Otra opción es poner esta variable a 0:

execute_host_checks=1

Para que no ejecute los checks de host, y añada posteriormente un
servicio de ping, que es básicamente lo que hace nagios cuando le
añades el host... un ping.

Lo que implica que tengo que ir host por host añadiendo el servicio
PING para monitorizarlo ya que el check de host alive ya quedaría
invalidado...
Supongamos que esta usando los template por defecto de Nagios, le 
recomendaría que no haga las configuraciones con un editor de texto, 
existe una herramienta que se llama NagioSQL, muy bueno.


Pero como seguro lo esta haciendo vía texto, supongamos que esta 
haciéndolo con los archivos, tiene varios templates que le sirven.

generic-host
linux-server

Son los dos que vienen, de hecho linux-server hace uso de generic-host. 
Le recomiendo que lo llame:

linux-server-ping

Y que copie el archivo  con el nombre:
linux-server-noping

A este le cambia la línea:
check_command check-host-alive

A:
check_command check-host-alive-noping

Al archivo commands le agrega el nuevo check:
define command{
command_namecheck-host-alive-noping
command_line$USER1$/check_tcp -H $HOSTADDRESS$ -p 666
}

666 es sólo un puerto de ejemplo

Listo use ese template para todos los que no son alcanzables vía ping.

Por favor avise como le fue.



Alguna otra idea?




Guión medio color azul en emacs

2015-12-22 Thread Debia Linux
Que tal lista:

Tengo un pequeño inconveniente. Estoy editando un texto en emacs con
latext. Por alguna razón que no se cual es, se cerro el archivo y al
hacer la recuperación del mismo, las letras í (i acentuada) me
apareceina con algunos simbolos extraños, como si estuviera mal la
codificación.

Entonces decidí reemplazarlos y mediante M - x replace-string y solo
me reemplaza los simbolos previos al guión medio que aparece coloreado
en azul.

Cuando intento reemplazar ese guión medio coloreado de azul, no se
genera ningun remplazo.

¿Como podría quitar ese guión azul de manera sistematica porque son
miles de este tipo de guiones.

Gracias.

Debianeromx



Re: Intel 82576 Gigabit on Debian 7 slow speed.

2015-12-22 Thread David Christensen

On 12/20/2015 08:36 AM, Mimiko wrote:

zpool create -f -m none -o ashift=12 zfspool raidz2
wwn-0x5xxx . (all disks).


On 12/21/2015 11:20 PM, Mimiko wrote:
> One channel is connected to 8 x 2TB the other channel to 8 x 1TB.
...
> zfs list
> NAME   USED  AVAIL  REFER  MOUNTPOINT
> zfspool   11.5T  39.7G   335K  none

RTFM zpool:

http://linux.die.net/man/8/zpool

Virtual Devices (vdevs)
...
raidz
...
A raidz group can have single-, double- , or triple parity,
meaning that the raidz group can sustain one, two, or three
failures, respectively, without losing any data. ... [The]
raidz2 vdev type specifies a double-parity raidz group;
...
A raidz group with N disks of size X with P parity disks can
hold approximately (N-P)*X bytes and can withstand P device(s)
failing before data integrity is compromised. The minimum
number of devices in a raidz group is one more than the number
of parity disks. The recommended number is between 3 and 9 to
help increase performance.


Doing the math for your 'zpool create' invocation:

N = 16  (total number of drives)
X = 1 TB(size of smallest drive)
P = 2   (raidz2)

size = (16 - 2) * 1 TB = 14 TB


But your 'zfs list' implies a pool size of 12 TB.  I don't understand...


RTFM RAID card:

http://www.supermicro.com.tr/AOC-USASLP-L8i.pdf

Chapter 2 Connectors, Jumpers and Indicators
...
2-1 Front Connectors and Pin Definitions
...
Internal SAS Connectors
...
Use a single port SAS "ipass" cable (SuperMicro order number
CBL-0108L-02)


Are you using Supermicro cable CBL-0108L-02?

http://www.supermicro.com/support/resources/sas/


Are you using Supermicro chassis 836E2-R800V or 836E2-R800B?

http://www.supermicro.com/products/chassis/3U/836/SC836E2-R800.cfm


David



[SOLUCIONADO] Re: [OT] Nagios check no ping

2015-12-22 Thread Maykel Franco
El día 22 de diciembre de 2015, 19:00, Maykel Franco
 escribió:
>
> El 22 dic. 2015 5:30 p. m., "Darthcoli - Alejandro Izquierdo"
>  escribió:
>>
>> Si configuras hosts groups, no tienes que ir haciendo cambios "uno a
>> uno" o tienes que ir haciendo menos...
>
> Cierto.
>
>>
>> No estoy seguro, pero creo que si simplemente defines el host con
>> checkcommand otro check diferente para testear que el host esta
>> arriba, ya no aplica el por defecto.
>
> Eso es lo que he pasado en el enlace, lo cambio en la interfaz web
> haciéndole un check tcp a un puerto pero aún así eso no me funcionó. Probare
> hacerlo en el propio fichero a pelo.
>
>>
>> Si por razones de seguridad o cualuqier otra cosa, no puede configurar
>> la red para que responda a ping al nagios, puedes lanzar un check nrpe
>> desde la propia maquina.
>
> Para lanzarle un check_nrpe necesito tener el demonio nrpe client en el
> destino host remoto, y no es el caso.
>
>
>>
>> El día 22 de diciembre de 2015, 16:08, Camaleón 
>> escribió:
>> > El Tue, 22 Dec 2015 15:26:48 +0100, Maykel Franco escribió:
>> >
>> >> Buenas, tengo montado un nagios 4.1 a "pelo" desde hace algún tiempo en
>> >> Debian y funciona de maravillas, lo único que me ha surgido un pequeño
>> >> problema y es añadir un hosts al que no se le puede hacer ping, lo que
>> >> no quita que tú puedas monitorizar los servicios, pero al detectar que
>> >> el host no se puede monitorizar, no me llegan las alertas de los
>> >> servicios porque entiende que está down... He probado esto:
>> >>
>> >> http://www.htmlgraphic.com/nagios-check-host-without-ping/
>> >>
>> >> Pero no me ha funcionado.
>> >>
>> >> Otra opción es poner esta variable a 0:
>> >>
>> >> execute_host_checks=1
>> >>
>> >> Para que no ejecute los checks de host, y añada posteriormente un
>> >> servicio de ping, que es básicamente lo que hace nagios cuando le
>> >> añades
>> >> el host... un ping.
>> >>
>> >> Lo que implica que tengo que ir host por host añadiendo el servicio
>> >> PING
>> >> para monitorizarlo ya que el check de host alive ya quedaría
>> >> invalidado...
>> >>
>> >> Alguna otra idea?
>> >
>> > Por aquí apuntan varias opciones (leer con calma y tranquilidad :-P):
>> >
>> > Enable availability monitoring but without ping check to host
>> >
>> > https://www.alienvault.com/forums/discussion/2218/enable-availability-monitoring-but-without-ping-check-to-host
>> >
>> > Modify/Disable Host Checks When Host Not Pingable
>> > https://support.nagios.com/forum/viewtopic.php?f=7=32202
>> >
>> > Saludos,
>> >
>> > --
>> > Camaleón
>> >
>>
>>
>>
>> --
>> -Alejandro Izquierdo-
>>

ok, solventado. He creado un nuevo comando check_port y lo he usado
como check_command en la definición del host y listo. Funciona.

Parece que a mano si lo ha cogido bien, cuando lo hice por la interfaz
web seguía en down, no se aplicarían bien los cambios.

Gracias a todos.

Saludos.



Re: Recovering from Debian Wheezy RAID-1

2015-12-22 Thread Gary Dale

On 22/12/15 04:44 PM, Narunas Krasauskas wrote:
I have this HDD (WD3200BPVT) which used to be part of the RAID-1 array 
which has been created with Debian (Wheezy) installer, then AES 
encrypted, then split into LVM volumes.



Personalities : [raid1]
md1 : active raid1 sda2[0] sdb2[1]
  311462720 blocks super 1.2 [2/2] [UU]
md0 : active raid1 sda1[0] sdb1[1]
  975296 blocks super 1.2 [2/2] [UU]



- sdb1 (1GB real size) here is a member of the system boot partition 
raid (md0)
- sdb2 (~300 GB) was dedicated to everything else, hence encrypted, 
split into LVM volumes (md1).


Currently I'm on Archlinux, having one of the RAID-1 array disks 
connected via USB adapter.


# uname -a
Linux agn-arch 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET
2015 x86_64 GNU/Linux



My first problem is that Debian installer somehow shuffled partition 
table in the way, that my current system cannot recognize correct 
partition sizes. Here I find 2.3 TB partition on the 320 GB HDD. How 
or why I'm hoping you debian users can tell me.


# fdisk -l /dev/sdb
Disk /dev/sdb: 298.1 GiB, 320072933376 bytes, 78142806 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0009577b


Device Boot Start   End   Sectors  Size Id Type
/dev/sdb1  * 2048   1953791   1951744  7.5G fd Linux raid autodetect
/dev/sdb2 1953792 625141759 623187968  2.3T fd Linux raid autodetect


Nevertheless it seems that kernel sees more or less correct partition 
sizes:


# cat /proc/partitions | grep sdb
   8   16  312571224 sdb
   8   17  7806976 sdb1
   8   18  304756056 sdb2



My second problem - mdadm cannot detect md super block:

# mdadm -V
mdadm - v3.3.4 - 3rd August 2015


# for v in 0 0.90 1 1.0 1.1 1.2 default ddf imsm; do mdadm -E -e
$v /dev/sdb; done
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc,
got )
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc,
got )
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc,
got )
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc,
got 009063eb)
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc,
got 7208ec45)
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc,
got )
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc,
got 009063eb)
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc,
got 7208ec45)
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc,
got 7208ec45)
mdadm: Cannot read anchor block on /dev/sdb: Invalid argument
mdadm: /dev/sdb is not attached to Intel(R) RAID controller.
mdadm: Cannot read anchor block on /dev/sdb: Invalid argument
mdadm: Failed to load all information sections on /dev/sdb

# for v in 0 0.90 1 1.0 1.1 1.2 default ddf imsm; do mdadm -E -e
$v /dev/sdb1; done
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc,
got a2a14843)
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc,
got a2a14843)
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc,
got 6cc72f52)
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc,
got )
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc,
got )
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc,
got 6cc72f52)
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc,
got )
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc,
got )
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc,
got )

# for v in 0 0.90 1 1.0 1.1 1.2 default ddf imsm; do mdadm -E -e
$v /dev/sdb2; done
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc,
got )
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc,
got )
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc,
got )
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc,
got 6b3a399e)
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc,
got b3afa73a)
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc,
got )
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc,
got 6b3a399e)
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc,
got b3afa73a)
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc,
got b3afa73a)


Funny enough metadata is still here, because I had to reassemble my 
old box to recover my files. That's how things look like from the 

Recovering from Debian Wheezy RAID-1

2015-12-22 Thread Narunas Krasauskas
I have this HDD (WD3200BPVT) which used to be part of the RAID-1 array
which has been created with Debian (Wheezy) installer, then AES encrypted,
then split into LVM volumes.


Personalities : [raid1]
md1 : active raid1 sda2[0] sdb2[1]
  311462720 blocks super 1.2 [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
  975296 blocks super 1.2 [2/2] [UU]



- sdb1 (1GB real size) here is a member of the system boot partition raid
(md0)
- sdb2 (~300 GB) was dedicated to everything else, hence encrypted, split
into LVM volumes (md1).

Currently I'm on Archlinux, having one of the RAID-1 array disks connected
via USB adapter.

# uname -a
Linux agn-arch 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015
x86_64 GNU/Linux



My first problem is that Debian installer somehow shuffled partition table
in the way, that my current system cannot recognize correct partition
sizes. Here I find 2.3 TB partition on the 320 GB HDD. How or why I'm
hoping you debian users can tell me.

# fdisk -l /dev/sdb
Disk /dev/sdb: 298.1 GiB, 320072933376 bytes, 78142806 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0009577b


Device Boot   Start   End   Sectors  Size Id Type
/dev/sdb1  *   2048   1953791   1951744  7.5G fd Linux raid autodetect
/dev/sdb2   1953792 625141759 623187968  2.3T fd Linux raid autodetect


Nevertheless it seems that kernel sees more or less correct partition sizes:

# cat /proc/partitions | grep sdb
   8   16  312571224 sdb
   8   177806976 sdb1
   8   18  304756056 sdb2



My second problem - mdadm cannot detect md super block:

# mdadm -V
mdadm - v3.3.4 - 3rd August 2015


# for v in 0 0.90 1 1.0 1.1 1.2 default ddf imsm; do mdadm -E -e $v
/dev/sdb; done
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc, got
)
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc, got
)
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc, got
)
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc, got
009063eb)
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc, got
7208ec45)
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc, got
)
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc, got
009063eb)
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc, got
7208ec45)
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc, got
7208ec45)
mdadm: Cannot read anchor block on /dev/sdb: Invalid argument
mdadm: /dev/sdb is not attached to Intel(R) RAID controller.
mdadm: Cannot read anchor block on /dev/sdb: Invalid argument
mdadm: Failed to load all information sections on /dev/sdb

# for v in 0 0.90 1 1.0 1.1 1.2 default ddf imsm; do mdadm -E -e $v
/dev/sdb1; done
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc, got
a2a14843)
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc, got
a2a14843)
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc, got
6cc72f52)
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc, got
)
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc, got
)
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc, got
6cc72f52)
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc, got
)
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc, got
)
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc, got
)

# for v in 0 0.90 1 1.0 1.1 1.2 default ddf imsm; do mdadm -E -e $v
/dev/sdb2; done
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc, got
)
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc, got
)
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc, got
)
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc, got
6b3a399e)
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc, got
b3afa73a)
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc, got
)
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc, got
6b3a399e)
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc, got
b3afa73a)
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc, got
b3afa73a)


Funny enough metadata is still here, because I had to reassemble my old box
to recover my files. That's how things look like from the booted Wheezy:

/dev/sdb1:
  Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
 Array UUID : 2bb13374:a6ecf587:e36a71f4:1f5423f8
   Name : debox:0  (local to host debox)
  Creation Time : Sat May 31 20:25:34 2014
 Raid Level : raid1
   Raid Devices : 2

 Avail Dev Size : 1950720 (952.66 MiB 998.77 MB)
 Array Size : 975296 (952.60 MiB 998.70 MB)
  Used Dev Size 

random reboots of my Lenovo ThinkPad (3.16.7-ckt20-1+deb8u1) (kernel stack trace)

2015-12-22 Thread Staszek
Hi!

My old Lenovo ThinkPad T61 laptop reboots by itself from time to time.
Usually without a clue, but this time I was able to capture the stack
trace:
http://people.eisenbits.com/~stf/load/20151222-kernel-stack-trace.png .

How to debug it? I've installed linux-image-3.16.0-4-amd64-dbg package:
https://packages.debian.org/jessie/linux-image-3.16.0-4-amd64 , now is
/usr/lib/debug/vmlinux-3.16.0-4-amd64 the vmlinux file matching my
kernel version? What does "ckt20" stand for?
For now I just wanted to follow the stack trace, eg. with addr2line.
Sometimes it prints out some source code address but usually just
"??:0". Why?

Perhaps this is a hardware error, but where? Is this the graphic card?
Or the south bridge maybe?
Is this patchable?

Thanks!

This is the latest Debian Jessie.

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: 9EC2 5620 2355 B1DC 4A8F  8C79 0EC7 C214 E5AE 3B4E



Re: OT freedns y gmail configuracion de remitente de correo

2015-12-22 Thread Alberto C.
On Tue, Dec 22, 2015 at 03:39:27PM +0100, Alberto C. wrote:
> On Tue, Dec 22, 2015 at 02:16:45PM +, Camaleón wrote:
> > El Mon, 21 Dec 2015 19:31:52 +0100, Alberto C. escribió:
> > 
> > > On Mon, Dec 21, 2015 at 05:37:25PM +, Camaleón wrote:
> > 
> > (...)
> > 
> > >> Para usar una cuenta de correo en Gmail (distinta de la de Gmail,
> > >> obviamente) tienes que tener acceso a esa cuenta ya que te va a pedir
> > >> que la valides, es decir, no vale con inventarte un dominio ya que
> > >> cualquier podría poner el remitente que quisiera.
> > >> 
> > >> En resumen: sin buzón de correo real no hay paraíso :-P
> > > 
> > > creo que esta es la cuestión. Inocentemente pensé que podría enviar con
> > > un usuario desde mi máquina usando el dominio externo de freedns y
> > > usando el smtp de gmail.
> > > No he entendido el funcionamiento.
> > 
> > Hum... nope. 
> > 
> > La cuenta de correo que quieras usar en Gmail tiene que ser un buzón real 
> > (o un alias a un buzón real, vaya) pero para validarla Gmail tiene que 
> > poder enviar un mensaje al que debes responder y a partir de ese momento 
> > ya puedes usar la nueva dirección como remitente.
> > 
> > Lo hace así por seguridad, claro.
> 
 efectivamente es lo que imaginaba, hacen falta dos cuentas. La idea de mantener
 la de gmail para el smtp es por el tema de los relay ya que la ip es dinámica y
 enviar correos desde el dominio asociado a esa ip suele provocar que no sean 
admitidos
 (esto es lo que entiendo según investigo sobre el tema)
> 
> 
> > >> > Pues lo dicho, consigo enviar el email
> > >> 
> > >> ¿Pero usando la cuenta nueva como remitente o sólo te aparece la cuenta
> > >> de Gmail como disponible?
> > > 
> > > no tengo cuenta nueva, no hay un buzon real salvo el de mi cuenta de
> > > gmail.
> > > Lo unico que tengo es una dirección creada (y ficticia al parecer) con
> > > el nuevo dominio. O sea que necesito un buzon, activar una cuenta nueva
> > > por lo que te entiendo,
> > > lo que pasa es que deseaba tener todo de manera personal o local sin más
> > > cuenta que la de gmail
> > 
> > Se me escapa por qué quieres usar un remitente que no puede recibir 
> > correo (?), para eso mejor usar tu cuenta de Gmail directamente ¿no?
> 
 lo que te decia, estoy experimentando cosas y el escenario que imaginaba no se
 ajusta a la realidad del funcionamiento
 (esto es lo que me llevo ;-P) 
> 
> > De todas formas, si usar el webmail de Gmail no es un requisito entonces 
> > la cosa cambia. Podrías configurar un cliente de correo convencional (o 
> > Postfix) para que se autentifique ante el servidor smtp/tls de Gmail con 
> > tu usuario/contraseña de Gmail pero usar el "From" con tu nueva cuenta. 
> > Antes era posible hacerlo pero no sé si ahora lo habrán limitado o quizá 
> > Gmail simplemente ignore el From y lo cambie por tu cuenta de Gmail. 
> > Prueba a ver, no te cuesta nada.
> > 
> > Saludos,
> 
 Sí, esto lo probé configurando el agente. Es una especie de 'engaño', aparece
 el from del dominio pero el envío se ve claramente que llega desde gmail y mas
 en los detalles del correo
 
 como siempre gracias Camaleón
  
> > -- 
> > Camaleón
> > 
> 
> -- 
> 
> Vaya mundo en el que vivimos, ¿verdad?... pero podría ser peor, ¿verdad?
> Así es -dije-, o peor aún, podría ser perfecto.
> 
> William Gibson
> 

-- 

Vaya mundo en el que vivimos, ¿verdad?... pero podría ser peor, ¿verdad?
Así es -dije-, o peor aún, podría ser perfecto.

William Gibson



OT: Fwd: [PSL-Brasil] Seu patch vale presentes - Desafio de fim de ano KDE Brasil

2015-12-22 Thread Albino B Neto
-- Mensagem encaminhada --
De: Filipe Saraiva 
Data: 22 de dezembro de 2015 13:10
Assunto: [PSL-Brasil] Seu patch vale presentes - Desafio de fim de ano
KDE Brasil
Para: PSL-Brasil 


Oi pessoal,

O KDE Brasil lançou um desafio de fim de ano: envie um patch adicionando
novas funcionalidades para qualquer software do KDE e ganhe uma camisa e
uma caneca em casa! :)

O concurso é limitado e vai até dia 10 de janeiro.

Quaisquer dúvidas entre em contato pela nossa lista de discussão ou
canais IRC; os endereços estão em [1].

E aproveite a vídeo aula sobre configurações do ambiente de
desenvolvimento do KDE [2] e se prepare!

Aguardamos seus pacthes. ;)

[1] https://br.kde.org/node/310
[2] https://youtu.be/vNR7gydpnco

--
Filipe Saraiva
http://filipesaraiva.info/

___
psl-brasil mailing list
psl-bra...@listas.softwarelivre.org
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/psl-brasil
Regras da lista:
http://wiki.softwarelivre.org/bin/view/PSLBrasil/RegrasDaListaPSLBrasil
SAIR DA LISTA ou trocar a senha:
http://listas.softwarelivre.org/mailman/options/psl-brasil


-- 
   Albino
@b1n0anb



Re: [OT] Nagios check no ping

2015-12-22 Thread Maykel Franco
El 22 dic. 2015 5:30 p. m., "Darthcoli - Alejandro Izquierdo" <
darthc...@gmail.com> escribió:
>
> Si configuras hosts groups, no tienes que ir haciendo cambios "uno a
> uno" o tienes que ir haciendo menos...
>
> No estoy seguro, pero creo que si simplemente defines el host con
> checkcommand otro check diferente para testear que el host esta
> arriba, ya no aplica el por defecto.
>
> Si por razones de seguridad o cualuqier otra cosa, no puede configurar
> la red para que responda a ping al nagios, puedes lanzar un check nrpe
> desde la propia maquina.
>
> El día 22 de diciembre de 2015, 16:08, Camaleón 
escribió:
> > El Tue, 22 Dec 2015 15:26:48 +0100, Maykel Franco escribió:
> >
> >> Buenas, tengo montado un nagios 4.1 a "pelo" desde hace algún tiempo en
> >> Debian y funciona de maravillas, lo único que me ha surgido un pequeño
> >> problema y es añadir un hosts al que no se le puede hacer ping, lo que
> >> no quita que tú puedas monitorizar los servicios, pero al detectar que
> >> el host no se puede monitorizar, no me llegan las alertas de los
> >> servicios porque entiende que está down... He probado esto:
> >>
> >> http://www.htmlgraphic.com/nagios-check-host-without-ping/
> >>
> >> Pero no me ha funcionado.
> >>
> >> Otra opción es poner esta variable a 0:
> >>
> >> execute_host_checks=1
> >>
> >> Para que no ejecute los checks de host, y añada posteriormente un
> >> servicio de ping, que es básicamente lo que hace nagios cuando le
añades
> >> el host... un ping.
> >>
> >> Lo que implica que tengo que ir host por host añadiendo el servicio
PING
> >> para monitorizarlo ya que el check de host alive ya quedaría
> >> invalidado...
> >>
> >> Alguna otra idea?
> >
> > Por aquí apuntan varias opciones (leer con calma y tranquilidad :-P):
> >
> > Enable availability monitoring but without ping check to host
> >
https://www.alienvault.com/forums/discussion/2218/enable-availability-monitoring-but-without-ping-check-to-host
> >
> > Modify/Disable Host Checks When Host Not Pingable
> > https://support.nagios.com/forum/viewtopic.php?f=7=32202

Gracias, voy a echarle un ojo.

> >
> > Saludos,
> >
> > --
> > Camaleón
> >
>
>
>
> --
> -Alejandro Izquierdo-
>


Re: [OT] Nagios check no ping

2015-12-22 Thread Maykel Franco
El 22 dic. 2015 5:30 p. m., "Darthcoli - Alejandro Izquierdo" <
darthc...@gmail.com> escribió:
>
> Si configuras hosts groups, no tienes que ir haciendo cambios "uno a
> uno" o tienes que ir haciendo menos...

Cierto.

>
> No estoy seguro, pero creo que si simplemente defines el host con
> checkcommand otro check diferente para testear que el host esta
> arriba, ya no aplica el por defecto.

Eso es lo que he pasado en el enlace, lo cambio en la interfaz web
haciéndole un check tcp a un puerto pero aún así eso no me funcionó.
Probare hacerlo en el propio fichero a pelo.

>
> Si por razones de seguridad o cualuqier otra cosa, no puede configurar
> la red para que responda a ping al nagios, puedes lanzar un check nrpe
> desde la propia maquina.

Para lanzarle un check_nrpe necesito tener el demonio nrpe client en el
destino host remoto, y no es el caso.
>
> El día 22 de diciembre de 2015, 16:08, Camaleón 
escribió:
> > El Tue, 22 Dec 2015 15:26:48 +0100, Maykel Franco escribió:
> >
> >> Buenas, tengo montado un nagios 4.1 a "pelo" desde hace algún tiempo en
> >> Debian y funciona de maravillas, lo único que me ha surgido un pequeño
> >> problema y es añadir un hosts al que no se le puede hacer ping, lo que
> >> no quita que tú puedas monitorizar los servicios, pero al detectar que
> >> el host no se puede monitorizar, no me llegan las alertas de los
> >> servicios porque entiende que está down... He probado esto:
> >>
> >> http://www.htmlgraphic.com/nagios-check-host-without-ping/
> >>
> >> Pero no me ha funcionado.
> >>
> >> Otra opción es poner esta variable a 0:
> >>
> >> execute_host_checks=1
> >>
> >> Para que no ejecute los checks de host, y añada posteriormente un
> >> servicio de ping, que es básicamente lo que hace nagios cuando le
añades
> >> el host... un ping.
> >>
> >> Lo que implica que tengo que ir host por host añadiendo el servicio
PING
> >> para monitorizarlo ya que el check de host alive ya quedaría
> >> invalidado...
> >>
> >> Alguna otra idea?
> >
> > Por aquí apuntan varias opciones (leer con calma y tranquilidad :-P):
> >
> > Enable availability monitoring but without ping check to host
> >
https://www.alienvault.com/forums/discussion/2218/enable-availability-monitoring-but-without-ping-check-to-host
> >
> > Modify/Disable Host Checks When Host Not Pingable
> > https://support.nagios.com/forum/viewtopic.php?f=7=32202
> >
> > Saludos,
> >
> > --
> > Camaleón
> >
>
>
>
> --
> -Alejandro Izquierdo-
>


Rapbian sur rpi2 et truc fâcheux avec le son...

2015-12-22 Thread Yann Cohen
Bonsoir,

Je suis en train de préparer une rpi2 pour un emballage avant le 24 au
soir...

Je rencontre un problème avec le son.

au début tout allait bien : sonic-pi faisait le bruit des vagues et le
son de lxmusic sortait bien sur le haut parleur brancher sur la jack.

ensuite j'ai testé sur le hdmi : au moins une heure de bon fonctionnent
en général , mais avec de temps en temps des pertes du son : une sorte
d'échantillonnage rapide et une sortie inaudible => arrêt redémarrage de
la lecture du son et cela repartait...

pendant ce temps là j'ai recherché d'autres lecteurs de média : abraca
(fonctionne aussi "mal" que lxmusic), clementine (démarre
difficilement), quodlibet plus rapide...

Mais à partir de ce moment là, nous avons eu droit sur la sortie audio
hdmi à des sons complètement déformées voir strident ressemblant plus à
du bruit qu'autre chose...

Depuis c'est le silence, mais pulseaudio est installé...

Donc maintenant quodlibet lit des fichiers son (mp3), le contrôle de
volume de pulse "voit" bien les niveaux de sortie varier, mais aucun son
ne sort.
Tous les "mixers" que j'ai pu tester (alsamixer, l'applet de lxde) sont
au maximum mais rien ne sort...

J'ai deux solutions :
  * j'ai la sortie audio qui a rendu l'âme ;
  * j'ai raté une configuration de pulse/alsa...

Quelles pistes puis-je suivre ?

Cordialement.

Yann.



Re: Attempt to Move Root

2015-12-22 Thread Nicolas George
Le duodi 2 nivôse, an CCXXIV, Sven Hartge a écrit :
> In ye olde days (pre-Windowsm 98) some programs (I think Photoshop did
> it.) wrote licence data into that space, because it was unused. The copy
> protection scheme of some games also tried to hide information there.
> 
> So "nobody" is not quite right. "nobody with the right mind" would be a
> better description.

I did not know that, it is simply disgusting. Well, if you have to deal with
bad-behaved proprietary programs that fancy themselves more powerful than
the operating system, then you can not use that feature of GRUB. That means
you have to put its second stage in a partition; obviously, this is possible
too.

But when dealing with that level of stupidity, really there is nothing to
do: we can not trust these proprietary programs will not decide to write
anywhere on the disk just because they have decided they have the right to
do so, or because they have a bug.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: Attempt to Move Root

2015-12-22 Thread Brian
On Tue 22 Dec 2015 at 23:05:54 +0100, Nicolas George wrote:

> Le duodi 2 nivôse, an CCXXIV, Sven Hartge a écrit :
> > In ye olde days (pre-Windowsm 98) some programs (I think Photoshop did
> > it.) wrote licence data into that space, because it was unused. The copy
> > protection scheme of some games also tried to hide information there.
> > 
> > So "nobody" is not quite right. "nobody with the right mind" would be a
> > better description.
> 
> I did not know that, it is simply disgusting. Well, if you have to deal with
> bad-behaved proprietary programs that fancy themselves more powerful than
> the operating system, then you can not use that feature of GRUB. That means
> you have to put its second stage in a partition; obviously, this is possible
> too.

Doesn't Reed-Solomon error correction on the core image take care of
this issue? Bug #550702, Message #70:

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550702

  This is yet another modification on crappy windows applications like
  Flexible Lies Manager. This is neither Debian nor GRUB bug, but of the
  windows application which improperly writes to MBR gap.
  However this is a relatively widespread issue, so in upstream we now
  write that part using Reed-Solomon so we're not affected by this
  misbehaviour other than the time needed to recover from corruption in
  Reed-Solomon.




Re: Jessie remplacerait-il Apache par Lighttpd ?

2015-12-22 Thread Dominique Asselineau
Eric Degenetais wrote on Tue, Dec 22, 2015 at 10:27:13AM +0100
> Pas de problème pour utiliser enable sur une configuration systemd
> générée. Si la configuration sortie par "systemctl cat apache2"
> commence par:
> 
> # /run/systemd/generator.late/apache2.service
> # Automatically generated by systemd-sysv-generator
> 
> cela indique une configuration systemd générée par la couche de
> compatibilité system V / systemd.
> D'ailleurs, les start / et stop scripts indiqués sont:
> 
> ExecStart=/etc/init.d/apache2 start
> ExecStop=/etc/init.d/apache2 stop

C'est exactement ça.  J'en ai profité pour vérifier le cas de lighttpd, 
ça semble être pur systemd.

j'ai donc stoppé lighttpd par 
# service lighttpd stop
J'ai ensuite fait en sorte qu'il ne démarre plus automatiquement par
# systemctl disable lighttpd
puis préparé le démarrage automatique d'apache2 par
# systemctl enable apache2
Et tout semble fonctionner.

Merci.

Dominique

> 
> Il est possible (je l'ai fait) de reprendre la configuration en sortie
> de "systemctl cat apache2" pour l'ajuster, puis l'installer. Ce n'est
> cependant pas nécessaire pour que le service apache2 se lance
> automatiquement au démarrage (par contre on n'a pas les
> fonctionnalités de watchdog permises par systemd)
> Le 22 décembre 2015 à 08:58, Eric Degenetais  a écrit :
> >
> > Bonjour,
> > j'ai installé des serveurs en Jessie (8.1, exactement) avec Apache2 sans 
> > soucis. Il ne s'agissait pas de migrations mais d'installations fraîches, 
> > cependant.
> > Concernant système, il faut voir si le paquet possède une configuration 
> > systemd native ou générée à la volée par la logique de compatibilité 
> > système V.
> > Pour le savoir:
> > systemctl cat apache2
> > (si la source est un script système V adapté à la volée, ça se verra dans 
> > la configuration affichée)
> > Pour passer apache2 en démarrage automatique, la commande est:
> > systemctl enable apache2
> > Il me semble qu'il n'y a pas de soucis, tant qu'on ne veut pas de 
> > fonctionnalités comme le watchdog pour redémarrer le service en cas de 
> > plantage.
> > Je réponds du train, en arrivant je ferai des vérifications sur le système 
> > concerné.
> >
> > Bon courage
> >
> > Le 22 déc. 2015 00:45, "Dominique Asselineau" 
> >  a écrit :
> >>
> >> Bonjour,
> >>
> >> Lors du passage à Jessie de mon portable Asus R051CX (mise à jour,
> >> pas une réinstallation), j'ai eu la surprise de constater que le serveur
> >> Apache installé localement pour mes essais, avait été remplacé par
> >> lighttpd, et « à l'improviste ».
> >>
> >> J'ai donc voulu arrêter lighttpd pour lancer ensuite le serveur Apache
> >> mais ça ne s'est pas déroulé simplement.  Après un
> >> # service lighttpd stop
> >> ou
> >> # $/etc/init.d/lighttpd stop
> >> la commande
> >> # netstat -tlnp
> >> laissait apparaître que le port 80 était toujours occupé en ipv6 (je
> >> crois).  Il fallait bricoler pour arriver à libérer définitivement ce
> >> port pour pouvoir enfin lancer correctement le serveur Apache.
> >>
> >> M'y suis-je mal pris pour arrêter le serveur Lighttpd ?  ou y a-t-il
> >> un problème qui échappe à ma bonne volonté.
> >>
> >> J'avoue ne pas être familiarisé avec SystemD et je ne suis pas sûr de
> >> savoir faire en sorte que ce soit le serveur Apache qui démarre au
> >> lieu de lighttpd.  Je suppose que les commandes habituelles comme
> >> update-rc.d ne sont pas à utiliser avec systemd ?
> >>
> >> Merci de vos éclaircissements.
> >>
> >> Dominique
> >> --
> >>

-- 
Dominique Asselineau



Re: Need a calculator that knows about coulombs

2015-12-22 Thread Charlie Kravetz
On Tue, 22 Dec 2015 20:09:55 -0500
Gene Heskett  wrote:

>Greetings all;
>
>Do we have such a beast?
>
>Thanks.
>
>Cheers, Gene Heskett

I honestly do not know the answer, but speedcrunch is a neat calculator
with many features. Online docs suck, but the readme is pretty good.

-- 
Charlie Kravetz
Linux Registered User Number 425914
[http://linuxcounter.net/user/425914.html]
Never let anyone steal your DREAM.   [http://keepingdreams.com]



Re: A start job is runing for device ....

2015-12-22 Thread merlinva2012
Cuando ejecuto blkid me sale el swap y cuando ejecuto swapon -s no me sale
nada



--
Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/



Apt security update erreurs 504 fréquentes

2015-12-22 Thread David_dev Dev
Bonjour,

Nous avons régulièrement des erreur 504 lors des mises à jour programmées
en crontab avec unattended-upgrades sur une debian 7 :

/var/log/unattended-upgrades/unattended-upgrades.log :


2015-12-19 06:27:10,897 ERROR Une erreur s'est produite : 504  Connection
to server timed out
2015-12-19 06:27:10,898 ERROR Échec du téléchargement à l'URI «
http://security.debian.org/pool/updates/main/l/linux/linux-image-3.2.0-4-amd64_3.2.73-2+deb7u1_amd64.deb
», abandon

Le lendemain vers les mêmes horaires plus de soucis.

D'autres serveurs identiques n'ont pas ce problème le même jours dans la
même plage horaire (tous les serveurs se mettent à jour entre 6h et 7h en
gros).

Ces serveurs ne semblent pas chargés, la ligne internet non plus, j'ai du
mal à comprendre (et marre des mails d'alertes toutes les semaines).

l'update se lance tous les jours sinon et fonctionne la majorité du temps.
Ex1 : server1 : ok du 01/12 à aujourd'hui sauf le 19/12
Ex2 : server2 : ok du 01/12 à aujourd'hui sauf les 16 et 18/12

Quelqu'un aurait-il des idées ?

Y a-t-il des périodes de mises à jour du dépôt security à éviter ?
Y a-t-il des limitations si trop de machines venant de la même IP se
connectent sur le dépôt (unattended semble avoir un random de timer assez
large pourtant et pas 200 machines à mettre à jour).


Re: postfix en nullmailer

2015-12-22 Thread Geert Stappers
On Mon, Dec 21, 2015 at 11:31:13PM +0100, Paul van der Vlis wrote:
> Op 21-12-15 om 23:00 schreef Richard Lucassen:
> > On Mon, 21 Dec 2015 21:46:35 +0100 Geert Stappers wrote:
> >> On Mon, Dec 21, 2015 at 09:27:50PM +0100, Richard Lucassen wrote:
> >>> Een van jullie weet dat vast wel: twee pakketten die niet
> >>> tegelijkertijd geinstalleerd kunnen zijn, bijvoorbeeld postfix en
> >>> nullmailer. Hoe krijg ik het voor elkaar dat ik ze allebei *wel*
> >>> kan installeren (op een nette packagemanager-manier dus, de botte
> >>> bijl werkt altijd wel) en dat ze beiden ook netjes ge-update worden?
> >>
> >> En dan de MTAs met elkaar laten vechten,
> >> laat dat nou net iets zijn wat een nette packagemanager zal voorkomen.
> > 
> > Dat snap ik. Maar als ik dat nou toch wel zo wil?

Dan is er een uitdaging, vooral jouw uitdaging.
Laat je niet tegenhouden. Doe je ding en kijk hoe ver je komt.
Extra karmapunten voor het delen van je ervaring.

> > Ik kan de ene
> > MTA laten draaien en de andere gestopt houden en omgekeerd. Maar ze
> > staan dan wel beide geinstalleerd. Met hun eigen configs.
> 
> Missschien is dit een idee:
> 
> In plaats van:
> service postfix stop; service nullmailer start
> 
> Gebruik je:
> apt-get remove postfix; apt-get install nullmailer

Omdat er een verschil is tussen `apt-get remove` en `apt-get purge`
zodat wel eens een mooi compromis kunnen zijn.

Toelichting op het idee van Paul en mijn inschatting:
`apt-get purge` verwijderd ook configuratie bestanden,
`apt-get remove` niet.


Groeten
Geert Stappers
-- 
Leven en laten leven


signature.asc
Description: Digital signature


Re: Stretch installation boots to read only

2015-12-22 Thread Felix Miata
Gary Roach composed on 2015-12-21 23:57 (UTC-0800):

> #   
> # / was on /dev/sda1 during installation
> /dev/sda1  /ext4 rw noatime  0 1

Invalid, so due to the bad entry, / gets mounted ro. You cannot have
whitespace except where the header line shows you. White is for separating
fields, so with the extra in place of a comma, you have too many parameters,
and a bad type in field 5.

s/rw noatime/rw,noatime/ should fix it.

> # UUID=3b06b2a3-6daa-4b9f-983b-84501950bc9c  / ext4rw, noatime   0   1

The space between "," and noatime makes the line similarly invalid, for the
same reason - 7 instead of 6, and bad type in #5.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Les mystères de tune2fs et de e2fsck

2015-12-22 Thread MERLIN Philippe
Bonjour,
Mon système est une Debian Sid AMD64, suite au fait que la debian Sid Kde est 
en période d'instabilité obligeant de redémarrer le système plusieurs fois par 
jour pour pouvoir travailler, j'ai modifié avec l'aide de tune2fs la 
périodicité de 
la vérification du système par e2fsck, j'ai supprimer la vérification par le 
nombre de montage et je l'ai remplacé par un intervalle de temps :1mois du 
moins c'est ce que j'espérais mais à l'usage cela ne fonctionne pas. Ai je fait 
une 
erreur voilà la sortie de tune2fs
tune2fs -l /dev/sda6 
*Maximum mount count:  -1 Last checked: Wed Oct 28 20:38:41 
2015 
Check interval:   2592000 (1 month) Next check after: Fri Nov 
27 
20:38:41 2015 *

Philippe Merlin


Re: Stretch installation boots to read only

2015-12-22 Thread anxiousmac
On Tuesday, 22 December 2015 08:00:05 UTC, Gary Roach  wrote:
> OK
> 
> systemctl --failed gives
> root@supercrunch:/etc# systemctl --failed
>UNIT LOAD   ACTIVE SUB DESCRIPTION
> ● anacron.service  loaded failed failed Run anacron jobs
> ● apache2.service  loaded failed failed LSB: Apache2 
> web server
> ● autofs.service   loaded failed failed Automounts 
> filesystems on demand
> ● colord.service   loaded failed failed Manage, 
> Install and Generate Color Profiles
> ● console-kit-log-system-start.service loaded failed failed Console 
> System Startup Logging
> ● exim4.serviceloaded failed failed LSB: exim 
> Mail Transport Agent
> ● munin-node.service   loaded failed failed Munin Node
> ● postgresql@9.1-main.service  loaded failed failed PostgreSQL 
> Cluster 9.1-main
> ● postgresql@9.4-main.service  loaded failed failed PostgreSQL 
> Cluster 9.4-main
> ● systemd-hostnamed.serviceloaded failed failed Hostname Service
> ● systemd-tmpfiles-setup.service   loaded failed failed Create 
> Volatile Files and Directories
> ● systemd-update-utmp.service  loaded failed failed Update UTMP 
> about System Boot/Shutdown
> 
> LOAD   = Reflects whether the unit definition was properly loaded.
> ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
> SUB= The low-level unit activation state, values depend on unit type.
> 
> 12 loaded units listed. Pass --all to see loaded but inactive units, too.
> To show all installed unit files use 'systemctl list-unit-files'.
> 
> And 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).
> #
> #   
> # / was on /dev/sda1 during installation
> /dev/sda1  /ext4 rw noatime  0 1
> # UUID=3b06b2a3-6daa-4b9f-983b-84501950bc9c  / ext4rw, noatime  
> 0   1
> # swap was on /dev/sda5 during installation
> /dev/sda5noneswap sw   0 0
> # UUID=0a63cffb-6edb-4d5c-a1f6-a2438d4a7745  none swap
> sw  0   0
>/dev/sr0/media/cdrom0   udf,iso9660 user,noauto 0   0
> 
> This didn't work with the UUID's either.
> 
> And the mount -a error is:
> root@supercrunch:/etc# mount -a
> mount: /etc/fstab: parse error: ignore entry at line 9.
> 
> I think that covers everything. I went through the apt-get process until 
> no more files needed updating. Ran apt-get check etc. Nothing showed up.
> 
> Gary R.

/etc/fstab uses spaces to separate the fields. There may, once upon a time, 
have been a good reason for that design decision.

So your line:

/dev/sda1  /ext4 rw noatime  0 1

needs the space between rw and noatime to be replaced by a comma and no space.

As Marc pointed out above.

anxiousmac



Re: Intel 82576 Gigabit on Debian 7 slow speed.

2015-12-22 Thread David Christensen

On 12/21/2015 11:20 PM, Mimiko wrote:

One [RAID] channel is connected to 8 x 2TB the other channel to 8 x 1TB.


What is the part number of your cables?



JBOD for software raid [on Wheezy].


I thought the 'zpool create ...' invocation showed all 16 drives in one 
raidz2 pool (?).  This is not the same as JBOD.




The windows server uses HW RAID6.


Hardware RAID is generally considered to be faster than software RAID, 
but the latter offers more opportunities for tuning.




[Drives are enclosed] in same server 2U.
[Drives get power] from same power as MB.
Toshiba 2TB 3.5" MG03ACA200 SATA and Toshiba 1TB 3.5" MG03ACA100 SATA.


Okay.


http://toshiba.semicon-storage.com/us/product/storage-products/enterprise-hdd.html



[Disconnect RAID and benchmark system SSD's] is impossible for now.


Schedule a maintenance window.


> I don't understand the meaning of ["do you know if your amount of RAM
> is too much, too little, or just right?"].  More RAM is better, but
> this is what we have on this server.

What I'm suggesting is that you find some metric(s) to tell you how much 
memory Linux, ZFS, and Samba are using:


- Too little memory is bad, for reasons we all already know.

- Too much memory is a waste -- the extra memory could be put into 
another machine where it is needed.




zfs list
NAME   USED  AVAIL  REFER  MOUNTPOINT
zfspool   11.5T  39.7G   335K  none


Ouch.  You need to free up space soon, or you're going to have a disaster.


Slow throughput is a symptom of full drives.


I suspect that your 'zpool create ...' invocation with differing drive 
sizes resulted in ZFS treating all the drives as the same size as the 
smallest drive -- e.g. 16 @ 1 TB.  So, it appears that raidz2 cost you 4 
TB, or 25% of your raw space.




Windows Server 2008 R2 x64


Okay.



Windows server has 48GB RAM and 8 x 2TB HDD and no separate SSD's.

> Windows is on HW RAID6.
> No [software RAID or dynamic disks].

You are making an apples to oranges comparison.

48 GB vs. 18 GB -- Linux has 1/3 the RAM

8 drives on 8 channels vs. 16 drives on 8 channels -- Linux has 
twice the buss contention.


hardware RAID vs. software RAID -- I don't think the Linux software 
RAID is set up optimally



That said, any computer with drives that are 99.6% full is not going to 
benchmark well; it's going to crash.




Only one laptop. May be one desktop too. Its easier to setup another
server with same MB but lower disk count and ram.


It's good to have spare hardware for running tests, doing maintenance, 
and for emergencies (like now).




So keep in touch. As this is disappointing for Debian to loose to windows in 
file share.


I think either can perform well, when properly tuned.



There are now around 8 ext4 filesystems with different sizes.


Okay.


> Unfortunately [I am unable to move services off the machine]. Its a
> lot of data. This is only server with lot of disk space.

Been there, done that, and lost data, time, money, credibility, 
business, etc..





700Mbit/s is about 80MB/s. So I think its not intel network card the
issue. Something is with samba or zfs.


I agree that Gigabit interfaces should run at close to capacity, but the 
iperf numbers you posted previously show otherwise.



David



Fwd: Jessie remplacerait-il Apache par Lighttpd ?

2015-12-22 Thread Eric Degenetais
Bonjour,
j'ai installé des serveurs en Jessie (8.1, exactement) avec Apache2 sans
soucis. Il ne s'agissait pas de migrations mais d'installations fraîches,
cependant.
Concernant système, il faut voir si le paquet possède une configuration
systemd native ou générée à la volée par la logique de compatibilité
système V.
Pour le savoir:
systemctl cat apache2
(si la source est un script système V adapté à la volée, ça se verra dans
la configuration affichée)
Pour passer apache2 en démarrage automatique, la commande est:
systemctl enable apache2
Il me semble qu'il n'y a pas de soucis, tant qu'on ne veut pas de
fonctionnalités comme le watchdog pour redémarrer le service en cas de
plantage.
Je réponds du train, en arrivant je ferai des vérifications sur le système
concerné.

Bon courage
Le 22 déc. 2015 00:45, "Dominique Asselineau" 
a écrit :

> Bonjour,
>
> Lors du passage à Jessie de mon portable Asus R051CX (mise à jour,
> pas une réinstallation), j'ai eu la surprise de constater que le serveur
> Apache installé localement pour mes essais, avait été remplacé par
> lighttpd, et « à l'improviste ».
>
> J'ai donc voulu arrêter lighttpd pour lancer ensuite le serveur Apache
> mais ça ne s'est pas déroulé simplement.  Après un
> # service lighttpd stop
> ou
> # $/etc/init.d/lighttpd stop
> la commande
> # netstat -tlnp
> laissait apparaître que le port 80 était toujours occupé en ipv6 (je
> crois).  Il fallait bricoler pour arriver à libérer définitivement ce
> port pour pouvoir enfin lancer correctement le serveur Apache.
>
> M'y suis-je mal pris pour arrêter le serveur Lighttpd ?  ou y a-t-il
> un problème qui échappe à ma bonne volonté.
>
> J'avoue ne pas être familiarisé avec SystemD et je ne suis pas sûr de
> savoir faire en sorte que ce soit le serveur Apache qui démarre au
> lieu de lighttpd.  Je suppose que les commandes habituelles comme
> update-rc.d ne sont pas à utiliser avec systemd ?
>
> Merci de vos éclaircissements.
>
> Dominique
> --
>
>


Re: Jessie remplacerait-il Apache par Lighttpd ?

2015-12-22 Thread Eric Degenetais
Pas de problème pour utiliser enable sur une configuration systemd
générée. Si la configuration sortie par "systemctl cat apache2"
commence par:

# /run/systemd/generator.late/apache2.service
# Automatically generated by systemd-sysv-generator

cela indique une configuration systemd générée par la couche de
compatibilité system V / systemd.
D'ailleurs, les start / et stop scripts indiqués sont:

ExecStart=/etc/init.d/apache2 start
ExecStop=/etc/init.d/apache2 stop

Il est possible (je l'ai fait) de reprendre la configuration en sortie
de "systemctl cat apache2" pour l'ajuster, puis l'installer. Ce n'est
cependant pas nécessaire pour que le service apache2 se lance
automatiquement au démarrage (par contre on n'a pas les
fonctionnalités de watchdog permises par systemd)
__
Éric Dégenètais
Henix



http://www.henix.com
http://www.squashtest.org


Le 22 décembre 2015 à 08:58, Eric Degenetais  a écrit :
>
> Bonjour,
> j'ai installé des serveurs en Jessie (8.1, exactement) avec Apache2 sans 
> soucis. Il ne s'agissait pas de migrations mais d'installations fraîches, 
> cependant.
> Concernant système, il faut voir si le paquet possède une configuration 
> systemd native ou générée à la volée par la logique de compatibilité système 
> V.
> Pour le savoir:
> systemctl cat apache2
> (si la source est un script système V adapté à la volée, ça se verra dans la 
> configuration affichée)
> Pour passer apache2 en démarrage automatique, la commande est:
> systemctl enable apache2
> Il me semble qu'il n'y a pas de soucis, tant qu'on ne veut pas de 
> fonctionnalités comme le watchdog pour redémarrer le service en cas de 
> plantage.
> Je réponds du train, en arrivant je ferai des vérifications sur le système 
> concerné.
>
> Bon courage
>
> Le 22 déc. 2015 00:45, "Dominique Asselineau"  
> a écrit :
>>
>> Bonjour,
>>
>> Lors du passage à Jessie de mon portable Asus R051CX (mise à jour,
>> pas une réinstallation), j'ai eu la surprise de constater que le serveur
>> Apache installé localement pour mes essais, avait été remplacé par
>> lighttpd, et « à l'improviste ».
>>
>> J'ai donc voulu arrêter lighttpd pour lancer ensuite le serveur Apache
>> mais ça ne s'est pas déroulé simplement.  Après un
>> # service lighttpd stop
>> ou
>> # $/etc/init.d/lighttpd stop
>> la commande
>> # netstat -tlnp
>> laissait apparaître que le port 80 était toujours occupé en ipv6 (je
>> crois).  Il fallait bricoler pour arriver à libérer définitivement ce
>> port pour pouvoir enfin lancer correctement le serveur Apache.
>>
>> M'y suis-je mal pris pour arrêter le serveur Lighttpd ?  ou y a-t-il
>> un problème qui échappe à ma bonne volonté.
>>
>> J'avoue ne pas être familiarisé avec SystemD et je ne suis pas sûr de
>> savoir faire en sorte que ce soit le serveur Apache qui démarre au
>> lieu de lighttpd.  Je suppose que les commandes habituelles comme
>> update-rc.d ne sont pas à utiliser avec systemd ?
>>
>> Merci de vos éclaircissements.
>>
>> Dominique
>> --
>>



Re: Les mystères de tune2fs et de e2fsck

2015-12-22 Thread MERLIN Philippe
Le mardi 22 décembre 2015, 12:15:22 MERLIN Philippe a écrit :
> Bonjour,
> Mon système est une Debian Sid AMD64, suite au fait que la debian Sid Kde
> est en période d'instabilité obligeant de redémarrer le système plusieurs
> fois par jour pour pouvoir travailler, j'ai modifié avec l'aide de tune2fs
> la périodicité de la vérification du système par e2fsck, j'ai supprimer la
> vérification par le nombre de montage et je l'ai remplacé par un intervalle
> de temps :1mois du moins c'est ce que j'espérais mais à l'usage cela ne
> fonctionne pas. Ai je fait une erreur voilà la sortie de tune2fs
> tune2fs -l /dev/sda6
> *Maximum mount count:  -1 Last checked: Wed Oct 28 20:38:41
> 2015 Check interval:   2592000 (1 month) Next check after:
> Fri Nov 27 20:38:41 2015 *
> 
> Philippe Merlin
En examinant le message envoyé la sortie de tune2fs a disparu et mon message ne 
devient 
pas très compréhensible
tune2fs -l /dev/sda6 



Re: Les mystères de tune2fs et de e2fsck

2015-12-22 Thread jdd

Le 22/12/2015 12:45, MERLIN Philippe a écrit :


N'arrivant pas à vous l'envoyer dans le corps du message certainement un
caractère parasite, le résultat de tune2fs se trouve dans le fichier en P.J.


moi je l'ai eu dans les trois messages, mais je n'ai pas la réponse :-(

jdd



consolekit in jessie (Re: Stretch installation boots to read only)

2015-12-22 Thread Michael Biebl
Am 22.12.2015 um 08:57 schrieb Gary Roach:
> ● console-kit-log-system-start.service loaded failed failed Console

This is an unrelated comment, but since I've seen consolekit in the list
of services:

With jessie, that service is in the vast majority of cases not necessary
anymore. Unfortunately it's not removed automatically on upgrades.
So I would suggest anyone reading this list to run

apt-get remove --purge consolekit libck-connector0 libpam-ck-connector

If that doesn't want to remove any important package, proceed with the
removal. Und you have one system process less.

Regards,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Les mystères de tune2fs et de e2fsck

2015-12-22 Thread MERLIN Philippe
Le mardi 22 décembre 2015, 12:29:44 MERLIN Philippe a écrit :
> Le mardi 22 décembre 2015, 12:25:34 MERLIN Philippe a écrit :
> > Le mardi 22 décembre 2015, 12:15:22 MERLIN Philippe a écrit :
> > > Bonjour,
> > > Mon système est une Debian Sid AMD64, suite au fait que la debian Sid
> > > Kde
> > > est en période d'instabilité obligeant de redémarrer le système
> > > plusieurs
> > > fois par jour pour pouvoir travailler, j'ai modifié avec l'aide de
> > > tune2fs
> > > la périodicité de la vérification du système par e2fsck, j'ai supprimer
> > > la
> > > vérification par le nombre de montage et je l'ai remplacé par un
> > > intervalle
> > > de temps :1mois du moins c'est ce que j'espérais mais à l'usage cela ne
> > > fonctionne pas. Ai je fait une erreur voilà la sortie de tune2fs
> > > tune2fs -l /dev/sda6
> > > *Maximum mount count:  -1 Last checked: Wed Oct 28
> > > 20:38:41
> > > 2015 Check interval:   2592000 (1 month) Next check after:
> > > Fri Nov 27 20:38:41 2015 *
> > > 
> > > Philippe Merlin
> > 
> > En examinant le message envoyé la sortie de tune2fs a disparu et mon
> > message ne devient pas très compréhensible
> > tune2fs -l /dev/sda6
> 
> tune2fs -l /dev/sda6
N'arrivant pas à vous l'envoyer dans le corps du message certainement un 
caractère 
parasite, le résultat de tune2fs se trouve dans le fichier en P.J.
Excusez moi.
tune2fs 1.42.13 (17-May-2015)
Filesystem volume name:   linux
Last mounted on:  /
Filesystem UUID:  cfefa5bd-93c0-4451-818e-26207c170c14
Filesystem magic number:  0xEF53
Filesystem revision #:1 (dynamic)
Filesystem features:  has_journal ext_attr resize_inode dir_index filetype 
needs_recovery sparse_super large_file
Filesystem flags: signed_directory_hash 
Default mount options:(none)
Filesystem state: clean
Errors behavior:  Continue
Filesystem OS type:   Linux
Inode count:  24944640
Block count:  99747072
Reserved block count: 4987353
Free blocks:  55024886
Free inodes:  24336132
First block:  0
Block size:   4096
Fragment size:4096
Reserved GDT blocks:  1000
Blocks per group: 32768
Fragments per group:  32768
Inodes per group: 8192
Inode blocks per group:   512
Filesystem created:   Wed May 20 21:34:17 2009
Last mount time:  Tue Dec 22 11:07:24 2015
Last write time:  Tue Dec 22 11:07:12 2015
Mount count:  91
Maximum mount count:  -1
Last checked: Wed Oct 28 20:38:41 2015
Check interval:   2592000 (1 month)
Next check after: Fri Nov 27 20:38:41 2015
Lifetime writes:  12 TB
Reserved blocks uid:  0 (user root)
Reserved blocks gid:  0 (group root)
First inode:  11
Inode size:   256
Required extra isize: 28
Desired extra isize:  28
Journal inode:8
First orphan inode:   2154588
Default directory hash:   half_md4
Directory Hash Seed:  928b34fd-2dc8-46c0-9cc6-45491a440ccf
Journal backup:   inode blocks


A start job is runing for device ....

2015-12-22 Thread merlinva2012
Pues el dispositivo que provoca ese mensaje es el swap, pero cómo lo
soluciono (cómo evito esa demora).
saludos


--
Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/



Re: [OT] Nagios check no ping

2015-12-22 Thread Darthcoli - Alejandro Izquierdo
Si configuras hosts groups, no tienes que ir haciendo cambios "uno a
uno" o tienes que ir haciendo menos...

No estoy seguro, pero creo que si simplemente defines el host con
checkcommand otro check diferente para testear que el host esta
arriba, ya no aplica el por defecto.

Si por razones de seguridad o cualuqier otra cosa, no puede configurar
la red para que responda a ping al nagios, puedes lanzar un check nrpe
desde la propia maquina.

El día 22 de diciembre de 2015, 16:08, Camaleón  escribió:
> El Tue, 22 Dec 2015 15:26:48 +0100, Maykel Franco escribió:
>
>> Buenas, tengo montado un nagios 4.1 a "pelo" desde hace algún tiempo en
>> Debian y funciona de maravillas, lo único que me ha surgido un pequeño
>> problema y es añadir un hosts al que no se le puede hacer ping, lo que
>> no quita que tú puedas monitorizar los servicios, pero al detectar que
>> el host no se puede monitorizar, no me llegan las alertas de los
>> servicios porque entiende que está down... He probado esto:
>>
>> http://www.htmlgraphic.com/nagios-check-host-without-ping/
>>
>> Pero no me ha funcionado.
>>
>> Otra opción es poner esta variable a 0:
>>
>> execute_host_checks=1
>>
>> Para que no ejecute los checks de host, y añada posteriormente un
>> servicio de ping, que es básicamente lo que hace nagios cuando le añades
>> el host... un ping.
>>
>> Lo que implica que tengo que ir host por host añadiendo el servicio PING
>> para monitorizarlo ya que el check de host alive ya quedaría
>> invalidado...
>>
>> Alguna otra idea?
>
> Por aquí apuntan varias opciones (leer con calma y tranquilidad :-P):
>
> Enable availability monitoring but without ping check to host
> https://www.alienvault.com/forums/discussion/2218/enable-availability-monitoring-but-without-ping-check-to-host
>
> Modify/Disable Host Checks When Host Not Pingable
> https://support.nagios.com/forum/viewtopic.php?f=7=32202
>
> Saludos,
>
> --
> Camaleón
>



-- 
-Alejandro Izquierdo-



Re: A start job is runing for device ....

2015-12-22 Thread Camaleón
El Tue, 22 Dec 2015 11:36:05 -0500, merlinva2012 escribió:

> Cuando ejecuto blkid me sale el swap y cuando ejecuto swapon -s no me sale
> nada

Manda la salida del comando "blkid" y el de "mount".

Saludos,

-- 
Camaleón



Odd radeon bug on startup

2015-12-22 Thread Jacob Adams
I'm not sure if this a bug in Debian or a hardware problem so I thought
I would ask about it. I'm running Debian stretch (i.e. testing) on an
AMD A10-5800k with Radeon HD 7660D built-in. Early in the boot process,
the screen goes black and I have to press a key to bring it back. When I
do these messages appear:

[   10.493160] [drm:vce_v1_0_start [radeon]] *ERROR* VCE not responding,
trying to reset the ECPU!!!
[   11.503519] [drm:vce_v1_0_start [radeon]] *ERROR* VCE not responding,
trying to reset the ECPU!!!
[   12.513868] [drm:vce_v1_0_start [radeon]] *ERROR* VCE not responding,
trying to reset the ECPU!!!
[   13.524211] [drm:vce_v1_0_start [radeon]] *ERROR* VCE not responding,
trying to reset the ECPU!!!
[   14.534560] [drm:vce_v1_0_start [radeon]] *ERROR* VCE not responding,
trying to reset the ECPU!!!
[   15.544905] [drm:vce_v1_0_start [radeon]] *ERROR* VCE not responding,
trying to reset the ECPU!!!
[   16.555250] [drm:vce_v1_0_start [radeon]] *ERROR* VCE not responding,
trying to reset the ECPU!!!
[   17.565591] [drm:vce_v1_0_start [radeon]] *ERROR* VCE not responding,
trying to reset the ECPU!!!
[   18.575936] [drm:vce_v1_0_start [radeon]] *ERROR* VCE not responding,
trying to reset the ECPU!!!
[   18.595800] [drm:vce_v1_0_start [radeon]] *ERROR* VCE not responding,
giving up!!!
[   18.595859] [drm:cayman_startup [radeon]] *ERROR* radeon: failed
initializing VCE (-1).

The full dmesg is here:
https://gist.github.com/Tookmund/df11f66c2b109e1cf37c

Someone on askubuntu was having the same problem and people told them
not to worry about it
http://askubuntu.com/questions/682814/vce-not-responding-trying-to-reset-the-ecpu-presented-at-boot

It's no big deal as it does not appear to affect anything, but it only
started happening after I upgraded to stretch. Should I report it as a
bug against xserver-xorg-video-radeon or is it just a hardware problem
that I should ignore?

-- 
Jacob Adams
GPG Key: AF6B 1C26 E2D0 A988 432B  94F4 24C0 2B85 B59F E5A9



signature.asc
Description: OpenPGP digital signature


Re: A start job is runing for device ....

2015-12-22 Thread merlinva2012
blkid:

/dev/sda1: SEC_TYPE="msdos" LABEL="DellUtility" UUID="07D7-0615"
TYPE="vfat" PARTUUID="926e5d0f-01"
/dev/sda5: UUID="57eadc99-d160-4581-964e-0e21167fad71" TYPE="ext4"
PARTUUID="926e5d0f-05"
/dev/sda6: UUID="a47e253d-3505-4fca-ac1d-772064be9595" TYPE="swap"
PARTUUID="926e5d0f-06"

mount:

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs
(rw,relatime,size=10240k,nr_inodes=216872,mode=755)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=412568k,mode=755)
/dev/sda5 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup
(rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
(rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup
(rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup
(rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup
(rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup
(rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup
(rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=23,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/1000 type tmpfs
(rw,nosuid,nodev,relatime,size=206284k,mode=700,uid=1000,gid=1000)




--
Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/



Re: Attempt to Move Root

2015-12-22 Thread Nicolas George
Le primidi 1er nivôse, an CCXXIV, Stephen Powell a écrit :
> No, that won't work.  If the root filesystem is an LVM2 logical volume, then
> /boot *cannot* be part of the root filesystem.  To be more rigorous, there 
> will
> be a /boot directory in the / filesystem, but it must be an *empty* directory,
> so that another filesystem can be mounted on that directory.  Another
> filesystem must get mounted on the /boot directory in the root filesystem,
> and that filesystem must be made on a partition of a *real* disk which is
> accessible via the BIOS.  It cannot be an LVM2 logical volume.  The boot
> partition contains the LILO map file (by default, /boot/map) as well as the
> kernel image file and the initial RAM filesystem image file.  LILO reads these
> files at boot time via BIOS calls, and the BIOS does not support LVM2 logical
> volumes.

What you write is slightly inaccurate. The core of your inaccuracy is this:
LILO does not use the BIOS to read FILES, but SECTORS. How to map files to
sectors is entirely LILO's problem.

IIRC, the mapping is computed when (re)installing LILO on the boot-sector
and hard-coded in the boot-sector itself, with one level of indirection (the
map file). After a quick glance at the sources, it uses the FIBMAP ioctl and
various others to ask the kernel the blocks used by a file and converts to
sectors. At the same time, I noticed that LILO seems to be actually capable
of finding the sectors for files on LVM.

This is how LILO works. GRUB, for example, works in a completely different
way: it has code to decode partition tables, logical volumes and various
filesystems, and uses it to find files at runtime. This is way more robust
than LILO. On the other hand, the code for that is quite large and does not
fit on the 512- octets of a boot-sector: GRUB must cheat, it has a second
stage, and just like LILO's map file, it hard-codes the sectors for the
second stage in the boot-sector image. Still, GRUB's second stage is much
smaller than a kernel image (about fifty kilo-octets) and changes very
infrequently. To avoid troubles with filesystems, GRUB tries to put its
second stage in the unused space between the partition table and the
boot-sector.

I have not read this thread carefully, so maybe it has already been
addressed, but all this suggest that the OP should install GRUB instead of
LILO and be done with that kind of trouble.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: A start job is runing for device ....

2015-12-22 Thread Darthcoli - Alejandro Izquierdo
Pues das muy poca informacion, depende de cual es el problema, ¿Si
ejecutas "blkid" aparece la swap? ¿EL UUID es correcto?
¿Si ejecutas "swapon -s" aparece la partición?

Si la respuesta es no, tienes que crearla. Poniendo en google "crear
swap linux" encontraras procedimientos bien explicados.

El día 22 de diciembre de 2015, 16:58,
 escribió:
> Pues el dispositivo que provoca ese mensaje es el swap, pero cómo lo
> soluciono (cómo evito esa demora).
> saludos
>
>
> --
> Este mensaje le ha llegado mediante el servicio de correo electronico que 
> ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
> Nacional de Salud. La persona que envia este correo asume el compromiso de 
> usar el servicio a tales fines y cumplir con las regulaciones establecidas
>
> Infomed: http://www.sld.cu/
>



-- 
-Alejandro Izquierdo-



[OT] Nagios check no ping

2015-12-22 Thread Maykel Franco
Buenas, tengo montado un nagios 4.1 a "pelo" desde hace algún tiempo
en Debian y funciona de maravillas, lo único que me ha surgido un
pequeño problema y es añadir un hosts al que no se le puede hacer
ping, lo que no quita que tú puedas monitorizar los servicios, pero al
detectar que el host no se puede monitorizar, no me llegan las alertas
de los servicios porque entiende que está down... He probado esto:

http://www.htmlgraphic.com/nagios-check-host-without-ping/

Pero no me ha funcionado.

Otra opción es poner esta variable a 0:

execute_host_checks=1

Para que no ejecute los checks de host, y añada posteriormente un
servicio de ping, que es básicamente lo que hace nagios cuando le
añades el host... un ping.

Lo que implica que tengo que ir host por host añadiendo el servicio
PING para monitorizarlo ya que el check de host alive ya quedaría
invalidado...

Alguna otra idea?



Re: postfix en nullmailer

2015-12-22 Thread richard lucassen
On Tue, 22 Dec 2015 03:16:39 +0100
Jan Claeys  wrote:

> > Een van jullie weet dat vast wel: twee pakketten die niet 
> > tegelijkertijd geinstalleerd kunnen zijn, bijvoorbeeld postfix en 
> > nullmailer. Hoe krijg ik het voor elkaar dat ik ze allebei *wel*
> > kan installeren (op een nette packagemanager-manier dus, de botte
> > bijl werkt altijd wel) en dat ze beiden ook netjes ge-update worden?
> 
> Het probleem is dat deze pakketten een aantal bestanden gemeen hebben,
> met name o.a.:
> 
> /usr/sbin/sendmail
> /usr/lib/sendmail
> /usr/bin/mailq
> /usr/bin/newaliases

Dat is een punt :)

> Programma's die mail willen versturen op een POSIX/LSB-compatibele
> manier zullen ook verwachten dat die daar zijn (zeker sendmail), dus
> je kan ze niet zomaar een andere naam geven.
> 
> In theorie zouden de maintainers van alle "mail-transport-agent"
> pakketten samen een systeem met alternatives e.d. kunnen opzetten,
> maar ik vrees dat dat relatief veel werk zou zijn voor iets wat
> nauwelijks nut heeft.  :)

Ik script er wel iets anders in inderdaad. Iedereen dank voor de
reacties.

R.


-- 
richard lucassen http://contact.xaq.nl/



Re: A start job is runing for device ....

2015-12-22 Thread Camaleón
El Mon, 21 Dec 2015 15:09:30 -0500, merlinva2012 escribió:

> Mi "/etc/fstab" lo único que tiene es lo siguiente:
> 
> # /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).
> #
> #
> # / was on /dev/sda6 during installation
> UUID=57eadc99-d160-4581-964e-0e21167fad71 /   ext4 
> errors=remount-ro 0   1 
> # swap was on /dev/sda7 during installation 
> UUID=f5761bf0-d589-4917-9aae-844333e48f47 noneswapsw0 
>   0
> /dev/sr0/media/cdrom0   udf,iso9660 user,noauto 0   0

Pues fíjate en el dispositivo al que apunta el mensaje que recibes para 
ver si se trata de la partición raíz o la swap y verifica además si el
UUID es el correcto (blkid).

Si se trata de la partición raíz podría estar ejecutando alguna rutina 
de mantenimiento o haber encontrado algún error y ejecutado el fsck.

Saludos,

-- 
Camaleón



Re: OT freedns y gmail configuracion de remitente de correo

2015-12-22 Thread Camaleón
El Mon, 21 Dec 2015 19:31:52 +0100, Alberto C. escribió:

> On Mon, Dec 21, 2015 at 05:37:25PM +, Camaleón wrote:

(...)

>> Para usar una cuenta de correo en Gmail (distinta de la de Gmail,
>> obviamente) tienes que tener acceso a esa cuenta ya que te va a pedir
>> que la valides, es decir, no vale con inventarte un dominio ya que
>> cualquier podría poner el remitente que quisiera.
>> 
>> En resumen: sin buzón de correo real no hay paraíso :-P
> 
> creo que esta es la cuestión. Inocentemente pensé que podría enviar con
> un usuario desde mi máquina usando el dominio externo de freedns y
> usando el smtp de gmail.
> No he entendido el funcionamiento.

Hum... nope. 

La cuenta de correo que quieras usar en Gmail tiene que ser un buzón real 
(o un alias a un buzón real, vaya) pero para validarla Gmail tiene que 
poder enviar un mensaje al que debes responder y a partir de ese momento 
ya puedes usar la nueva dirección como remitente.

Lo hace así por seguridad, claro.

>> > Pues lo dicho, consigo enviar el email
>> 
>> ¿Pero usando la cuenta nueva como remitente o sólo te aparece la cuenta
>> de Gmail como disponible?
> 
> no tengo cuenta nueva, no hay un buzon real salvo el de mi cuenta de
> gmail.
> Lo unico que tengo es una dirección creada (y ficticia al parecer) con
> el nuevo dominio. O sea que necesito un buzon, activar una cuenta nueva
> por lo que te entiendo,
> lo que pasa es que deseaba tener todo de manera personal o local sin más
> cuenta que la de gmail

Se me escapa por qué quieres usar un remitente que no puede recibir 
correo (?), para eso mejor usar tu cuenta de Gmail directamente ¿no?

De todas formas, si usar el webmail de Gmail no es un requisito entonces 
la cosa cambia. Podrías configurar un cliente de correo convencional (o 
Postfix) para que se autentifique ante el servidor smtp/tls de Gmail con 
tu usuario/contraseña de Gmail pero usar el "From" con tu nueva cuenta. 
Antes era posible hacerlo pero no sé si ahora lo habrán limitado o quizá 
Gmail simplemente ignore el From y lo cambie por tu cuenta de Gmail. 
Prueba a ver, no te cuesta nada.

Saludos,

-- 
Camaleón



Re: Attempt to Move Root

2015-12-22 Thread Nicolas George
Le duodi 2 nivôse, an CCXXIV, John Hasler a écrit :
> "Unused" is the problem with this design.  The space is unused on by
> accident.  There is no standard (even an informal one) that reserves it.

This is theoretical. In practice, it works pretty well, because people (at
least competent sysadmins and authors of installers) do not mess randomly
with their partition table.


signature.asc
Description: Digital signature


Re: Attempt to Move Root

2015-12-22 Thread John Hasler
Nicolas George writes:
> To avoid troubles with filesystems, GRUB tries to put its second stage
> in the unused space between the partition table and the boot-sector.

"Unused" is the problem with this design.  The space is unused on by
accident.  There is no standard (even an informal one) that reserves it.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: A start job is runing for device ....

2015-12-22 Thread Camaleón
El Tue, 22 Dec 2015 12:01:57 -0500, merlinva2012 escribió:

> blkid:

(...)

> /dev/sda6: UUID="a47e253d-3505-4fca-ac1d-772064be9595" TYPE="swap" 
> PARTUUID="926e5d0f-06"

Tu partición swap ha cambiado de UUID, tienes que reflejar ese dato en el 
"/etc/fstab".

Saludos,

-- 
Camaleón



Re: Odd radeon bug on startup

2015-12-22 Thread Sven Arvidsson
On Tue, 2015-12-22 at 11:58 -0500, Jacob Adams wrote:
> I'm not sure if this a bug in Debian or a hardware problem so I
> thought
> I would ask about it. I'm running Debian stretch (i.e. testing) on an
> AMD A10-5800k with Radeon HD 7660D built-in. Early in the boot
> process,
> the screen goes black and I have to press a key to bring it back.
> When I
> do these messages appear:
> 
> [   10.493160] [drm:vce_v1_0_start [radeon]] *ERROR* VCE not
> responding,
> trying to reset the ECPU!!!

Sounds like this, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801131

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





signature.asc
Description: This is a digitally signed message part


Re: Need a calculator that knows about coulombs

2015-12-22 Thread Bob Bernstein

http://www.wolframalpha.com is fun.

--
Bob Bernstein



removing TexLive Docs packages

2015-12-22 Thread Sivaram Neelakantan

I installed TexLive recently and during one of the upgrades, the
entire texdoc package got installed too.  that is humoungous and I'd
like to remove the doc packages alone and also stop future installs
of the same type whenever I Upgrade TexLive.

Could someone please suggest a way?  I'm on debian test release, if
that is of any help.

 sivaram
 --