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

2012-01-23 Thread Bruno Wolff III
On Mon, Jan 23, 2012 at 00:31:38 -0600,
  Bruno Wolff III br...@wolff.to wrote:
 On Sun, Jan 22, 2012 at 20:52:43 -0430,
   Patrick O'Callaghan pocallag...@gmail.com 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.

I have had a chance to test this build (kernel-PAE-3.3.0-0.rc1.git0.3.fc17)
now and it seems to be working fine.
-- 
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


systemd and shutdown

2012-01-23 Thread Ian Chapman

Hi,

Does anybody have any ideas how I can diagnose why a system fails to 
shutdown?. It's running F16 but issuing a poweroff or reboot just causes 
it to hang during shutdown. I've no idea what's causing it because 
systemd does a whole bunch of things in parallel. Is there anywhere to 
produce a list of services that systemd shuts down and their order? I've 
enable various levels of debugging, but see nothing useful from systemd 
in the logs, not that it seems to log all that much anyway. Cheers.


--
Ian Chapman.
--
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: systemd and shutdown

2012-01-23 Thread Danishka Navin
On Mon, Jan 23, 2012 at 2:17 PM, Ian Chapman packa...@amiga-hardware.comwrote:

 Hi,

 Does anybody have any ideas how I can diagnose why a system fails to
 shutdown?. It's running F16 but issuing a poweroff or reboot just causes it
 to hang during shutdown. I've no idea what's causing it because systemd
 does a whole bunch of things in parallel. Is there anywhere to produce a
 list of services that systemd shuts down and their order? I've enable
 various levels of debugging, but see nothing useful from systemd in the
 logs, not that it seems to log all that much anyway. Cheers.



I noticed the reboot (take much time) issue on  Fedora 15 but only happened
on a particular model of 400 DELL Desktops
those systems had been suffered the same issue with Ubuntu 9.x


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




-- 
Danishka Navin
http://danishkanavin.blogspot.com
http://twitter.com/danishkanavin
http://www.flickr.com/photos/danishkanavin/
-- 
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: systemd and shutdown

2012-01-23 Thread Frank Murphy

On 23/01/12 08:47, Ian Chapman wrote:

Hi,

Does anybody have any ideas how I can diagnose why a system fails to
shutdown?. It's running F16 but issuing a poweroff or reboot just causes
it to hang during shutdown. I've no idea what's causing it because
systemd does a whole bunch of things in parallel. Is there anywhere to
produce a list of services that systemd shuts down and their order? I've
enable various levels of debugging, but see nothing useful from systemd
in the logs, not that it seems to log all that much anyway. Cheers.



Maybe it's the same as the Rawhide bz:
https://bugzilla.redhat.com/show_bug.cgi?id=781657

--
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: glxgear and glxinfo confusion

2012-01-23 Thread Jatin K

On Sunday 22 January 2012 12:38 AM, Mark LaPierre wrote:

On 01/21/2012 04:30 AM, Markku Kolkka wrote:

21.1.2012 10:08, Jatin K kirjoitti:
I've Dell Latitiude E5620 Laptop with intel HD 3000 graphics card [1], 



Right.  You want it to look more like this:
[mlapier@mushroom ~]$ glxgears
20670 frames in 5.0 seconds = 4133.959 FPS
20746 frames in 5.0 seconds = 4149.087 FPS
20731 frames in 5.0 seconds = 4146.106 FPS
20744 frames in 5.0 seconds = 4148.615 FPS
20741 frames in 5.0 seconds = 4148.097 FPS
20570 frames in 5.0 seconds = 4113.860 FPS
20724 frames in 5.0 seconds = 4144.629 FPS
^C
[mlapier@mushroom ~]$

Check your X server log files for more clues about synchronization 
issues.


what should I look for ???  I've reinstalled the X server but the 
situation is the same


can you spotlight on  the issue ? here[1] the Xorg.0.log

[1] http://pastebin.mozilla.org/1459606


Thanks

--
  °v°
 /(_)\
  ^ ^  Jatin Khatri
RHCSA,RHCE,CCNA
Registerd Linux user No #501175
www.counter.li.org
No M$

--
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: systemd and shutdown

2012-01-23 Thread Ian Chapman

On 01/23/2012 04:52 PM, Danishka Navin wrote:



I noticed the reboot (take much time) issue on  Fedora 15 but only
happened on a particular model of 400 DELL Desktops
those systems had been suffered the same issue with Ubuntu 9.x


This system isn't a Dell box and it used to shutdown correctly until 
recently. Obviously something has changed but there seems to no way (at 
least obvious to me) to figure out the cause.


--
Ian Chapman.
--
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-23 Thread Tim Waugh
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? 

No, it's not.

CUPS on Fedora always looks in /usr/lib/cups/filter for filters, even
on 64-bit systems.

/usr/libexec/cups/filter would be a better location semantically, but I
was persuaded by the upstream maintainer to use /usr/lib/cups/filter on
all platforms ages ago for better cross-distribution compatibility.
Ironically, Apple uses libexec. :-/

Tim.
*/



signature.asc
Description: This is a digitally signed message part
-- 
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: glxgear and glxinfo confusion

2012-01-23 Thread Marko Vojinovic
On Monday 23 January 2012 14:45:28 Jatin K wrote:
 On Sunday 22 January 2012 12:38 AM, Mark LaPierre wrote:
  On 01/21/2012 04:30 AM, Markku Kolkka wrote:
  Check your X server log files for more clues about synchronization
  issues.
 
 what should I look for ???  I've reinstalled the X server but the
 situation is the same
 
 can you spotlight on  the issue ? here[1] the Xorg.0.log

