Re: F16 unusable while writing to pendrive [SOLVED -- not]

2012-01-22 Thread Bruno Wolff III
On Sun, Jan 22, 2012 at 20:52:43 -0430,
  Patrick O'Callaghan  wrote:
> 
> Apparently kernel 3.3 will have a fix for this problem, but that's
> expected to be around the end of March unless someone backports it.

3.3 rc1 has been built for rawhide and should work on f16 if you want to
try it now.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: MySQL is not working on PHP with Fedora 16

2012-01-22 Thread Kernel Guardian
by default apache can't make a connection to DB.
setsebool httpd_can_network_connect_db on

for permanent change add -P as param to setsebool

for all selinux apache attributes:
getsebool -a | grep httpd

or man page
man httpd_selinux

/var/lib/mysql/mysql.sock is a valid TCP socket with domain UNIX.
On Jan 22, 2012 7:04 PM, "bruce"  wrote:
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F16 changes

2012-01-22 Thread Michael Hennebry

On Tue, 10 Jan 2012, Michael Hennebry wrote:


The new lower limit of 1000 for normal user and group IDs is another issue.
The current user has IDs 500 and has rather
a lot of files that I want to keep.
Fedora's documentation says to use a kickstart file to keep 500.


The file affected is /etc/logindefs .
but so far I have been unable to discover what to put in the kickstart file
to affect UID_MIN and GID_MIN.
What do I put in the kickstart file?

Also, at what point do I tell something where the kickstart file is?
I've seen two relevant syntaxes:
linux ks=hd:/device/dir/ks.cfg
linux ks=hd:partition:path/ks.cfg
I recognize the syntaxes as providing boot options to the kernel.
The plan is to boot from a minimal CD and point it at a DVD iso.
At what point will I be able to provide the option?

Will anaconda insist on using grub2?
After I've tried to install F16,
I want to be able to still boot my old system.
I don't have any grub2 stuff that refers to it.

If grub2 is used,
will that affect the syntax for supplying the kickstart file?
If grub2 is used, will that affect the names
of partitions used in the kickstart file?

Also, from the perspective of the boot sequence,
what does it mean to have a /boot partition?
Until it's mounted, it's not called /boot .
By the time it is mounted, the kernel is already running.
Does it just mean that the partition with the
bootloader is not the same as one with the / directory?

--
Michael   henne...@web.cs.ndsu.nodak.edu
"On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword."  --  Lily
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F16 unusable while writing to pendrive [another attempt]

2012-01-22 Thread Patrick O'Callaghan
On Sun, 2012-01-22 at 23:00 -0430, Patrick O'Callaghan wrote:
> On Mon, 2012-01-23 at 02:41 +, Marko Vojinovic wrote:
> > I have chosen to set up the "madvise" state rather than the "never"
> > state, so 
> > I added "transparent_hugepage=madvise" to the GRUB_CMDLINE_LINUX line
> > in 
> > /etc/default/grub, ran "grub2-mkconfig /boot/grub2/grub.cfg" to
> > activate the 
> > change, and rebooted. After the reboot, the /sys/kernel/.../enabled
> > file reads:
> > 
> >always [madvise] never
> > 
> > instead of the previous
> > 
> >[always] madvise never
> > 
> > I guess that means it works. :-)
> 
> I've only tried the "never" option on the boot line, and it definitely
> didn't work, i.e. the setting stayed at [always]. I might try with
> madvise to see if it makes a difference.

Well, wouldn't you know. I had been editing /boot/grub/grub.conf and not
the new-fangled /boot/grub2/grub.cfg, so of course it wasn't working.

Ahem ...

I've fixed that, so fingers crossed.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F16 unusable while writing to pendrive [SOLVED -- not]

2012-01-22 Thread Patrick O'Callaghan
On Mon, 2012-01-23 at 03:25 +, Marko Vojinovic wrote:
> On Monday 23 January 2012 02:41:07 you wrote:
> > Now I'll see how USB is going to work --- a 2.2 GB file is about to be
> > written... ;-)
> 
> As a side note --- is it normal to have the write-to-USB-flash speed of
> 2.5 MiB/s (on average)?
> 
> I am supposedly using USB2.0 port, and have a 8 GB flash drive. Writing a 
> file 
> of 2.2 GB in size takes around 15 minutes to complete. Also that KDE progress-
> bar thing is reporting the 2.5 MiB/s value (on average) which fits my 
> calculation, but I was wondering if this is the expected performance or not.

