Re: Error in Select and install programs
On 04-04-2021 15:40, Orlando Canchola wrote: > Yes, I am installing Debian boster It's unlikely to be the desktop environment. It could be a dirty disc, or any number of other issues. What was the installation step immediately before you received that message? Cheers! Harry > El sáb., 3 de abril de 2021 11:32 p. m., Weaver > escribió: > >> On 04-04-2021 15:25, Orlando Canchola wrote: >>> Hi! The error is: "Installation step failed >>> >>> An installation step failed. You can try to run the failing item >> again >>> from the >>> menu, or skip it and choose something else" >>> >>> The environment desktop I tried to install is xfce >> >> Try to keep your answers to the list, Orlando, just in case somebody >> else runs into the same problem. >> >> This sounds like an operating system installation problem, not just >> a >> desktop environment. >> Is that what you're doing? >> Cheers! >> >> Harry. >> >>> El sáb., 3 de abril de 2021 11:20 p. m., Weaver >> >>> escribió: >>> On 04-04-2021 15:12, Orlando Canchola wrote: > Hi I am trying to install Debian buster but when I choose a desktop > environment and wait, an error occurs, so what could I do? Hullo, Orlando, Describe the error. Is there any message involved? Which desktop environment are you trying to install? Cheers! Harry. -- Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. — Lucius Annæus Seneca. Terrorism, the new religion. >> >> -- >> Religion is regarded by the common people as true, >> by the wise as false, >> and by the rulers as useful. >> >> — Lucius Annæus Seneca. >> >> Terrorism, the new religion. -- Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. — Lucius Annæus Seneca. Terrorism, the new religion.
Re: Error in Select and install programs
On 04-04-2021 15:25, Orlando Canchola wrote: > Hi! The error is: "Installation step failed > > An installation step failed. You can try to run the failing item again > from the > menu, or skip it and choose something else" > > The environment desktop I tried to install is xfce Try to keep your answers to the list, Orlando, just in case somebody else runs into the same problem. This sounds like an operating system installation problem, not just a desktop environment. Is that what you're doing? Cheers! Harry. > El sáb., 3 de abril de 2021 11:20 p. m., Weaver > escribió: > >> On 04-04-2021 15:12, Orlando Canchola wrote: >>> Hi I am trying to install Debian buster but when I choose a >> desktop >>> environment and wait, an error occurs, so what could I do? >> >> Hullo, Orlando, >> >> Describe the error. >> Is there any message involved? >> Which desktop environment are you trying to install? >> Cheers! >> >> Harry. >> -- >> Religion is regarded by the common people as true, >> by the wise as false, >> and by the rulers as useful. >> >> — Lucius Annæus Seneca. >> >> Terrorism, the new religion. -- Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. — Lucius Annæus Seneca. Terrorism, the new religion.
Re: Error in Select and install programs
On 04-04-2021 15:12, Orlando Canchola wrote: > Hi I am trying to install Debian buster but when I choose a desktop > environment and wait, an error occurs, so what could I do? Hullo, Orlando, Describe the error. Is there any message involved? Which desktop environment are you trying to install? Cheers! Harry. -- Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. — Lucius Annæus Seneca. Terrorism, the new religion.
Error in Select and install programs
Hi I am trying to install Debian buster but when I choose a desktop environment and wait, an error occurs, so what could I do?
Re: xsane can't see Brother ADS-2700W scanner
> I tried a freshly-formatted 16GB stick, and the document scanned > successfully. The PDF is just shy of 40MB for 360 pages. The Most likely the document is first scanned to a set of separate uncompressed pages (maybe kept in separate files) and only converted to a PDF at the end, hence the need for a lot of extra space. Stefan
[solved] Re: php7 mysql
On Sat, Apr 03, 2021 at 09:39:04PM +0200, Jean-Michel OLTRA wrote: > > Bonjour, > > > Le samedi 03 avril 2021, Pierre Meurisse a écrit... > > > > aptitude search php7 |grep "^i" > > i A php7.3-cli - command-line interpreter for the PHP scripting language > > i A php7.3-common - documentation, exemples et module commun pour PHP > > i php7.3-fpm - server-side, HTML-embedded scripting language (FPM-CGI > > binary) > > i A php7.3-json - module JSON pour PHP > > i A php7.3-opcache - module Zend OpCache pour PHP > > i A php7.3-readline - module readline pour PHP > > i php7.3-xml - module DOM, SimpleXML, WDDX, XML et XSL pour PHP > > Il te manque php7.3-mysql > > > C'est toujours la même chose, le navigateur n'affiche que les > > sources. > > Il te manque libapache2-mod-php7.3 > > -- > jm > Mes dernières préoccupations étaient de faire fonctionner php. mysql viendrait plus tard. J'ai bien ajouté libapache2-mod-php7.3 mais ça n'a pas suffi. J'ai ajouté php-remctl et là le php fonctionnait. Je suis passé au php-mysql en ajoutant php7.3-mysql J'ai comparé avec une installation qui fonctionne sur mon raspberry-pi J'ai supprimé php7.3-xml et php7.3-fpm Ca ne trouvait toujours pas les mysqli, me disait sudo tail -f -n 30 /var/log/apache2/error.log :-( Du coup j'ai rebooté et ... ça marche. En résumé ma configuration qui fonctionne : pier@debianpb~% aptitude search php |grep "^i" i libapache2-mod-php - langage de script inclus dans du HTML et exécuté côté serveur (module Apache 2 — version par défaut) i libapache2-mod-php7.3 - langage de script inclus dans du HTML et exécuté côté serveur – module Apache 2 i php-common - fichiers communs pour les paquets PHP i php-mysql - MySQL module for PHP [default] i php-remctl - PECL module for Kerberos-authenticated command execution i A php7.3-cli - command-line interpreter for the PHP scripting language i A php7.3-common - documentation, exemples et module commun pour PHP i A php7.3-json - module JSON pour PHP i php7.3-mysql - module MySQL pour PHP i A php7.3-opcache - module Zend OpCache pour PHP i php7.3-phpdbg - langage de script embarqué dans du HTML, côté serveur — exécutable PHPDBG i A php7.3-readline - module readline pour PHP Je ne suis pas sûr qu'il n'y a pas des paquets inutiles. Merci pour toutes vos réponses, je ne crois pas que j'y serais arrivé tout seul. -- Pierre Meurisse Merci de noter que ma nouvelle adresse est : pierre.meuriss...@free.fr Je continue provisoirement de recevoir les courriers envoyés aux adresses précédentes.
Re: xsane can't see Brother ADS-2700W scanner
On Sat Apr 3 16:42:15 2021 John Boxall wrote: > On 2021-04-03 1:00 p.m., Charlie Gibbs wrote: > >> On 2021-04-02 10:56 a.m., Charlie Gibbs wrote: >> >> the error message. I forget the exact wording, but it >> was pretty specific about the USB device being full, >> as opposed to some sort of internal memory overflow. > > Charlie, > > It is also a possibility that your USB thumb drive _doesn't_ have the > capacity that it says it does. There are a lot of "fake" USB thumb > drives that have far less capacity than advertised. Would you be able > to try an external hard drive connected via a USB adapter? I tried a freshly-formatted 16GB stick, and the document scanned successfully. The PDF is just shy of 40MB for 360 pages. The scanner was hiccuping a lot toward the end, though - I suspect that its algorithms don't scale up nicely beyond 300 pages or so. That's not a disaster - I can always scan smaller chunks (say, 200 pages) and put them together with pdfunite. -- cgi...@surfnaked.ca (Charlie Gibbs)
Re: Temporary failure in name resolution
On 4/3/21 9:05 AM, Dan Norton wrote: On 3/31/21 1:33 PM, David Christensen wrote: "$ host -v -t A www.debian.org 192.168.1.254 Dan -- did you run the above test? This may help isolate if the problem is Debian 10 or your AT gateway." The five lines immediately above are incorrectly formatted -- they should be prefixed/ indented one more level. Please configure your e-mail client to prefix/ indent the text of messages that you reply to. $ host -v -t A www.debian.org 192.168.1.254 Trying "www.debian.org" ;; connection timed out; no servers could be reached $ host -v -t A www.debian.org Trying "www.debian.org" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46537 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.debian.org.IN A ;; ANSWER SECTION: www.debian.org. 260 IN A 149.20.4.15 www.debian.org. 260 IN A 128.31.0.62 Received 64 bytes from 1.1.1.1#53 in 30 ms Thank you. Those test results should be useful for isolating and debugging the issue. HTH, but would it help isolate the problem to temporarily put nameserver 192.168.1.254 back in resolv.conf and retry the above? AIUI, no. See Greg Wooledge's reply for an explanation. BTW, I just saw your earlier (revised?) post about using Windows on the laptop. Yikes! If you don't mind, I'd like to skip that. Besides, my > local network is much simpler since there is only one ethernet connection. Sorry if I misled you. On 3/30/21 7:21 PM, Dan Norton wrote: > My desktop is a wifi server for laptop access using windows Connecting the Debian computer to the AT gateway and connecting the laptop to the gateway is a simpler network (star topology) than connecting Debian to the gateway, configuring Debian as a Wi-Fi router, and connecting the laptop to Debian (router-behind-router topology). Interactive desktop usage and network routing are two functions that are best fulfilled by two separate devices. While one device can do both, complexity and risk are greater in one device than their sums with two devices. It is possible that your name resolution issues are due to some misconfiguration of Debian in its networking role. Please document how you have installed and configured Debian -- ISO, tasksel, packages, Ethernet interface, Wi-Fi interface, routing, address and/or port translation, firewall, DHCP proxy/ forwarding, DNS proxy/ forwarding, etc.. David
Re: Cannot mount DFS shares after upgrade to 10.9
In case no answer comes from debian-user@lists.debian.org, maybe you should ask sa...@lists.samba.org. Regards, Yvan Le 03/04/2021 à 20:32, Joel Davies a écrit : We have some autofs mounts that stopped working after the 10.9 updates were applied. Seems that the kernel update is the cause – I applied just the kernel update and same thing happens. The mounts that stopped working were targeting Windows domain DFS shares. The DFS root can still be mounted (//domain.local/DFS) which we may have to end up using but then will have to reconfigure stuff. Subfolders of normal shares also can still be mounted (//Server.domain.local/Share/Subfolder). It is just the DFS shares that don’t work currently (//domain.local/DFS/Share). Here is what happens mounting the shares manually: Under kernel 4.19.0-14-amd64 (previous to 10.9 updates): $sudo mount -t cifs -o username=user,vers=3.0 //domain.local/DFS/Share /mnt --verbose Password for user@//domain.local/DFS/Share: * mount.cifs kernel mount options: ip=10.x.x.x,unc=\\domain.local\DFS,vers=3.0,user=user,prefixpath=Share,pass= Normally no messages in syslog and share is successfully mounted. After updating kernel to 4.19.0-16-amd64: $sudo mount -t cifs -o username=user, //domain.local/DFS/Share /mnt --verbose Password for user@//domain.local/DFS/Share: * mount.cifs kernel mount options: ip=10.x.x.x,unc=\\domain.local\DFS,vers=3.0,user=user,prefixpath=Share,pass= mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Syslog shows: CIFS VFS: cifs_read_super: get root inode failed I didn’t find much of use online to troubleshoot that message. I did try different values of vers option as well as each of serverino and noserverino and several combinations of both – no difference. Any suggestions? (Occasionally syslog also shows “CIFS VFS: error -2 on ioctl to get interface list”. This happened about one in five mount attempts both before and after the kernel update, regardless of whether or not the share mounted. Since it did appear before the update when mounting always worked, I am assuming it is not relevant.) Thanks, Joel Davies OpenPGP_signature Description: OpenPGP digital signature
Re: php7 mysql
Bonjour, Le samedi 03 avril 2021, Pierre Meurisse a écrit... > aptitude search php7 |grep "^i" > i A php7.3-cli - command-line interpreter for the PHP scripting language > i A php7.3-common - documentation, exemples et module commun pour PHP > i php7.3-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary) > i A php7.3-json - module JSON pour PHP > i A php7.3-opcache - module Zend OpCache pour PHP > i A php7.3-readline - module readline pour PHP > i php7.3-xml - module DOM, SimpleXML, WDDX, XML et XSL pour PHP Il te manque php7.3-mysql > C'est toujours la même chose, le navigateur n'affiche que les > sources. Il te manque libapache2-mod-php7.3 -- jm
Re: Help with msmtp-mta
geoad...@sapo.pt writes: > I was going throught msmtp docs at the debian wiki,but I'm still > having trouble setting msmtp-mta. I guess you're talking about this wiki page: https://wiki.debian.org/msmtp I've just reviewed it and updated it with a few improvements. > [...] what would be the best channel to request support on this? I don't know why you think I could particularly help you on msmtp, I don't use it (I use mpop though). I *think* you can discuss your issue on debian-user@lists.debian.org (I have added it in Cc), to which I suggest you subscribe. Another possibility, if you are quite sure that there is an software issue behind this, is to file a new bugreport (with e.g. the "reportbug" tool) targetting the software you think is the culprit. > The msmtp is working fine following the instruction on the wiki and > elsewhere (this email is sent using msmtp), however web apps (in my > case GNU Social), and anything else calling the mail command return > errors: > eg > > mail -s teste another@external.email < /dev/null > > returns: > > mail: Null message body; hope that's ok > mail: cannot send message: Process exited with a non-zero status > > and: > $ echo $? > 36 These error messages are insufficient to understand what's wrong. Is it all? I suspect the process which "mail" talks about is in fact /usr/bin/sendmail, which resolves as one of the msmtp programs; you can check that by following the /usr/bin/sendmail symlink, and by using strace to see which child process of "mail" is the cause of this error message: strace -e trace=process -o /tmp/strace.log mail -s ... If I understood correctly, there is a msmtp daemon running somewhere. Have you looked at its logs? > I tried uninstalling mailutils and msmtp-mta, then trying reinstalling > the msmtp-mta only but then the mail command is not found. I think uninstalling mailutils is a bad idea here. > Also started msmtpd daemin manually, but doesn't seem to make a > difference. > > I understood msmtp + msmtp-mta would suffice, but it appears not? > > I've tried several support channels, but few people seem to know > enough to help. > > Could you help on this? > > Thanks! > > josely -- Fabrice Bauzac-Stehly PGP 01EEACF8244E9C14B551C5256ADA5F189BD322B6 old PGP 015AE9B25DCB0511D200A75DE5674DEA514C891D
Re: Request: A Debian public Wiki repository/bank for complex code lines with examples, scripts, self-explanatory with terminal, otherwise Minimal explanatory texts
On Sat 03 Apr 2021 at 11:26:51 -0400, rhkra...@gmail.com wrote: > On Friday, April 02, 2021 01:11:01 AM Susmita/Rajib wrote: > > Thank you, Dr./Mr. Kramer, for taking time to post your kind inputs. > > To me, the best possible option would be an organisationally hosted > > wiki site with strict posting guidelines, and pages as described. > > Just a followup: > > I wasn't aware (until very recently when I saw it mentioned by somebody else > in this thread, iirc) that there is a Debian wiki. Amazing! An experienced and knowledgable user didn't know about our wiki. > I've done a verly little investigation into that, but could share more of > that > information if you'd like. Some tidbits: > >* the wiki is at https://wiki.debian.org/ > >* there is a sandbox at https://wiki.debian.org/WikiSandBox -- it is not > quite what I am used to as a sandbox as it recommends against creating new > pages (other than ones that would include new content) Trivial. >* you can see a list of (some of?) the exising pages at > https://wiki.debian.org/Wiki > >* I get the idea that, at least to a certain extent, some of the people > contributing to it want to organize things (at a high level) based on Debian > distribution, e.g., Jessie, Stretch, Buster Really? Name and pack drill? > I would like to see the content well organized an focused as well -- I can > envisage the need to label the content of pages with notes (metadata?) that > indicate which Debian distribution the note(s) apply to, maybe which > distribution it became effective with, as well as which distribution it > became > obsolete with (all of which on an "if known" basis. I can also see the need > for some similar metadata that is "orthogonal" to that -- for example, things > like which desktop they apply to (KDE, GNOME, ...) or whether it applies to X > windows or Wayland, but then that information also needs to designate which > Debian distributions it applies to. These things you see a great need for? It's a wiki. Guess what? -- Brian.
Re: xsane can't see Brother ADS-2700W scanner
On Sat 03 Apr 2021 at 10:00:53 -0700, Charlie Gibbs wrote: [...] > I realize that this has turned into a review of the > scanner, but I've gotten so far into it that I might > as well see it through to the end. For now, connection > to a computer is merely something it would be nice to > have, rather than a necessity. The important part is > that I can use it to get my work done, one way or another. IMHO, you are heading off on a tangent. In your first mail you said at the start of it: > I just got a Brother ADS-2700W sheet-fed scanner and am trying > to access it from xsane. Then later on: > But I'd really like to let xsane manage the process. If you have changed your mind about xsane I can go back to slumbering. OTOH, if that is still your objective, the information asked for may be useful. I'll repeat the request: > It would be useful to know the output of > avahi-browse -rt _uscan._tcp > and > which Debian version is in use. > avahi-browse is in the avahi-utils package. Add 'scanimage -L' to the request. -- Brian.
Cannot mount DFS shares after upgrade to 10.9
We have some autofs mounts that stopped working after the 10.9 updates were applied. Seems that the kernel update is the cause - I applied just the kernel update and same thing happens. The mounts that stopped working were targeting Windows domain DFS shares. The DFS root can still be mounted (//domain.local/DFS) which we may have to end up using but then will have to reconfigure stuff. Subfolders of normal shares also can still be mounted (//Server.domain.local/Share/Subfolder). It is just the DFS shares that don't work currently (//domain.local/DFS/Share). Here is what happens mounting the shares manually: Under kernel 4.19.0-14-amd64 (previous to 10.9 updates): $sudo mount -t cifs -o username=user,vers=3.0 //domain.local/DFS/Share /mnt --verbose Password for user@//domain.local/DFS/Share: * mount.cifs kernel mount options: ip=10.x.x.x,unc=\\domain.local\DFS,vers=3.0,user=user,prefixpath=Share,pass= Normally no messages in syslog and share is successfully mounted. After updating kernel to 4.19.0-16-amd64: $sudo mount -t cifs -o username=user, //domain.local/DFS/Share /mnt --verbose Password for user@//domain.local/DFS/Share: * mount.cifs kernel mount options: ip=10.x.x.x,unc=\\domain.local\DFS,vers=3.0,user=user,prefixpath=Share,pass= mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Syslog shows: CIFS VFS: cifs_read_super: get root inode failed I didn't find much of use online to troubleshoot that message. I did try different values of vers option as well as each of serverino and noserverino and several combinations of both - no difference. Any suggestions? (Occasionally syslog also shows "CIFS VFS: error -2 on ioctl to get interface list". This happened about one in five mount attempts both before and after the kernel update, regardless of whether or not the share mounted. Since it did appear before the update when mounting always worked, I am assuming it is not relevant.) Thanks, Joel Davies
Re: Request: A Debian public Wiki repository/bank for complex code lines with examples, scripts, self-explanatory with terminal, otherwise Minimal explanatory texts
On Sat, 3 Apr 2021 11:26:51 -0400, rhkra...@gmail.com wrote: > To: debian-user@lists.debian.org [...] > Message-id: <[] 202104031126.51275.rhkra...@gmail.com> > In-reply-to: <[] > CAEG4cZUx8-gHimrykbsc88o4FhePNGhLk2v8QLdButiV=hc...@mail.gmail.com> > References: > > > <[] CAEG4cZUx8-gHimrykbsc88o4FhePNGhLk2v8QLdButiV=hc...@mail.gmail.com> > [...] > Just a followup: [...] Thank you for writing back. Yes, there are many pages, and they are updated to the latest stable, it appears. It is believed that the Original Request needs be brought to attention from time to time. The finalised Request Posted at: https://lists.debian.org/debian-user/2021/03/msg01522.html Best
Re: Temporary failure in name resolution
On 03.04.2021 21:59, Dan Norton wrote: Isn't there a tidier way besides making resolv.conf immutable, resulting in lots of /etc/resolv.conf.dhclient-new.* files? Maybe stopping dhclient from overwriting resolv.conf[1]? - Dan [1]https://wiki.debian.org/resolv.conf#Modifying_.2Fetc.2Fdhcp.2Fdhclient.conf "resolv.conf" being overwritten is by design. In your case it's a problem with misconfigured DSL modem that is the root of your problems. You can't reconfigure it to send valid information, since you don't have administrative access, so this solution is unavailable. That alternative solution I was suggesting is exactly what you may call "tidy". If you implement it, your system will still receive invalid DNS IP address from DSL modem, but it will be "superseded" by valid IP addresses taken from "dhclient.conf", so when "resolv.conf" will be created it will contain valid DNS IP addresses you want. -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
Re: xsane can't see Brother ADS-2700W scanner
On 2021-04-03 1:00 p.m., Charlie Gibbs wrote: On 2021-04-02 10:56 a.m., Charlie Gibbs wrote: the error message. I forget the exact wording, but it was pretty specific about the USB device being full, as opposed to some sort of internal memory overflow. Charlie, It is also a possibility that your USB thumb drive _doesn't_ have the capacity that it says it does. There are a lot of "fake" USB thumb drives that have far less capacity than advertised. Would you be able to try an external hard drive connected via a USB adapter? -- Regards, John Boxall
Re: Temporary failure in name resolution
On Sat, Apr 03, 2021 at 12:59:04PM -0400, Dan Norton wrote: > Isn't there a tidier way besides making resolv.conf immutable, > resulting in lots of /etc/resolv.conf.dhclient-new.* files? Maybe > stopping dhclient from overwriting resolv.conf[1]? > > - Dan > > [1]https://wiki.debian.org/resolv.conf#Modifying_.2Fetc.2Fdhcp.2Fdhclient.conf There's a whole wiki page full of alternatives. You're already on it.
Re: xsane can't see Brother ADS-2700W scanner
On 2021-04-02 10:56 a.m., Charlie Gibbs wrote: Emboldened by this, I went into the advanced options and turned on "Continuous scan", then dropped in the first part of a 300-page manual. Once the sheets were scanned, the scanner asked me whether I had more; I put in the next bundle of sheets, said yes, and away it went. All was well until partway through the last set of pages - on about page 280 the scanner halted with an error message saying it had run out of space. A sheet was half-fed, the PDF file was incomplete and therefore corrupt, and a second file was created which contained garbage left over from a previously deleted file. That's not graceful - the least it could have done was closed off the file cleanly. The 2GB thumb drive was only 3% full. (Maybe the limit is internal to the scanner.) For now I'll assume a limit of 200 pages per file, and use pdfunite to put the pieces together in the computer. I did some more experimenting with scanning this larger manual (about 360 pages, it turns out). I re-formatted that 2GB thumb drive and tried again; this time the scanner fed the last sheet before coming up with the error message. I forget the exact wording, but it was pretty specific about the USB device being full, as opposed to some sort of internal memory overflow. (Apparently the scanner has 512MB of memory.) Again I got a corrupt PDF file, plus a second file which contained data which should have only existed on my other computers - which makes me wonder about data security. I suspect that the scanner needs a _lot_ of extra space on the USB device to build the PDF file. I tried again with a freshly-formatted 16GB stick and the entire document scanned successfully. The finished PDF file is just short of 40 megabytes. Toward the end of the scanning, the scanner was pausing more and more frequently - it seems that things don't scale too well beyond about 300 pages. Still, it's turning out to be a nice little scanner for offline use. If anyone has managed to do SFTP from a Brother scanner, let me know how you did it. I realize that this has turned into a review of the scanner, but I've gotten so far into it that I might as well see it through to the end. For now, connection to a computer is merely something it would be nice to have, rather than a necessity. The important part is that I can use it to get my work done, one way or another. -- cgi...@surfnaked.ca (Charlie Gibbs)
Re: Temporary failure in name resolution
Greg Wooledge on Fri, 2 Apr 2021 23:24:43 -0400 wrote: "On Fri, Apr 02, 2021 at 10:48:09PM -0400, Dan Norton wrote: > # cat /etc/resolv.conf > domain attlocal.net > search attlocal.net > nameserver 1.1.1.1 > nameserver 1.0.0.1 > ...and this works very well. I like it because it cuts out more > of google's monitoring of my browsing (I use Brave browser and > DuckDuckGo). > > Now what about the first two lines? What purpose? Can I cut out AT > also? ;) man resolv.conf search Search list for host-name lookup. By default, the search list contains one entry, the local domain name. It is determined from the local hostname returned by gethostname(2); the local domain name is taken to be everything after the first '.'. Finally, if the hostname does not contain a '.', the root domain is assumed as the local domain name. [...] The domain directive is an obsolete name for the search direc‐ tive that handles one search list entry only. Those lines do nothing, unless you routinely type commands like "ssh lemon" or "ping pineapple" with no dots in the hostname. In that case, assuming the hosts are not defined in /etc/hosts, the resolver will try to look up "lemon.attlocal.net" or "pineapple.attlocal.net" or whatever." I see. Thanks for pointing that out. "Remember that something will probably overwrite your changes to the resolv.conf file, unless you take preemptive steps." Isn't there a tidier way besides making resolv.conf immutable, resulting in lots of /etc/resolv.conf.dhclient-new.* files? Maybe stopping dhclient from overwriting resolv.conf[1]? - Dan [1]https://wiki.debian.org/resolv.conf#Modifying_.2Fetc.2Fdhcp.2Fdhclient.conf
Re: Pending kernel upgrade
Bonjour, La réponse est oui... Au bout d'un moment, ne sachant plus où chercher, j'ai ré-installé mon portable et tout est maintenant OK. Merci. David. Le 02/04/2021 à 09:11, Sébastien NOBILI a écrit : Bonjour, Le 2021-03-29 13:31, David BERCOT a écrit : Bon, j'ai rebooté et... aucun changement... Bizarrement, au démarrage, on dirait que la config est "gélée" et ne tient pas compte des mises à jour précédentes. Quand tu arrives sur l'écran de Grub (menu de sélection du système à démarrer), si tu édites la ligne sélectionnée (je ne me rappelle plus exactement de la touche, je dirais bien "e", elle est indiquée en bas de l'écran), est-ce que ce que tu vois correspond bien au noyau que tu aimerais voir démarrer (5.10.0-5-amd64) ? Sébastien
Re: Temporary failure in name resolution
On Sat, Apr 03, 2021 at 12:05:54PM -0400, Dan Norton wrote: > On 3/31/21 1:33 PM, David Christensen wrote: > > "$ host -v -t A www.debian.org 192.168.1.254 > > > Dan -- did you run the above test? This may help isolate if the problem > is Debian 10 or your AT gateway." > > $ host -v -t A www.debian.org 192.168.1.254 > Trying "www.debian.org" > ;; connection timed out; no servers could be reached > > That's to be expected I guess since nameserver 192.168.1.254 is no > longer in resolv.conf. *facepalm* I don't understand what you don't understand. It's so frustrating. When you do a command like host www.debian.org This uses the "nameserver" line(s) in resolv.conf to decide where to send the requests. When you OVERRIDE THIS WITH AN IP ADDRESS ON THE COMMAND LINE, it uses that IP address as the nameserver (recursive resolver) instead. SYNOPSIS host [-aACdlnrsTUwv] [-c class] [-N ndots] [-p port] [-R number] [-t type] [-W wait] [-m flag] [ [-4] | [-6] ] [-v] [-V] {name} [server] [...] server is an optional argument which is either the name or IP address of the name server that host should query instead of the server or servers listed in /etc/resolv.conf. See there? You've specified a {name} (www.debian.org) and an optional [server] (192.168.1.254). Therefore it uses that instead of whatever is written in resolv.conf. The entire point of running this command was to probe the nameserver at 192.168.1.254 and see whether it's working correctly. > $ host -v -t A www.debian.org 192.168.1.254 > Trying "www.debian.org" > ;; connection timed out; no servers could be reached It's not working correctly. Now you know.
Re: ubuntu/snap future
On Sat, Apr 03, 2021 at 07:38:53PM +0300, George Shuklin wrote: > I'd like to stir some debates. > > Ubuntu (which is 'enterprise friendly Debian with ambivalent feeling about > free software') started to push snaps onto servers for real. It looks to me > like they desperately want to jump away from debs into 'vendor friendly > packaging'. Is it so? > Yes, I think it might be. The problem with some packages is that they're impossible to keep up to date in the traditional way, seemingly, and Ubuntu want to use snaps to make things easier to manage / quicker to update. Lots of different ways to make a distribution: Ubuntu / MXlinux and all sorts of others, each with their own ideas, Debian with theirs - lots of shades of opinion dividing the pool of Linux users and Linux development talent. Ubuntu is a commercial distribution with its own viewpoint - though when I first came across it (before it first released in 2005 - when it was still a quiet discussion) it was described to me by one of the very first participants "If we could have got away with calling it Debian for desktops, we would have done" - so stuff has quietly changed in tha last 16 years as has the overall profile of the distribution. All best, Andy C.
Re: Request: A Debian public Wiki repository/bank for complex code lines with examples, scripts, self-explanatory with terminal, otherwise Minimal explanatory texts
On 4/3/21 8:26 AM, rhkra...@gmail.com wrote: On Friday, April 02, 2021 01:11:01 AM Susmita/Rajib wrote: Thank you, Dr./Mr. Kramer, for taking time to post your kind inputs. To me, the best possible option would be an organisationally hosted wiki site with strict posting guidelines, and pages as described. Just a followup: I wasn't aware (until very recently when I saw it mentioned by somebody else in this thread, iirc) that there is a Debian wiki. I've done a verly little investigation into that, but could share more of that information if you'd like. Some tidbits: * the wiki is at https://wiki.debian.org/ * there is a sandbox at https://wiki.debian.org/WikiSandBox -- it is not quite what I am used to as a sandbox as it recommends against creating new pages (other than ones that would include new content) * you can see a list of (some of?) the exising pages at https://wiki.debian.org/Wiki * I get the idea that, at least to a certain extent, some of the people contributing to it want to organize things (at a high level) based on Debian distribution, e.g., Jessie, Stretch, Buster I would like to see the content well organized an focused as well -- I can envisage the need to label the content of pages with notes (metadata?) that indicate which Debian distribution the note(s) apply to, maybe which distribution it became effective with, as well as which distribution it became obsolete with (all of which on an "if known" basis. I can also see the need for some similar metadata that is "orthogonal" to that -- for example, things like which desktop they apply to (KDE, GNOME, ...) or whether it applies to X windows or Wayland, but then that information also needs to designate which Debian distributions it applies to. Yes, it needs some expert help. I use the Wiki frequently. I don't have much luck searching from within but with Google it's pretty good. Example: search "Debian Wiki fstab" That I am sure will get some good info, Debian specific
ubuntu/snap future
I'd like to stir some debates. Ubuntu (which is 'enterprise friendly Debian with ambivalent feeling about free software') started to push snaps onto servers for real. It looks to me like they desperately want to jump away from debs into 'vendor friendly packaging'. Is it so?
Re: Temporary failure in name resolution
On 3/31/21 1:33 PM, David Christensen wrote: "$ host -v -t A www.debian.org 192.168.1.254 Dan -- did you run the above test? This may help isolate if the problem is Debian 10 or your AT gateway." $ host -v -t A www.debian.org 192.168.1.254 Trying "www.debian.org" ;; connection timed out; no servers could be reached That's to be expected I guess since nameserver 192.168.1.254 is no longer in resolv.conf. $ host -v -t A www.debian.org Trying "www.debian.org" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46537 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.debian.org.IN A ;; ANSWER SECTION: www.debian.org. 260 IN A 149.20.4.15 www.debian.org. 260 IN A 128.31.0.62 Received 64 bytes from 1.1.1.1#53 in 30 ms HTH, but would it help isolate the problem to temporarily put nameserver 192.168.1.254 back in resolv.conf and retry the above? BTW, I just saw your earlier (revised?) post about using Windows on the laptop. Yikes! If you don't mind, I'd like to skip that. Besides, my local network is much simpler since there is only one ethernet connection. Sorry if I misled you. - Dan
Re: LXC / Netplan / Bridge-vpn
Estic en una entitat on també s'aborda aquesta qüestió, però purament amb Debian a tots costats (centre amb IPs públiques, servidor local, contenidors) i només amb programari suportat (stable/main). Després de moltes sessions de recerca i desenvolupament, s'està elaborant un assistent per als enllaços VPN (gesvipen), un altre per a les rutes NAT/DNAT (durruter) i un altre per a la configuració de contenidors LXC 2 i LXC 3 (ctctl). Hem provat LXC 4 amb Debian bullseye/testing i els contenidors no arrenquen. No sembla funcionar. Encara no hem provat LXC 4 amb Ubuntu. Narcis Garcia __ I'm using this dedicated address because personal addresses aren't masked enough at this mail public archive. Public archive administrator should fix this against automated addresses collectors. El 2/2/21 a les 20:37, Daniel ha escrit: > Hola a tothom > > tinc la següent infraestructura, > > * Ubuntu 20.04 amb contenidors lxc 4 > * Servidor a un datacenter amb 2 IPs Públiques (en el futur N) > * X bridges interns, comunicant amb altres datacenter via openvpn (amb > els rangs 10.20.xx) > * Tinc que redireccionar una de les IPs públiques cap a un contenidor > intern, però em perdo pel camí. Abans tenia una estructura similar > amb ubuntu 14, pero amb el canvi del network/interfaces a netplan em > falta informació. > Ho he intentat configurant al host la IP i amb el shorewall > redireccionant els ports cap als contenidors i ara configurant la > segona IP directament al contenidor, però tinc algun error que no > detecto i no m'arriben els paquets. > > La configuració que tinc ara al contenidor es aquesta: > > # IP interna cap la resta de servidors. > lxc.net.0.type = veth > lxc.net.0.flags = up > lxc.net.0.link = vmbr0 > lxc.net.0.name = eth0 > lxc.net.0.veth.pair = veth-contenidor > #lxc.net.0.ipv4.gateway = 10.20.30.8 > lxc.net.0.ipv4.address = 10.20.30.196/24 > > # IP Publica > lxc.net.1.type = veth > lxc.net.1.flags = up > lxc.net.1.link = lxcbr0 > lxc.net.1.name = eth1 > lxc.net.1.veth.pair = veth-s07 > lxc.net.1.ipv4.gateway = GWdeldatacenter > lxc.net.1.ipv4.address = IPpublica/32 > > Ara ja no se en quin punt m'he perdut, alguna pista? > > Daniel >
Re: Request: A Debian public Wiki repository/bank for complex code lines with examples, scripts, self-explanatory with terminal, otherwise Minimal explanatory texts
On Friday, April 02, 2021 01:11:01 AM Susmita/Rajib wrote: > Thank you, Dr./Mr. Kramer, for taking time to post your kind inputs. > To me, the best possible option would be an organisationally hosted > wiki site with strict posting guidelines, and pages as described. Just a followup: I wasn't aware (until very recently when I saw it mentioned by somebody else in this thread, iirc) that there is a Debian wiki. I've done a verly little investigation into that, but could share more of that information if you'd like. Some tidbits: * the wiki is at https://wiki.debian.org/ * there is a sandbox at https://wiki.debian.org/WikiSandBox -- it is not quite what I am used to as a sandbox as it recommends against creating new pages (other than ones that would include new content) * you can see a list of (some of?) the exising pages at https://wiki.debian.org/Wiki * I get the idea that, at least to a certain extent, some of the people contributing to it want to organize things (at a high level) based on Debian distribution, e.g., Jessie, Stretch, Buster I would like to see the content well organized an focused as well -- I can envisage the need to label the content of pages with notes (metadata?) that indicate which Debian distribution the note(s) apply to, maybe which distribution it became effective with, as well as which distribution it became obsolete with (all of which on an "if known" basis. I can also see the need for some similar metadata that is "orthogonal" to that -- for example, things like which desktop they apply to (KDE, GNOME, ...) or whether it applies to X windows or Wayland, but then that information also needs to designate which Debian distributions it applies to.
Re: php7 mysql
Salut la liste ! > Effectivement j'obtenais avec phpinfo() : PHP Version 7.0.33-0+deb9u3 > > J'ai donc purgé tous les php7.0. > C'était le php7.0 metapacakge qui avait appelé tous les 7.3 > Maintenant il n'existe plus et je ne trouve pas de php7 metapackage. > > J'ai redémarré les services mariadb, php7, apache2 > A cette étape, le navigateur n'affiche que la source du .php > > reboot > > Même chose. > > Du coup j'ai purgé tous les php7... > > reboot - réinstallation (je sais, ça fait beaucoup de reboot) Pour que le serveur Web reconnaisse et travaille avec PHP, il lui faut quelque chose, une passerelle PHP-FPM ou en l'occurrence pour Apache, un module PHP. Installation avec PHP-FPM : https://www.justegeek.fr/installer-php-7-0-apache2-debian-8/ Activation du module PHP : https://askubuntu.com/questions/1148129/how-do-i-enable-php-7-3-in-apache2#answer-1148139 Bonne pioche, dans le respect des gestes barrière ! Ph. Gras
Re: Temporary failure in name resolution
On Sat, 3 Apr 2021 10:21:08 +0200 wrote: > On Sat, Apr 03, 2021 at 08:57:20AM +0100, Joe wrote: > > [...] > > > think even then that most of them had oriental firmware, and my > > opinion of even Japanese code is that it isn't wonderful. Hardware > > great, > > Given the generally pitiful state of the software trade all over the > place, the geographically biased slurs you indulge in in the above > phrases seem less-than-warranted for. > > It's not as if there weren't *cough* *Microsoft* western *cough* > *Cisco* examples of *cough* *Apple* stellar failures in soft- and > firmware. Agreed, one of the many 'spare' routers I have is a Cisco-badged one, bought specifically because it advertised Radius compatibility. Yes, I know most routers do now, but this was a while ago. It took me a while to work it out, but it had a bug which under most circumstances forgot the Radius configuration. I spent some time with iptables and wireshark before working this out, along with the workaround, bearing in mind this was also my first attempt at running freeradius. Too many things to get right all at once. Yes, I did it in the end. But I've been associated with a household-name Japanese company for around forty years, and I've used many examples of their software, both public and private. I know what I'm talking about. And I've recently had experience of several examples of software in Chinese products, which was presumably written either in China or somewhere even cheaper. -- Joe
Re: php7 mysql
On Sat, Apr 03, 2021 at 07:03:38AM +0200, Jean-Michel OLTRA wrote: > > Bonjour, > > > Le samedi 03 avril 2021, Pierre Meurisse a écrit... > > > > [Sat Apr 03 02:11:02.324464 2021] [:error] [pid 1136] [client > > 192.168.0.118:58398] PHP Fatal error: Uncaught Error: Class 'mysqli' not > > found in /homesuppl/www_html/apache/php/tutos/debian-uf.php:7\nStack > > trace:\n#0 {main}\n thrown in > > /homesuppl/www_html/apache/php/tutos/debian-uf.php on line 7, referer: > > http://debianpb/apache/php/tutos/ > > Et si tu crées un script php dans lequel tu mets uniquement phpinfo(); > (et que tu appelles cette page), ça donne quoi, dans la section mysqli ? > Regarde également tout en haut, dans ce qui concerne php, si la version > donnée est bien celle à laquelle tu t'attends. > > -- > jm > Je deviens chèvre ... Effectivement j'obtenais avec phpinfo() : PHP Version 7.0.33-0+deb9u3 J'ai donc purgé tous les php7.0. C'était le php7.0 metapacakge qui avait appelé tous les 7.3 Maintenant il n'existe plus et je ne trouve pas de php7 metapackage. J'ai redémarré les services mariadb, php7, apache2 A cette étape, le navigateur n'affiche que la source du .php reboot Même chose. Du coup j'ai purgé tous les php7... reboot - réinstallation (je sais, ça fait beaucoup de reboot) aptitude search php7 |grep "^i" i A php7.3-cli - command-line interpreter for the PHP scripting language i A php7.3-common - documentation, exemples et module commun pour PHP i php7.3-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary) i A php7.3-json - module JSON pour PHP i A php7.3-opcache - module Zend OpCache pour PHP i A php7.3-readline - module readline pour PHP i php7.3-xml - module DOM, SimpleXML, WDDX, XML et XSL pour PHP C'est toujours la même chose, le navigateur n'affiche que les sources. Je ne sais plus ... faire un rapport de bug ? Je n'en ai pas trouvé pour php7. En tous cas merci pour votre soutien. -- Pierre Meurisse Merci de noter que ma nouvelle adresse est : pierre.meuriss...@free.fr Je continue provisoirement de recevoir les courriers envoyés aux adresses précédentes.
Re: Kuren bij starten van Testing
On Fri, 2 Apr 2021 13:14:58 +0200 Sjoerd wrote: > Zou het ook in /etc/fstab gewijzigd moeten worden? Er staat nu dit: > > /dev/sda2 / ext4 defaults,noatime,nodiratime 0 1 Ik zou, als je UUID gebruikt, dat ook toepassen in fstab. Want stel dat de schijven verwisseld worden tijdens het booten, dan wordt via UUID toch de juiste schijf gemount: UUID= / ext4 defaults,noatime,nodiratime 0 1 > noatime en nodiratime staan er om de SSD te sparen, maar misschien > heeft dat er iets mee te maken. Nee, dat zijn alleen maar scrijfacties naar disk om aan te geven of je een file of dir bekeken hebt: # stat .bashrc File: .bashrc Size: 633 Blocks: 8 IO Block: 4096 regular file Device: 803h/2051d Inode: 929948 Links: 1 Access: (0644/-rw-r--r--) Uid: (0/root) Gid: (0/root) Access: 2021-03-31 10:37:22.817269536 +0200 Modify: 2018-12-07 15:50:43.130872342 +0100 Change: 2019-08-05 11:25:01.763408345 +0200 Birth: 2019-08-05 11:25:01.763408345 +0200 Die Access time schrijft-ie dan niet naar disk. Omdat dat vaak niet interessant is scheelt dat weer schrijfacties. > Ik heb een paar keer gereboot en tot nu toe ziet het er hoopvol uit! > Over een paar dagen weet ik het zeker, dan laat ik nog eens van me > horen. Wat ook belangrijk is: update-initramfs -u anders werkt je initramfs nog steeds met /dev/sda2 ipv UUID= Als je het wil controleren kun je je initramfs via een loop-device bekijken. Dat staat uitgebreid op het internet beschreven. R. -- richard lucassen http://contact.xaq.nl/
Re: Debian Stable - fsck
El 2021-04-02 a las 20:54 +, Ricardo Delgado escribió: > Buenos dias, tengo instalado debian estable, despues de un tiempo note que > durante el arranque no me aparece la opcion de chequear el sistema de > archivos, recuerdo que en instalaciones o versiones anteriores, cada 50 > arranques (si la memoria no me falla) realizaba una comprobacion. > > Esta comprobacion veo que ya no aparece en la configuracion por defecto, sera > alguna directiva nueva? destilde algun punto durante la instalacion? ya no es > necesario realizar las comprobaciones? Podrás ver más información sobre la verificación con esta orden (como root): root@stt008:~# tune2fs -l /dev/sdb1 | grep -i check Last checked: Mon Mar 15 07:28:18 2021 Check interval: 15552000 (6 months) Next check after: Sat Sep 11 08:28:18 2021 Recuerda que esta herramienta sólo trabaja con sistemas de archivos ext(2|3|4); XFS o ReiserFS no la admiten. Saludos, -- Camaleón
Re: Temporary failure in name resolution
On Sat, Apr 03, 2021 at 08:57:20AM +0100, Joe wrote: [...] > think even then that most of them had oriental firmware, and my opinion > of even Japanese code is that it isn't wonderful. Hardware great, Given the generally pitiful state of the software trade all over the place, the geographically biased slurs you indulge in in the above phrases seem less-than-warranted for. It's not as if there weren't *cough* *Microsoft* western *cough* *Cisco* examples of *cough* *Apple* stellar failures in soft- and firmware. Cheers - t signature.asc Description: Digital signature
Re: Temporary failure in name resolution
On Fri, 2 Apr 2021 20:14:41 -0400 Greg Wooledge wrote: > > Home router DNS services tend to be mediocre at best, and usually they > simply forward your requests to your ISP's nameservers, and *those* > tend to be problematic at times too (depending on the ISP). That's > two layers of questionable things to worry about. > I once had a router (can't remember which make) which failed to return *some* MX records. That took me some time to track down, as it was fine with nearly all of them, and I was fairly new to networking. In my time working on MS Small Business Server (early 2000s) there were a number of routers which claimed to handle PPTP VPNs but didn't. I think even then that most of them had oriental firmware, and my opinion of even Japanese code is that it isn't wonderful. Hardware great, software poor. -- Joe
Re: Temporary failure in name resolution
On 3/31/21 1:33 PM, David Christensen wrote: $ host -v -t A www.debian.org 192.168.1.254 Dan -- did you run the above test? This may help isolate if the problem is Debian 10 or your AT gateway. David