Re: Netbeans no inicia en sid

2018-03-01 Thread Gustavo Castro
probé con un usuario nuevo la falla es la misma, también probé ejecutar
eclipse y manda un error y no inicia, veo que hay un bug reportado con la
misma falla pero del 2015, recomendaba solo borrar .netbeans pero igual no
me funciono ami ni cambiando de usuario. me imagino que debe ser jdk.
seguire buscando gracia por la ayuda

El 1 de marzo de 2018, 0:38, Galvatorix Torixgalva  escribió:

> Prueba desde un usuario nuevo, para ver si es algo de la configuracion de
> tu usuario o de la configuracion del sistema.
>
>
>
> 
>  Libre
> de virus. www.avast.com
> 
> <#m_2171630032268665596_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>


no se puede montar modo escritura una particion ntfs en debian 9

2018-03-01 Thread Constantino Vargas
Buenos días, tengo instalado debian 9 en dual boot con w10, tengo una
partición destinado solo exclusivo para datos en ntfs el cual he montado
desde debian pero solo lo monta en modo lectura, los codigos que use desde
etc/fstab son:

/dev/sda3 /media/windows ntfs defaults,umask=007,gid=46 0 0
UUID=C864722F6472207C   /mnt/w10   ntfs-3g
 users,rw,uid=1000,gid=users,umask=0022   0   0
UUID=C864722F6472207C   /mnt/w10   ntfs-3g   default  0   0


-- 
Atentamente.

Constantino Vargas Cornejo


Re: printer with static ip address inaccessible from lan

2018-03-01 Thread john doe

On 3/2/2018 2:03 AM, Thomas George wrote:
I think this should work. For the present I have moved on to other 
tasks. The printer has a usb connection to the pc so I can print as 
needed. Others on the lan cannot use the printer.




you can share the printer using cups.
The other on the LAN would use the IP of your cups server.

--
John Doe



Re: LVM partitions not mounting after upgrade

2018-03-01 Thread David Christensen

On 02/28/18 07:28, Andy Pont wrote:

Hello,

Today I have upgraded the third of our three Debian servers from Jessie (8.10) 
to Stretch (9.3) and whilst the first two went without a problem the final one 
only boots to the maintenance mode prompt.

This particular server uses an Intel motherboard and has a 4 disk raid array 
(mirrored and striped) created using the BIOS in which exists (excuse the 
terminology if it isn’t quite correct) a LVM physical volume and three 
partitions (/opt, /home and /var).

When booting it sits for 90 seconds flashing messages of the form:

Start job running for dev-mapper-sdcserver/x2dvar.device
Start job running for dev-mapper-sdcserver/x2dopt.device
Start job running for dev-mapper-sdcserver/x2dhome.device

After the 90 seconds these turn into "Timed out waiting for..." messages and I 
get presented with Control-D maintenance mode prompt.

Looking in /dev there is the /dev/md126 device for the raid array but there are 
no /dev/dm-X entries and no /dev/vg_sdcserver as I see on a similar machine 
that has a similar setup.

When I try to investigate with commands such as pvcreate or vgchange, in test 
mode, then they all show messages about duplicates.

Could someone guide me how to recreate the necessary files in /dev so I can 
mount these volumes and boot the server?

Thanks,

-Andy.


https://lists.debian.org/debian-user/2018/03/msg5.html


What is "sdcserver"?  Secondary Domain Controller?


What is the model of the Intel motherboard?


Is the RAID controller on the motherboard or a card?  If card, what is 
the make and model?



What are the makes and models of the disks?


If you created the RAID10 using the BIOS, did Jesse see one physical 
disk or did you need to install additional software?



Is root on the RAID10 or on other disk(s)?


David



DIY FOSS firewall/ router

2018-03-01 Thread David Christensen

On 03/01/18 07:23, John wrote:
> Slightly different issue but I am part way through an upgrade from
> Whezzy to Stretch.  After the upgrade to Jessie my (headless) computer
> failed to boot.  After a struggle getting keyboard and screen it
> stalled after loading the kernel, probably a broken initrd file
>
> It booted OK with  the last Whezzy kernel but I am afraid to try to
> upgrade to Stretch with this suspect system.  Problem is this machine
> is the interface between the LAN and the Internet so without it things
> are difficult
> ==John ffitch

I built and ran a do-it-yourself Debian firewall/ router back in the 
day, learned iptables (or whatever), etc..  It worked, but I knew I was 
no expert and worried about security.



Then I discovered purpose-built FOSS firewall/ router distributions:

1.  I found IPCop to be the easiest to install, configure, and 
administer.  Unfortunately, the web site is down at the moment.


2.  I found pfsense to be the most sophisticated:

https://www.pfsense.org/


David



Re: Using apcupsd for power failure controle

2018-03-01 Thread Richard Hector
On 02/03/18 03:09, Marc Auslander wrote:
>> I think you can usually set the power-on behaviour in the BIOS (or EFI,
>> presumably) - independently of the OS or any shutdown process.
>>
>> Richard
> So here's the issue - maybe I'm missing something.
> 
> If I configure apcupsd to shutdown on power fail and the power really
> stays off till the apc unit shut down, my machine will reboot on power
> up.  But what if the power comes back once the daemon has started the
> shutdown?
> 
> What is needed is a guaranteed power cycle from the apc unit - which
> AFAIK is not an option.

Interesting point.

I confess I've never set up a ups for all this before, but I've read
about it ... I'm pretty sure you can instruct the ups to shut down, but
I don't know whether you can tell it to come back as soon as the power
is stable (possibly immediately).

I guess you could go more extreme, and have the ups controlled by
something else, like a battery-powered Raspberry Pi ... does the ups
listen for instructions in its 'down' state?

Richard



signature.asc
Description: OpenPGP digital signature


Re: Some tasks very slow after upgrade from Jessie to Stretch

2018-03-01 Thread Richard Hector
On 02/03/18 04:23, John wrote:
> Slightly different issue but I am part way through an upgrade from
> Whezzy to Stretch.  After the upgrade to Jessie my (headless) computer
> failed to boot.  After a struggle getting keyboard and screen it
> stalled after loading the kernel, probably a broken initrd file
> 
> It booted OK with  the last Whezzy kernel but I am afraid to try to
> upgrade to Stretch with this suspect system.  Problem is this machine
> is the interface between the LAN and the Internet so without it things
> are difficult
> ==John ffitch
> 

