Fedora 17 lost+found in / directory after install
by George
Hi all. I am a new user of Fedora 17. I am studying for the Linux
certification.
I installed Fedora 17 using Vmware Workstation 8. After I completed
the installation I checked the directories to insure that everything was
installed correctly. When looking at the / directory using the ls command
I discovered that /lost+found file was there. I thought that this file
is supposed
to show up when you choose a directory as a mount point. Could anyone
help me understand why this happened and if the lost+found file is not
supposed
to be there how can I correct the problem?
Thank you.
George
11 years, 6 months
RE: att-uverse new, can't access internet
by Jackson Byers
>It'd be easier to follow this if you didn't abbreviate words so much
>that I have to guess at what you're referring to.
Will try not to use abbreviations at all.
>My next guess is that the 10 digit key is a pass key for authenticating
>over an encrypted network, as many wireless links are, and should be.
>Unencrypted wireless, or inadequately encrypted, is a major security
>problem.
>Perhaps that device comes with a preconfigured access key, rather than
>requiring you to enter your own personal keys into both sides of the
>connection (router, and client computers).
I don't really understand your response here.
To repeat, the imac is working, apparently with full internet access,
via *wired* connection. The prior use of wireless internet on the imac,
has been turned off.
>> Evidently necessary electronics parts needed for the uverse setup.
>> I only noticed them after the tech left.
>Hmm, well, if you can't tell us what they are, we can't offer any advice
>about them. Whether they have anything to do with the issues, or not.
>Are they power supplies for the rest of the devices, DSL/phone line
>separation filters, soemthing else?
will try to get sensible answers from att, will reply on that later.
>> that 64.94.156.1 is no good, or stale, or???
>Is probably wrong.
YES, sorry, 'just' a typo on my part,
it has always been 68.94.156.1
which seems to say both of the DNS numbers I am using are valid.
>For what it's worth, sometimes you can find out the name servers for
>your ISP, by yourself. It's common for name servers to have a "ns"
>hostname in front of their domain name. So, if I wanted to find out the
>nameservers for a ficticious example.com ISP, I could try doing a query
>like: dig ns.example.com Likewise, I could try ns1.example.com or
>ns2.example.com, to see if they have other name servers, too.
> But, like I said
>earlier on, if you have a wrong name server address in your resolv.conf
>file listed before it, you will have problems.
>If you have wrong data in resolv.conf file, restarting NetworkManager
>may cause your system to set up the network connection again, and find
>out which DNS servers to use. It'll probably rewrite the resolv.conf
>file, and you can look for any changes to it.
This now appears not so, i.e. the data in resolv.conf appear correct.
bash-3.2$ dig ns1.pacbell.net
; <<>> DiG 9.6-ESV-R4-P3 <<>> ns1.pacbell.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2897
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;ns1.pacbell.net. IN A
;; AUTHORITY SECTION:
pacbell.net. 7200 IN SOA ns1.pbi.net. postmaster.pbi.ne\
t. 2012100300 3600 900 604800 7200
;; Query time: 1071 msec
;; SERVER: 192.168.1.254#53(192.168.1.254)
;; WHEN: Wed Oct 3 09:26:10 2012
;; MSG SIZE rcvd: 88
Does this tell me anything? is ns1.pbi.net a DNS number I could/should use?
In addition to the two I now have?
I did pull the new modem power cable,
after plugging back in the system took a while to come fully on.
No help on internet:
trying to start google chrome, still getting message invalid DNS.
It seems I don't need to correct faults in the DNS numbers,
so does it still make sense to restart NetworkManager?
Exactly how would I restart it?
-- chkconfig?
-- some systemd command?
I did pull the new modem power cable,
after plugging back in the system took a while to come fully on.
No help on internet:
trying to start google chrome, still getting message invalid DNS.
thanks much for your continuing responses.
Jack
11 years, 6 months
php and mysqli
by Buday Gergely
Hi there,
the following code fails on my fedora 17 box:
<?php
mysqli_init();
?>
PHP Fatal error: Call to undefined function mysqli_init() in /home/gbuday/public_html/init.php on line 3
doing a grep around php -i, /etc/php.ini and /etc/php.d/ I get a seemingly ok configuration, see below. My versions of php and mysql are
$ php --version
PHP 5.4.6 (cli) (built: Aug 20 2012 11:30:18)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
$ mysql --version
mysql Ver 14.14 Distrib 5.5.27, for Linux (i686) using readline 5.1
What other files I should look for the problem? How can I make mysqli work?
I have the following php and mysql packages installed:
$ rpm -qa|egrep '(mysql|php)'
php-process-5.4.6-2.fc17.i686
php-5.4.6-2.fc17.i686
mysql-5.5.27-1.fc17.i686
mysql-server-5.5.27-1.fc17.i686
php-cli-5.4.6-2.fc17.i686
php-xml-5.4.6-2.fc17.i686
php-ZendFramework-Db-Adapter-Mysqli-1.11.12-1.fc17.noarch
php-common-5.4.6-2.fc17.i686
php-mysql-5.4.6-2.fc17.i686
php-ZendFramework-1.11.12-1.fc17.noarch
php-devel-5.4.6-2.fc17.i686
mysql-libs-5.5.27-1.fc17.i686
php-pdo-5.4.6-2.fc17.i686
php-bcmath-5.4.6-2.fc17.i686
- Gergely
php -i:
'--with-mysqli=shared,mysqlnd' in configuration
mysqli
MysqlI Support => enabled
Client API library version => 5.5.27
Active Persistent Links => 0
Inactive Persistent Links => 0
Active Links => 0
Client API header version => 5.5.27
MYSQLI_SOCKET => /var/lib/mysql/mysql.sock
Directive => Local Value => Master Value
mysqli.allow_local_infile => On => On
mysqli.allow_persistent => On => On
mysqli.default_host => no value => no value
mysqli.default_port => 3306 => 3306
mysqli.default_pw => no value => no value
mysqli.default_socket => no value => no value
mysqli.default_user => no value => no value
mysqli.max_links => Unlimited => Unlimited
mysqli.max_persistent => Unlimited => Unlimited
mysqli.reconnect => Off => Off
/etc/php.ini :
; Maximum number of persistent links. -1 means no limit.
; http://php.net/mysqli.max-persistent
mysqli.max_persistent = -1
; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
; http://php.net/mysqli.allow_local_infile
mysqli.allow_local_infile = On
; Allow or prevent persistent links.
; http://php.net/mysqli.allow-persistent
mysqli.allow_persistent = On
; Maximum number of links. -1 means no limit.
; http://php.net/mysqli.max-links
mysqli.max_links = -1
; If mysqlnd is used: Number of cache slots for the internal result set cache
; http://php.net/mysqli.cache_size
mysqli.cache_size = 2000
; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
; at MYSQL_PORT.
; http://php.net/mysqli.default-port
mysqli.default_port = 3306
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
; http://php.net/mysqli.default-socket
mysqli.default_socket =
; Default host for mysql_connect() (doesn't apply in safe mode).
; http://php.net/mysqli.default-host
mysqli.default_host =
; Default user for mysql_connect() (doesn't apply in safe mode).
; http://php.net/mysqli.default-user
mysqli.default_user =
; Default password for mysqli_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
; and reveal this password! And of course, any users with read access to this
; file will be able to reveal the password as well.
; http://php.net/mysqli.default-pw
mysqli.default_pw =
; Allow or prevent reconnect
mysqli.reconnect = Off
/etc/php.d $ cat mysql.ini
; Enable mysql extension module
extension=mysql.so
11 years, 6 months
Help out Ask Fedora
by Matthew Miller
We just lowered the karma/reputation requirements for participating in Ask
Fedora http://ask.fedoraproject.org/questions/, which means it's easier for
new users to assign tags to questions, fix typos, and etc. If you're
involved in Fedora, it'd be awesome if you could spend a few minutes each
day looking at the site — answering questions if you can, but even just
voting up the good questions and answers really, really helps.
--
Matthew Miller ☁☁☁ Fedora Cloud Architect ☁☁☁ <mattdm(a)fedoraproject.org>
11 years, 6 months
RE: att-uverse new, can't access internet
by Jackson Byers
Tim,
thanks much for your reply.
I am still much in the dark re DNS servers
More on that below
>If you're running different computers and/or OSs on a network that
>between changes. If you have a router between you and them, then that
>shouldn't be a problem. The router would be what they see, all the
>time, and what you connect behind it isn't any of their affair.
....
I think there is a router, inside the uverse-modem.
>> --enter a 10digit key found on back of new modem
>If that 10 digit key is something looking like this,
>"00:1A:92:D8:F2:79"
NO, it is just a set of numbers w some spaces, no ":"
I don't think this early thing re wless att had me do on the imac
is playing any role any more.
As I said later the imac is now running w wired internet access,
"Airport" wless no longer being used,
seems to have no DNS problems.
>You should probably describe your network in greater detail,
>particularly what's between your ISP and your computers (modem/router,
>ethernet hole in the wall...).
>Some ISPs supply you with one public IP, and you'd need a router doing
>NAT between you and them to share the IP between multiple devices. Some
>ISPs give you multiple public IPs, and you can simply have a switch/hub
>between you and them.
>The more info, the less guessing games by us, and less advice that's
>going to lead you down the wrong path.
--
Amen.
What I had just before the attuverse:
an old pacbell adsl modem
a linksys router, plugged into that adslmodem.
my f16box i think connected into that router.
from another room,
the imac ethernet connected i think into that router.
2 more things connected but not used for several yrs:
a laptop, also i think plugged into that router.
some type of wless access point plugged into that router.
What we have now since the att uverse install
--above adslmodem, router,laptop, access point disconnected.
--new uverse modem, tech said it had a router in it,
with its own fwall.
I can't see any off/on switch on that uverse modem.
Would it be worth trying to unplug, and plug back in the black power cable?
There is also a uverse WAP, used only to get the uverse tv signals
to our two tvs. As far as I know this has nothing to do with our computers.
f16box, imac both ethernet connected to that uverse modem.
3 new pieces of some type of electronic gear now under my desk
also connected to the uverse modem.
The uverse install tech did not explain their use to me,
or even point them out to me.
Evidently necessary electronics parts needed for the uverse setup.
I only noticed them after the tech left.
The imac has been working with the new uverse, with
working internet wired connection, no DNS problems.
imac no longer using the Airport wless
which we used only for 1-2 days.
--------------
DNS
bash-3.2$ dig pacbell.net @64.94.156.1
; <<>> DiG 9.6-ESV-R4-P3 <<>> pacbell.net @64.94.156.1
;; global options: +cmd
;; connection timed out; no servers could be reached
bash-3.2$
bash-3.2$ dig pacbell.net @206.13.31.12
; <<>> DiG 9.6-ESV-R4-P3 <<>> pacbell.net @206.13.31.12
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36167
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;pacbell.net. IN A
;; ANSWER SECTION:
pacbell.net. 7200 IN A 151.164.129.3
;; Query time: 31 msec
;; SERVER: 206.13.31.12#53(206.13.31.12)
;; WHEN: Tue Oct 2 12:29:17 2012
;; MSG SIZE rcvd: 45
bash-3.2$
bash-3.2$ dig pacbell.net @8.8.8.8
; <<>> DiG 9.6-ESV-R4-P3 <<>> pacbell.net @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2154
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;pacbell.net. IN A
;; ANSWER SECTION:
pacbell.net. 5561 IN A 151.164.129.3
;; Query time: 47 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Oct 2 12:33:41 2012
;; MSG SIZE rcvd: 45
bash-3.2$
what does this tell me?
that 64.94.156.1 is no good, or stale, or???
that 206.13.31.12 is good? valid nameserver?
that 151.164.129.3 is good? valid nameserver?
if 206.13.31.12 is a good namesever, since it is already in my f16
/etc/resolv.conf
shouldn't I have internet access?
do I have to do something like restart NetworkManager?
NM has always just been a silent thing, not to be messed with.
If it is worth trying how would I do this?
I am not at all up on systemd.
I haven't had cause to use chkconfig for years, no need.
Again, thanks for help
Jack
11 years, 6 months
dump/restore selinux query
by Dr J Austin
Hi
I have recently used a bootable F17 memory stick (fully updated) to
dump/restore an un-mounted Centos 6.3 system root (/) partition
to a "clone" backup partition on a separate disk.
I obtain SELinux error messages during the restore phase
Does anyone (Daniel?) know:
Will this be a problem if/when I need to use the backup?
Regards
John
-------------------------------------------
[root@blue ~]# mount -o noatime /dev/sdd4 /mnt/zip
[root@blue ~]# cd /mnt/zip
[root@blue zip]# dump 0f - /dev/sda4 | restore rf -
DUMP: Date of this level 0 dump: Fri Sep 28 18:16:10 2012
DUMP: Dumping /dev/sda4 (an unlisted file system) to standard output
DUMP: Label: ocz240_root1
DUMP: Writing 10 Kilobyte records
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 8560325 blocks.
DUMP: Volume 1 started with block 1 at: Fri Sep 28 18:16:11 2012
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
restore: ./lost+found: File exists
restore: ./var/cache/hald/fdi-cache: EA set security.selinux:system_u:object_r:hald_cache_t:s0 failed: Invalid argument
restore: ./var/log/pm-powersave.log: EA set security.selinux:system_u:object_r:hald_log_t:s0 failed: Invalid argument
restore: ./usr/libexec/hald-addon-macbookpro-backlight: EA set security.selinux:system_u:object_r:hald_mac_exec_t:s0 failed: Invalid argument
restore: ./usr/sbin/tzdata-update: EA set security.selinux:system_u:object_r:tzdata_exec_t:s0 failed: Invalid argument
restore: ./usr/sbin/hald: EA set security.selinux:system_u:object_r:hald_exec_t:s0 failed: Invalid argument
restore: ./usr/libexec/hal-system-sonypic: EA set security.selinux:system_u:object_r:hald_sonypic_exec_t:s0 failed: Invalid argument
restore: ./usr/bin/hal-setup-keymap: EA set security.selinux:system_u:object_r:hald_keymap_exec_t:s0 failed: Invalid argument
restore: ./usr/libexec/hald-addon-macbook-backlight: EA set security.selinux:system_u:object_r:hald_mac_exec_t:s0 failed: Invalid argument
DUMP: 66.01% done at 18834 kB/s, finished in 0:02
DUMP: Volume 1 completed at: Fri Sep 28 18:24:26 2012
DUMP: Volume 1 9116920 blocks (8903.24MB)
DUMP: Volume 1 took 0:08:15
DUMP: Volume 1 transfer rate: 18418 kB/s
DUMP: 9116920 blocks (8903.24MB)
DUMP: finished in 495 seconds, throughput 18418 kBytes/sec
DUMP: Date of this level 0 dump: Fri Sep 28 18:16:10 2012
DUMP: Date this dump completed: Fri Sep 28 18:24:26 2012
DUMP: Average transfer rate: 18418 kB/s
DUMP: DUMP IS DONE
restore: ./var/run/pm-utils: EA set security.selinux:system_u:object_r:hald_var_run_t:s0 failed: Invalid argument
restore: ./var/run/pm-utils/locks: EA set security.selinux:system_u:object_r:hald_var_run_t:s0 failed: Invalid argument
restore: ./var/run/pm-utils/storage: EA set security.selinux:system_u:object_r:hald_var_run_t:s0 failed: Invalid argument
restore: ./var/cache/hald: EA set security.selinux:system_u:object_r:hald_cache_t:s0 failed: Invalid argument
restore: ./var/run/hald: EA set security.selinux:system_u:object_r:hald_var_run_t:s0 failed: Invalid argument
restore: ./var/run/pm-utils/pm-powersave: EA set security.selinux:system_u:object_r:hald_var_run_t:s0 failed: Invalid argument
restore: ./var/run/pm-utils/pm-powersave/storage: EA set security.selinux:system_u:object_r:hald_var_run_t:s0 failed: Invalid argument
[root@blue zip]# sync
[root@blue zip]# cd
[root@blue ~]# umount /mnt/zip
11 years, 6 months
A note on youtube-dl
by Marko Vojinovic
Hi folks! :-)
Just a small note... I just tried and found out that the youtube-dl doesn't
work anymore. Reading the youtube-dl FAQ page, it says that YouTube has
changed the protocol again (since September 2012) and that we should update
the script to the latest version.
The "sudo youtube-dl --update" works as expected (and once updated, it
downloads stuff fine), but I guess someone should notify the relevant package
maintainer to update the rpm package, so that it gets pulled in with an
ordinary yum update.
I wasted half an hour hunting this down, so that noone else needs to. ;-)
HTH, :-)
Marko
11 years, 6 months
RE: Why graphics drivers are proprietary
by J.Witvliet@mindef.nl
-----Original Message-----
From: users-bounces(a)lists.fedoraproject.org [mailto:users-bounces@lists.fedoraproject.org] On Behalf Of jdow
Sent: Wednesday, October 03, 2012 3:52 AM
To: Community support for Fedora users
Subject: Re: Why graphics drivers are proprietary
On 2012/10/02 13:17, Marko Vojinovic wrote:
> On Tuesday, 2. October 2012. 20.56.34 Roberto Ragusa wrote:
>> On 10/02/2012 03:45 PM, Alan Cox wrote:
>>> Another factor is that the drivers may contain a lot of clever stuff. A
>>> long time back one of the problems raised was that vendor A had the
>>> better hardware but vendor B the better drivers. Vendor B's product won
>>> all the benchmarks. If they open sourced it then vendor A would duly have
>>> borrowed all the software tricks and then won hands down.
>>
>> So final users would have had the best hardware running the best drivers
>> (open source too).
>> This is something which must not be permitted to happen. :-/
>
> That is one of the features of civilization based on capitalism --- the target
> is to gain most money, and to make life miserable for the competition. The
> actual needs of the end-users are completely irrelevant, as long as your
> product sells more than the competitor's product. ;-)
Without the capitalism the customer can expect zero improvement,
particularly with hardware. What incentive would I as a person trying to
make a living off clever video drivers to continue doing so?
What has capitalism to do with that?
It is about freedom of choice.
If you think you can build something better or cheaper, you must have the freedom to do so.
Otoh, if a state-owned-company has "a Plan" to produce the next five years or so, crap at bargain process, so be it.
Just as any customer has the freedom to choose any product.
And let the customer decide what is important to him: price, feature, quality, stability, support...
Hw
______________________________________________________________________
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
11 years, 6 months