Nothing seems to be wrong with your X setup, AFAICS. What problem are you 
experiencing?

P.S. The fact that glxgears reports 60 fps is not a problem, since it is 
synchronized to the vertical refresh rate of your display. This is normal 
behavior for Intel cards.

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: systemd and shutdown

2012-01-23 Thread Ian Chapman

On 01/23/2012 05:04 PM, Frank Murphy wrote:


Does anybody have any ideas how I can diagnose why a system fails to
shutdown?. It's running F16 but issuing a poweroff or reboot just causes
it to hang during shutdown. I've no idea what's causing it because
systemd does a whole bunch of things in parallel. Is there anywhere to
produce a list of services that systemd shuts down and their order? I've
enable various levels of debugging, but see nothing useful from systemd
in the logs, not that it seems to log all that much anyway. Cheers.



Maybe it's the same as the Rawhide bz:
https://bugzilla.redhat.com/show_bug.cgi?id=781657


Thanks I've checked out the bug report and whilst it looks similar, it 
seems to be a different issue. I tried the fix in the report anyway just 
to see but it made no difference. I've since tracked it down to the 
service ipa.service. If this is started the system doesn't shutdown. If 
I stop the service manually then the system shuts down fine, so it looks 
like it might be a service dependency issue but I'm at a loss as to how 
I can tell.


--
Ian Chapman.
--
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: glxgear and glxinfo confusion

2012-01-23 Thread Jatin K

On Monday 23 January 2012 03:22 PM, Marko Vojinovic wrote:

what should I look for ???  I've reinstalled the X server but the
situation is the same

can you spotlight on  the issue ? here[1] the Xorg.0.log
Nothing seems to be wrong with your X setup, AFAICS. What problem are you
experiencing?

There is no issue... I was just comparing my two laptop's performance both are 
Dell,
one is core-i5 with ATI 1GB dedicated memory and another is core-i7  with Intel 
HD 3000 graphics


so just checking the performance and tried the glxgears command and seen 
the big difference in FPS

and posted the question which came to my mind :-)

Thanks

--
  °v°
 /(_)\
  ^ ^  Jatin Khatri
RHCSA,RHCE,CCNA
Registerd Linux user No #501175
www.counter.li.org
No M$

--
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: systemd and shutdown

2012-01-23 Thread Frank Murphy

On 23/01/12 10:05, Ian Chapman wrote:



Thanks I've checked out the bug report and whilst it looks similar, it
seems to be a different issue. I tried the fix in the report anyway just
to see but it made no difference. I've since tracked it down to the
service ipa.service. If this is started the system doesn't shutdown. If
I stop the service manually then the system shuts down fine, so it looks
like it might be a service dependency issue but I'm at a loss as to how
I can tell.



Search bugzilla for ipa.service, if none create a bz.

--
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: systemd and shutdown

2012-01-23 Thread Ian Chapman

On 01/23/2012 06:28 PM, Frank Murphy wrote:

On 23/01/12 10:05, Ian Chapman wrote:



Thanks I've checked out the bug report and whilst it looks similar, it
seems to be a different issue. I tried the fix in the report anyway just
to see but it made no difference. I've since tracked it down to the
service ipa.service. If this is started the system doesn't shutdown. If
I stop the service manually then the system shuts down fine, so it looks
like it might be a service dependency issue but I'm at a loss as to how
I can tell.



Search bugzilla for ipa.service, if none create a bz.


Thanks, I already have. For reference:
https://bugzilla.redhat.com/show_bug.cgi?id=783943

--
Ian Chapman.
--
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: systemd and shutdown

2012-01-23 Thread Stephen Gallagher
On Mon, 2012-01-23 at 18:33 +0800, Ian Chapman wrote:
 On 01/23/2012 06:28 PM, Frank Murphy wrote:
  On 23/01/12 10:05, Ian Chapman wrote:
 
 
  Thanks I've checked out the bug report and whilst it looks similar, it
  seems to be a different issue. I tried the fix in the report anyway just
  to see but it made no difference. I've since tracked it down to the
  service ipa.service. If this is started the system doesn't shutdown. If
  I stop the service manually then the system shuts down fine, so it looks
  like it might be a service dependency issue but I'm at a loss as to how
  I can tell.
 
 
  Search bugzilla for ipa.service, if none create a bz.
 
 Thanks, I already have. For reference:
 https://bugzilla.redhat.com/show_bug.cgi?id=783943
 
 -- 
 Ian Chapman.

tl;dr FreeIPA is aware of it and working on it.

Yeah, something changed in the way the 389 DS systemd script works and
it's interfering unpleasantly with FreeIPA (which has systemd scripts
that wrap it). The full development discussion is available here:

https://www.redhat.com/archives/freeipa-devel/2012-January/msg00223.html




signature.asc
Description: This is a digitally signed message part
-- 
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


SMART: sectors waiting to be remapped, negative numbers and dual boot

2012-01-23 Thread Ian Malone
Hi,

I had a slightly worrying moment yesterday when the disc manager in
F16 came up after booting and logging in and warned me that one of my
drives wasn't healthy. It was installed in August so is outside the
traditional early-failure window, which isn't to say it couldn't be on
the verge of failing. Things that are odd though (via the disc
management SMART view):
1. It reports 'electrical failure' as the SMART test status.
2. The parameter that is failing is 197C5  Current Pending Sector
Count, which shows a large negative number.
3. On refreshing the SMART data both problems clear, current pending
sector count goes to 0 + n/a and drive status is healthy.
4. Running a short self-test the drive still shows as healthy.
5. On a long self test this morning I got 'electrical failure' again
at the end, however refreshing changed this to 'healthy'.