So you've got a jessie system that won't boot with the jessie kernel,
but will boot with the wheezy kernel?

While you've got the keyboard and screen handy, you could try the
jessie-backports kernel, which is more similar to the stretch kernel,
and if that works you should be ok to upgrade.

Richard




signature.asc
Description: OpenPGP digital signature


Re: printer with static ip address inaccessible from lan

2018-03-01 Thread Thomas George
I think this should work. For the present I have moved on to other 
tasks. The printer has a usb connection to the pc so I can print as 
needed. Others on the lan cannot use the printer.



On 03/01/2018 05:08 AM, Bernd Gruber wrote:

Can't you just plug the printer locally to a PC, change manually the PC's
network-address to 192.168.1.x, connect to the printer and change its IP to
192.168.2.x. Then, of course, you will loose the connection, but the printer
will be in the desired network. Don't forget to change IP-configuration of
your PC, and connect to the router.
Bernd


Thomas George wrote:


The Samsung CLP-320 printer's static ip 192.168.1.139 was set about 10
years ago to work on a lan using 192.168.1.x addresses. Last week the
lan's router failed and was replaced with a Netgear r6700 router using
192.168.2.x addresses. The printer is now inaccessible from the lan.

Cups Administration says the printer address can be set using its MAC
address:


   Configuring the IP Address Using DHCP

The DHCP protocol is the usual way of setting the IP address of a
printer on a managed network. Using the standard dhcpd(8) program
supplied with UNIX you simply need to add a line to the /etc/dhcpd.conf
file:

host/hostname/  {
hardware ethernet/mac-address/;
fixed-address/ip-address/;
}

Make sure that the hostname you use is also listed in the /etc/hosts
file or is registered with your DNS server.

apt-cache search dhcpd finds udhcpd. My pc's system is Debian Stretch.
There is a file /etc/dhcp/dhclient.conf but no file /etc/dhcpd.

Is it possible to access the printer and change  its address to one in
192.168.2.x or to reset it to use dhcp?







Re: Using MATE's workspaces effectively

2018-03-01 Thread songbird
Richard Owlett wrote:
...
> However, it would solve a problem that I had assumed had to be endured.
> I frequently have a workflow needing root access for which I don't find 
> "su" convenient causing me to logout as 'richard' and login as 'root' 
> and back again.

  um, i open a terminal window in one of my workspaces
and su to root and leave it there.  when i need root
access to do something i click on that workspace and
there it is ready to go.

  to get back to regular user me again i just click
on other workspace i was on before or whatever else
i want to do.

  what is hard about that?

  when i'm done working for the day i make sure all
my programs have things saved that need to be saved
and then use the root terminal to shutdown from
the command line.  next time i boot up i do have to
sign in as root again, but that isn't a major problem
to me.

...


  songbird



Re: Using MATE's workspaces effectively

2018-03-01 Thread songbird
Richard Owlett wrote:
...
> I repeat my question, which has been snipped in this thread.
>> What did you do immediately after installation to set this up?
>> What should I be reading?
>> [If it makes a difference, I use Stretch including systemd.] 

  i generally put my aliases in .bashrc for the
user in question.


  songbird



Re: Using MATE's workspaces effectively

2018-03-01 Thread songbird
Liam O'Toole wrote:
> On 2018-02-28, Dominic Knight  wrote:
...
>> Maybe upscaling would help a lot here, it does when I output on hdmi,
>> with Mate that's
>> System - Preferences - look and feel - appearance 
>> then
>> fonts - detail - resolution 
>> I set mine to around 144 and leave system fonts the same and then the
>> vast majority of programs will respect that and be of a readable size
>> at high monitor resolution.
>>  
>> I guess with other desktops you could set it easily enough in an
>> .Xresources file that runs on entering X-server
>>
>> You will of course find occasional programs that completely ignore
>> this.
>>
>> Cheers,
>> Dom.
>>
>>
>
> Those misbehaving programs are probably getting their DPI information
> from the X server directly. If you start X with the '-dpi 144' switch
> then you should get consistent behaviour.
>
> For example:
>
>   startx -- -dpi 144

  i'd need to hook this up with lightdm and MATE and
i have not looked into this at all as to where it might
go, but i'll try the upscaling first and see how the
miscreants react before getting out the shotgun 
approach.

  thanks to both of you.  :)


  songbird



Re: Problema com PHP 5.6

2018-03-01 Thread J . S . Júnior

Em 1 de mar de 2018, à(s) 09:01, Leonardo S. S. da Rocha 
> escreveu:

O que eu estranho Júnior é que a mesma aplicação com o mesmo banco
funciona perfeitamente bem num ambiente de teste com Windows 7 e xampp
instalado! Isso que não faz sentido!


Não é estranho não.


Se o banco na base de teste tem o idPessoa

E o Banco na base de produção não.

Então não é estranho checa a linha 4 veja qual tabela é e compare
A tabela da produção com a de teste.

[]’s

Júnior Santos
ITIL® Foundation Certificate in IT Service Management
Registration number 4365854.1019776
E-mail: j.s.jun...@live.com / 
jsjun...@checkmobi.com.br


Eposta adresimi eklermisiniz

2018-03-01 Thread Levent Genç
merhabalar

Eposta adresinmi eklermisiniz?


Re: Problema com PHP 5.6

2018-03-01 Thread J . S . Júnior

Em 28 de fev de 2018, à(s) 22:45, Leonardo S. S. da Rocha 
> escreveu:

Wed Feb 28 22:33:13.013875 2018] [:error] [pid 1709] [client
189.149.25.1:50700] PHP Notice:  Undefined index: idPessoa in
/var/www/html/sistema/sessao.php on line 4
[Wed Feb 28 22:33:13.014863 2018] [:error] [pid 1709] [client
189.149.25.1:50700] PHP Notice:  A session had already been started -
ignoring session_start() in /var/www/html/sistema/sessao.php on line
25


E vc também tem um índice indefinido (ou seja uma coluna na tabela não existe)

 Undefined index: idPessoa in