I'd say that seems on the slow side, but there are several factors that
can affect it. For one thing, not all flash drives are created equal.
Even if they're supposed to work at USB2 speed, that's just the bus
speed of getting the data across the wire and doesn't really tell you
much. Cheaper drives are definitely slower than more expensive ones
which have larger internal buffers. Most commercial drives don't have
any published info on these speeds, but occasionally one sees
comparitive benchmarks being published (e.g. http://usbflashspeed.com/).

The other important factor is fragmentation. Even though flash drives
are theoretically random-access, the way flash memory works means that a
sparse distribution of blocks to be modified can make a large difference
to the effective write speed (see
http://en.wikipedia.org/wiki/Flash_memory#Limitations). This becomes
noticeable if you repeatedly create and delete randomly-sized large
files on the drive. In time the drive will become slower and slower
because of fragmentation, and it can sometimes make sense to copy the
entire contents, reformat the drive and copy the files back again in
order to "refresh" it. AFAIK there are filesystem designs which try to
minimize this effect, but I assume we're talking about VFAT here, as
it's the lowest common denominator for practical purposes.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F16 unusable while writing to pendrive [SOLVED -- not]

2012-01-22 Thread Patrick O'Callaghan
On Mon, 2012-01-23 at 02:41 +, Marko Vojinovic wrote:
> I have chosen to set up the "madvise" state rather than the "never"
> state, so 
> I added "transparent_hugepage=madvise" to the GRUB_CMDLINE_LINUX line
> in 
> /etc/default/grub, ran "grub2-mkconfig /boot/grub2/grub.cfg" to
> activate the 
> change, and rebooted. After the reboot, the /sys/kernel/.../enabled
> file reads:
> 
>always [madvise] never
> 
> instead of the previous
> 
>[always] madvise never
> 
> I guess that means it works. :-)

I've only tried the "never" option on the boot line, and it definitely
didn't work, i.e. the setting stayed at [always]. I might try with
madvise to see if it makes a difference.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F16 unusable while writing to pendrive [SOLVED -- not]

2012-01-22 Thread Marko Vojinovic
On Monday 23 January 2012 02:41:07 you wrote:
> Now I'll see how USB is going to work --- a 2.2 GB file is about to be
> written... ;-)

As a side note --- is it normal to have the write-to-USB-flash speed of
2.5 MiB/s (on average)?

I am supposedly using USB2.0 port, and have a 8 GB flash drive. Writing a file 
of 2.2 GB in size takes around 15 minutes to complete. Also that KDE progress-
bar thing is reporting the 2.5 MiB/s value (on average) which fits my 
calculation, but I was wondering if this is the expected performance or not.

I started using USB for GB-sized files only recently, after the DVDRW drive in 
my laptop died, so don't have much experience.

P.S. My machine was quite usable during the write, nothing hung or stalled. 
But then again I may have not actually had enough uptime to hit the "hugepage" 
bug. ;-)

[vmarko@Yoda ~]$ uptime
 03:24:49 up 1 day,  3:23,  4 users,  load average: 0.91, 2.63, 2.08

Best, :-)
Marko


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F16 unusable while writing to pendrive [SOLVED -- not]

2012-01-22 Thread Marko Vojinovic
On Sunday 22 January 2012 20:52:43 Patrick O'Callaghan wrote:
> On Sat, 2012-01-21 at 14:05 -0430, Patrick O'Callaghan wrote:
> > This was really bothering me (I make frequent use of pendrives) so took
> > another look at the above article, then
> > at /usr/share/doc/kernel-doc-3.1.9/Documentation/vm/transhuge.txt, where
> > it explains how to turn off the Transparent Huge Pages feature. I added
> > transparent_hugepage=never to my boot params, rebooted, and the problem
> > appears to have been fixed.
> 
> I spoke too soon. The performance improvement must have been due to me
> having just rebooted. In fact neither the boot param nor attempting to
> write to /sys/kernel/mm/transparent_hugepage/enabled have any effect.
> The latter *always* shows THP to be enabled and won't allow it to be
> overwritten, even as root.

