CurrentPendingSector
by Patrick Dupre
Hello,
I get:
Device: /dev/sdc [SAT], 1 Currently unreadable (pending) sectors
How can I manage this issue?
Thank.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
8 years, 11 months
Best web content management system for unsophisticated end-users?
by thomas cameron
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am trying to help a buddy set up a simple web site for a small
landscaping business. I'm going to run it on a Fedora 21 VM on Digital
Ocean (I love them, by the way).
I will set up the OS and software, and I'm a relatively savvy
sysadmin, but he's not an IT guy at all. I'd like to make sure it's
dead-bang easy for him to upload pictures and the like when his
company finishes a new project.
Does anyone have a favorite CMS that is really easy for users?
Many thanks!
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlVFHwUACgkQmzle50YHwaArUwCfa1cJmkXe12/OtCLWm/fRgYYD
MIkAnAouHkm7vbuiaodCzGNz0bLRP2P+
=5a0F
-----END PGP SIGNATURE-----
8 years, 11 months
SD card programing -
by Bob Goodwin
I just received a Raspberry Pi 2b as a birthday gift. Apparently the
operating system must be stored on an micro-SD card, the o/s can be
downloaded but I have to get the SD card and whatever is required to
program it from Fedora 21 or 22, or buy one preprogrammed.
Perhaps someone with experience there can enlighten as to what I need to
order to do this?
Thanks,
Bob
--
http://www.qrz.com/db/w2bod
box10 Fedora-22/64bit Linux/XFCE
8 years, 11 months
mysql configuration
by Chris Kottaridis
I am running on a fedora 21 machine. I installed mysqld from RPM. I
believe I have the 3306 port available thru the firewall and I used
systemctl to get the daemon started and it seems to be up and running. I
made no other configuration changes other then what the RPM installation
did.
I am running in a vmware virtual host and it has 2 virtual ethernet
cards attached, ens33 and ens37. I have assigned IP addresses accordingly:
ens33: 192.168.200.131
ens37: 192.168.223.63
The hostname is fed21.cjk.net.
In DNS fed21.cjk.net is assigned to 192.168.223.63.
I have no hostname assoicated with 192.168.200.131.
I noticed in the mysqld.log file:
-------------------------------------------------------
2015-05-01 07:07:22 1393 [Note] Server hostname (bind-address): '*';
port: 3306
2015-05-01 07:07:22 1393 [Note] IPv6 is available.
2015-05-01 07:07:22 1393 [Note] - '::' resolves to '::';
2015-05-01 07:07:22 1393 [Note] Server socket created on IP: '::'.
2015-05-01 07:07:22 1393 [Note] Event Scheduler: Loaded 0 events
2015-05-01 07:07:22 1393 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.24' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL
Community Server (GPL)
2015-05-01 07:09:05 1393 [Warning] Hostname 'fed21.cjk.net' does not
resolve to '192.168.200.131'.
2015-05-01 07:09:05 1393 [Note] Hostname 'fed21.cjk.net' has the
following IP addresses:
2015-05-01 07:09:05 1393 [Note] - 192.168.223.63
-----------------------------------------------------
Which as mentioned above the hostname is indeed mapped to 192.168.223.63
and not 192.168.200.131.
When I try to run this script:
==============================================
#!/usr/bin/perl
use strict;
use warnings;
use DBI;
# Connect to the database.
my $dbh = DBI->connect("DBI:mysql:database=test;host=127.0.0.1",
"joe", "joe's password",
{'RaiseError' => 1});
# Disconnect from the database.
$dbh->disconnect();
exit;
===============================================
$ ./nosrcapp.pl
DBI connect('database=test;host=127.0.0.1','joe',...) failed: Host
'192.168.200.131' is not allowed to connect to this MySQL server at
./nosrcapp.pl line 8.
You can see I get an error immediately from the mysqld server that it
doesn't like 192.168.200.131, which is a little weird because I am
accessing through 127.0.0.1. The script didn't even get a chance to send
the login request. You can see if I telnet in the server immediately
sends the message on connection:
$ telnet 127.0.0.1 3306
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
HHost '192.168.200.131' is not allowed to connect to this MySQL
serverConnection closed by foreign host.
$
I set wireshark to only look at the loopback interface and it shows:
While it seems weird that when sending to 127.0.0.1 the system uses a
source address of 192.168.200.131 instead of 127.0.0.1, but seems to
know to respond to 127.0.0.1, the only question I am interested in is:
What mysqld configuration am I missing that is not allowing
192.168.200.131 access ?
Of secondary importance is if there is a way to tell mysqld to expect
the hostname to be mapped to 192.168.223.63 instead of 192.168.200.31,
but if that doesn't affect functionality then I am much less concerned
about that.
This is a local environment so I have no cncerns about access and I
essentially want any address to be able to access from either the
192.168.200 network or 192.168.223 network as well as through the loopback.
What mysqld configuration am I missing ?
Thanks
Chris Kottaridis
8 years, 12 months
Fedora 21: How to download files from my Galaxy S5
by Jim Lewis
Hello everyone,
This worked fine on my older Android Photon Q so I expected the same on
this new Galaxy S5. I plugged in the cable, found the mount point and,
as my guest1 user, located the filesystem and files. I saw they were rw
(read/write) and thought all was well. I tried to tar the whole thing up
and noticed errors. Here's some more detail:
laptop4 /run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C005%5D $ fl \*.jpg
File Find Utility by Lewis - 3/23/2011 Version 1
/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C005%5D/Card/DCIM/Camera
-rw------- 1 guest1 guest1 753726 Jan 23 16:37:02 2015
IMG_20150123_163703_512.jpg
-rw------- 1 guest1 guest1 703395 Jan 23 16:37:12 2015
IMG_20150123_163712_747.jpg
-rw------- 1 guest1 guest1 1194428 Jan 23 16:37:20 2015
IMG_20150123_163720_312.jpg
laptop4 /run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C005%5D $ cd
Card/DCIM/Camera
laptop4
/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C005%5D/Card/DCIM/Camera $ file
IMG_20150123_163703_512.jpg
IMG_20150123_163703_512.jpg: writable, executable, regular file, no read
permission
laptop4
/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C005%5D/Card/DCIM/Camera $ cp
IMG_20150123_163703_512.jpg /tmp
cp: cannot open IMG_20150123_163703_512.jpg for reading: Operation not
supported
Not sure I have ever seen a situation like this. I can change the phone
from MTP to PTP mode but then all of the files do not show up (but I can
copy the files that do). I tried looking at this issue on the net but
all I got was noise.
This is on:
Fedora release 21 (Twenty One)
Kernel \r on an \m (\l)
Linux laptop4.com 3.17.7-300.fc21.x86_64 #1 SMP Wed Dec 17 03:08:44 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux
Thanks in advance for any help. I should have checked this right when I
got the phone but didn't think of it.
Jim Lewis
http://jklewis.com <- My resume, Java games, and link to my Linux book
are here. Website has no ads!
8 years, 12 months