Ou Existe com outro nome na linha 4 dentro da consulta SQL.

Com isso parece que todo o resto da erro, além do detalhes que os colegas 
falaram

[]’s

Júnior Santos
ITIL® Foundation Certificate in IT Service Management
Registration number 4365854.1019776
E-mail: j.s.jun...@live.com / 
jsjun...@checkmobi.com.br



Re: Boot Order Change

2018-03-01 Thread Dan Norton
On Thu, 22 Feb 2018 16:41:42 -0500
Felix Miata  wrote:

> Dan Norton composed on 2018-02-22 16:05 (UTC-0500):
> 
> > Installs of both stretch and buster modify the boot order such that
> > "debian" is first under "UEFI Boot Sources". After installation, the
> > bios menu has to be edited in order to boot from DVD or CD or USB
> > drive. Also "Hard Drive" has been replaced with "debian".  
> 
> > The PC is:
> > Hewlett-Packard HP Pro 3400 Series MT/2ABF, BIOS 7.16 03/23/2012  
> 
> > Apparently it is deliberate, so what is the reason for this?  
> 
> AFAICT, it depends on the particular BIOS design and settings
> therein, how it's designed to react to what it finds in the EFI
> partition, particularly if there is more than one entry there. Brand
> name PCs tend to offer fewer BIOS options.

In case someone finds this thread in the archives; finally the reason
got through to me over on debian-boot[1]. Unlike the primary/logical
scheme with an mbr, where an installer can just write a new mbr, in the
UEFI scheme the grub code is *added* to the EFI system partition with
nothing pointing to it until the UEFI menu is changed.

[1]
https://lists.debian.org/debian-boot/2018/02/msg00460.html



bug filing question: Gnome session crashes on resume from suspend or hibernate; Nvidia driver suspected

2018-03-01 Thread Peter Becich

Hello,

I am trying to determine which package to file this bug under.

My login session is frequently lost when the computer resumes from 
suspension or hibernation.  The computer takes me to the Gnome login 
screen.  About one in two resumptions fail this way.


Debian 9.3

kernel 4.15.0-1-amd64 from the "testing" repo

also, kernel 4.14.0-0.bpo.3-amd64 from "testing"

Nvidia driver from the "testing", 384.111

Nvidia card GeForce 1060

I found only two suspicious things in `nvidia-bug-report.log.gz`, which 
was freshly generated after the bug:


[32940.892161] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by 
HW (0x0)

[32940.892198] cache: parent cpu15 should not be sleeping
[32940.892287] microcode: CPU15: patch_level=0x08001129
[32940.892650] CPU15 is up
[32940.894082] ACPI: Waking up from system sleep state S3
...
[32941.030214] nvidia :23:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x000e address=0x flags=0x]

https://pastebin.com/hQhyp8kC 

and

[ 32952.583] (II) NVIDIA: Using 24576.00 MB of virtual memory for 
indirect memory

[ 32952.583] (II) NVIDIA: access.
[ 32952.586] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event 
daemon; the daemon

[ 32952.586] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
[ 32952.586] (II) NVIDIA(0): configuration option may not be set 
correctly. When the
[ 32952.586] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA 
X driver will
[ 32952.586] (II) NVIDIA(0): try to use it to receive ACPI event 
notifications. For

[ 32952.586] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
[ 32952.586] (II) NVIDIA(0): "AcpidSocketPath" X configuration options 
in Appendix B: X

[ 32952.586] (II) NVIDIA(0): Config Options in the README.
[ 32952.599] (II) NVIDIA(0): Setting mode 
"DFP-0:nvidia-auto-select,DFP-1:nvidia-auto-select"

[ 32952.702] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 32952.702] (==) NVIDIA(0): Backing store enabled
[ 32952.702] (==) NVIDIA(0): Silken mouse enabled
[ 32952.703] (==) NVIDIA(0): DPMS enabled

I originally reported this bug on an Ubuntu thread that looked to be the 
same issue: https://bugs.launchpad.net/gnome-shell/+bug/1721428/comments/74


Should this go to "nvidia-driver", "gdm3", "xorg", or some other package?

"nvidia-driver" bugs: 
https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=nvidia-driver;dist=unstable


"xorg" bugs: 
https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=xorg;dist=unstable


"gdm3" bugs: 
https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=gdm3;dist=unstable



Thanks for your time,

  Peter



Re: système qui ne démarre plus

2018-03-01 Thread Pascal Hambourg

Le 01/03/2018 à 06:49, Jean-Marc a écrit :

Wed, 28 Feb 2018 23:38:27 +0100
Pascal Hambourg  écrivait :


Quand quoi échoue ?


grub-install.

Quand tu choisis dans le menu de réinstaller GRUB, ça ne fonctionne pas.


Normal, ça ne passe pas l'option --removable qui a deux effets :

- elle installe GRUB en tant que EFI/boot/bootx64.efi (si EFI PC 64 
bits), qui est le chemin de support amovible reconnu par défaut sans 
enregistrement d'une entrée d'amorçage EFI, donc utilisé notamment par 
tous les installateurs et systèmes live, au lieu de l'emplacement normal 
EFI/debian/grubx64.efi ;


- elle n'appelle pas efibootmgr pour enregistrer une entrée dans les 
variables d'amorçage du firmware EFI, opération dont l'échec provoque 
l'erreur d'installation de GRUB.


Pour ma part, j'installe systématiquement GRUB avec --removable sur tous 
mes systèmes EFI afin de ne pas (du moins de moins) dépendre des 
caprices des firmwares UEFI et de leur gestion calamiteuse des variables 
d'amorçage.


Par contre, lors de l'installation initiale, l'installateur est censé 
demander s'il faut installer une copie de GRUB *aussi* dans le chemin de 
support amovible. La question est si mal rédigée et anxiogène que 
probablement tout le monde laisse la réponse par défaut "non". Cette 
option correspond à l'option --force-extra-removable qui combine 
l'installation normale dans /EFI/debian avec enregistrement dans les 
variables de boot EFI et l'installation dans le chemin de support 
amovible /EFI/boot. Je ne sais plus si le mode rescue propose aussi ce 
choix.