After reading your previous post, I looked up the transhuge.txt doc and read 
it thoroughly. Echoing into the /sys/kernel/.../enabled did not work for me, 
but adding an option to the kernel command line did work.

I have chosen to set up the "madvise" state rather than the "never" state, so 
I added "transparent_hugepage=madvise" to the GRUB_CMDLINE_LINUX line in 
/etc/default/grub, ran "grub2-mkconfig /boot/grub2/grub.cfg" to activate the 
change, and rebooted. After the reboot, the /sys/kernel/.../enabled file reads:

   always [madvise] never

instead of the previous

   [always] madvise never

I guess that means it works. :-)

Before that I tried to put the echo command into /etc/rc.d/rc.local, but that 
didn't work. Initially I thought that there is a race condition in systemd 
between executing the rc.local and mounting /sys for rw, but I didn't properly 
investigate what actually went wrong --- it was easier to add a boot 
parameter. Also, boot parameter is guaranteed to work from the very start, 
while the echo version would influence only apps that have been started after 
the echo itself, which is kind of klunky for my taste.

I haven't tried to write to USB since yesterday (I am just about to try now), 
but so far so good, and the kernel apparently acknowledges the "madvise" boot 
option.

Now I'll see how USB is going to work --- a 2.2 GB file is about to be 
written... ;-)

HTH, :-)
Marko



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F16 unusable while writing to pendrive [SOLVED -- not]

2012-01-22 Thread Patrick O'Callaghan
On Sat, 2012-01-21 at 14:05 -0430, Patrick O'Callaghan wrote:
> On Sat, 2011-12-17 at 21:17 -0430, Patrick O'Callaghan wrote:
> > On Sun, 2011-12-18 at 01:37 +, Marko Vojinovic wrote:
> > > On Saturday 17 December 2011 19:41:38 Patrick O'Callaghan wrote:
> > > > This looks like a regression. Under F15 when I wrote large files to a
> > > > pendrive, the system would become a little sluggish. Now it essentially
> > > > freezes until the write terminates. What I mean is that the UI is almost
> > > > completely unresponsive; even clicking between two terminal windows is
> > > > so slow that you can see the window contents refresh, followed several
> > > > seconds later by the frame.
> > > > 
> > > > Fully updated F16 with KDE, Intel Core 2 Dual, 4GB RAM, Intel onboard
> > > > graphics. The pendrive is an 8GB Patriot Xporter (a year or two old)
> > > > under USB-2 with no intervening hub.
> > > 
> > > Oh yes, this is one of my favourities... :-D
> > > 
> > > There's a very good article at LWN discussing precisely this issue:
> > > 
> > >http://lwn.net/Articles/467328/
> > > 
> > > You wouldn't believe how complicated these things can get... ;-) One 
> > > would 
> > > naively think "yes, the USB drive is slow, but that shouldn't stop the 
> > > rest of 
> > > the system from running smoothly". However, when you put into the mix the 
> > > hugemem page allocation, memory fragmentation, contradictory points of 
> > > view on 
> > > how the kernel should be optimized, etc., it seems that it is quite 
> > > natural 
> > > that your typical fast 3GHz system with 4GB of RAM grinds to a complete 
> > > halt 
> > > during a simple write-to-USB-drive operation... :-D
> > 
> > That might be it I guess, but I'm not totally convinced. I updated
> > F15->F16 only 5 days ago, and previous to the switchover had no problems
> > of this sort, using the latest kernel for F15. It's hard to believe the
> > kernel switch from F15 to F16 can have made such a huge difference. For
> > the record, I went from:
> > 
> > kernel-2.6.41.1-1.fc15.x86_64
> > 
> > to:
> > 
> > kernel-3.1.5-1.fc16.x86_64
> > 
> > But as we know, the version bump from 2 to 3 is meaningless in itself.
> 
> This was really bothering me (I make frequent use of pendrives) so took
> another look at the above article, then
> at /usr/share/doc/kernel-doc-3.1.9/Documentation/vm/transhuge.txt, where
> it explains how to turn off the Transparent Huge Pages feature. I added
> transparent_hugepage=never to my boot params, rebooted, and the problem
> appears to have been fixed.
> 
> Note: YMMV. This works for me with my workload (no long jobs or
> intensive compute load). Others may find it impacts their performance,
> but it shouldn't break anything.