Both times I've seen this (yesterday and today) are after re-booting
from Windows XP, so I'm wondering if there's something about XP SMART
management (or lack off?) that's leaving this parameter unset, or
possibly SMART is reading a small positive value incorrectly before
pending sectors have been cleared.

Does anyone else have any idea what might be going on? Drive is
obviously still in warranty, just want to know how concerned I need to
be.

-- 
imalone
-- 
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: SMART: sectors waiting to be remapped, negative numbers and dual boot

2012-01-23 Thread Ian Chapman

On 01/23/2012 08:52 PM, Ian Malone wrote:


Both times I've seen this (yesterday and today) are after re-booting
from Windows XP, so I'm wondering if there's something about XP SMART
management (or lack off?) that's leaving this parameter unset, or
possibly SMART is reading a small positive value incorrectly before
pending sectors have been cleared.

Does anyone else have any idea what might be going on? Drive is
obviously still in warranty, just want to know how concerned I need to
be.


It may be exactly that, an electrical failure of some sort that's 
intermittent. The current pending sector usually refers to sectors on 
the disk which are no longer readable but have not yet been remapped. A 
write to a bad sector causes the drive to remap it to a spare working 
sector. It doesn't make sense to me that it would be negative. Most 
drives have a bunch of spare, normally unused sectors for that purpose. 
Does smart report that the drive is in it's known database? If not, it 
could be a 'quirk' of that drive, but either way I'd make sure you keep 
a backup and if it's under warranty it maybe just as prudent to get it 
replaced.


--
Ian Chapman.
--
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


Usb devices and kernel modules auto-loading

2012-01-23 Thread Marco Vittorini Orgeas
Hi list,

I'm on Fedora 16 and trying to solve a problem with an usb device(a CP2103 
based device) which doesn't get recognized by the system, even if the linux 
driver already supports it at 99%: 