Re: Problems with KDE in Debian Stretch

2018-03-01 Thread Curt
On 2018-03-01, Daniel Bareiro  wrote:
>
> Hi all!
>
> Some time ago I started to experience some problems in KDE. In a random
> way, when I'm using any application like Firefox, Chromium or
> Thunderbird, the window starts blinking incessantly and becomes
> unusable. When that happens I have no choice but to close the
> application and reopen it.
>
> This also usually happens with minimized applications. The name starts
> blinking in the lower bar and only stops when I click on that minimized
> application. It is a somewhat annoying behavior.
>
> This did not happen to me with Debian Jessie always using the same
> hardware: a Thinkpad T530.
>
> I would like to know if anyone had this problem and was able to solve it
> in some way.

After looking briefly on the Network, searching for "KDE window
flickering," you don't appear to be alone, from which fact a
certain comfort can be derived (and help ideas too from others in the
same blinking boat).

Your problem seems "graphical" in nature.

Maybe some aid and comfort here (if your driver's "intel"):

https://bbs.archlinux.org/viewtopic.php?pid=1595276#p1595276

> Thanks in advance.
>
>
> Kind regards,
> Daniel

-- 
“Be yourself; everyone else is already taken.”
-Oscar Wilde




Fútbol

2018-03-01 Thread juanmonramiro
Liga Santander de 


Enviado desde mi smartphone Samsung Galaxy.

Re: Some tasks very slow after upgrade from Jessie to Stretch

2018-03-01 Thread deloptes
John wrote:

> It booted OK with  the last Whezzy kernel but I am afraid to try to
> upgrade to Stretch with this suspect system.  Problem is this machine
> is the interface between the LAN and the Internet so without it things
> are difficult

I use serial to usb and manage reboots this way. I have server and firewall
without keyboard/display)
You can still keep the old kernel/initrd as a fall back.
>From jessie to stretch there were fewer issues (actually non for me). Check
the initrd setup (/etc/initramfs-tools/).

regards



Re: Connexion distante à une base de données MySQL

2018-03-01 Thread Jean-Michel OLTRA

Bonjour,


Le jeudi 01 mars 2018, G2PC a écrit...


> En somme, ici, je voudrais créer une interface de saisie, vers une base
> de données, mais, ne pas pour autant laisser l'accès à la base.

> Merci de vos conseils.

Tu peux créer une interface web avec le langage de ton choix contenant les
formulaires adéquats. Dans la configuration de l'interface, tu vas
paramétrer un utilisateur qui aura les droits sur la base de données et qui
fera les opérations pour le compte des utilisateurs. Ainsi, tu ne donnes
aucun mot de passe et tu n'ouvres pas ton serveur de bdd vers l'extérieur.
Inconvénients : il faut coder l'ihm (bon, en php pour ne pas le nommer ce
n'est pas forcément très compliqué), et lancer un serveur ouèbe pour servir
les pages de saisie.

-- 
jm



Problems with KDE in Debian Stretch

2018-03-01 Thread Daniel Bareiro
Hi all!

Some time ago I started to experience some problems in KDE. In a random
way, when I'm using any application like Firefox, Chromium or
Thunderbird, the window starts blinking incessantly and becomes
unusable. When that happens I have no choice but to close the
application and reopen it.

This also usually happens with minimized applications. The name starts
blinking in the lower bar and only stops when I click on that minimized
application. It is a somewhat annoying behavior.

This did not happen to me with Debian Jessie always using the same
hardware: a Thinkpad T530.

I would like to know if anyone had this problem and was able to solve it
in some way.

Thanks in advance.


Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Connexion distante à une base de données MySQL