I spoke too soon. The performance improvement must have been due to me
having just rebooted. In fact neither the boot param nor attempting to
write to /sys/kernel/mm/transparent_hugepage/enabled have any effect.
The latter *always* shows THP to be enabled and won't allow it to be
overwritten, even as root.

Apparently kernel 3.3 will have a fix for this problem, but that's
expected to be around the end of March unless someone backports it.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: "Proper" F16 Java setup ??? (Firefox Additional Plugins Required)

2012-01-22 Thread T.C. Hollingsworth
On Sat, Jan 21, 2012 at 12:49 PM, linux guy  wrote:
> On Sat, Jan 21, 2012 at 11:42 AM, linux guy  wrote:
>> I seemed to have fixed the problem with
>>
>> yum install java-1.7.0-openjdk.i686
>> yum install java-1.7.0-openjdk.x86_64
>
> Actually, it didn't solve all of them.  I have less of them, none on
> one particularly problematic page, but there are still some.
>
> It would be REALLY nice if FF would tell you want object/plug in it is
> looking for.  At least give you a hint.

IIRC, installing the JRE doesn't necessarily install the plugin that
runs Java applets.  Try:
sudo yum install icedtea-web

-T.C.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


SOLVED Re: Feedback: systemd poweroff fixfiles is it possible?

2012-01-22 Thread Frank Murphy

On 22/01/12 23:16, T.C. Hollingsworth wrote:


Then, just "systemctl enable fixfiles.service" and you should be all set.

-T.C.


We'll after seeing the example you have given me.
I May try to come up with something for yum-updateonboot.
Still a SysV service.

Will run it by here when ready.

--
Regards,

Frank Murphy
UTF_8 Encoded
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Feedback: systemd poweroff fixfiles is it possible?

2012-01-22 Thread T.C. Hollingsworth
On Sun, Jan 22, 2012 at 4:09 PM, T.C. Hollingsworth
 wrote:
> Drop this in /etc/systemd/system/fixfiles.service or such and it
> should do the trick:

Sorry, itchy submit finger.  Needs a little more:

[Unit]
Name=Fix SELinux Contexts on Shutdown
DefaultDependencies=no
After=local-fs.target sysinit.target
Before=poweroff.service reboot.service halt.service

[Service]
Type=oneshot
ExecStart=/usr/bin/fixfiles -q onboot

[Install]
WantedBy=shutdown.target

Then, just "systemctl enable fixfiles.service" and you should be all set.

-T.C.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Feedback: systemd poweroff fixfiles is it possible?

2012-01-22 Thread Frank Murphy

On 22/01/12 23:09, T.C. Hollingsworth wrote:



For starters, you can't add arbitrary commands to systemd unit files
like that; you'd have to write a unit file.  Secondly, you don't need
to mess with poweroff.service.

-T.C.


Apprecitae the service file.
Am still not comfortable
with trying to create from scratch.


--
Regards,

Frank Murphy
UTF_8 Encoded
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Feedback: systemd poweroff fixfiles is it possible?

2012-01-22 Thread T.C. Hollingsworth
On Sun, Jan 22, 2012 at 6:38 AM, Frank Murphy  wrote:
> Looking for feedback
>
> I havn't seen anything in
> https://fedoraproject.org/wiki/Systemd
>
> Google not much help.
>
> but I would like
> "fixfiles onboot"
> to run just before poweroff both cli\gui
>
> not sure how
> "Requires=fixfiles"
> "After="fixfiles onboot"
> would work out.
>
>
> [Unit]
> Description=Power-Off
> DefaultDependencies=no
> Requires=shutdown.target umount.target final.target /usr/bin/fixfiles
> After=shutdown.target umount.target final.target "fixfiles -q onboot"
> .include /usr/lib/systemd/system/poweroff.service