the problem seems to be that CP210x based devices have vendor programmable 
device IDs and if the device is not being detected is likely because the 
device IDs are unknown (http://www.etheus.net/CP210x_Linux_Driver).

Now it would seems that adding my device id(which is not present at the moment 
in the latest kernel module) could solve the problem, thus I've modified the 
source of the driver and I've successfully locally compiled it following 
http://www.cyberciti.biz/tips/build-linux-kernel-module-against-installed-
kernel-source-tree.html.

I have issued a sudo modprobe CP210x to load the CP210x module, and it loads 
fine, but the dmesg output shows the kernel doesn't still recognize the device 
when I plug it.

I guess my problem is the linux kernel while using an auto-loading (hot-
plugging?) feature to auto-load usb modules, is still referring to the stock 
CP210x module included with the kernel source tree instead of mine and this 
prevent it to successfully recognize the device as supported.

I've tried searching around for info about the auto-loading mechanism and how 
to pin inside it, but I've found an overwhelming amount of text which does not 
explain where (and how) the kernel search for its available drivers.

Would somebody point me to the right direction and clear how the kernel manage 
usb modules auto-loading in latest fedora or add just some hint?

thank you,

Marco 


-- 
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: docbook toolchain

2012-01-23 Thread Paul W. Frields
On Sat, Jan 21, 2012 at 03:31:28PM +0100, Gergely Buday wrote:
 Hi there,
 
 is the publican toolchain still the recommended vehicle for docbook
 authoring in Fedora?

That's what the Fedora Docs team itself uses.  My recollection is
there's a generic branding setup available by default so you can
produce something for personal or other use.

Besides publican, though, you can also use the standard DocBook
templates which are also available in Fedora.

-- 
Paul W. Frieldshttp://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
The open source story continues to grow: http://opensource.com
-- 
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-23 Thread Jim

On 01/23/2012 04:46 AM, Tim Waugh wrote:

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?

No, it's not.

CUPS on Fedora always looks in /usr/lib/cups/filter for filters, even
on 64-bit systems.

/usr/libexec/cups/filter would be a better location semantically, but I
was persuaded by the upstream maintainer to use /usr/lib/cups/filter on
all platforms ages ago for better cross-distribution compatibility.
Ironically, Apple uses libexec. :-/

Tim.
*/




Thanks for the reply Tim.
-- 
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


Yum concurrency - Multiple instances at the same time

2012-01-23 Thread Freak Trick
Is there some way I can get more than one instance of yum running?
-- 
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-23 Thread Patrick O'Callaghan
On 23/01/12 4:01 AM, Bruno Wolff III wrote:
 On Mon, Jan 23, 2012 at 00:31:38 -0600,
   Bruno Wolff III br...@wolff.to wrote:
 On Sun, Jan 22, 2012 at 20:52:43 -0430,
   Patrick O'Callaghan pocallag...@gmail.com 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.
 
 I have had a chance to test this build (kernel-PAE-3.3.0-0.rc1.git0.3.fc17)
 now and it seems to be working fine.

Good to know. I'll bear it in mind if the boot param workaround doesn't
help.

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: Yum concurrency - Multiple instances at the same time

2012-01-23 Thread Bruno Wolff III
On Mon, Jan 23, 2012 at 21:40:10 +0530,
  Freak Trick trickfr...@ymail.com wrote:
 Is there some way I can get more than one instance of yum running?

You can run it as different users. That is useful if you are doing updates
as root and you want to do queries at the same time (as a normal user).
-- 
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-23 Thread Fedora Linux
Hello

By command line I am able to connect normally, so the problem is not
MySQL... I use mysql -u root -h localhost -p and it works... Note that
the application also uses root since it must create the database and a user
for the application...

I have tried to restart MySQL and the whole system, but it still does not
connect from PHP

The error is:
[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

So I guess the problem is in the PHP, Apache or on the interface between
MySQL and Apache/PHP...

Any other suggestion?

Regards

On Sun, Jan 22, 2012 at 12:04 PM, bruce badoug...@gmail.com wrote:

 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 
 mike.wri...@mailinator.comwrote:

 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/usershttps://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: 
 http://fedoraproject.org/wiki/**Mailing_list_guidelineshttp://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


-- 
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: OT: bash script - unexpected exit

2012-01-23 Thread Hiisi
On 17 January 2012 19:03, Matthew Mosesohn mmose...@redhat.com wrote:
 Sorry about that.  I meant to say that using for line in $(cat file) is bad
 because it might not split up into lines properly.
 
 From: JD jd1...@gmail.com

 To: Community support for Fedora users users@lists.fedoraproject.org
 Sent: Monday, January 16, 2012 3:34:37 PM

 Subject: Re: OT: bash script - unexpected exit

 On Mon, Jan 16, 2012 at 1:25 PM, Andre Speelmans fedora-l...@cosiso.nl
 wrote:
 On Mon, Jan 16, 2012 at 8:55 PM, JD jd1...@gmail.com wrote:
 What exactly were you trying to accomplish using cat?

 I was not trying, the OP had a script that did a:
 cat file | while read line; do something done

 Matthew commented that you should not rely on cat for reading a file
 line by line and I was curious as to why not. The example Matthe gave:

 while read; do something; done  file

 would have been my preferred way, but I was curious as to whether
 there was a specific reason to not rely on cat. So far cat always gave
 me the contents of the file, after all, and as such seemed pretty
 reliable.


 --
 Regards,

 André


 I see! Thanx for elucidating.

 The second method you state should be like this

 while read line; do
 Something with $line
 done  file

 Cheers,

 JD
 --

Hello, friends!
I have been busy lately preparing my PhD defending procedure. Thanks
you all for your valuable tips. Appreciate it!
-- 
Hiisi.
Registered Linux User #487982. Be counted at: http://counter.li.org/
--
Spandex is a privilege, not a right.
-- 
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-23 Thread Fedora Linux
# setsebool httpd_can_network_connect_db on

I have just tried, but still does not work:

Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (13)

Any other idea?

Connecting manually it works

$ mysql -u root -h localhost -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.5.17 MySQL Community Server (GPL)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.

mysql

Regards

On Sun, Jan 22, 2012 at 11:57 PM, Kernel Guardian
kernelgard...@gmail.comwrote:

 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 badoug...@gmail.com 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


-- 
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-23 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/23/2012 01:22 PM, Fedora Linux wrote:
 # setsebool httpd_can_network_connect_db on
 
 I have just tried, but still does not work:
 
 Can't connect to local MySQL server through socket 
 '/var/lib/mysql/mysql.sock' (13)
 
 Any other idea?
 
 Connecting manually it works
 
What AVC's are you seeing.  Most likely mysql is not running with the
correct context.

ps -eZ | grep mysql


 $ mysql -u root -h localhost -p Enter password: Welcome to the
 MySQL monitor.  Commands end with ; or \g. Your MySQL connection id
 is 2 Server version: 5.5.17 MySQL Community Server (GPL)
 
 Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights
 reserved.
 
 Oracle is a registered trademark of Oracle Corporation and/or its 
 affiliates. Other names may be trademarks of their respective 
 owners.
 
 Type 'help;' or '\h' for help. Type '\c' to clear the current
 input statement.
 
 mysql
 
 Regards
 
 On Sun, Jan 22, 2012 at 11:57 PM, Kernel Guardian 
 kernelgard...@gmail.com mailto:kernelgard...@gmail.com wrote:
 
 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 badoug...@gmail.com 
 mailto:badoug...@gmail.com wrote:
 
 -- users mailing list users@lists.fedoraproject.org
 mailto: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
 
 
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8dqZ0ACgkQrlYvE4MpobPHpwCff8/s5jlF+psAGNndbUYJhzN6
FZYAnAmnbpr4JG1k3NFmA2ioO3A52vrK
=3DHX
-END PGP 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-23 Thread bruce
umm...

exactly what/how do you attempt to access mysql through the php app?
are you sure you used to exact same attributes when you access mysql from
the cli?
what do the mysql log files say?


On Mon, Jan 23, 2012 at 1:05 PM, Fedora Linux fedorali...@toursbymexico.com
 wrote:

 Hello

 By command line I am able to connect normally, so the problem is not
 MySQL... I use mysql -u root -h localhost -p and it works... Note that
 the application also uses root since it must create the database and a user
 for the application...

 I have tried to restart MySQL and the whole system, but it still does not
 connect from PHP

 The error is:
 [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

 So I guess the problem is in the PHP, Apache or on the interface between
 MySQL and Apache/PHP...

 Any other suggestion?

 Regards

 On Sun, Jan 22, 2012 at 12:04 PM, bruce badoug...@gmail.com wrote:

 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 mike.wri...@mailinator.com
  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/usershttps://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: 
 http://fedoraproject.org/wiki/**Mailing_list_guidelineshttp://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



 --
 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-23 Thread bruce
are you running selinux?


On Mon, Jan 23, 2012 at 1:05 PM, Fedora Linux fedorali...@toursbymexico.com
 wrote:

 Hello

 By command line I am able to connect normally, so the problem is not
 MySQL... I use mysql -u root -h localhost -p and it works... Note that
 the application also uses root since it must create the database and a user
 for the application...

 I have tried to restart MySQL and the whole system, but it still does not
 connect from PHP

 The error is:
 [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

 So I guess the problem is in the PHP, Apache or on the interface between
 MySQL and Apache/PHP...

 Any other suggestion?

 Regards

 On Sun, Jan 22, 2012 at 12:04 PM, bruce badoug...@gmail.com wrote:

 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 mike.wri...@mailinator.com
  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/usershttps://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: 
 http://fedoraproject.org/wiki/**Mailing_list_guidelineshttp://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



 --
 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: glxgear and glxinfo confusion

2012-01-23 Thread Marko Vojinovic
On Monday 23 January 2012 15:43:38 Jatin K wrote:
 On Monday 23 January 2012 03:22 PM, Marko Vojinovic wrote:
  Nothing seems to be wrong with your X setup, AFAICS. What problem are
  you
  experiencing?
 
 There is no issue... I was just comparing my two laptop's performance both
 are Dell, one is core-i5 with ATI 1GB dedicated memory and another is
 core-i7  with Intel HD 3000 graphics
 
 so just checking the performance and tried the glxgears command and seen
 the big difference in FPS

I always found the output of glxgears quite confusing, to say the least. If 
you think logically --- your screen displays a picture 60 times in one second, 
and some graphics cards (like Intel) render the frames in the same rythm, to 
display the images of the gears animation 60 times per second.

OTOH, there are graphics cards like ATI, which render cca 4000 gears images 
every second, out of which only 60 get to be displayed on the screen, while 
all others are skipped. I find this to be a terrible waste of card resources 
(and energy), without any benefit whatsoever. That is, assuming one can 
actually trust the glxgears output numbers.

And in spite of the above, people generally consider the 4000 fps to be 
better than 60 fps. I never understood this. But then again, one cannot 
understand everything in life anyway... ;-)

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: glxgear and glxinfo confusion

2012-01-23 Thread Joe Zeff

On 01/23/2012 11:42 AM, Marko Vojinovic wrote:

I always found the output of glxgears quite confusing, to say the least. If
you think logically --- your screen displays a picture 60 times in one second,
and some graphics cards (like Intel) render the frames in the same rythm, to
display the images of the gears animation 60 times per second.


Motion Pictures are shown at 32 fps and nobody complains about 
flickering, but there are people who claim that anything less than 70 
fps on their monitor flickers.  I've always considered them the video 
equivalent of the audiophule, who claims he can hear the difference 
between regular cables and gold ones even after a scope shows the output 
to be identical and he's seen the display of the two sine waves.

--
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: glxgear and glxinfo confusion

2012-01-23 Thread Richard Shaw
On Mon, Jan 23, 2012 at 1:58 PM, Joe Zeff j...@zeff.us wrote:
 On 01/23/2012 11:42 AM, Marko Vojinovic wrote:

 I always found the output of glxgears quite confusing, to say the least.
 If
 you think logically --- your screen displays a picture 60 times in one
 second,
 and some graphics cards (like Intel) render the frames in the same rythm,
 to
 display the images of the gears animation 60 times per second.


 Motion Pictures are shown at 32 fps and nobody complains about flickering,
 but there are people who claim that anything less than 70 fps on their
 monitor flickers.  I've always considered them the video equivalent of the
 audiophule, who claims he can hear the difference between regular cables and
 gold ones even after a scope shows the output to be identical and he's seen
 the display of the two sine waves.

Kinda apples and oranges though. Although at a basic level, fps is
fps, with motion pictures you're seeing a flash of light of the
whole frame which includes motion blur. On a CRT the fps is the rate
the scan line updates the screen and there's no motion blur, which is
why you need higher FPS to make motion seem smooth and fluid.

I can see the scan line updating to about 75 Hz but it doesn't bother
me too much. 60Hz makes me motion sick. As far as audio cables, I'm
not too picky unless they're REALLY cheap.

Richard
-- 
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: glxgear and glxinfo confusion

2012-01-23 Thread Paul Allen Newell

On 1/23/2012 11:58 AM, Joe Zeff wrote:


Motion Pictures are shown at 32 fps [...]


35mm is 24fps or multiples thereof ... what is shown at 32fps?

--
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: glxgear and glxinfo confusion

2012-01-23 Thread Joe Zeff

On 01/23/2012 12:08 PM, Paul Allen Newell wrote:

On 1/23/2012 11:58 AM, Joe Zeff wrote:


Motion Pictures are shown at 32 fps [...]


35mm is 24fps or multiples thereof ... what is shown at 32fps?



I sit corrected.  However, 24 fps makes my point even better.
--
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: glxgear and glxinfo confusion

2012-01-23 Thread Chris Adams
Once upon a time, Joe Zeff j...@zeff.us said:
 Motion Pictures are shown at 32 fps and nobody complains about 
 flickering,

Nope, 24 fps.  Also, the technology is different; reflected light on a
screen vs. direct view has different effects on the eye.

In general, you can't see more than about 20-24 fps, so that's all that
is really needed to capture motion and replay it.  However, different
display technologies cause other effects, so the display rate has to be
higher to overcome the display-specific effects.

 but there are people who claim that anything less than 70 
 fps on their monitor flickers.

With CRTs, it was definately visable, especially under fluorescent
lights, but that was because a CRT didn't display the whole screen at
once.  It only drew a line at a time, and they didn't stay lit the whole
frame cycle.  On LCDs, that isn't the case.

One reason video cards render at higher-than-refresh rates is to be able
to do motion blur.

-- 
Chris Adams cmad...@hiwaay.net
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
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: glxgear and glxinfo confusion

2012-01-23 Thread Michael Cronenworth

Marko Vojinovic wrote:

That is, assuming one can
actually trust the glxgears output numbers.


Marko, please educate yourself.

http://wiki.cchtml.com/index.php/Glxgears_is_not_a_Benchmark

If you start typing a reply back with yeah I've seen that then you 
need to read it again.

--
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


[389-users] Problems with Database Import.

2012-01-23 Thread Dan H. Eicher
I’m attempting to port my ldap database from one machine to another, the 
machine I am attempting to port to is running a newer version of 389. 
The target machine is build 2011.308.2312.


On the source machine I do an db2ldif - all looks good.

I go to the target machine and start fedora-console, open the directory 
server and choose import database.


The first couple of thousand entries/users seem to go well, but then by 
looking at both my ldif source file and the contents of my reject file 
after one particular user I get:


Error adding object 'dn: uid=ctuser,ou=Users,dc=localdomain'. The error 
sent by the server was 'Cannot connect to the LDAP server'.


Every new user after that fails to be added.

The import appears to complete and slapd doesn’t stop.

Any tips here on how I can resolve this?

Thanks,
Dan
--
389 users mailing list
389-us...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Re: [389-users] Problems with Database Import.

2012-01-23 Thread Rich Megginson

On 01/23/2012 02:05 PM, Dan H. Eicher wrote:
I’m attempting to port my ldap database from one machine to another, 
the machine I am attempting to port to is running a newer version of 
389. The target machine is build 2011.308.2312.


On the source machine I do an db2ldif - all looks good.

I go to the target machine and start fedora-console, open the 
directory server and choose import database.

Have you tried Initialize database?


The first couple of thousand entries/users seem to go well, but then 
by looking at both my ldif source file and the contents of my reject 
file after one particular user I get:


Error adding object 'dn: uid=ctuser,ou=Users,dc=localdomain'. The 
error sent by the server was 'Cannot connect to the LDAP server'.

Did the server then crash?  Do you have a core file? What platform?
What version is the target machine?  rpm -qi 389-ds-base


Every new user after that fails to be added.

The import appears to complete and slapd doesn’t stop.

Any tips here on how I can resolve this?

You could try to use ldif2db from the command line on the target machine.


Thanks,
Dan
--
389 users mailing list
389-us...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users


--
389 users mailing list
389-us...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Printer not working

2012-01-23 Thread Lawrence Graves
I just notice when I ask my printer to print a test page nothing 
happens. Could somebody shed some light on this problem. There are no 
error messages formulated to send in.

--
Lawrence Graves All things are workable but don't all things work.
-- 
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: glxgear and glxinfo confusion

2012-01-23 Thread Alan Cox
On Mon, 23 Jan 2012 11:58:31 -0800
Joe Zeff j...@zeff.us wrote:

 On 01/23/2012 11:42 AM, Marko Vojinovic wrote:
  I always found the output of glxgears quite confusing, to say the least. If
  you think logically --- your screen displays a picture 60 times in one 
  second,
  and some graphics cards (like Intel) render the frames in the same rythm, to
  display the images of the gears animation 60 times per second.
 
 Motion Pictures are shown at 32 fps and nobody complains about 

32 ?? less than that.

 flickering, but there are people who claim that anything less than 70 
 fps on their monitor flickers. 

They are not comparable.

One is a scanning line display the other is a continuous output beam.
There are two big reasons that matters

1.  The display behaviour is quite different, on a CRT all but one
scan line of pixels is fading to black, on a film this isn't the case

2.  Because it is scanning you have two frequencies - the update
frequency and the animation frequency. You therefore get beat frequencies
and images changing mid scan - aka tearing.

And if you want to know about the difference and whether it matters there
is an astronomical amount of proper scientific peer reviewed literature
on the subject.

Alan
-- 
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: Usb devices and kernel modules auto-loading

2012-01-23 Thread Marco Vittorini Orgeas
On Monday, January 23, 2012 04:30:46 PM Marco Vittorini Orgeas wrote:
 Hi list,
 
 I guess my problem is the linux kernel while using an auto-loading (hot-
 plugging?) feature to auto-load usb modules, is still referring to the stock
 CP210x module included with the kernel source tree instead of mine and this
 prevent it to successfully recognize the device as supported.
 
 I've tried searching around for info about the auto-loading mechanism and
 how to pin inside it, but I've found an overwhelming amount of text which
 does not explain where (and how) the kernel search for its available
 drivers.
 
 Would somebody point me to the right direction and clear how the kernel
 manage usb modules auto-loading in latest fedora or add just some hint?
 

It seems that replacing the original .ko file under /lib/modules/, followed by 
depmod -a does allow auto-loading of the custom one of course.

Just curious: replacing is the only method to manage modules precedence 
under linux ? Is there any other way to achieve the same effect without 
overwriting the original .ko files ?

-- 
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: glxgear and glxinfo confusion

2012-01-23 Thread Marko Vojinovic
On Monday 23 January 2012 14:47:44 Michael Cronenworth wrote:
 Marko Vojinovic wrote:
  That is, assuming one can
  actually trust the glxgears output numbers.
 
 Marko, please educate yourself.
 
 http://wiki.cchtml.com/index.php/Glxgears_is_not_a_Benchmark
 
 If you start typing a reply back with yeah I've seen that then you
 need to read it again.

This wasn't the point of my post.

I understand perfectly well that glxgears is not a proper benchmark. It is not 
even supposed to be a benchmark, since it doesn't test all capabilities 
thoroughly enough.

However, my assumption above is about the validity of the fps numbers, for 
whatever glxgears is *actually* *rendering* . Namely, if it reports 4000 fps, 
does that mean that the gears animation has been actually rendered 4000 times 
per second? Or not?

If not, then the reported numbers are incorrect, and one should file a bug.

If yes, then it is a major waste of resources, since the display can only show 
60 out of those 4000 frames in one second.

Either way, anything bigger than 60 fps in glxgears means that something 
somewhere is very wrong (either as a bug, or by design). That was my point.

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: Yum concurrency - Multiple instances at the same time

2012-01-23 Thread Mark LaPierre

On 01/23/2012 11:15 AM, Bruno Wolff III wrote:

On Mon, Jan 23, 2012 at 21:40:10 +0530,
   Freak Tricktrickfr...@ymail.com  wrote:

Is there some way I can get more than one instance of yum running?


You can run it as different users. That is useful if you are doing updates
as root and you want to do queries at the same time (as a normal user).


Be aware that they will step on eachother's toes because one will have a 
lock on the RPM database and the other will want it.


Same thing happens if you try to run two in a row too close together. 
The second will hang while it waits for the lock from the first to clear.


--
_
   °v°
  /(_)\
   ^ ^  Mark LaPierre
Registerd Linux user No #267004
--
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


printing landscape -- hp laserjet p3005dn, hp lasejet color 2600n

2012-01-23 Thread gary artim
Hi --

Seem all the landscape printing in linux stopped working, virtual
hosts of w7 still work on same machine. Has anyone seenn this problem?
I've tried deleting and reinstalling all the printers, different ppd,
no workie! I get 1/2 of a portrait mode printout when using landscape
- maybe some filter missing?. For the 2600 I tried foo2hp also - same
results. Ideas welcomed. I have about 8 desktops all borked for
landscape mode (so you feel some sympathy).  Seriously please advise.
thanks

-- g.
-- 
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 not working

2012-01-23 Thread Mark LaPierre

On 01/23/2012 04:30 PM, Lawrence Graves wrote:

I just notice when I ask my printer to print a test page nothing
happens. Could somebody shed some light on this problem. There are no
error messages formulated to send in.
--
Lawrence Graves All things are workable but don't all things work.



Check all files in:

/usr/lib/cups/filter

Be sure they are all owned by root:root and have permission set to 755.

--
_
   °v°
  /(_)\
   ^ ^  Mark LaPierre
Registerd Linux user No #267004
--
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: printing landscape -- hp laserjet p3005dn, hp lasejet color 2600n

2012-01-23 Thread Ed Greshko
On 01/24/2012 07:15 AM, gary artim wrote:
 Seem all the landscape printing in linux stopped working, virtual
 hosts of w7 still work on same machine. Has anyone seenn this problem?
 I've tried deleting and reinstalling all the printers, different ppd,
 no workie! I get 1/2 of a portrait mode printout when using landscape
 - maybe some filter missing?. For the 2600 I tried foo2hp also - same
 results. Ideas welcomed. I have about 8 desktops all borked for
 landscape mode (so you feel some sympathy).  Seriously please advise.
 thanks


No problem here.  Running fully updated F16 system with a network
attached HP 6500.

From which applications have you tried printing?  I just printed
landscape from Chrome and LibreOffice Calc.

-- 
Do not condemn the judgment of another because it differs from your own.
You may both be wrong. -- Dandemis
-- 
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: printing landscape -- hp laserjet p3005dn, hp lasejet color 2600n

2012-01-23 Thread gary artim
On Mon, Jan 23, 2012 at 4:48 PM, Ed Greshko ed.gres...@greshko.com wrote:
 On 01/24/2012 07:15 AM, gary artim wrote:
 Seem all the landscape printing in linux stopped working, virtual
 hosts of w7 still work on same machine. Has anyone seenn this problem?
 I've tried deleting and reinstalling all the printers, different ppd,
 no workie! I get 1/2 of a portrait mode printout when using landscape
 - maybe some filter missing?. For the 2600 I tried foo2hp also - same
 results. Ideas welcomed. I have about 8 desktops all borked for
 landscape mode (so you feel some sympathy).  Seriously please advise.
 thanks


 No problem here.  Running fully updated F16 system with a network
 attached HP 6500.

 From which applications have you tried printing?  I just printed
 landscape from Chrome and LibreOffice Calc.

 --
 Do not condemn the judgment of another because it differs from your own.
 You may both be wrong. -- Dandemis
 --
 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

Ed I tried libreoffice, firefox. both behave the same, prints a lopped
off portrait image when printing landscape. I have a 2055 hp and it
prints fine, just the p3005dn and 2600n, both hp's do this.
-- 
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: printing landscape -- hp laserjet p3005dn, hp lasejet color 2600n

2012-01-23 Thread Ed Greshko
On 01/24/2012 09:00 AM, gary artim wrote:
 Ed I tried libreoffice, firefox. both behave the same, prints a lopped
 off portrait image when printing landscape. I have a 2055 hp and it
 prints fine, just the p3005dn and 2600n, both hp's do this.

Well, I don't have those printers

If you run system-config-printer do you see any differences in the
settings that may explain things?  How about under Job Options,
Orientation?   Set to Automatic?


-- 
Do not condemn the judgment of another because it differs from your own.
You may both be wrong. -- Dandemis
-- 
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-23 Thread Michael Hennebry

On Tue, 10 Jan 2012, Michael Hennebry wrote:


As my current installation is EOL,
there are things I would like to know before trying to install F16.



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.


How?
If it's documented anywhere, I can't find it.
From what I've read, %post won't work.
IDs from the 500-999 range will already have been allocated.
'Tain't obvious that %pre would work either.
If %pre runs before everything else, /etc won't exist yet.

--
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: printing landscape -- hp laserjet p3005dn, hp lasejet color 2600n

2012-01-23 Thread gary artim
On Mon, Jan 23, 2012 at 5:18 PM, Ed Greshko ed.gres...@greshko.com wrote:
 On 01/24/2012 09:00 AM, gary artim wrote:
 Ed I tried libreoffice, firefox. both behave the same, prints a lopped
 off portrait image when printing landscape. I have a 2055 hp and it
 prints fine, just the p3005dn and 2600n, both hp's do this.

 Well, I don't have those printers

 If you run system-config-printer do you see any differences in the
 settings that may explain things?  How about under Job Options,
 Orientation?   Set to Automatic?

will check tomorrow when I get in the office. I've been using cups
(localhost:631) or lpadmin to config the printer, maybe I should stay
clear of these? and use system-config-printer. at a lose as to what is
happening. could be i need to set debugging in cups to see whats
what...I havent tested with enscript to see if its apps related..g.
-- 
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-23 Thread Timothy Murphy
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.
 
 How?
 If it's documented anywhere, I can't find it.
 From what I've read, %post won't work.
 IDs from the 500-999 range will already have been allocated.
 'Tain't obvious that %pre would work either.
 If %pre runs before everything else, /etc won't exist yet.

I'm in a similar situation, where I have UID 1000 on my Fedora laptop,
and 500 on the CentOS server.
I'm wondering if there is any simple way of changing my CentOS ID to 1000?

I'm thinking of setting up a new CentOS user with ID 1000,
moving all my files to the new user,
removing my old user entry,
and finally changing the username of the new user back to me.

 
-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin


-- 
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-23 Thread Paul Allen Newell

On 1/23/2012 5:35 PM, Timothy Murphy wrote:


I'm thinking of setting up a new CentOS user with ID 1000,
moving all my files to the new user,
removing my old user entry,
and finally changing the username of the new user back to me.




Tim:

That's what I did ... brute force rather than clever and haven't had a 
single problem between F14 and F16 since. There's lots of past postings 
about any gotchas (the only ones I encountered were making sure only the 
dot files that you care about are copied into the new user's home and 
general cleanup with any wheel/sudo access).


Paul

--
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: printing landscape -- hp laserjet p3005dn, hp lasejet color 2600n

2012-01-23 Thread Ed Greshko
On 01/24/2012 09:30 AM, gary artim wrote:
 will check tomorrow when I get in the office. I've been using cups
 (localhost:631) or lpadmin to config the printer, maybe I should stay
 clear of these? and use system-config-printer. at a lose as to what is
 happening. could be i need to set debugging in cups to see whats
 what...I havent tested with enscript to see if its apps related..g.

I generally only use cups myself.  But, I happened to notice that s-c-p
has settings had a orientation settings.  Seemed like something to check.

-- 
Do not condemn the judgment of another because it differs from your own.
You may both be wrong. -- Dandemis
-- 
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-23 Thread Michael Hennebry

On Mon, 23 Jan 2012, Michael Hennebry wrote:


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.


How?
If it's documented anywhere, I can't find it.
From what I've read, %post won't work.
IDs from the 500-999 range will already have been allocated.
'Tain't obvious that %pre would work either.
If %pre runs before everything else, /etc won't exist yet.


The %pre example has me really confused.
http://docs.fedoraproject.org/en-US/Fedora/16/html/Installation_Guide/s1-kickstart2-preinstallconfig.html
The example writes out a partioning scheme,
but to work / , /bin and /tmp must already exist.
What is going on?

--
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 changes

2012-01-23 Thread Emmett Culley
On 01/23/2012 05:35 PM, Timothy Murphy wrote:
 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.

 How?
 If it's documented anywhere, I can't find it.
  From what I've read, %post won't work.
 IDs from the 500-999 range will already have been allocated.
 'Tain't obvious that %pre would work either.
 If %pre runs before everything else, /etc won't exist yet.
 
 I'm in a similar situation, where I have UID 1000 on my Fedora laptop,
 and 500 on the CentOS server.
 I'm wondering if there is any simple way of changing my CentOS ID to 1000?
 
 I'm thinking of setting up a new CentOS user with ID 1000,
 moving all my files to the new user,
 removing my old user entry,
 and finally changing the username of the new user back to me.
 
 
This may not be the right way to do it, but on each of my older servers and 
workstations, I logged in as root and modified /etc/passwd and /etc/group for 
all users (not that many) then ran something like find / -uid old_uid -exec 
chown user_name {} + and something similar for group ID.

I had resisted doing that until I upgraded the third machine to Fedora 16.  Now 
it is done and I won't have to concern myself on subsequent Fedora 16+ installs.

What were they thinking?

Emmett

Emmett
-- 
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