2018-03-01 Thread G2PC
J'ai réussi à faire ma connexion distante à une base de données. ( Fier
) ... ( Ok, c'était facile. )

Mais pas encore en SSH, faut que j'améliore ça.

Ma question :

Si je crée un script en bash shell / avec Zenity, comment je peux faire
pour distribuer le script à 10 personnes par exemple, mais, que le mot
de passe de la base reste confidentiel ?

Est ce que le shell bash est adapté, pour créer un script, le partager,
sans dévoiler le mot de passe ?

En somme, ici, je voudrais créer une interface de saisie, vers une base
de données, mais, ne pas pour autant laisser l'accès à la base.

Merci de vos conseils.


Re: Some tasks very slow after upgrade from Jessie to Stretch

2018-03-01 Thread John
Slightly different issue but I am part way through an upgrade from
Whezzy to Stretch.  After the upgrade to Jessie my (headless) computer
failed to boot.  After a struggle getting keyboard and screen it
stalled after loading the kernel, probably a broken initrd file

It booted OK with  the last Whezzy kernel but I am afraid to try to
upgrade to Stretch with this suspect system.  Problem is this machine
is the interface between the LAN and the Internet so without it things
are difficult
==John ffitch



Re: OFF-TOPIC

2018-03-01 Thread Ricky Gutierrez
Ok gracias.

El 27 feb. 2018 1:59 p. m., "Felix Perez" 
escribió:

> El 27 de febrero de 2018, 16:16, Ricky Gutierrez
>  escribió:
> > hola lista , conocéis alguna marca/modelo de librería de cinta para
> > backup que trabaje bien con Linux debían?
> >
>
>
> Hasta hace unos años las unidades eran soportadas fácilmente
> (2011-2012), vi unidades IBM y HP funcionar perfectamente en Linux.
> Desgraciadamente no recuerdo los modelos.
>
> Saludos.
>
> --
> usuario linux  #274354
> normas de la lista:  http://wiki.debian.org/es/NormasLista
> como hacer preguntas inteligentes:
> http://www.sindominio.net/ayuda/preguntas-inteligentes.html
>
>


Debian custom installer

2018-03-01 Thread basti
Hello,

I have to try to create a custom installer for debian cd to install over
ssh with a preseed.cfg his is working well.

Now i want to be able to start the installer immediately.

my label in txt.cfg look like

label netinstall
config ssh.cfg
menu default
default netinstall
menu label ^Install Over SSH
kernel /install.amd/vmlinuz
append auto=true vga=788 file=/cdrom/isolinux/preseed.cfg
initrd=/install.amd/initrd.gz --- quiet

my ssh.cfg looks like

cat ssh.cfg
prompt 0
timeout 3

But the timeout is not working I only see the following in attach.



Re: debian package for mu/mu4e 1.0

2018-03-01 Thread Roberto C . Sánchez
On Thu, Mar 01, 2018 at 02:59:17PM +0100, juh wrote:
> Hi all,
> 
> is there a debian package for mu/mu4e 1.0 anywhere?
> 
https://packages.debian.org/search?keywords=mu4e

-- 
Roberto C. Sánchez



Re: Using apcupsd for power failure controle

2018-03-01 Thread Marc Auslander
(Was Were is gapcmon?)
>> 
>> I've always use apcupsd which still works in stretch.  My use is pretty
>> trivial - just reports - I don't do anything automatic on power fail
>> since I can't figure out how to do anything that will always wind up
>> with my machine running when the power comes back!
>
>I think you can usually set the power-on behaviour in the BIOS (or EFI,
>presumably) - independently of the OS or any shutdown process.
>
>Richard

So here's the issue - maybe I'm missing something.

If I configure apcupsd to shutdown on power fail and the power really
stays off till the apc unit shut down, my machine will reboot on power
up.  But what if the power comes back once the daemon has started the
shutdown?

What is needed is a guaranteed power cycle from the apc unit - which
AFAIK is not an option.

So I just use the apc to cover short outages and prevent power bouncing
which I know from experience can cause damage.  When the battery goes
flat I get a hard powerfail shutdown which modern linux tollerates quite
well - yeah for journaled file systems.

Marc Auslander



debian package for mu/mu4e 1.0

2018-03-01 Thread juh
Hi all,

is there a debian package for mu/mu4e 1.0 anywhere?

TIA
juh



Re: Some tasks very slow after upgrade from Jessie to Stretch

2018-03-01 Thread rhkramer
On Wednesday, February 28, 2018 11:41:34 PM David Christensen wrote:

> There are two schools of thought for Debian major version upgrades:
> 
> 1.  Do an in-place upgrade.
> 
> 2.  Do a fresh install and migrate.
> 
> 
> Years ago, I tried the former.  Invariably, I ran into problems I could
> not trouble-shoot and ended up with systems that I had no confidence in.
>   Yours is just another in an unending stream of posts demonstrating
> that my experience was not unique, and still persists.  I can only
> conclude that an in-place upgrade of something as complex as a real,
> working, and productive Debian system is an exercise in futility.
> 
> 
> So, now I do the latter.  This is facilitated by, and integrated into,
> my backup/ restore, archive, and imaging processes.  I have confidence
> in the results.

+1

I'm not sure it's really an exercise in futility, but it is somewhat "scary".  
Several times I've read the upgrade notes (not sure of the right name) about 
the gotchas that you have to deal with before, during, and after the upgrade 
and decided that the hassle was just not worth it.

What I typically do is install the new OS to a new (at least new to me) 
computer and run it in parallel for some period of time until (1) I have 
confidence that everything works and until I've moved all my "real user files" 
(photos, videos, documents, ) from the old to the new.

I then start to gather the parts for my next new computer by watching places 
like Newegg, TigerDirect, ebay, and sometimes yard sales, Craigslist, and 
similar for sales and bargains.

I used to be able to get the parts for a not completely state of the art 
computer for about $200, buying the case, power supply, RAM, and hard drive 
separately (but I often buy the CPU and motherboard as a combination).

I have noticed that I don't find sales quite as good, especially on RAM, 
motherboards and CPUs, so I expect my next computer might be closer to $300 or 
slightly more.

Another possibility is to buy a "refurbished" system (I'm not sure what 
"refurbishment" gets done maybe just a good (I hope) cleaning.

Now I have cases that I happy with in terms of side (mid to small size  
towers) so I no longer look for new cases--just empty the case and put new 
parts in.



Re: [OT] Configuración recomendada para crear direcciones de email bajo un subdominio

2018-03-01 Thread XaaK 726
El día 28 de febrero de 2018, 9:25, Cristian Mitchell
 escribió:
>
>
> El 27 de febrero de 2018, 22:45, XaaK 726 escribió:
>>
>> Saludos. Necesitaba crear direcciones de email bajo un subdominio, lo
>> hice de esta manera, pero no sé es lo correcto.
>> Agregué el subdominio como "otro dominio" en mi panel de GSuite. En el
>> gestor DNS cree el registro MX, se ve así:
>> Panel de G Suite: sub.dominio.com (como otro dominio, no como un alias)
>> DNS: Registro MX para sub.dominio.com: ASPMX.L.GOOGLE.COM
>> Redirección Web de sub.dominio.com a determinada dirección.
>>
>> Estoy utilizando la misma zona DNS del dominio principal, es decir,
>> dominio.com y sub.dominio.com comparten valores NS.
>>
>> Dudas:
>> No puedo autenticar el email con el registro DKIM de Google, hace días
>> que no lo reconoce. ¿puede significar algún conflicto debido a los
>> valores NS?
>> ¿Puede haber problemas con la entrega de correo de los usuarios del
>> dominio principal y el subdominio por estar en la misma zona DNS?
>> ¿Debo separar zonas DNS y asignarle a sub.dominio.com otros valores NS?
>> ¿Cómo lo hacen ustedes cuando se trata de habilitar correos bajo
>> subdominios?
>>
>> Gracias por la orientación.
>>
>
> Para poder entender tu problema se nesesitan datos
> como que error te da?
> testeaste algun registro DNS
> si el problema no esta en el server?
> si el problema es mandar o recibir?

Gracias, Christian, ya resolví el problema.
Errores:
No podía autenticar el correo con el registro TXT de Google.
Se presentó un problema en la entrega de correo para cuentas alias del
dominio principal, los emails nunca llegaban.
Solución:
Moví de zona DNS el subdominio, o sea, ya no comparten valores NS con
el dominio principal. Hasta el momento no se han presentado los
errores mencionados (ya resueltos con este cambio)
Saludos y gracias por tu respuesta.



Re: Some tasks very slow after upgrade from Jessie to Stretch

2018-03-01 Thread Sven Hartge
Curt  wrote:
> On 2018-03-01, deloptes  wrote:
>> David Christensen wrote:

>>> So, now I do the latter.  This is facilitated by, and integrated
>>> into, my backup/ restore, archive, and imaging processes.  I have
>>> confidence in the results.
>>
>> I have been updating regularly wheezy -> jessie -> stretch
>>
>> I never experienced any problem

> Me neither and what he posits as another data point in support of his
> opinion, isn't.

Debian in-place upgrades just work. My personal systems have been
upgraded and never reinstalled, even through several hardware up- and
sidegrades, since 1999. I also am very brave and run Unstable with daily
upgrades, so the in-place-upgrade routine is excercised very very often
on those systems.

And the systems I am responsible for at work are also mostly upgraded
and not reinstalled.

Of course the smoothness of the upgrade depends on the amount of
packages installed, the configuration of the packages and the system as
a whole.

In my experience things like upgrading Apache with many VHosts can be
quite painful and labor intensive if you don't use a templating system.
The change from Apache2.2 in Wheezy to Apache2.4 in Jessie is such a
case. 

Also if you bastardized the installation before and went against the way
the distribution does something, your experience during the upgrade will
be worse. But this is true for every Linux distribution, not Debian
alone.

So no, an in-place-upgrade is definately *not* an excercise in futility.
Only if you did something very wrong before this will be your
impression.

Grüße,
Sven

-- 
Sigmentation fault. Core dumped.



Re: Problema com PHP 5.6

2018-03-01 Thread Leonardo S. S. da Rocha
O que eu estranho Júnior é que a mesma aplicação com o mesmo banco
funciona perfeitamente bem num ambiente de teste com Windows 7 e xampp
instalado! Isso que não faz sentido!

2018-03-01 8:59 GMT-03:00 J. S. Júnior :
>
> Em 28 de fev de 2018, à(s) 22:45, Leonardo S. S. da Rocha
>  escreveu:
>
> Wed Feb 28 22:33:13.013875 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined index: idPessoa in
> /var/www/html/sistema/sessao.php on line 4
> [Wed Feb 28 22:33:13.014863 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  A session had already been started -
> ignoring session_start() in /var/www/html/sistema/sessao.php on line
> 25
>
>
>
> E vc também tem um índice indefinido (ou seja uma coluna na tabela não
> existe)
>
>  Undefined index: idPessoa in
>
>
> Ou Existe com outro nome na linha 4 dentro da consulta SQL.
>
> Com isso parece que todo o resto da erro, além do detalhes que os colegas
> falaram
>
> []’s
>
> Júnior Santos
> ITIL® Foundation Certificate in IT Service Management
> Registration number 4365854.1019776
> E-mail: j.s.jun...@live.com / jsjun...@checkmobi.com.br
>



Re: Problema com PHP 5.6

2018-03-01 Thread Leonardo S. S. da Rocha
Oi Luiz, obrigado pela sugestão. Na verdade esse IP ai não é válido.
Eu mudei ele! Vou ver se consigo testar a conexão da aplicação ao
banco então!



2018-03-01 8:28 GMT-03:00 Luiz Felipph :
> Bom dia,
>
> É provável que sua aplicação não tenha conseguido se conectar ao banco:
>
> 189.149.25.1:50708] PHP Warning:  mysql_fetch_array() expects
> parameter 1 to be resource, boolean given in (...)
>
>
> Outra coisa, cuidado ao publicar logs com IPs válidos.
>
> faz assim:
>
> mysql_pconnect('host,'login,'pass') or die(mysql_error());
>
>
> Felipph
>
> Em 28 de fevereiro de 2018 22:45, Leonardo S. S. da Rocha
>  escreveu:
>>
>> Eis o que o Log de erro me retornou. Não diz muito pra mim. Pode ser
>> pelo fato de eu não conhecer muito PHP. Alguma coisa está passando
>> neste log que eu não estou vendo e que poderia ser o motivo do meu
>> problema?
>>
>> [Wed Feb 28 22:33:13.013875 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined index: idPessoa in
>> /var/www/html/sistema/sessao.php on line 4
>> [Wed Feb 28 22:33:13.014863 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  A session had already been started -
>> ignoring session_start() in /var/www/html/sistema/sessao.php on line
>> 25
>> [Wed Feb 28 22:33:13.014950 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined variable: imagem in
>> /var/www/html/sistema/index.php on line 107
>> [Wed Feb 28 22:33:13.014978 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
>> /var/www/html/sistema/index.php on line 139
>> [Wed Feb 28 22:33:13.014986 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
>> /var/www/html/sistema/index.php on line 152
>> [Wed Feb 28 22:33:13.014993 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
>> /var/www/html/sistema/index.php on line 157
>> [Wed Feb 28 22:33:13.015001 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
>> /var/www/html/sistema/index.php on line 163
>> [Wed Feb 28 22:33:13.015007 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
>> /var/www/html/sistema/index.php on line 169
>> [Wed Feb 28 22:33:13.015014 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
>> /var/www/html/sistema/index.php on line 176
>> [Wed Feb 28 22:33:13.015021 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
>> /var/www/html/sistema/index.php on line 219
>> [Wed Feb 28 22:33:13.101396 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Warning:  mysql_fetch_array() expects
>> parameter 1 to be resource, boolean given in
>> /var/www/html/sistema/index.php on line 386
>> [Wed Feb 28 22:33:13.105538 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Warning:  mysql_fetch_array() expects
>> parameter 1 to be resource, boolean given in
>> /var/www/html/sistema/index.php on line 538
>> [Wed Feb 28 22:33:13.105682 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Warning:  mysql_num_rows() expects parameter 1
>> to be resource, boolean given in /var/www/html/sistema/index.php on
>> line 630
>> [Wed Feb 28 22:33:13.105694 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Warning:  mysql_fetch_array() expects
>> parameter 1 to be resource, boolean given in
>> /var/www/html/sistema/index.php on line 633
>> [Wed Feb 28 22:33:13.105817 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Warning:  mysql_fetch_array() expects
>> parameter 1 to be resource, boolean given in
>> /var/www/html/sistema/index.php on line 645
>> [Wed Feb 28 22:33:14.021971 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined index: msg in
>> /var/www/html/sistema/login.php on line 51, referer:
>> http://gaia.uel.br/sistema/
>> [Wed Feb 28 22:33:14.022006 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined index: msg in
>> /var/www/html/sistema/login.php on line 61, referer:
>> http://gaia.uel.br/sistema/
>> [Wed Feb 28 22:33:14.022016 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined index: email in
>> /var/www/html/sistema/login.php on line 72, referer:
>> http://gaia.uel.br/sistema/
>> [Wed Feb 28 22:33:14.022024 2018] [:error] [pid 1709] [client
>> 189.149.25.1:50700] PHP Notice:  Undefined index: senha in
>> /var/www/html/sistema/login.php on line 78, referer:
>> http://gaia.uel.br/sistema/
>> [Wed Feb 28 22:33:28.103500 2018] [:error] [pid 2533] [client
>> 189.149.25.1:50708] PHP Notice:  Undefined index: msg in
>> /var/www/html/sistema/index.php on line 221, referer:
>> http://gaia.uel.br/sistema/acessar.php
>> [Wed Feb 28 22:33:28.191985 2018] [:error] [pid 2533] [client
>> 189.149.25.1:50708] 

Re: Problema com PHP 5.6

2018-03-01 Thread Leonardo S. S. da Rocha
Oi Paulino, muito obrigado por suas contribuições!

respondendo às suas perguntas:
sim
sim
não (o banco de dados existe)
sim
sim

Eu vou encontrar como habilitar o log de erros do mysql pra verificar
ele. No novo S.O. que foi instalado algumas coisas foram
descontinuadas sabe. A versão padrão do php agora é a 7. Eu instalei a
versão 5.6 por meio não oficial, disponóvel pela distribuição. Ocorre
que outras aplicações PHP estão funcionamento perfeitamente bem. Tô
achando isso estranho!

2018-03-01 8:27 GMT-03:00 Paulino Kenji Sato :
> Bom dia.
>
> 2018-02-28 22:45 GMT-03:00 Leonardo S. S. da Rocha :
>>
>> Eis o que o Log de erro me retornou. Não diz muito pra mim. Pode ser
>> pelo fato de eu não conhecer muito PHP. Alguma coisa está passando
>> neste log que eu não estou vendo e que poderia ser o motivo do meu
>> problema?
>>
>
> Como disse no email anterior, não há nenhuma tratamento de erro, pelo menos
> no que tange a comunicação com o mysql.
> Essa linha do log por exemplo, não sei qual o código de fato, mas posso
> deduzir que e algo como mostrado logo abaixo,
> [Wed Feb 28 22:33:13.101396 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Warning:  mysql_fetch_array() expects
> parameter 1 to be resource, boolean given in
> /var/www/html/sistema/index.php on line 386
>
>
>  ...
> $consulta=mysql_query("select coluna from tabela"); // Essa query retornou
> um erro.
> $resultado=mysql_fetch_array($consulta); // $consulta, devido ao erro e do
> tipo boolean, falso.
> echo $resultado['coluna']; // $resultado, devido a erros anteriores, não
> possui nenhuma informação, gerando um erro de índice não existente.
> ?>
>
> Mas, não existe no log menção ao erro do mysql. Suspeito que tenham usando o
> operador @ para suprimir o erro (@mysql_query).
>
> Em resumo, o log somente mostra as consequências de algum erro, não o erro
> em si.
>
> O endereço do servidor mysql esta correto?
> Usuário e senha do mysql estão corretas?
> Esta acessando um banco de dados que não existe?
> A tabela existe?
> A coluna existe?
>
> --
> Paulino Kenji Sato



Re: Problema com PHP 5.6

2018-03-01 Thread Luiz Felipph
Bom dia,

É provável que sua aplicação não tenha conseguido se conectar ao banco:

189.149.25.1:50708] PHP Warning:  mysql_fetch_array() expects
parameter 1 to be resource, boolean given in (...)


Outra coisa, cuidado ao publicar logs com IPs válidos.

faz assim:

mysql_pconnect('host,'login,'pass') or die(mysql_error());


Felipph

Em 28 de fevereiro de 2018 22:45, Leonardo S. S. da Rocha <
leonardo...@gmail.com> escreveu:

> Eis o que o Log de erro me retornou. Não diz muito pra mim. Pode ser
> pelo fato de eu não conhecer muito PHP. Alguma coisa está passando
> neste log que eu não estou vendo e que poderia ser o motivo do meu
> problema?
>
> [Wed Feb 28 22:33:13.013875 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined index: idPessoa in
> /var/www/html/sistema/sessao.php on line 4
> [Wed Feb 28 22:33:13.014863 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  A session had already been started -
> ignoring session_start() in /var/www/html/sistema/sessao.php on line
> 25
> [Wed Feb 28 22:33:13.014950 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined variable: imagem in
> /var/www/html/sistema/index.php on line 107
> [Wed Feb 28 22:33:13.014978 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
> /var/www/html/sistema/index.php on line 139
> [Wed Feb 28 22:33:13.014986 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
> /var/www/html/sistema/index.php on line 152
> [Wed Feb 28 22:33:13.014993 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
> /var/www/html/sistema/index.php on line 157
> [Wed Feb 28 22:33:13.015001 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
> /var/www/html/sistema/index.php on line 163
> [Wed Feb 28 22:33:13.015007 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
> /var/www/html/sistema/index.php on line 169
> [Wed Feb 28 22:33:13.015014 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
> /var/www/html/sistema/index.php on line 176
> [Wed Feb 28 22:33:13.015021 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined variable: nivel in
> /var/www/html/sistema/index.php on line 219
> [Wed Feb 28 22:33:13.101396 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Warning:  mysql_fetch_array() expects
> parameter 1 to be resource, boolean given in
> /var/www/html/sistema/index.php on line 386
> [Wed Feb 28 22:33:13.105538 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Warning:  mysql_fetch_array() expects
> parameter 1 to be resource, boolean given in
> /var/www/html/sistema/index.php on line 538
> [Wed Feb 28 22:33:13.105682 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Warning:  mysql_num_rows() expects parameter 1
> to be resource, boolean given in /var/www/html/sistema/index.php on
> line 630
> [Wed Feb 28 22:33:13.105694 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Warning:  mysql_fetch_array() expects
> parameter 1 to be resource, boolean given in
> /var/www/html/sistema/index.php on line 633
> [Wed Feb 28 22:33:13.105817 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Warning:  mysql_fetch_array() expects
> parameter 1 to be resource, boolean given in
> /var/www/html/sistema/index.php on line 645
> [Wed Feb 28 22:33:14.021971 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined index: msg in
> /var/www/html/sistema/login.php on line 51, referer:
> http://gaia.uel.br/sistema/
> [Wed Feb 28 22:33:14.022006 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined index: msg in
> /var/www/html/sistema/login.php on line 61, referer:
> http://gaia.uel.br/sistema/
> [Wed Feb 28 22:33:14.022016 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined index: email in
> /var/www/html/sistema/login.php on line 72, referer:
> http://gaia.uel.br/sistema/
> [Wed Feb 28 22:33:14.022024 2018] [:error] [pid 1709] [client
> 189.149.25.1:50700] PHP Notice:  Undefined index: senha in
> /var/www/html/sistema/login.php on line 78, referer:
> http://gaia.uel.br/sistema/
> [Wed Feb 28 22:33:28.103500 2018] [:error] [pid 2533] [client
> 189.149.25.1:50708] PHP Notice:  Undefined index: msg in
> /var/www/html/sistema/index.php on line 221, referer:
> http://gaia.uel.br/sistema/acessar.php
> [Wed Feb 28 22:33:28.191985 2018] [:error] [pid 2533] [client
> 189.149.25.1:50708] PHP Warning:  mysql_fetch_array() expects
> parameter 1 to be resource, boolean given in
> /var/www/html/sistema/index.php on line 386, referer:
> http://gaia.uel.br/sistema/acessar.php
> [Wed Feb 28 22:33:28.196796 2018] [:error] [pid 2533] [client
> 189.149.25.1:50708] PHP Warning:  mysql_fetch_array() expects
> 

Re: Problema com PHP 5.6

2018-03-01 Thread Paulino Kenji Sato
Bom dia.

2018-02-28 22:45 GMT-03:00 Leonardo S. S. da Rocha :

> Eis o que o Log de erro me retornou. Não diz muito pra mim. Pode ser
> pelo fato de eu não conhecer muito PHP. Alguma coisa está passando
> neste log que eu não estou vendo e que poderia ser o motivo do meu
> problema?
>
>
Como disse no email anterior, não há nenhuma tratamento de erro, pelo menos
no que tange a comunicação com o mysql.
Essa linha do log por exemplo, não sei qual o código de fato, mas posso
deduzir que e algo como mostrado logo abaixo,
[Wed Feb 28 22:33:13.101396 2018] [:error] [pid 1709] [client
189.149.25.1:50700] PHP Warning:  mysql_fetch_array() expects
parameter 1 to be resource, boolean given in
/var/www/html/sistema/index.php on line 386




Mas, não existe no log menção ao erro do mysql. Suspeito que tenham usando
o operador @ para suprimir o erro (@mysql_query).

Em resumo, o log somente mostra as consequências de algum erro, não o erro
em si.

O endereço do servidor mysql esta correto?
Usuário e senha do mysql estão corretas?
Esta acessando um banco de dados que não existe?
A tabela existe?
A coluna existe?

-- 
Paulino Kenji Sato


Re: printer with static ip address inaccessible from lan

2018-03-01 Thread Bernd Gruber
Can't you just plug the printer locally to a PC, change manually the PC's 
network-address to 192.168.1.x, connect to the printer and change its IP to 
192.168.2.x. Then, of course, you will loose the connection, but the printer 
will be in the desired network. Don't forget to change IP-configuration of 
your PC, and connect to the router.
Bernd


Thomas George wrote:

> The Samsung CLP-320 printer's static ip 192.168.1.139 was set about 10
> years ago to work on a lan using 192.168.1.x addresses. Last week the
> lan's router failed and was replaced with a Netgear r6700 router using
> 192.168.2.x addresses. The printer is now inaccessible from the lan.
> 
> Cups Administration says the printer address can be set using its MAC
> address:
> 
> 
>   Configuring the IP Address Using DHCP
> 
> The DHCP protocol is the usual way of setting the IP address of a
> printer on a managed network. Using the standard dhcpd(8) program
> supplied with UNIX you simply need to add a line to the /etc/dhcpd.conf
> file:
> 
> host/hostname/  {
>hardware ethernet/mac-address/;
>fixed-address/ip-address/;
> }
> 
> Make sure that the hostname you use is also listed in the /etc/hosts
> file or is registered with your DNS server.
> 
> apt-cache search dhcpd finds udhcpd. My pc's system is Debian Stretch.
> There is a file /etc/dhcp/dhclient.conf but no file /etc/dhcpd.
> 
> Is it possible to access the printer and change  its address to one in
> 192.168.2.x or to reset it to use dhcp?



Re: Some tasks very slow after upgrade from Jessie to Stretch

2018-03-01 Thread Curt
On 2018-03-01, deloptes  wrote:
> David Christensen wrote:
>
>> So, now I do the latter.  This is facilitated by, and integrated into,
>> my backup/ restore, archive, and imaging processes.  I have confidence
>> in the results.
>
> I have been updating regularly wheezy -> jessie -> stretch
>
> I never experienced any problem
>
>

Me neither and what he posits as another data point in support of his
opinion, isn't.

-- 
“When fascism comes to America, it will be wrapped in the flag and
carrying the cross.” – Sinclair Lewis, 1935, "It Can't Happen Here"



screen freezes when I try to log

2018-03-01 Thread BELAHCENE Abdelkader
Hi,
Sometimes the login thru the lightdm fails. That means I log but the screen
freezes and nothing happens, no login no desktop ( using the xfce4).
When I go to the terminal ( using   CTRL+ALT+F1 ), and I log using shell,
I can start the : startx -- :1,  and access to the graphical Desktop..
Where is the problem?  in lightdm or xfce4 ??
I install lxde  and want to log with lxde,  unfortunatly, there is no menu
in the lighdm login,  to choose the manager.
I am using linuxLite 3.8
regards