For starters, you can't add arbitrary commands to systemd unit files
like that; you'd have to write a unit file.  Secondly, you don't need
to mess with poweroff.service.

Drop this in /etc/systemd/system/fixfiles.service or such and it
should do the trick:

[Unit]
Name=Fix SELinux Contexts on Shutdown
DefaultDependencies=no
After=local-fs.target sysinit.target
Before=poweroff.service reboot.service halt.service

[Service]
Type=oneshot
ExecStart=/usr/bin/fixfiles

> Would use a crontab,
> but not sure how
> "@poweroff fixfiles onboot"
> could be worked in, as not valid as a command

-T.C.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Help with a Windows Drive booted under VBOX on F14

2012-01-22 Thread Key Schmidt

Am 22.01.2012 21:49, schrieb JD:

Dear all,
I have a windows XP-Pro drive that was booting just fine
on real hardware.

However, While I was running Fedora 14 on a laptop,
on which VBox is installed, I took out the windows drive
from the other machine and connected it to the laptop
via a USB external box.

It booted just fin under VBox.

But now, it will not boot by itself on the real HW machine (a desktop)
any longer.

What happens is I see the screen switch to graphics mode, then
very very fast, some message comes out,  way too fast for me to
read, and the machine then reboots.

Would appreciate some help to get to the bottom of this.

Thanx,

JD



--
Hello,

push F8 on startup.

Key
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Help with a Windows Drive booted under VBOX on F14

2012-01-22 Thread JD
Dear all,
I have a windows XP-Pro drive that was booting just fine
on real hardware.

However, While I was running Fedora 14 on a laptop,
on which VBox is installed, I took out the windows drive
from the other machine and connected it to the laptop
via a USB external box.

It booted just fin under VBox.

But now, it will not boot by itself on the real HW machine (a desktop) any
longer.

What happens is I see the screen switch to graphics mode, then
very very fast, some message comes out,  way too fast for me to
read, and the machine then reboots.

Would appreciate some help to get to the bottom of this.

Thanx,

JD
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: ld finds some libraries, but not others.

2012-01-22 Thread suvayu ali
On Sun, Jan 22, 2012 at 23:48, Jonathan Ryshpan  wrote:
> Is there any convenient way to
> install all the *-devel packages matching libraries on the system, or do
> I just have to install them one by one as links fail?

If you are simply building a newer version of a package already
available in the repos, you could simply do

# yum-builddep

if not, then I simply grep through the configure script to get the
dependency list and install by hand.

HTH

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: ld finds some libraries, but not others.

