Re: [gentoo-user] evince - PDF support is disabled since poppler-glib library version 0.33.0 or newer not found
Searching with eix or Google is a good way to find things https://packages.gentoo.org/packages/app-text/poppler On Sun, Mar 26, 2017, 8:54 PM wrote: > I'm trying to emerge evince-3.20.1 > but I'm getting an error: > > configure: error: "PDF support is disabled since poppler-glib library > version 0.33.0 or newer not found" > > !!! Please attach the following file when seeking support: > !!! /var/tmp/portage/app-text/evince-3.20.1/work/evince-3.20.1/config.log > * ERROR: app-text/evince-3.20.1::gentoo failed (configure phase): > * econf failed > * > * Call stack: > * ebuild.sh, line 115: Called src_configure > * environment, line 3131: Called gnome2_src_configure > '--disable-static' '--enable-pdf' '--enable-comics' '--enable-thumbnailer' > '--with-platform=gnome' '--enable-dbus' '--disable-djvu' '--disable-dvi' > '--disable-multimedia' '--disable-libgnome-desktop' '--without-keyring' > '--enable-introspection' '--disable-nautilus' '--disable-browser-plugin' > '--enable-ps' '--disable-t1lib' '--enable-tiff' '--disable-xps' > 'BROWSER_PLUGIN_DIR=/usr/lib64/nsbrowser/plugins' > * environment, line 2300: Called econf '--disable-gtk-doc' > '--disable-maintainer-mode' '--disable-schemas-compile' > '--enable-compile-warnings=minimum' '--disable-static' '--enable-pdf' > '--enable-comics' '--enable-thumbnailer' '--with-platform=gnome' > '--enable-dbus' '--disable-djvu' '--disable-dvi' '--disable-multimedia' > '--disable-libgnome-desktop' '--without-keyring' '--enable-introspection' > '--disable-nautilus' '--disable-browser-plugin' '--enable-ps' > '--disable-t1lib' '--enable-tiff' '--disable-xps' > 'BROWSER_PLUGIN_DIR=/usr/lib64/nsbrowser/plugins' > *phase-helpers.sh, line 665: Called __helpers_die 'econf failed' > * isolated-functions.sh, line 117: Called die > * The specific snippet of code: > * die "$@" > > I can not find: poppler-glib > > -- > Thelma > >
[gentoo-user] evince - PDF support is disabled since poppler-glib library version 0.33.0 or newer not found
I'm trying to emerge evince-3.20.1 but I'm getting an error: configure: error: "PDF support is disabled since poppler-glib library version 0.33.0 or newer not found" !!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-text/evince-3.20.1/work/evince-3.20.1/config.log * ERROR: app-text/evince-3.20.1::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 115: Called src_configure * environment, line 3131: Called gnome2_src_configure '--disable-static' '--enable-pdf' '--enable-comics' '--enable-thumbnailer' '--with-platform=gnome' '--enable-dbus' '--disable-djvu' '--disable-dvi' '--disable-multimedia' '--disable-libgnome-desktop' '--without-keyring' '--enable-introspection' '--disable-nautilus' '--disable-browser-plugin' '--enable-ps' '--disable-t1lib' '--enable-tiff' '--disable-xps' 'BROWSER_PLUGIN_DIR=/usr/lib64/nsbrowser/plugins' * environment, line 2300: Called econf '--disable-gtk-doc' '--disable-maintainer-mode' '--disable-schemas-compile' '--enable-compile-warnings=minimum' '--disable-static' '--enable-pdf' '--enable-comics' '--enable-thumbnailer' '--with-platform=gnome' '--enable-dbus' '--disable-djvu' '--disable-dvi' '--disable-multimedia' '--disable-libgnome-desktop' '--without-keyring' '--enable-introspection' '--disable-nautilus' '--disable-browser-plugin' '--enable-ps' '--disable-t1lib' '--enable-tiff' '--disable-xps' 'BROWSER_PLUGIN_DIR=/usr/lib64/nsbrowser/plugins' *phase-helpers.sh, line 665: Called __helpers_die 'econf failed' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" I can not find: poppler-glib -- Thelma
Re: [gentoo-user] [SOLVED]eix-test-obsolete
On 03/26/2017 06:27 PM, wabe wrote: > the...@sys-concept.com wrote: > >> On 03/26/2017 05:16 PM, Alan McKinnon wrote: >>> On 26/03/2017 23:14, the...@sys-concept.com wrote: I'm in a process of clean-up my packages. Running: eix-test-obsolete Shows a lot of valuable information, but I can not decode entries in: Installed packages with a version not in the database (or masked): ... example [?] app-editors/nano (2.6.3@03/25/2017 -> 2.3.1-r2): GNU GPL'd Pico clone with more functionality I've nano-2.6.3 installed. What does the "-> 2.3.1-r2" indicates? >>> >>> >>> >>> Oh come on Thelma, really? >>> >>> >>> Did you even bother to read the eix man page? This is getting >>> tiresome. Please just stop it, gentoo-user is not your personal >>> Google clone or a quasi-brain you can tap for any answer without >>> doing some thinking of your own >>> >>> A simple eix nano would have told you everything: >>> >>> It's in section "installed packages not in database" >>> Latest stable nano is 2.6.3. You have 2.3.1-r2 >> >> Apology Alan, but this still isn't very clear to me. >> Yes, I did check with "eix nano" and it showed that I had latest >> version installed. >> >> Even "emerge -Ca nano" showed I had no prior version installed. >> So am still confused why is it has "-> 2.3.1-r2" >> >> I figured it must be a pointer to an older version but since I had a >> newest version installed why pointer to an older version? >> >> man eix only shows "eix-test-obsolete" is equivalent to eix -tTc > > Maybe an eix-update will help. > > -- > Regards > wabe Thank you Wabe, yes that was it. Not the list is much smaller and makes sense. -- Thelma
Re: [gentoo-user] Few blockers left
On 03/26/2017 05:34 PM, Neil Bothwick wrote: > On Sat, 25 Mar 2017 16:58:25 -0600, the...@sys-concept.com wrote: > >>> To repeat what I said before, a virtual and the package satisfying it >>> must have matching USE flags. If your flags for virtual/libudev and >>> eudev don't match, portage will try to install the default for >>> libudev, which is udev. That then causes a conflict as you can't have >>> udev and libudev installed at the same time. >> >> Here is the output: >> >> grep -r udev /etc/portage >> /etc/portage/package.use:sys-fs/udev extras >> /etc/portage/package.use:=sys-fs/eudev-1.10-r2 abi_x86_32 >> /etc/portage/package.use:>=virtual/libudev-215-r1 abi_x86_32 >> /etc/portage/package.use:>=sys-fs/udev-225-r1 abi_x86_32 >> /etc/portage/package.use:>=dev-libs/libgudev-230-r1 abi_x86_32 > > There's the problem, you have enabled the abi_x86_32 USE flag for all > versions of udev and the libudev virtual, bit only for one specific > version of eudev, so the only way portage can upgrade virtual/libudev is > to install udev, which conflicts with eudev. Fix package.use to the > entries for libudev and eudev match. Yes, that might have been a problem. I got tired rebuilding the same packages over again and adding with each new version "abi_x86_32" flag to package.use. I just added to make.conf ABI_X86="32 64" After upgrading several 1-year old systems I think best approach is to make a backup of "world" emerge -C world Restore the world from backup and do emerge world -- Thelma
Re: [gentoo-user] eix-test-obsolete
the...@sys-concept.com wrote: > On 03/26/2017 05:16 PM, Alan McKinnon wrote: > > On 26/03/2017 23:14, the...@sys-concept.com wrote: > >> I'm in a process of clean-up my packages. > >> Running: eix-test-obsolete > >> > >> Shows a lot of valuable information, but I can not decode entries > >> in: > >> > >> Installed packages with a version not in the database (or masked): > >> ... > >> example > >> [?] app-editors/nano (2.6.3@03/25/2017 -> 2.3.1-r2): GNU GPL'd Pico > >> clone with more functionality > >> > >> I've nano-2.6.3 installed. What does the "-> 2.3.1-r2" indicates? > >> > > > > > > > > Oh come on Thelma, really? > > > > > > Did you even bother to read the eix man page? This is getting > > tiresome. Please just stop it, gentoo-user is not your personal > > Google clone or a quasi-brain you can tap for any answer without > > doing some thinking of your own > > > > A simple eix nano would have told you everything: > > > > It's in section "installed packages not in database" > > Latest stable nano is 2.6.3. You have 2.3.1-r2 > > Apology Alan, but this still isn't very clear to me. > Yes, I did check with "eix nano" and it showed that I had latest > version installed. > > Even "emerge -Ca nano" showed I had no prior version installed. > So am still confused why is it has "-> 2.3.1-r2" > > I figured it must be a pointer to an older version but since I had a > newest version installed why pointer to an older version? > > man eix only shows "eix-test-obsolete" is equivalent to eix -tTc Maybe an eix-update will help. -- Regards wabe
Re: [gentoo-user] eix-test-obsolete
On 03/26/2017 05:16 PM, Alan McKinnon wrote: > On 26/03/2017 23:14, the...@sys-concept.com wrote: >> I'm in a process of clean-up my packages. >> Running: eix-test-obsolete >> >> Shows a lot of valuable information, but I can not decode entries in: >> >> Installed packages with a version not in the database (or masked): >> ... >> example >> [?] app-editors/nano (2.6.3@03/25/2017 -> 2.3.1-r2): GNU GPL'd Pico >> clone with more functionality >> >> I've nano-2.6.3 installed. What does the "-> 2.3.1-r2" indicates? >> > > > > Oh come on Thelma, really? > > > Did you even bother to read the eix man page? This is getting tiresome. > Please just stop it, gentoo-user is not your personal Google clone or a > quasi-brain you can tap for any answer without doing some thinking of > your own > > A simple eix nano would have told you everything: > > It's in section "installed packages not in database" > Latest stable nano is 2.6.3. You have 2.3.1-r2 Apology Alan, but this still isn't very clear to me. Yes, I did check with "eix nano" and it showed that I had latest version installed. Even "emerge -Ca nano" showed I had no prior version installed. So am still confused why is it has "-> 2.3.1-r2" I figured it must be a pointer to an older version but since I had a newest version installed why pointer to an older version? man eix only shows "eix-test-obsolete" is equivalent to eix -tTc -- Thelma --
Re: [gentoo-user] Few blockers left
On Sat, 25 Mar 2017 16:58:25 -0600, the...@sys-concept.com wrote: > > To repeat what I said before, a virtual and the package satisfying it > > must have matching USE flags. If your flags for virtual/libudev and > > eudev don't match, portage will try to install the default for > > libudev, which is udev. That then causes a conflict as you can't have > > udev and libudev installed at the same time. > > Here is the output: > > grep -r udev /etc/portage > /etc/portage/package.use:sys-fs/udev extras > /etc/portage/package.use:=sys-fs/eudev-1.10-r2 abi_x86_32 > /etc/portage/package.use:>=virtual/libudev-215-r1 abi_x86_32 > /etc/portage/package.use:>=sys-fs/udev-225-r1 abi_x86_32 > /etc/portage/package.use:>=dev-libs/libgudev-230-r1 abi_x86_32 There's the problem, you have enabled the abi_x86_32 USE flag for all versions of udev and the libudev virtual, bit only for one specific version of eudev, so the only way portage can upgrade virtual/libudev is to install udev, which conflicts with eudev. Fix package.use to the entries for libudev and eudev match. -- Neil Bothwick An expert is nothing more than an ordinary person away from home. pgpRw2tadxMNo.pgp Description: OpenPGP digital signature
Re: [gentoo-user] eix-test-obsolete
On 26/03/2017 23:14, the...@sys-concept.com wrote: I'm in a process of clean-up my packages. Running: eix-test-obsolete Shows a lot of valuable information, but I can not decode entries in: Installed packages with a version not in the database (or masked): ... example [?] app-editors/nano (2.6.3@03/25/2017 -> 2.3.1-r2): GNU GPL'd Pico clone with more functionality I've nano-2.6.3 installed. What does the "-> 2.3.1-r2" indicates? Oh come on Thelma, really? Did you even bother to read the eix man page? This is getting tiresome. Please just stop it, gentoo-user is not your personal Google clone or a quasi-brain you can tap for any answer without doing some thinking of your own A simple eix nano would have told you everything: It's in section "installed packages not in database" Latest stable nano is 2.6.3. You have 2.3.1-r2 -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] eix-test-obsolete
I'm in a process of clean-up my packages. Running: eix-test-obsolete Shows a lot of valuable information, but I can not decode entries in: Installed packages with a version not in the database (or masked): ... example [?] app-editors/nano (2.6.3@03/25/2017 -> 2.3.1-r2): GNU GPL'd Pico clone with more functionality I've nano-2.6.3 installed. What does the "-> 2.3.1-r2" indicates? -- Thelma
Re: [gentoo-user] Difficulty setting up apache, php and joomla
On March 26, 2017 7:53:09 PM GMT+02:00, Mick wrote: >On Sunday 26 Mar 2017 17:20:09 Peter Humphrey wrote: >> On Sunday 26 Mar 2017 09:45:09 Michael Orlitzky wrote: >> > On 03/26/2017 04:28 AM, Peter Humphrey wrote: >> > > Pelican looks interesting; I may follow it up. I didn't say this >before >> > > (one thing at a time, eh?) but I need to build a site that >another >> > > choirman can take over from me at some time. That seems to rule >out >> > > anything that smacks of script writing, because as far as I know, >> > > nobody else has the slightest interest in computers, never mind >> > > programming. >> > > >> > > I notice that no-one has mentioned WordPress. I had a look at it, >but >> > > was >> > > scared off by the Gentoo devs' waving around of garlic and >crosses. >> > >> > Choosing a CMS is a textbook example of "pick your poison." We >usually >> > go with either Wordpress or Drupal. >> > >> > The design of Drupal is much better, technically. Every feature is >part >> > of a "module" that you can turn off. The API is well-documented, >and >> > it's easy to write new modules. A "content type" in Drupal is a >thin >> > abstraction over a database table, and you can build pretty much >> > anything you want by creating the right content type and then >creating a >> > "view" to display it how you want. >> > >> > The end result can be nicer for end users; for example, you can >give >> > them a button to create a new employee, or a newsletter, or a blog >> > entry... and each one of those content types will have separate >fields >> > and a separate UI. The trade-off is that nothing works >out-of-the-box in >> > Drupal, and it will take you two weeks to get all of that set up. >> > >> > With Wordpress, you get a nice, clean, easy-to-use site in about >five >> > minutes. If that site will work for you -- i.e. if all you need is >> > pages, menu items, a contact form, and whatever else you can get >from >> > pre-existing plugins -- do that! >> > >> > Wordpress is made for non-technical users but I don't mean that in >a bad >> > way. I've been doing Wordpress updates on some sites for over five >> > years, and it's never crashed and made me stop what I was doing to >fix >> > it. Plugin updates are similarly easy, but I can echo what Mick >said: >> > you need to pay attention to the update notifications, and they >come >> > frequently. >> > >> > All CMSes have terrible security records, so the fact that >Wordpress >> > gets hacked all the time shouldn't lead you to believe that another >CMS >> > would fare any better. You can make any CMS a lot more secure in >two >> > >> > simple ways: >> >1. Always update ASAP. >> >2. Don't make your website writable by the anonymous web user. >> > >> > The second one means that you will have to update over SSH, at >least as >> > long as you maintain the site, but severely limits the damage that >a >> > hacker can do with a tiny exploit. >> >> Interesting. Another contributor, another opinion. :-) >> >> I already have books on WordPress and Joomla, and I've just ordered >one on >> Drupal. Then I can take my time experimenting and comparing. >> >> Thanks again to all. I'm certainly learning today. > >Michael O. is spot on. Drupal 8 is more of a framework for developing >websites. Wordpress is less of a development workhorse, but will give >you an >acceptable website relatively effortlessly. This is one of the reasons >many >people use it for blog sites. > >Two quick points on the ease of maintenance between CMS': > >Some ISPs offer a GUI-fied update facility for Wordpress, whereby you >click a >button and the latest core installation and modules are updated for >you. I >have also seen this with Drupal, but less frequently and the version >offered >by the ISP may not be the latest one. So with Drupal, updates have >always >been a manual exercise for me. Drush, a CLI tool, simplifies Drupal >maintenance for those who are not limited to point & click computer >operations. > >Depending on your website development needs you may need more than one >site. >A production site and a development site is a typical minimum >requirement. >More active sites have prod/pre-prod/dev/testing versions. This means >you >will be exporting database content and importing it from one site to >another. >Unlike Drupal where exporting and importing database dumps is a >straight >forward activity, with Wordpress you will need to change some of the >database >content manually before you import it. This is because Wordpress uses >serialised PHP arrays and hard-codes URLs in the database cells and its > >upgrade.php scripts do not deal auto-magically with database migration. > There >are 3rd party scripts and plugins to deal with this, but it is an >additional >step and a manual exercise: > >https://interconnectit.com/blog/2009/10/07/migrating-a-wordpresswpmubuddypress-website/ > >If you only have one production version on a single domain/webroot this > >prob
Re: [gentoo-user] Still struggling with starting X and enlightenment desktop
On Sunday 26 Mar 2017 11:32:20 Alan McKinnon wrote: > On 26/03/2017 01:24, Mick wrote: > > Either way, if I were to start enlightenment with startx and skip using a > > DM altogether, is there a way of starting enlightenment and ensuring it > > has the appropriate access rights to run udisks2 and OpenGL? > > You'll probably get better answers over at the enlightenment user list. > Now many folks here use e, I know I stopped years ago Thanks Alan, I've posted on enlightenment M/L and hopefully someone will chime in there: https://sourceforge.net/p/enlightenment/mailman/message/35750318/ -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Difficulty setting up apache, php and joomla
On Sunday 26 Mar 2017 17:20:09 Peter Humphrey wrote: > On Sunday 26 Mar 2017 09:45:09 Michael Orlitzky wrote: > > On 03/26/2017 04:28 AM, Peter Humphrey wrote: > > > Pelican looks interesting; I may follow it up. I didn't say this before > > > (one thing at a time, eh?) but I need to build a site that another > > > choirman can take over from me at some time. That seems to rule out > > > anything that smacks of script writing, because as far as I know, > > > nobody else has the slightest interest in computers, never mind > > > programming. > > > > > > I notice that no-one has mentioned WordPress. I had a look at it, but > > > was > > > scared off by the Gentoo devs' waving around of garlic and crosses. > > > > Choosing a CMS is a textbook example of "pick your poison." We usually > > go with either Wordpress or Drupal. > > > > The design of Drupal is much better, technically. Every feature is part > > of a "module" that you can turn off. The API is well-documented, and > > it's easy to write new modules. A "content type" in Drupal is a thin > > abstraction over a database table, and you can build pretty much > > anything you want by creating the right content type and then creating a > > "view" to display it how you want. > > > > The end result can be nicer for end users; for example, you can give > > them a button to create a new employee, or a newsletter, or a blog > > entry... and each one of those content types will have separate fields > > and a separate UI. The trade-off is that nothing works out-of-the-box in > > Drupal, and it will take you two weeks to get all of that set up. > > > > With Wordpress, you get a nice, clean, easy-to-use site in about five > > minutes. If that site will work for you -- i.e. if all you need is > > pages, menu items, a contact form, and whatever else you can get from > > pre-existing plugins -- do that! > > > > Wordpress is made for non-technical users but I don't mean that in a bad > > way. I've been doing Wordpress updates on some sites for over five > > years, and it's never crashed and made me stop what I was doing to fix > > it. Plugin updates are similarly easy, but I can echo what Mick said: > > you need to pay attention to the update notifications, and they come > > frequently. > > > > All CMSes have terrible security records, so the fact that Wordpress > > gets hacked all the time shouldn't lead you to believe that another CMS > > would fare any better. You can make any CMS a lot more secure in two > > > > simple ways: > >1. Always update ASAP. > >2. Don't make your website writable by the anonymous web user. > > > > The second one means that you will have to update over SSH, at least as > > long as you maintain the site, but severely limits the damage that a > > hacker can do with a tiny exploit. > > Interesting. Another contributor, another opinion. :-) > > I already have books on WordPress and Joomla, and I've just ordered one on > Drupal. Then I can take my time experimenting and comparing. > > Thanks again to all. I'm certainly learning today. Michael O. is spot on. Drupal 8 is more of a framework for developing websites. Wordpress is less of a development workhorse, but will give you an acceptable website relatively effortlessly. This is one of the reasons many people use it for blog sites. Two quick points on the ease of maintenance between CMS': Some ISPs offer a GUI-fied update facility for Wordpress, whereby you click a button and the latest core installation and modules are updated for you. I have also seen this with Drupal, but less frequently and the version offered by the ISP may not be the latest one. So with Drupal, updates have always been a manual exercise for me. Drush, a CLI tool, simplifies Drupal maintenance for those who are not limited to point & click computer operations. Depending on your website development needs you may need more than one site. A production site and a development site is a typical minimum requirement. More active sites have prod/pre-prod/dev/testing versions. This means you will be exporting database content and importing it from one site to another. Unlike Drupal where exporting and importing database dumps is a straight forward activity, with Wordpress you will need to change some of the database content manually before you import it. This is because Wordpress uses serialised PHP arrays and hard-codes URLs in the database cells and its upgrade.php scripts do not deal auto-magically with database migration. There are 3rd party scripts and plugins to deal with this, but it is an additional step and a manual exercise: https://interconnectit.com/blog/2009/10/07/migrating-a-wordpresswpmubuddypress-website/ If you only have one production version on a single domain/webroot this problem does not apply, but I raise it here because you mentioned you may be foisting the responsibility for this website on someone else, less technically competent than yourself. This m
[gentoo-user] Re: After sdcard failure / filesystem corruption...out pf pure curiosity...
Am Sun, 26 Mar 2017 14:16:56 +0200 schrieb Alan McKinnon : > On 26/03/2017 14:14, tu...@posteo.de wrote: > > Hi, > > > > ok, seems that at least the data of one of the three partitions > > of my sdcard is toasted... > > > > But it would be interesting to check, what the initial (?) reason > > for that failure is: Hardware or logic -- sdcard or filesystem. > > that failure very seldom happens with spinning disks > it very often happens with SDcards > > chances are *huge* that it's the card itself > > > > > Is there any flash-memory-friendly and -aware checker out there, > > which detects sectors which cannot be recovered back to > > functioning? > > Not really, to my knowledge no-one has figured out a metric that > shows increased odds of pending failure for SD cards. > > They just stop working one day. A lot like fuses actually - there's > no way to examine a fuse and predict when it's likely to blow. > > Lesson to be learned: SD cards should only contain stuff you are > happy to lose, or of which you have several backups Many SD cards are optimized for FAT usage, thus they do wear leveling only where FAT systems do most writes and rewrites: In the file allocation table. Almost anything else works different. Maybe better try f2fs as it more likely spreads writes evenly across the SD card. -- Regards, Kai Replies to list-only preferred.
Re: [gentoo-user] Difficulty setting up apache, php and joomla
On Sunday 26 Mar 2017 09:45:09 Michael Orlitzky wrote: > On 03/26/2017 04:28 AM, Peter Humphrey wrote: > > Pelican looks interesting; I may follow it up. I didn't say this before > > (one thing at a time, eh?) but I need to build a site that another > > choirman can take over from me at some time. That seems to rule out > > anything that smacks of script writing, because as far as I know, > > nobody else has the slightest interest in computers, never mind > > programming. > > > > I notice that no-one has mentioned WordPress. I had a look at it, but > > was > > scared off by the Gentoo devs' waving around of garlic and crosses. > > Choosing a CMS is a textbook example of "pick your poison." We usually > go with either Wordpress or Drupal. > > The design of Drupal is much better, technically. Every feature is part > of a "module" that you can turn off. The API is well-documented, and > it's easy to write new modules. A "content type" in Drupal is a thin > abstraction over a database table, and you can build pretty much > anything you want by creating the right content type and then creating a > "view" to display it how you want. > > The end result can be nicer for end users; for example, you can give > them a button to create a new employee, or a newsletter, or a blog > entry... and each one of those content types will have separate fields > and a separate UI. The trade-off is that nothing works out-of-the-box in > Drupal, and it will take you two weeks to get all of that set up. > > With Wordpress, you get a nice, clean, easy-to-use site in about five > minutes. If that site will work for you -- i.e. if all you need is > pages, menu items, a contact form, and whatever else you can get from > pre-existing plugins -- do that! > > Wordpress is made for non-technical users but I don't mean that in a bad > way. I've been doing Wordpress updates on some sites for over five > years, and it's never crashed and made me stop what I was doing to fix > it. Plugin updates are similarly easy, but I can echo what Mick said: > you need to pay attention to the update notifications, and they come > frequently. > > All CMSes have terrible security records, so the fact that Wordpress > gets hacked all the time shouldn't lead you to believe that another CMS > would fare any better. You can make any CMS a lot more secure in two > simple ways: > >1. Always update ASAP. >2. Don't make your website writable by the anonymous web user. > > The second one means that you will have to update over SSH, at least as > long as you maintain the site, but severely limits the damage that a > hacker can do with a tiny exploit. Interesting. Another contributor, another opinion. :-) I already have books on WordPress and Joomla, and I've just ordered one on Drupal. Then I can take my time experimenting and comparing. Thanks again to all. I'm certainly learning today. -- Regards Peter
Re: [gentoo-user] Strangeness with Grub and Win7 partitions
On Sunday 26 Mar 2017 17:08:33 Andrew Lowe wrote: > Hi all, > Don't know if it's my machine or a bug somewhere in Grub, but I have a > dual boot setup /dev/sda - Linux, /dev/sdb - Win7, that grub-mkconfig > would find correctly and build the grub.cfg file for. Or it did in the past. > > I hadn't had call to boot into Win7 for a while but kept building Linux > kernels and running grub-mkconfig. Linux always booted correctly but > recently upon trying to boot Win7 it failed. Investigation shows that my > Win7 partition isn't being found. Manually adding it to grub.cfg fixed > the boot problem. This is not the recommended approach. Use /etc/grub.d/40_custom to add any bespoke entries. However, the GRUB2 OS-prober should pick it up on its own. > I have not changed anything in the way I run grub-mkconfig, I have > os-prober installed and when booted into Linux can see and use any of > the partitions in the Win7 install, ie ntfs3g is installed and working. > Does anyone have any ideas as to what's going wrong? It may be worth re-installing GRUB2 in case something has gone askew, or booting from a LiveCD and running GRUB from there to find out what it sees, in case your GRUB installation is corrupted. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Difficulty setting up apache, php and joomla
On 03/26/2017 04:28 AM, Peter Humphrey wrote: Pelican looks interesting; I may follow it up. I didn't say this before (one thing at a time, eh?) but I need to build a site that another choirman can take over from me at some time. That seems to rule out anything that smacks of script writing, because as far as I know, nobody else has the slightest interest in computers, never mind programming. I notice that no-one has mentioned WordPress. I had a look at it, but was scared off by the Gentoo devs' waving around of garlic and crosses. Choosing a CMS is a textbook example of "pick your poison." We usually go with either Wordpress or Drupal. The design of Drupal is much better, technically. Every feature is part of a "module" that you can turn off. The API is well-documented, and it's easy to write new modules. A "content type" in Drupal is a thin abstraction over a database table, and you can build pretty much anything you want by creating the right content type and then creating a "view" to display it how you want. The end result can be nicer for end users; for example, you can give them a button to create a new employee, or a newsletter, or a blog entry... and each one of those content types will have separate fields and a separate UI. The trade-off is that nothing works out-of-the-box in Drupal, and it will take you two weeks to get all of that set up. With Wordpress, you get a nice, clean, easy-to-use site in about five minutes. If that site will work for you -- i.e. if all you need is pages, menu items, a contact form, and whatever else you can get from pre-existing plugins -- do that! Wordpress is made for non-technical users but I don't mean that in a bad way. I've been doing Wordpress updates on some sites for over five years, and it's never crashed and made me stop what I was doing to fix it. Plugin updates are similarly easy, but I can echo what Mick said: you need to pay attention to the update notifications, and they come frequently. All CMSes have terrible security records, so the fact that Wordpress gets hacked all the time shouldn't lead you to believe that another CMS would fare any better. You can make any CMS a lot more secure in two simple ways: 1. Always update ASAP. 2. Don't make your website writable by the anonymous web user. The second one means that you will have to update over SSH, at least as long as you maintain the site, but severely limits the damage that a hacker can do with a tiny exploit.
Re: [gentoo-user] Online hosting recommendation - VMs?
You could also check out Scaleway, who offer a dedicated ARM server for 3 EUR/month. And DigitalOcean which offers simply priced VMs (starting at $5/month) targeted at individuals/developers rather than big organisations (in contrast to AWS). Haven't used Linode so not sure how these compare on price. On Sun, 26 Mar 2017 at 13:29 Todd Goodman wrote: > * Stroller [170325 22:57]: > > Hello, > > > > In the next few weeks I need to move my email server (a very old Gentoo > installation) from the closet in my home, into the cloud so that I can go > travelling and access my mail from anywhere. > > > > I've never used VM's before, but my understanding is that they look just > like a normal machine to the users inside them, and there shouldn't be any > problem with me getting used to them. My current mail server is an old > 700mhz Pentium III (I think), so performance is unimportant. I guess VM's > have some kind of web or VNC console I can log into for the initial install > (and if I screw up remote access)? > > > > 1. Are these suppositions right? > > 2. Any recommendations for cheap / reliable hosting providers, please? > > > > I expect to use Gentoo because I've hardly used any other distro for > years, and find others less intuitive. > > > > Thanks, > > > > Stroller. > > Hi Stroller, > > I use Linode for my cloud web and email server. > > It was very easy to set up and has not had any downtime since it was set > up (a year or so ago.) > > I don't use the web gui for access much (generally only for DNS > management which they do well also.) > > Though I've used the lish console accessible from the GUI. > > I recommend them! > > Todd > >
Re: [gentoo-user] Re: About the MATE desktop applications menu
On Sunday 26 Mar 2017 11:46:52 Harry Putnam wrote: > Mick writes: > > On Sunday 26 Mar 2017 02:51:50 Harry Putnam wrote: > >> Just curious is anyone else running the mate desktop has this same > >> shortfall. > >> > >> Usually in the Applications menu top right the last item on the menu > >> is a `run' command item where you can type in a command to be run. > >> > >> My fairly recently installed mate dt does not have that. Wondered if > >> others have that item in their `applications' menu. > >> > >> Or maybe there is some other bit of MATE I have yet to install. > > > > From what I recall I could click on the desktop and type a > > command/application. Plasma also has something similar. > > I don't use the desktop click much ... not for any good reason just > didn't ever creep into how I operate a desktop. > > Oddly I had not noticed that in this install ... clicking the DT > produces nothing whatsoever. > > Must be something a litte messed up here somewhere I don't have mate installed any more to test, but did you try pressing Alt+F2 to see if a Run dialog pops up? Failing this I think Ctrl+Alt+t should launch a terminal ... -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Online hosting recommendation - VMs?
* Stroller [170325 22:57]: > Hello, > > In the next few weeks I need to move my email server (a very old Gentoo > installation) from the closet in my home, into the cloud so that I can go > travelling and access my mail from anywhere. > > I've never used VM's before, but my understanding is that they look just like > a normal machine to the users inside them, and there shouldn't be any problem > with me getting used to them. My current mail server is an old 700mhz Pentium > III (I think), so performance is unimportant. I guess VM's have some kind of > web or VNC console I can log into for the initial install (and if I screw up > remote access)? > > 1. Are these suppositions right? > 2. Any recommendations for cheap / reliable hosting providers, please? > > I expect to use Gentoo because I've hardly used any other distro for years, > and find others less intuitive. > > Thanks, > > Stroller. Hi Stroller, I use Linode for my cloud web and email server. It was very easy to set up and has not had any downtime since it was set up (a year or so ago.) I don't use the web gui for access much (generally only for DNS management which they do well also.) Though I've used the lish console accessible from the GUI. I recommend them! Todd
Re: [gentoo-user] After sdcard failure / filesystem corruption...out pf pure curiosity...
On 26/03/2017 14:14, tu...@posteo.de wrote: Hi, ok, seems that at least the data of one of the three partitions of my sdcard is toasted... But it would be interesting to check, what the initial (?) reason for that failure is: Hardware or logic -- sdcard or filesystem. that failure very seldom happens with spinning disks it very often happens with SDcards chances are *huge* that it's the card itself Is there any flash-memory-friendly and -aware checker out there, which detects sectors which cannot be recovered back to functioning? Not really, to my knowledge no-one has figured out a metric that shows increased odds of pending failure for SD cards. They just stop working one day. A lot like fuses actually - there's no way to examine a fuse and predict when it's likely to blow. Lesson to be learned: SD cards should only contain stuff you are happy to lose, or of which you have several backups -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] After sdcard failure / filesystem corruption...out pf pure curiosity...
Hi, ok, seems that at least the data of one of the three partitions of my sdcard is toasted... But it would be interesting to check, what the initial (?) reason for that failure is: Hardware or logic -- sdcard or filesystem. Is there any flash-memory-friendly and -aware checker out there, which detects sectors which cannot be recovered back to functioning? Thank a lot for any help in advance! Cheers Meino
[gentoo-user] Re: About the MATE desktop applications menu
Mick writes: > On Sunday 26 Mar 2017 02:51:50 Harry Putnam wrote: >> Just curious is anyone else running the mate desktop has this same >> shortfall. >> >> Usually in the Applications menu top right the last item on the menu >> is a `run' command item where you can type in a command to be run. >> >> My fairly recently installed mate dt does not have that. Wondered if >> others have that item in their `applications' menu. >> >> Or maybe there is some other bit of MATE I have yet to install. > > From what I recall I could click on the desktop and type a > command/application. Plasma also has something similar. I don't use the desktop click much ... not for any good reason just didn't ever creep into how I operate a desktop. Oddly I had not noticed that in this install ... clicking the DT produces nothing whatsoever. Must be something a litte messed up here somewhere
Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)
On 26/03/17 17:24, tu...@posteo.de wrote: On 03/26 04:50, Bill Kenworthy wrote: On 26/03/17 15:26, tu...@posteo.de wrote: On 03/26 03:04, Bill Kenworthy wrote: On 26/03/17 14:25, tu...@posteo.de wrote: On 03/26 05:50, tu...@posteo.de wrote: On 03/26 11:21, Adam Carter wrote: Step 1: dd the contents into an image ddrescue is probably a better option than plain dd. step 2: put the sdcard to one side. step 3: loopback mount a copy of the image (not the original) step 4: try recovering the filesystem on the loopback, if it fails ... try something else on another image copy Yep, once you've got the image mounted loopback, you can run testdisk/photorec depending on how bad it is. Hi all, thanks a lot for all help! :) Currently I am ddresucueing the flashcard to the harddisc. Next I will try to mount the sdcard. What reliable sdcard-reader can one recommend ? (...sorry if this sentence sounds harsh...I it by no means meant that way...I am no native speaker... :) Cheers Meino Hi, Is the assumption correct, that -- if ddrescue could read each partitions of the sdcard without stuttering, retries and errors -- the sdcard itsself is ok and "only" the logical structure (fs, superblock etc) got damaged? Or do I overlook something? (Background: I dont want to put a sdcard into the bin, if fdisking & reformatting that beast would gives me back an ok media...) Cheers Meino The dd gets you the best chance to work on the data before it completely fails. In my experience the sdcard will only get worse ending with total failure - if it hasn't already. If the dd dump comes up rubbish and cant be recovered, the actual sdcard will be worse. You can run "strings" against the image to see if there is any text in there (or even cat the /dev/sdcard node through strings) to see if the bits are still there. I dont know of a cdparanoia type recovery utility for sdcards but I suspect sdcard design means that approach wont work. BillK Hi Bill, I got mixed results: There are three partitions on the sdcard from which I could fully recover (even mount it directly via loop device) the first and the third one. The second one is screwed up. Running fsch.ext4 against the image it starts with "bad superblock" and suggests two alternatives. I started fsch.ext4 again while using -b to define the alternate superblock and it starts to ask me *zillions of question, which I all answered with 'yes' in a first attempt (I have a backup of the image...). The result was an image, which I could mount again. But beside 'lost+found' with some small rests of something which may be files in a previous life nothing was there Currently it looks to me, that something has totally messed up the fs there. What do you think? Cheers Meino Sounds like its toast :( I have never had a lot of luck with any of the ext file systems - you have to baby them and they corrupt very easily compared to others. I try and avoid them ... BillK Hi Bill, ...the SDcard is for my Android tablet, which runs kernel 3.6.x.something (Lollipop) if I remember correctly. With the App Linux Deploy I installed Linux on another partition of the sdcard and used to chroot into it. With what filesystem did you made good experiences of, Bill? My GENTOO PC (with which I am currently writing this email) also uses ext4...and your last mail makes me nervous...very nervous... For my tablet I have to use an filesystem, which is supported by and compiled into the kernel. Unfortunately, there is no alternative Android build for this tablet... In this case it is ext4 and vfat...and of that both I think ext4 is better... Cheers Meino I used to prefer reiserfs ... more robust in some ways, less in others ... BUT I almost always was able to rescue files or whole filesystems with reiserfs, not so with ext*. These days I prefer btrfs ... again not perfect but with OS disks are single and the rest are bcache/ssd fronted btrfs raid10's my main issue is running out of space. Problems with the ext series were inability to deal with dirvish backup (corrupted), running out of inodes, terminal corruption when running out of space, silent corruption with hibernation, data loss/corruption on abrupt power loss, and it goes on ... Current sdcards are either vfat for win compatibility (no choice) or btrfs (raspberry pi). Just turned off my older rpi model 1B which is ext 4 earlier this morning - been corrupted and reimaged a few times! File systems seem to be very much YMMV - each use, load and environment present a different set of requirements and problems. BillK
Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)
On Sunday 26 Mar 2017 20:37:08 Adam Carter wrote: > I did that already. > > > Gives me a lot of files with unrelated names. > > Think of your GENTOO box with all names renamed > > to something like > > > > [index number].[filetype] > > > > . So you got back your data but cannot use > > it, since the names got lost. > > > > For images this is not a big deal...display them > > and you know probably how to rename them back > > to something useful. > > > > But what file is (for example) > > > > -rwxr-xr-x 1 root root 4083 2011-11-22 03:46 file002873.bin > > Does file file002873.bin provide any help? > > And yes, its a real pain to loose the filenames! Some years ago I had to revive a removable drive that someone had repeatedly snatched out of the machine without unmounting it first. I tried photorec and pals and had the same impenetrable maze of unhelpful file names as Adam's. I know it's not much help, but I eventually found another utility that just swept through and put everything back together again, humpty- dumpty fashion. I wish I could remember what the utility was. Sorry. But it is out there somewhere in Google-land. -- Regards Peter
Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)
Hi tuxic, That looks like an output from photorec. Generally photorec only reads the whole disk block by block, when it finds information in the filesystem's metadata - either inode table or inodes themselves - you're lucky and you get filenames, otherwise you only get that kind of output. Consider that all those items might as well be deleted items, so you might be getting back a lot of cruft. I never had to use the functionality so I cannot comment on how good it works, but testdisk allows you to restore partitions by scanning the entire disk/image searching for superblocks and partition metadata. That might give you a chance of restoring the superblock of the partition and salvaging at least some part of the data. See a guide on testdisk's official website -> http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step Consider that by default ext4 partitions should have superblock backups spread out at fixed intervals during the filesystem creation, so this should work better than trying to blindly carve the data out of the partition. Before applying fixes to the image file make a backup in case something gets screwed up :-) Testdisk might detect additional stuff that looks like partition info, but it's not. Il giorno dom 26 mar 2017 alle ore 11:37 ha scritto: > On 03/26 08:10, Adam Carter wrote: > > > Currently I am ddresucueing the flashcard to the harddisc. > > >>> Next I will try to mount the sdcard. > > >>> > > >>> > > I hope you meant to say "mount the sdcard image". Once ddrescue has done > > its best, you wont try to use the sdcard again. > > > > Also, you probably want to copy the image first, because when you try to > > fix it you will perform writes, and you dont want to lock yourself out of > > other recovery options by making potentially damaging writes. > > > > > > > What reliable sdcard-reader can one recommend ? > > >>> > > >> > > I'm not sure what you mean here given that you're making an image with > > ddrescue. > > > > Is the assumption correct, that -- if ddrescue could read each > > >> partitions of the sdcard without stuttering, retries and errors -- > > >> > > > the sdcard itsself is ok and "only" the logical structure > > >> (fs, superblock etc) got damaged? > > >> Or do I overlook something? > > >> > > > > > If ddrescue can read it cleanly with no retries (in which case it will > > offer no benefit over dd) then yes, I agree. However, given the cost of a > > card and the cost of your time and the risk to your data, I wouldnt be > > using it. > > > > > > > I dont know of a cdparanoia type recovery utility for sdcards but I > > > suspect sdcard design means that approach wont work. > > > > > > > I would just use photorec against a copy of the image. I have done this > in > > the past and recovered many files from a ddrescued image of a failing USB > > drive, however, all the filenames were lost. > > Hi, > > I copied the image of course and umounted the sdcard as soon as > possible. > > As in my previous posting, as long the recovered files are images, > the lost of filenames my be annoying... > But in case of files of a Android system (from which the sdcard > originates) the lost of filenames is equivaltent to the lost of > the file itsself... > > Cheers > Meino > > > > >
Re: [gentoo-user] Strange IPv6 behaviour
On Sat, 25 Mar 2017 12:36:04 +0100 Alarig Le Lay wrote: > Hi, > > On one of my machines, I have two public IPv6 from two different > providers (one natively, another by VPN). I use ip -6 rule to make both > pingable. > > I see some strange things on the native one. It stops responding from > time to time. Here are some examples of mtr: > https://paste.swordarmor.fr/raw/mXVT > > At this time, the other IPv6 (bulbizarre.swordarmor.fr) works normally. > > And if I do the same test on another machine in the same LAN, no loss: > https://paste.swordarmor.fr/raw/XGbK > > I have this routing table: > alarig@bulbizarre ~ $ ip -6 rule list > 0:from all lookup local > 31010:from 2a01:cb08:898c:fc00:9913:b7a:b9bf:d30c lookup 3215 > 31100:from all lookup 51083 > 32766:from all lookup main > alarig@bulbizarre ~ $ ip -6 route show > 2a00:5881:4008:400::/64 dev tun0 proto kernel metric 256 pref medium > 2a01:cb08:898c:fc00::/64 dev eth0 proto kernel metric 4 pref medium > fe80::/64 dev eth0 proto kernel metric 256 pref medium > fe80::/64 dev tun0 proto kernel metric 256 pref medium > fe80::/64 dev tun-mysql proto kernel metric 256 pref medium > default via fe80::20d:b9ff:fe3a:1fa1 dev eth0 metric 4 pref medium > alarig@bulbizarre ~ $ ip -6 route show table 3215 > 2a01:cb08:898c:fc00::/64 dev eth0 metric 1024 pref medium > default via fe80::20d:b9ff:fe3a:1fa1 dev eth0 metric 1024 pref medium > alarig@bulbizarre ~ $ ip -6 route show table 51083 > default dev tun0 metric 1024 pref medium > > I’m using the kernel 4.9.16-gentoo. > > I’m running out of ideas, so I ask for your help :) Run tcpdump -w on both sides. Compare dumps when connection stalls and when it works fine. Many reasons are possible, it's hard to guess from data you provided. But it makes me wonder why you have default via VPN and given address via eth0. This may lead to undesirable consequences like VPN carrier (or some aux request) trying to go through its own VPN tunnel. Best regards, Andrew Savchenko pgp3fIREW1JZ4.pgp Description: PGP signature
Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)
I did that already. > Gives me a lot of files with unrelated names. > Think of your GENTOO box with all names renamed > to something like > > [index number].[filetype] > > . So you got back your data but cannot use > it, since the names got lost. > > For images this is not a big deal...display them > and you know probably how to rename them back > to something useful. > > But what file is (for example) > > -rwxr-xr-x 1 root root 4083 2011-11-22 03:46 file002873.bin > Does file file002873.bin provide any help? And yes, its a real pain to loose the filenames!
Re: [gentoo-user] Still struggling with starting X and enlightenment desktop
On 26/03/2017 01:24, Mick wrote: On Saturday 25 Mar 2017 21:08:14 Alan McKinnon wrote: On 25/03/2017 18:23, Mick wrote: After years of running KDM to start various desktop environments flawlessly (KDE, fluxbox, enlightenment, plasma) I had to replace it with SDDM. With the arrival of x11-misc/sddm-0.14.0-r2 I am still able to start a session with enlightenment, but I am getting access rights errors, for example my user is unable to mount a USB stick. Also, when I log out it logs me back in the first time and then logs out normally the second time I try to log out. I am guessing something which should be sourced, is not, but I don't know how to fix it. For years now I have had the following files in place to control what desktop manager starts: $ cat /etc/env.d/90xsession XSESSION="enlightenment" $ cat /etc/X11/Sessions/enlightenment #!/bin/sh if [ -x /usr/bin/gpg-agent ]; then eval "$(/usr/bin/gpg-agent --daemon)" fi /usr/bin/enlightenment_start cat ~/.xsession #!/bin/sh if [ -x /usr/bin/gpg-agent ]; then kill $(ps ux | awk '/gpg-agent/ && !/awk/ {print $2}') >/dev/null 2>&1 fi if [ -x /usr/bin/gpg-agent ]; then eval "$(/usr/bin/gpg-agent --daemon)" fi if [ -x /usr/bin/urxvtd ]; then /usr/bin/urxvtd --opendisplay --fork --quiet fi /usr/bin/enlightenment_start I keyworded x11-misc/sddm-0.14.0-r3 and discovered enlightenment complains it can't run the compositor with OpenGL. I tried starting a X session from the console without DM, with 'startx /usr/bin/enlightenment_start' but I also get similar symptoms, including inability to run compositor with OpenGL. I get errors like this in ~/.xsession-errors: ERR<5100>:eina_safety lib/efreet/efreet_ini.c:299 efreet_ini_string_get() safety check failed: ini->section == NULL (gkrellm:5117): Gtk-CRITICAL **: IA__gtk_box_reorder_child: assertion 'GTK_IS_WIDGET (child)' failed ERR<5141>:eldbus lib/eldbus/eldbus_proxy.c:818 _props_get_all() Error getting all properties of org.freedesktop.UDisks2/org/freedesktop/UDisks2/block_devices/s da1, error message: org.enlightenment.DBus.Canceled Canceled by user. I also tried entrance from bar overlay (it has not been updated in a while and has a dependency on an obsolete package), slim (won't log me in) and lightdm. When I run lightdm there are no such problems, enlightenment starts with OpenGLcompositor, I can mount USB disks, but lightdm installed and is running much more than what I really need for my desktop. Is there a way I can start enlightenment without running into all these kind of errors? Can you see something wrong in my file contents above? Your files look OK to me so I have no idea why you get those erro. You also say lightdm wrks correctly, so lookee here: alan@khamul ~/gitwork/ansible $ equery size lightdm * x11-misc/lightdm-1.21.5 Total files : 119 Total size : 1.91 MiB alan@khamul ~/gitwork/ansible $ equery size sddmdm !!! No installed packages matching 'sddmdm' alan@khamul ~/gitwork/ansible $ equery size sddm * x11-misc/sddm-0.14.0-r2 Total files : 192 Total size : 4.78 MiB The on that works is smaller and lighter than the one that doesn't. I say dump sddm and stick with lightdm which works :-) Yes, the thought crossed my mind. ;-) It is smaller as a package as you noted, but it is running gnomey stuff like /usr/libexec/accounts-daemon, /usr/libexec/gconfd-2 and perhaps /usr/libexec/at-spi-bus-launcher, which I am not sure I need. Either way, if I were to start enlightenment with startx and skip using a DM altogether, is there a way of starting enlightenment and ensuring it has the appropriate access rights to run udisks2 and OpenGL? You'll probably get better answers over at the enlightenment user list. Now many folks here use e, I know I stopped years ago -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Difficulty setting up apache, php and joomla
On Sunday 26 Mar 2017 09:28:32 Peter Humphrey wrote: > I notice that no-one has mentioned WordPress. I had a look at it, but was > scared off by the Gentoo devs' waving around of garlic and crosses. Drupal 8, which is the current version under active development, requires updating the core installation once every couple of months on average. You may need to also update the odd drupal module every couple of weeks. Wordpress core also requires updating every 2-3 months, but Wordpress modules require updating on a weekly basis. Of course the above is a generalisation and 'your mileage may differ' depending on the amount of modules you install to provide the desired functionality on your website. In my experience Wordpress has a higher workload to keep going without getting hacked. The Gentoo devs are waving around garlic and crosses for good reasons. Wordpress has a bad reputation for being easily hacked, but this may also be because a lot of Wordpress users install and forget with the inevitable dire consequences. In either case it is best you register with necessary mailing lists to receive security announcements and run immediate updates, or apply workarounds, when a vulnerability is revealed. With script kiddies and state actors at it, it doesn't take long before you lose control of your installation these days. However, for websites which are to be maintained by non-technical users I would recommend one of many ready made solutions provided by web hosting ISPs like https://www.weebly.com. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)
On 03/26 08:10, Adam Carter wrote: > > Currently I am ddresucueing the flashcard to the harddisc. > >>> Next I will try to mount the sdcard. > >>> > >>> > I hope you meant to say "mount the sdcard image". Once ddrescue has done > its best, you wont try to use the sdcard again. > > Also, you probably want to copy the image first, because when you try to > fix it you will perform writes, and you dont want to lock yourself out of > other recovery options by making potentially damaging writes. > > > > What reliable sdcard-reader can one recommend ? > >>> > >> > I'm not sure what you mean here given that you're making an image with > ddrescue. > > Is the assumption correct, that -- if ddrescue could read each > >> partitions of the sdcard without stuttering, retries and errors -- > >> > > the sdcard itsself is ok and "only" the logical structure > >> (fs, superblock etc) got damaged? > >> Or do I overlook something? > >> > > > If ddrescue can read it cleanly with no retries (in which case it will > offer no benefit over dd) then yes, I agree. However, given the cost of a > card and the cost of your time and the risk to your data, I wouldnt be > using it. > > > > I dont know of a cdparanoia type recovery utility for sdcards but I > > suspect sdcard design means that approach wont work. > > > > I would just use photorec against a copy of the image. I have done this in > the past and recovered many files from a ddrescued image of a failing USB > drive, however, all the filenames were lost. Hi, I copied the image of course and umounted the sdcard as soon as possible. As in my previous posting, as long the recovered files are images, the lost of filenames my be annoying... But in case of files of a Android system (from which the sdcard originates) the lost of filenames is equivaltent to the lost of the file itsself... Cheers Meino
Re: [gentoo-user] Network device polling -> web interface
> librenms I've run it up, and things certainly have moved on since the MRTG days! However, it doesnt seem to give things like IP addresses, routes etc. I'm thinking i probably need something more "asset database"y. AFAIK the monitoring side is already in hand. I believe the users may want to, say, quickly dump the layer3 network info, by clicking on the device link.
Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)
On 03/26 08:18, Adam Carter wrote: > > I got mixed results: There are three partitions on the sdcard from > > which I could fully recover (even mount it directly via loop device) > > the first and the third one. > > > > The second one is screwed up. > > > > Running fsch.ext4 against the image it starts with "bad superblock" > > and suggests two alternatives. > > > > I started fsch.ext4 again while using -b to define the alternate > > superblock and it starts to ask me *zillions of question, which > > I all answered with 'yes' in a first attempt (I have a backup of the > > image...). > > The result was an image, which I could mount again. > > But beside 'lost+found' with some small rests of something which > > may be files in a previous life nothing was there... > > > In that case its photorec time against the copy of the image (see previous > note about only working on a copy - the changes that fsck makes may > compromise photorec's efficacy). Probably worth reading the testdisk and > photorec man pages first. I did that already. Gives me a lot of files with unrelated names. Think of your GENTOO box with all names renamed to something like [index number].[filetype] . So you got back your data but cannot use it, since the names got lost. For images this is not a big deal...display them and you know probably how to rename them back to something useful. But what file is (for example) -rwxr-xr-x 1 root root 4083 2011-11-22 03:46 file002873.bin which is located somewhere in the Marianna trench of an Android system??? Hm... Currently I am playing with different kinds of "get lost" it seems...
Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)
On 03/26 04:50, Bill Kenworthy wrote: > On 26/03/17 15:26, tu...@posteo.de wrote: > > On 03/26 03:04, Bill Kenworthy wrote: > > > On 26/03/17 14:25, tu...@posteo.de wrote: > > > > On 03/26 05:50, tu...@posteo.de wrote: > > > > > On 03/26 11:21, Adam Carter wrote: > > > > > > Step 1: dd the contents into an image > > > > > > > > > > > > ddrescue is probably a better option than plain dd. > > > > > > > > > > > > step 2: put the sdcard to one side. > > > > > > > step 3: loopback mount a copy of the image (not the original) > > > > > > > step 4: try recovering the filesystem on the loopback, if it > > > > > > > fails ... try > > > > > > > something else on another image copy > > > > > > > > > > > > > > > > > > Yep, once you've got the image mounted loopback, you can run > > > > > > testdisk/photorec depending on how bad it is. > > > > > > > > > > Hi all, > > > > > > > > > > thanks a lot for all help! :) > > > > > > > > > > Currently I am ddresucueing the flashcard to the harddisc. > > > > > Next I will try to mount the sdcard. > > > > > > > > > > What reliable sdcard-reader can one recommend ? > > > > > (...sorry if this sentence sounds harsh...I it by no means meant > > > > > that way...I am no native speaker... :) > > > > > > > > > > Cheers > > > > > Meino > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > Is the assumption correct, that -- if ddrescue could read each > > > > partitions of the sdcard without stuttering, retries and errors -- > > > > the sdcard itsself is ok and "only" the logical structure > > > > (fs, superblock etc) got damaged? > > > > Or do I overlook something? > > > > > > > > (Background: I dont want to put a sdcard into the bin, if > > > > fdisking & reformatting that beast would gives me back an ok > > > > media...) > > > > > > > > Cheers > > > > Meino > > > > > > > > > > > > > > > > > > > > > > The dd gets you the best chance to work on the data before it completely > > > fails. In my experience the sdcard will only get worse ending with total > > > failure - if it hasn't already. > > > > > > If the dd dump comes up rubbish and cant be recovered, the actual sdcard > > > will be worse. You can run "strings" against the image to see if there is > > > any text in there (or even cat the /dev/sdcard node through strings) to > > > see > > > if the bits are still there. > > > > > > I dont know of a cdparanoia type recovery utility for sdcards but I > > > suspect > > > sdcard design means that approach wont work. > > > > > > BillK > > > > > > > > > > > > > Hi Bill, > > > > I got mixed results: There are three partitions on the sdcard from > > which I could fully recover (even mount it directly via loop device) > > the first and the third one. > > > > The second one is screwed up. > > > > Running fsch.ext4 against the image it starts with "bad superblock" > > and suggests two alternatives. > > > > I started fsch.ext4 again while using -b to define the alternate > > superblock and it starts to ask me *zillions of question, which > > I all answered with 'yes' in a first attempt (I have a backup of the > > image...). > > The result was an image, which I could mount again. > > But beside 'lost+found' with some small rests of something which > > may be files in a previous life nothing was there > > > > Currently it looks to me, that something has totally messed up the fs > > there. > > > > What do you think? > > > > Cheers > > Meino > > > > > > > > > > > Sounds like its toast :( > > I have never had a lot of luck with any of the ext file systems - you have > to baby them and they corrupt very easily compared to others. I try and > avoid them ... > > BillK > > > Hi Bill, ...the SDcard is for my Android tablet, which runs kernel 3.6.x.something (Lollipop) if I remember correctly. With the App Linux Deploy I installed Linux on another partition of the sdcard and used to chroot into it. With what filesystem did you made good experiences of, Bill? My GENTOO PC (with which I am currently writing this email) also uses ext4...and your last mail makes me nervous...very nervous... For my tablet I have to use an filesystem, which is supported by and compiled into the kernel. Unfortunately, there is no alternative Android build for this tablet... In this case it is ext4 and vfat...and of that both I think ext4 is better... Cheers Meino
Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)
> I got mixed results: There are three partitions on the sdcard from > which I could fully recover (even mount it directly via loop device) > the first and the third one. > > The second one is screwed up. > > Running fsch.ext4 against the image it starts with "bad superblock" > and suggests two alternatives. > > I started fsch.ext4 again while using -b to define the alternate > superblock and it starts to ask me *zillions of question, which > I all answered with 'yes' in a first attempt (I have a backup of the > image...). > The result was an image, which I could mount again. > But beside 'lost+found' with some small rests of something which > may be files in a previous life nothing was there... In that case its photorec time against the copy of the image (see previous note about only working on a copy - the changes that fsck makes may compromise photorec's efficacy). Probably worth reading the testdisk and photorec man pages first.
Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)
> Currently I am ddresucueing the flashcard to the harddisc. >>> Next I will try to mount the sdcard. >>> >>> I hope you meant to say "mount the sdcard image". Once ddrescue has done its best, you wont try to use the sdcard again. Also, you probably want to copy the image first, because when you try to fix it you will perform writes, and you dont want to lock yourself out of other recovery options by making potentially damaging writes. > What reliable sdcard-reader can one recommend ? >>> >> I'm not sure what you mean here given that you're making an image with ddrescue. Is the assumption correct, that -- if ddrescue could read each >> partitions of the sdcard without stuttering, retries and errors -- >> > the sdcard itsself is ok and "only" the logical structure >> (fs, superblock etc) got damaged? >> Or do I overlook something? >> > If ddrescue can read it cleanly with no retries (in which case it will offer no benefit over dd) then yes, I agree. However, given the cost of a card and the cost of your time and the risk to your data, I wouldnt be using it. > I dont know of a cdparanoia type recovery utility for sdcards but I > suspect sdcard design means that approach wont work. > I would just use photorec against a copy of the image. I have done this in the past and recovered many files from a ddrescued image of a failing USB drive, however, all the filenames were lost.
[gentoo-user] Strangeness with Grub and Win7 partitions
Hi all, Don't know if it's my machine or a bug somewhere in Grub, but I have a dual boot setup /dev/sda - Linux, /dev/sdb - Win7, that grub-mkconfig would find correctly and build the grub.cfg file for. Or it did in the past. I hadn't had call to boot into Win7 for a while but kept building Linux kernels and running grub-mkconfig. Linux always booted correctly but recently upon trying to boot Win7 it failed. Investigation shows that my Win7 partition isn't being found. Manually adding it to grub.cfg fixed the boot problem. I have not changed anything in the way I run grub-mkconfig, I have os-prober installed and when booted into Linux can see and use any of the partitions in the Win7 install, ie ntfs3g is installed and working. Does anyone have any ideas as to what's going wrong? Thanks, Andrew
Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)
On 26/03/17 15:26, tu...@posteo.de wrote: On 03/26 03:04, Bill Kenworthy wrote: On 26/03/17 14:25, tu...@posteo.de wrote: On 03/26 05:50, tu...@posteo.de wrote: On 03/26 11:21, Adam Carter wrote: Step 1: dd the contents into an image ddrescue is probably a better option than plain dd. step 2: put the sdcard to one side. step 3: loopback mount a copy of the image (not the original) step 4: try recovering the filesystem on the loopback, if it fails ... try something else on another image copy Yep, once you've got the image mounted loopback, you can run testdisk/photorec depending on how bad it is. Hi all, thanks a lot for all help! :) Currently I am ddresucueing the flashcard to the harddisc. Next I will try to mount the sdcard. What reliable sdcard-reader can one recommend ? (...sorry if this sentence sounds harsh...I it by no means meant that way...I am no native speaker... :) Cheers Meino Hi, Is the assumption correct, that -- if ddrescue could read each partitions of the sdcard without stuttering, retries and errors -- the sdcard itsself is ok and "only" the logical structure (fs, superblock etc) got damaged? Or do I overlook something? (Background: I dont want to put a sdcard into the bin, if fdisking & reformatting that beast would gives me back an ok media...) Cheers Meino The dd gets you the best chance to work on the data before it completely fails. In my experience the sdcard will only get worse ending with total failure - if it hasn't already. If the dd dump comes up rubbish and cant be recovered, the actual sdcard will be worse. You can run "strings" against the image to see if there is any text in there (or even cat the /dev/sdcard node through strings) to see if the bits are still there. I dont know of a cdparanoia type recovery utility for sdcards but I suspect sdcard design means that approach wont work. BillK Hi Bill, I got mixed results: There are three partitions on the sdcard from which I could fully recover (even mount it directly via loop device) the first and the third one. The second one is screwed up. Running fsch.ext4 against the image it starts with "bad superblock" and suggests two alternatives. I started fsch.ext4 again while using -b to define the alternate superblock and it starts to ask me *zillions of question, which I all answered with 'yes' in a first attempt (I have a backup of the image...). The result was an image, which I could mount again. But beside 'lost+found' with some small rests of something which may be files in a previous life nothing was there Currently it looks to me, that something has totally messed up the fs there. What do you think? Cheers Meino Sounds like its toast :( I have never had a lot of luck with any of the ext file systems - you have to baby them and they corrupt very easily compared to others. I try and avoid them ... BillK
Re: [gentoo-user] Difficulty setting up apache, php and joomla
On Saturday 25 Mar 2017 21:26:04 Daniel Campbell wrote: > On 03/25/2017 09:13 AM, Mick wrote: > > On Saturday 25 Mar 2017 11:13:36 Michael Orlitzky wrote: > >> On 03/25/2017 10:48 AM, Peter Humphrey wrote: > >>> I'm setting up a new little box to be a web development server, to > >>> develop a new website for my choir. I have it running with the old > >>> site, hand-crafted from HTML and CSS, but after installing joomla > >>> into the new site and on attempting to open index.php to configure > >>> it, as instructed, I get this in > >>> /var/log/apache2/error_log: --->8 > >> Joomla 3.4.x is not compatible with php-7.x: > >>https://downloads.joomla.org/technical-requirements#footnote-3xPHP Ah. I missed that - thanks. I hadn't properly noticed that PHP had moved on to version 7 since I last played with Joomla. > >> You'll need Joomla 3.5 at least. > >> > >> Or if you want some unsolicited advice and you're not picky about the > >> CMS: avoid Joomla. The user interface is incomprehensible, updates > >> require manual intervention, extensions are hard to write, and there's > >> a culture of paid support for things that should just work. That explains my blank expression when confronted with that terrifying blank page. :-) > > Your error is due to Joomla, not apache. I also recommend you give > > Joomla a wide berth and use Drupal instead, or select a responsive > > design static template from the interwebs. There are a few free > > templates around which will do a fine job for a simple website. OK. I'm installing Drupal now. I only chose Joomla after a good deal of searching the web for recommendations - at least some of which ought to have agreed with you two gents' opinion. > If I may piggyback on the recommendations: > > Pelican (powered by Python) is a very powerful static site generator, > and deployment is basically whatever you want it to be. Pages are > basically plaintext (markdown or asciidoc by default iirc) and the theme > (template + CSS) is completely separate from the content. It supports > translation with standard gettext, too. I use it to power my personal > site. I write posts, commit and push remotely, and use a post-commit > hook to rsync the generated HTML into the webroot. If that sounds cool, > check it out. [1] It might meet your needs. Pelican looks interesting; I may follow it up. I didn't say this before (one thing at a time, eh?) but I need to build a site that another choirman can take over from me at some time. That seems to rule out anything that smacks of script writing, because as far as I know, nobody else has the slightest interest in computers, never mind programming. I notice that no-one has mentioned WordPress. I had a look at it, but was scared off by the Gentoo devs' waving around of garlic and crosses. > If you must go PHP, you might want to take a look at the PHP-FIG[2] > (Framework Interoperability Group). I can't say I'm 100% in favor of > their decisions, but their work has led to some standardization in the > PHP world and you might find more modern tools through them. Another helpful idea. > Best of luck with your site, Peter! Thank you all for your advice. I'm grateful. -- Regards Peter
Re: [gentoo-user] Few blockers left
On March 25, 2017 8:36:01 PM GMT+01:00, Alan McKinnon wrote: >On 25/03/2017 16:37, the...@sys-concept.com wrote: >> On 03/25/2017 03:00 AM, Alan McKinnon wrote: >>> On 25/03/2017 09:49, the...@sys-concept.com wrote: I'm upgrading my last system and have few blockers left: >>> >>> Those are not blockers. >>> >>> The part of emerge output above this, the bit you snipped out, shows >>> *what* portage wants to do. >>> >>> The bits below show you *why* it's doing that - usually why it's not >>> upgrading to the latest version of a number of packages. >>> >>> Learn to read the portage output. It is vastly more complicated with >way >>> too many !!! and *** and ### characters to alarm you needlessly, but >it >>> cna nevertheless be understood. >>> >>> And those are not blockers. A blocker is a very specific thing, >which >>> these are not >>> >>> >>> !!! Multiple package instances within a single package slot have >been pulled !!! into the dependency graph, resulting in a slot conflict: x11-libs/libxcb:0 (x11-libs/libxcb-1.12:0/1.12::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this >slot) (x11-libs/libxcb-1.11.1:0/1.11.1::gentoo, ebuild scheduled for merge) pulled in by >=x11-libs/libxcb-1.9.3:0/1.11.1=[abi_x86_32(-),abi_x86_64(-)] required by (media-libs/mesa-12.0.1:0/0::gentoo, installed) ^^ sys-fs/eudev:0 (sys-fs/eudev-3.1.5:0/0::gentoo, ebuild scheduled for merge) >pulled in by (no parents that aren't satisfied by other packages in this >slot) (sys-fs/eudev-3.1.5:0/0::gentoo, installed) pulled in by > >=sys-fs/eudev-1.3:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,static-libs?] required by (virtual/libudev-215-r1:0/1::gentoo, installed) sys-libs/libcap:0 (sys-libs/libcap-2.24-r2:0/0::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this >slot) (sys-libs/libcap-2.24-r2:0/0::gentoo, installed) pulled in by >sys-libs/libcap[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (sys-fs/udev-225-r1:0/0::gentoo, ebuild scheduled for >merge) - Would clean-up some USE flags help? USE="-gnome -kde -minimal -qt3 -qt4 -hal X branding lock consolekit session \ startup-notification thunar alsa cdr cups apache2 ssl foomaticdb >ppds mysql -acl \ java tiff jpeg png usb fbdev scanner gimp cgi fam nplt type1 opengl tetex \ dbus policykit spell -systemd" >> >> I did not "snip" any relevant information. I try to run: >> >> emerge --update -q --newuse --deep --with-bdeps=y --tree @system >> >> and there are no blockers showing up but a slot conflict. > > >You got no other output? Portage then quit quickly, decided to d >nothing >and then gave you the below? > > > >> >> !!! Multiple package instances within a single package slot have been >pulled >> !!! into the dependency graph, resulting in a slot conflict: >> >> sys-apps/util-linux:0 >> >> (sys-apps/util-linux-2.28.2:0/0::gentoo, ebuild scheduled for >merge) pulled in by >> (no parents that aren't satisfied by other packages in this slot) >> >> (sys-apps/util-linux-2.26.2:0/0::gentoo, installed) pulled in by >> >>=sys-apps/util-linux-2.24.1-r3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >required by (x11-libs/libSM-1.2.2-r1:0/0::gentoo, installed) >> >> >> !!! All ebuilds that could satisfy >">=sys-libs/ncurses-5.2-r2:0/5=[unicode]" have been masked. >> !!! One of the following masked packages is required to complete your >request: >> - sys-libs/ncurses-5.9-r5::gentoo (masked by: ) >> >> (dependency required by "sys-apps/util-linux-2.26.2::gentoo" >[installed]) >> (dependency required by "@__auto_slot_operator_replace_installed__" >[argument]) >^^^ >I missed this earlier. That is new, I have no idea what it means >> >> >> I can not unmerge sys-apps/util-linux as I might damage the system. >> I've unmerge sys-libs/ncurses-6.0-r1 but it still giving me that >error. > > >with ncurses above, portage says it needs ncurses version >5.2-r2 with >subslot 0/5 and unicode set in USE. It doesn't say WHY it needs it, >only >that it does, but something in your system configs prevents it. > >Start with: >grep -r unicode /etc/portage >grep -r ncurses /etc/portage > >That tends to show quickly why you have a USE unset or if
Re: [gentoo-user] About the MATE desktop applications menu
On Sunday 26 Mar 2017 02:51:50 Harry Putnam wrote: > Just curious is anyone else running the mate desktop has this same > shortfall. > > Usually in the Applications menu top right the last item on the menu > is a `run' command item where you can type in a command to be run. > > My fairly recently installed mate dt does not have that. Wondered if > others have that item in their `applications' menu. > > Or maybe there is some other bit of MATE I have yet to install. From what I recall I could click on the desktop and type a command/application. Plasma also has something similar. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)
On 03/26 03:04, Bill Kenworthy wrote: > On 26/03/17 14:25, tu...@posteo.de wrote: > > On 03/26 05:50, tu...@posteo.de wrote: > > > On 03/26 11:21, Adam Carter wrote: > > > > Step 1: dd the contents into an image > > > > > > > > ddrescue is probably a better option than plain dd. > > > > > > > > step 2: put the sdcard to one side. > > > > > step 3: loopback mount a copy of the image (not the original) > > > > > step 4: try recovering the filesystem on the loopback, if it fails > > > > > ... try > > > > > something else on another image copy > > > > > > > > > > > > Yep, once you've got the image mounted loopback, you can run > > > > testdisk/photorec depending on how bad it is. > > > > > > Hi all, > > > > > > thanks a lot for all help! :) > > > > > > Currently I am ddresucueing the flashcard to the harddisc. > > > Next I will try to mount the sdcard. > > > > > > What reliable sdcard-reader can one recommend ? > > > (...sorry if this sentence sounds harsh...I it by no means meant > > > that way...I am no native speaker... :) > > > > > > Cheers > > > Meino > > > > > > > > > > Hi, > > > > Is the assumption correct, that -- if ddrescue could read each > > partitions of the sdcard without stuttering, retries and errors -- > > the sdcard itsself is ok and "only" the logical structure > > (fs, superblock etc) got damaged? > > Or do I overlook something? > > > > (Background: I dont want to put a sdcard into the bin, if > > fdisking & reformatting that beast would gives me back an ok > > media...) > > > > Cheers > > Meino > > > > > > > > > > The dd gets you the best chance to work on the data before it completely > fails. In my experience the sdcard will only get worse ending with total > failure - if it hasn't already. > > If the dd dump comes up rubbish and cant be recovered, the actual sdcard > will be worse. You can run "strings" against the image to see if there is > any text in there (or even cat the /dev/sdcard node through strings) to see > if the bits are still there. > > I dont know of a cdparanoia type recovery utility for sdcards but I suspect > sdcard design means that approach wont work. > > BillK > > > Hi Bill, I got mixed results: There are three partitions on the sdcard from which I could fully recover (even mount it directly via loop device) the first and the third one. The second one is screwed up. Running fsch.ext4 against the image it starts with "bad superblock" and suggests two alternatives. I started fsch.ext4 again while using -b to define the alternate superblock and it starts to ask me *zillions of question, which I all answered with 'yes' in a first attempt (I have a backup of the image...). The result was an image, which I could mount again. But beside 'lost+found' with some small rests of something which may be files in a previous life nothing was there Currently it looks to me, that something has totally messed up the fs there. What do you think? Cheers Meino
Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)
On 26/03/17 14:25, tu...@posteo.de wrote: On 03/26 05:50, tu...@posteo.de wrote: On 03/26 11:21, Adam Carter wrote: Step 1: dd the contents into an image ddrescue is probably a better option than plain dd. step 2: put the sdcard to one side. step 3: loopback mount a copy of the image (not the original) step 4: try recovering the filesystem on the loopback, if it fails ... try something else on another image copy Yep, once you've got the image mounted loopback, you can run testdisk/photorec depending on how bad it is. Hi all, thanks a lot for all help! :) Currently I am ddresucueing the flashcard to the harddisc. Next I will try to mount the sdcard. What reliable sdcard-reader can one recommend ? (...sorry if this sentence sounds harsh...I it by no means meant that way...I am no native speaker... :) Cheers Meino Hi, Is the assumption correct, that -- if ddrescue could read each partitions of the sdcard without stuttering, retries and errors -- the sdcard itsself is ok and "only" the logical structure (fs, superblock etc) got damaged? Or do I overlook something? (Background: I dont want to put a sdcard into the bin, if fdisking & reformatting that beast would gives me back an ok media...) Cheers Meino The dd gets you the best chance to work on the data before it completely fails. In my experience the sdcard will only get worse ending with total failure - if it hasn't already. If the dd dump comes up rubbish and cant be recovered, the actual sdcard will be worse. You can run "strings" against the image to see if there is any text in there (or even cat the /dev/sdcard node through strings) to see if the bits are still there. I dont know of a cdparanoia type recovery utility for sdcards but I suspect sdcard design means that approach wont work. BillK