2012-01-22 Thread Jonathan Ryshpan
On Thu, 2011-12-15 at 09:24 +0100, Ralf Corsepius wrote:
> On 12/15/2011 09:06 AM, Jonathan Ryshpan wrote:
> > A build is failing with the error cannot find  for libraries
> > that are, in fact present on the system.
> >
> > I made a very simple test bed, consisting of the empty file conftest.c,
> > which I attempt to compile and link with various libraries.  All the
> > libraries are in /usr/lib64.  Sometimes the compilation fails with
> >  undefined reference to `main'
> > which is what I would expect, but often it fails with
> >  cannot find -l
> > I have no idea what's happening.  Can anyone explain?
> 
> You likely don't have the *-devel packages installed, which correspond 
> to the libraries you want to link against.
> 
> > Here's an example of what's going on.  This is a listing of some files
> > in /usr/lib64:
> ...
> >  lrwxrwxrwx. 1 root root 14 Nov  9 08:14 libgd.so.2 ->  
> > libgd.so.2.0.0*
> >  -rwxr-xr-x. 1 root root 278048 Oct 26 20:15 libgd.so.2.0.0*
> ... These are the run-time libraries ...
> 
> > And here's a attempt to compile the dummy linking to them:
> ...
> >  1034 wview-5.19.0 $ gcc -o conftest -g -O2 conftest.c -lgd
> >  /usr/bin/ld: cannot find -lgd
> >  collect2: ld returned 1 exit status
> Here, ld is looking for "libgd.so".
> 
> => You want to install the package which provides /usr/lib64/libgd.so
> 
> # repoquery -qf /usr/lib64/libgd.so
> gd-devel-0:2.0.35-13.fc16.x86_64

It appears to be just as you write.  This raises some further questions:
Is there any way to tell when a development library is installed on the
system?  Am I correct in assuming that if .so is in the library,
the development library is installed?  Is there any convenient way to
install all the *-devel packages matching libraries on the system, or do
I just have to install them one by one as links fail?

Sorry for the extremely late reply.  I have been away from my computer
for the last few weeks.

Thanks - jon



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: MySQL is not working on PHP with Fedora 16

2012-01-22 Thread bruce
hi...

ok.. basic debug stuff.. skip if you've already done..
-using the user/passwd.. can you access mysql from the cmdline..
   [i assume you can]
-what are the permissions on the mysql db/tbls? have they changed?
--did you stop/restart mysql?
-what do the mysql logs say?

let us know..


On Sun, Jan 22, 2012 at 12:28 PM, Mike Wright wrote:

> On 01/22/2012 07:02 AM, Fedora Linux wrote:
>
>> Hello
>>
>> I have a web application but it is not working on my Fedora 16 with PHP,
>> for some reason it is unable to connect to the MySQL server, it returns
>> the error:
>>
>> [Sun Jan 22 08:40:24 2012] [error] [client ::1] PHP Warning:
>>  mysql_connect(): Can't connect to local MySQL server through socket
>> '/var/lib/mysql/mysql.sock' (13) in /var/www/html/install2.php on line
>> 22, referer: http://localhost/install.php
>>
>> Notice that the user/password is correct, the PHP is installed and
>> working and MySQL is up and running...
>>
>> Even the socket is there
>>
>> # ls -l /var/lib/mysql/mysql.sock
>> srwxrwxrwx. 1 mysql mysql 0 Jan 22 08:37 /var/lib/mysql/mysql.sock
>>
>> What can be the problem? The application is okay, I am using it in a
>> production server and it is running in 2 other local computers (with
>> slackware) for testing purposes...
>>
>> This is the first time that I can't connect to MySQL via PHP... I don't
>> know if it requires an extra configuration or there is a missing package
>> that I should install... the httpd log does not give more details...
>>
>> Thanks for any help!
>>
>
> Do you have port 3306 open on your firewall?
>
>>
>>
>>
>>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.**org/mailman/listinfo/users
> Guidelines: 
> http://fedoraproject.org/wiki/**Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: MySQL is not working on PHP with Fedora 16

2012-01-22 Thread Reindl Harald


Am 22.01.2012 18:28, schrieb Mike Wright:
> On 01/22/2012 07:02 AM, Fedora Linux wrote:
>> Hello
>>
>> I have a web application but it is not working on my Fedora 16 with PHP,
>> for some reason it is unable to connect to the MySQL server, it returns
>> the error:
>>
>> [Sun Jan 22 08:40:24 2012] [error] [client ::1] PHP Warning:
>>   mysql_connect(): Can't connect to local MySQL server through socket
>> '/var/lib/mysql/mysql.sock' (13) in /var/www/html/install2.php on line
>> 22, referer: http://localhost/install.php
>>
>> Notice that the user/password is correct, the PHP is installed and
>> working and MySQL is up and running...
>>
>> Even the socket is there
>>
>> # ls -l /var/lib/mysql/mysql.sock
>> srwxrwxrwx. 1 mysql mysql 0 Jan 22 08:37 /var/lib/mysql/mysql.sock
>>
>> What can be the problem? The application is okay, I am using it in a
>> production server and it is running in 2 other local computers (with
>> slackware) for testing purposes...
>>
>> This is the first time that I can't connect to MySQL via PHP... I don't
>> know if it requires an extra configuration or there is a missing package
>> that I should install... the httpd log does not give more details...
>>
>> Thanks for any help!
> 
> Do you have port 3306 open on your firewall?

he is speaking about SOCKET
there is no TCP and no Firewall a topic!



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: MySQL is not working on PHP with Fedora 16

2012-01-22 Thread Mike Wright

On 01/22/2012 07:02 AM, Fedora Linux wrote:

Hello

I have a web application but it is not working on my Fedora 16 with PHP,
for some reason it is unable to connect to the MySQL server, it returns
the error:

[Sun Jan 22 08:40:24 2012] [error] [client ::1] PHP Warning:
  mysql_connect(): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (13) in /var/www/html/install2.php on line
22, referer: http://localhost/install.php

Notice that the user/password is correct, the PHP is installed and
working and MySQL is up and running...

Even the socket is there

# ls -l /var/lib/mysql/mysql.sock
srwxrwxrwx. 1 mysql mysql 0 Jan 22 08:37 /var/lib/mysql/mysql.sock

What can be the problem? The application is okay, I am using it in a
production server and it is running in 2 other local computers (with
slackware) for testing purposes...

This is the first time that I can't connect to MySQL via PHP... I don't
know if it requires an extra configuration or there is a missing package
that I should install... the httpd log does not give more details...

Thanks for any help!


Do you have port 3306 open on your firewall?






--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: [Packages] Minus Desktop Tool for Fedora

2012-01-22 Thread Aaron Konstam
On Tue, 2012-01-17 at 19:46 -0600, Manuel Escudero wrote:
> So I was navigating the Net when I found this online storage service
> with
> an interesting twist called "Minus" I discovered they had a Desktop
> client
> for their service and that the Desktop client had versions for Ubuntu
> and 
> ArchLinux, but not for Fedora...
> 
> 
> I'm a Fedora User and I was really interested in using Minus, so I
> created
> RPM's for their Desktop Tool (From the DEB's they provide using Alien)
> And
> the Generated RPM's work very well, So if you want to Know more about
> Minus
> you can go and visit their webpage and register if you want to use the
> service:
> 
> 
> Minus Website
> 
> 
> And if you're on Fedora and want to use the Minus desktop tool, you
> can
> download the RPM's I created from here:
> 
> 
> 32Bit
> - 
> http://commondatastorage.googleapis.com/xenodecdn/Minus-Desktop-RPM/minus-desktop-tool-1.7-2.i386.rpm
> 64 Bit
> - 
> http://commondatastorage.googleapis.com/xenodecdn/Minus-Desktop-RPM/minus-desktop-tool-1.7-2.x86_64.rpm
> 
> 
> P.S. I've already told the minus team about my RPM's and they asked me
> to
> post the availability of them to the Fedora Community, So I'm posting
> here 
> in case anyone it's interested.
> 
> 
> C'ya!
I can see how I can use your minus  tool to set up an account for your
self and store files. But I can't see how it can be used to see files
shared by someone else. Can you do that? If so , how? 
-- 
===
Never insult an alligator until you've crossed the river.
===
Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: "Proper" F16 Java setup ??? (Firefox Additional Plugins Required)

2012-01-22 Thread Frank Murphy

On 22/01/12 12:18, mike cloaked wrote:



Might be better to use Oracle jre 7 r


Which I understand is OpenJDK as standard.


--
Regards,

Frank Murphy
UTF_8 Encoded
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: "Proper" F16 Java setup ??? (Firefox Additional Plugins Required)

2012-01-22 Thread Andrew Haley
On 01/22/2012 01:51 AM, edik landave wrote:
> #replace the java version name for the one you have downloaded
> #This have worked for me:
>
> 1. Download jre-6u27-linux-i586.bin from the SUN site.
> 2. su-->pwd-->mv jre-6u27-linux-i586.bin to /usr/local
> 3. chmod u+x jre-6u27-linux-i586.bin
> 4. verify permissions: ls -l
> 5. ./jre-6u27-linux-i586.bin
> 6. Do you agree? Yes.-->Done
> 7. It's installed under: /usr/local/jre1.6.0_27
> 8. cd ../lib/firefox/plugins/
> 9. ln -s /usr/local/jre1.6.0_27/lib/i386/libnpjp2.so .
> 10.Edit > Preferences. Under Advanced category > Select Enable Java

Please don't advise people to do this.  If there's a page that
doesn't work with OpenJDK, we want to know.  If everyone is told
to install proprietary Java, the bugs will never get fixed.

Andrew.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


MySQL is not working on PHP with Fedora 16

2012-01-22 Thread Fedora Linux
Hello

I have a web application but it is not working on my Fedora 16 with PHP,
for some reason it is unable to connect to the MySQL server, it returns the
error:

[Sun Jan 22 08:40:24 2012] [error] [client ::1] PHP Warning:
 mysql_connect(): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (13) in /var/www/html/install2.php on line 22,
referer: http://localhost/install.php

Notice that the user/password is correct, the PHP is installed and working
and MySQL is up and running...

Even the socket is there

# ls -l /var/lib/mysql/mysql.sock
srwxrwxrwx. 1 mysql mysql 0 Jan 22 08:37 /var/lib/mysql/mysql.sock

What can be the problem? The application is okay, I am using it in a
production server and it is running in 2 other local computers (with
slackware) for testing purposes...

This is the first time that I can't connect to MySQL via PHP... I don't
know if it requires an extra configuration or there is a missing package
that I should install... the httpd log does not give more details...

Thanks for any help!
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Printer problems

2012-01-22 Thread Frank Murphy

On 21/01/12 22:12, Jim wrote:

Samsung's installer believes CUPS expects to find file
/usr/lib/cups/filter/rastertosamsungsplc , but he is wrong: CUPS expects
to find those file in /usr/libexec/cups/filter.

Is this a true statement as for Fedora 16 ? does cups look at
/usr/libexec/cups/filter ?


I don't have this in F16


 Instead of /usr/lib/cups/filter?


I do have this.

--
Regards,

Frank Murphy
UTF_8 Encoded
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Printer problems

2012-01-22 Thread Aaron Konstam
On Sat, 2012-01-21 at 17:12 -0500, Jim wrote:
> Samsung's installer believes CUPS expects to find
> file /usr/lib/cups/filter/rastertosamsungsplc , but he is wrong: CUPS
> expects to find those file in /usr/libexec/cups/filter.
> 
> Is this a true statement as for Fedora 16 ?  does cups look
> at /usr/libexec/cups/filter ?  Instead of /usr/lib/cups/filter? 

What confuses me is that there is no directory: /usr/libexec/cups 
on my machine. What does that imply?
-- 
===
"Well, if you can't believe what you read in a comic book, what *can*
you believe?!" -- Bullwinkle J. Moose
===
Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Feedback: systemd poweroff fixfiles is it possible?

2012-01-22 Thread Frank Murphy

Looking for feedback

I havn't seen anything in
https://fedoraproject.org/wiki/Systemd

Google not much help.

but I would like
"fixfiles onboot"
to run just before poweroff both cli\gui

not sure how
"Requires=fixfiles"
"After="fixfiles onboot"
would work out.


[Unit]
Description=Power-Off
DefaultDependencies=no
Requires=shutdown.target umount.target final.target /usr/bin/fixfiles
After=shutdown.target umount.target final.target "fixfiles -q onboot"
.include /usr/lib/systemd/system/poweroff.service

Would use a crontab,
but not sure how
"@poweroff fixfiles onboot"
could be worked in, as not valid as a command

--
Regards,

Frank Murphy
UTF_8 Encoded
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: "Proper" F16 Java setup ??? (Firefox Additional Plugins Required)

2012-01-22 Thread mike cloaked
On Sun, Jan 22, 2012 at 1:51 AM, edik landave  wrote:
> #replace the java version name for the one you have downloaded
> #This have worked for me:
>
> 1. Download jre-6u27-linux-i586.bin from the SUN site.
> 2. su-->pwd-->mv jre-6u27-linux-i586.bin to /usr/local
> 3. chmod u+x jre-6u27-linux-i586.bin
> 4. verify permissions: ls -l
> 5. ./jre-6u27-linux-i586.bin
> 6. Do you agree? Yes.-->Done
> 7. It's installed under: /usr/local/jre1.6.0_27
> 8. cd ../lib/firefox/plugins/
> 9. ln -s /usr/local/jre1.6.0_27/lib/i386/libnpjp2.so .
> 10.Edit > Preferences. Under Advanced category > Select Enable Java
>

Might be better to use Oracle jre 7 rather than Sun jre 6 as the
latter is about to be obsoleted.

-- 
mike c
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org