Re: [389-users] Problems logging in with 389-console

2012-03-27 Thread Mike Mercier
Hello,

On Mon, Mar 26, 2012 at 10:47 AM, Rich Megginson rmegg...@redhat.com wrote:
 On 03/26/2012 08:28 AM, Mike Mercier wrote:

 Hello,

 adm.conf attached.

 Have you configured the directory server to use TLS/SSL?

No, TLS/SSL was not configured. I did the following to install 389.

Install fedora 16
run yum update
install 389
run setup-ds-admin.pl using the 'Typical' option
run 389-console and try to login as cn=Directory Manager

 Can you try with 389-admin-1.1.28 now in updates-testing?

[root@localhost ~]# rpm -qa | grep 389
389-console-1.1.7-1.fc16.noarch
389-ds-console-doc-1.2.6-1.fc16.noarch
389-ds-base-libs-1.2.10.4-2.fc16.x86_64
389-ds-1.2.2-1.fc15.noarch
389-ds-base-1.2.10.4-2.fc16.x86_64
389-ds-console-1.2.6-1.fc16.noarch
389-admin-console-doc-1.1.8-2.fc16.noarch
389-admin-console-1.1.8-2.fc16.noarch
389-dsgw-1.1.7-2.fc16.x86_64
389-admin-1.1.28-1.fc16.x86_64
389-adminutil-1.1.14-1.fc16.x86_64

When using 389-console

/var/log/dirsrv/admin-serv/error
[Tue Mar 27 08:36:31 2012] [notice] [client 127.0.0.1]
admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1
[Tue Mar 27 08:36:31 2012] [error] Could not bind as []: ldap error
-1: Can't contact LDAP server
[Tue Mar 27 08:36:31 2012] [error] Could not bind as []: ldap error
-1: Can't contact LDAP server
[Tue Mar 27 08:36:31 2012] [notice] [client 127.0.0.1] unable to bind
to server [localhost.localdomain:389] as [(anonymous)]
[Tue Mar 27 08:36:31 2012] [crit] buildUGInfo(): unable to initialize
TLS connection to LDAP host localhost.localdomain port 389: 4
[Tue Mar 27 08:36:31 2012] [error] [client 127.0.0.1] user
cn=Directory Manager not found: /admin-serv/authenticate


/var/log/dirsrv/admin-serv/access
127.0.0.1 - cn=Directory Manager [27/Mar/2012:08:36:31 -0400] GET
/admin-serv/authenticate HTTP/1.0 401 478

When using http://http://localhost.localdomain:9830/dist/download and
clicking '389 Administration Express'

/var/log/dirsrv/admin-serv/error
[Tue Mar 27 08:41:58 2012] [notice] [client 127.0.0.1]
admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1
[Tue Mar 27 08:41:58 2012] [notice] [client 127.0.0.1]
admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1,
referer: http://localhost.localdomain:9830/dist/download
[Tue Mar 27 08:41:58 2012] [notice] [client 127.0.0.1]
admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1,
referer: http://localhost.localdomain:9830/dist/download
[Tue Mar 27 08:42:00 2012] [notice] [client 127.0.0.1]
admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1,
referer: http://localhost.localdomain:9830/dist/download
[Tue Mar 27 08:42:00 2012] [error] Could not bind as []: ldap error
-1: Can't contact LDAP server
[Tue Mar 27 08:42:00 2012] [error] Could not bind as []: ldap error
-1: Can't contact LDAP server
[Tue Mar 27 08:42:00 2012] [notice] [client 127.0.0.1] unable to bind
to server [localhost.localdomain:389] as [(anonymous)], referer:
http://localhost.localdomain:9830/dist/download
[Tue Mar 27 08:42:00 2012] [crit] buildUGInfo(): unable to initialize
TLS connection to LDAP host localhost.localdomain port 389: 4


/var/log/dirsrv/admin-serv/access

127.0.0.1 - - [27/Mar/2012:08:41:58 -0400] GET /dist/download
HTTP/1.1 200 4470
127.0.0.1 - - [27/Mar/2012:08:41:58 -0400] GET /icons/spacer.gif
HTTP/1.1 200 43
127.0.0.1 - - [27/Mar/2012:08:41:58 -0400] GET /icons/goto.gif HTTP/1.1 200 86
127.0.0.1 - admin [27/Mar/2012:08:42:00 -0400] GET
/admin-serv/tasks/configuration/HTMLAdmin?op=index HTTP/1.1 500 615

Thanks,
Mike





 Thanks,
 Mike

 On Fri, Mar 23, 2012 at 10:42 AM, Rich Megginsonrmegg...@redhat.com
  wrote:

 On 03/22/2012 10:47 AM, Mike Mercier wrote:

 Hi,

 Sorry for the delay...

 /var/log/dirsrv/admin-serv/access

 127.0.0.1 - cn=Directory Manager [22/Mar/2012:12:43:32 -0400] GET
 /admin-serv/authenticate HTTP/1.0 401 478

 /var/log/dirsrv/admin-serv/error
 [Thu Mar 22 12:43:26 2012] [notice] caught SIGTERM, shutting down
 [Thu Mar 22 12:43:27 2012] [notice] SELinux policy enabled; httpd
 running as context system_u:system_r:httpd_t:s0
 [Thu Mar 22 12:43:28 2012] [error] Could not bind as []: ldap error
 -1: Can't contact LDAP server
 [Thu Mar 22 12:43:28 2012] [error] Could not bind as []: ldap error
 -1: Can't contact LDAP server
 [Thu Mar 22 12:43:28 2012] [warn] Unable to bind as LocalAdmin to
 populate LocalAdmin tasks into cache.
 [Thu Mar 22 12:43:28 2012] [notice] Access Host filter is: *
 [Thu Mar 22 12:43:28 2012] [notice] Access Address filter is: *
 [Thu Mar 22 12:43:29 2012] [notice] Apache/2.2.22 (Unix) configured --
 resuming normal operations
 [Thu Mar 22 12:43:29 2012] [error] Could not bind as []: ldap error
 -1: Can't contact LDAP server
 [Thu Mar 22 12:43:29 2012] [error] Could not bind as []: ldap error
 -1: Can't contact LDAP server
 [Thu Mar 22 12:43:29 2012] [warn] Unable to bind as LocalAdmin to
 populate LocalAdmin tasks into cache.
 [Thu Mar 22 12:43:29 2012] [notice] Access Host filter is: *
 

Re: [389-users] largish member changes causing problems

2012-03-27 Thread Rich Megginson

On 03/26/2012 08:25 PM, Michael R. Gettes wrote:

I am a little perplexed.

I am making a change to a groupOfNames object having some 16069 member 
attributes.  I am deleting nearly 16000 members and then adding nearly 16000 
members.  CPU goes to 100% and never comes down.  I have plenty of memory 
allocated (700MB) to nss-slapd and I have made the adjustments to allow for 
large objects (maxbersize).  I end up having to kill -9 slapd.  the annoying 
thing is some times it works, some times it doesn't.  I can't seem to find any 
common conditions of the failures (or successes).
Are you using replication?  If so, do you see the high CPU usage on the 
master or on the replica?

Are you able to reproduce with 389-ds-base-1.2.10.4-1 in epel-testing?


ds = 1.2.9.9
RHEL = 5.7

Thoughts?

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


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

Re: [389-users] Replication integrity tool/script

2012-03-27 Thread Rich Megginson

On 03/27/2012 03:19 AM, Manel Gimeno Zaragozá wrote:

Hello,

I'm configuring an environment with multi-master replication.

ds - 1.2.10
OS - CentOS release 6.2 (Final)

I'm wondering if there is any tool to check the integrity of both 
servers, I mean, some tool or script that checks if both servers are 
exactly the same or if there is some mismatch, just to be sure that 
replication is working well and we are not missing anything in the 
process.


http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/Managing_Replication-Monitoring_Replication_Status.html



Thanks.

Manel



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


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

Re: [389-users] Setup SSL with setup-ds-admin.pl INF

2012-03-27 Thread Rich Megginson

On 03/27/2012 07:07 AM, Jim Finn wrote:
I'm trying to script the entire setup of new instances, and have had 
great success with setup-ds-admin.pl http://setup-ds-admin.pl with 
an inf.


I want to run nsslapd on both 389 and 636 - How can I configure both 
ports and specify my cert within the INF?


You can't with a single .inf file.  You have to use the ConfigFile 
directive in the .inf to specify other files containing additional 
configuration.


http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/9.0/html/Installation_Guide/Advanced_Configuration-Silent.html#Using-ConfigFile-for-DS-Config

TLS/SSL config is covered here - 
http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/SecureConnections.html


For an example of the LDIF settings required to do this from the command 
line, see https://github.com/richm/scripts/blob/master/setupssl2.sh#L238




Thanks!

Jim Finn


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


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

Re: [389-users] largish member changes causing problems

2012-03-27 Thread Rich Megginson

On 03/27/2012 07:50 AM, Michael R. Gettes wrote:

I am using replication (2 masters, 3 consumers, fully replicated among them).  
High CPU usage only on the master being modified.  It happens on either master 
when the operation is performed on it.  The MOD being made never actually 
completes - I have to kill -9 the server - so it never makes it to the other 
master or consumers by replication.  I should also note the changes I am making 
are in a single modify.  I figured you would ask about 1.2.10 - I have not yet 
gotten there - but I will try to make it happen this week.

I judge from your questions this is not a known problem.
Dealing with large groups is problematic, but not known to completely 
clobber the server.


/mrg

On Mar 27, 2012, at 9:17, Rich Megginson wrote:


On 03/26/2012 08:25 PM, Michael R. Gettes wrote:

I am a little perplexed.

I am making a change to a groupOfNames object having some 16069 member 
attributes.  I am deleting nearly 16000 members and then adding nearly 16000 
members.  CPU goes to 100% and never comes down.  I have plenty of memory 
allocated (700MB) to nss-slapd and I have made the adjustments to allow for 
large objects (maxbersize).  I end up having to kill -9 slapd.  the annoying 
thing is some times it works, some times it doesn't.  I can't seem to find any 
common conditions of the failures (or successes).

Are you using replication?  If so, do you see the high CPU usage on the master 
or on the replica?
Are you able to reproduce with 389-ds-base-1.2.10.4-1 in epel-testing?

ds = 1.2.9.9
RHEL = 5.7

Thoughts?

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


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

Re: [389-users] largish member changes causing problems

2012-03-27 Thread Michael R. Gettes
I just checked and only 1.2.10.3-1.el5 is in the epel-testing repo

/mrg

On Mar 27, 2012, at 9:50, Michael R. Gettes wrote:

 
 I judge from your questions this is not a known problem.
 
 /mrg
 
 On Mar 27, 2012, at 9:17, Rich Megginson wrote:
 
 On 03/26/2012 08:25 PM, Michael R. Gettes wrote:
 I am a little perplexed.
 
 I am making a change to a groupOfNames object having some 16069 member 
 attributes.  I am deleting nearly 16000 members and then adding nearly 
 16000 members.  CPU goes to 100% and never comes down.  I have plenty of 
 memory allocated (700MB) to nss-slapd and I have made the adjustments to 
 allow for large objects (maxbersize).  I end up having to kill -9 slapd.  
 the annoying thing is some times it works, some times it doesn't.  I can't 
 seem to find any common conditions of the failures (or successes).
 Are you using replication?  If so, do you see the high CPU usage on the 
 master or on the replica?
 Are you able to reproduce with 389-ds-base-1.2.10.4-1 in epel-testing?
 
 ds = 1.2.9.9
 RHEL = 5.7
 
 Thoughts?
 

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

[389-users] Enabling replication with changelog max age

2012-03-27 Thread Reinhard Nappert
Hi all,

I have a couple of question regarding the nsslapd-changelogmaxage attribute:

This attribute sets the maximum age that entries are kept  in the changelog. 
Documentation says that a change of the value requires a server restart.

1. Do I have to restart the server, when I enable replication, where I set a 
value (let's say 30d) during the enabling process - in ldap terms, I include 
nssslapd-changelogmaxage: 30d as an attribute, when the entry cn=changelog5, 
cn=config gets added?

2. What happens if I  have a changelog (previsously set to unlimited age) and I 
set the value to 30d. Does it remove every entry older than 30 days, after the 
restart. It looks to me that the size of the database did not change, because I 
did not gain any diskspace after I restarted the server.

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

Re: [389-users] Enabling replication with changelog max age

2012-03-27 Thread Rich Megginson

On 03/27/2012 08:06 AM, Reinhard Nappert wrote:

Hi all,
I have a couple of question regarding the nsslapd-changelogmaxage 
attribute:
This attribute sets the maximum age that entries are kept  in the 
changelog. Documentation says that a change of the value requires a 
server restart.
1. Do I have to restart the server, when I enable replication, where I 
set a value (let's say 30d) during the enabling process - in ldap 
terms, I include nssslapd-changelogmaxage: 30d as an attribute, when 
the entry cn=changelog5, cn=config gets added?

No.
2. What happens if I  have a changelog (previsously set to unlimited 
age) and I set the value to 30d. Does it remove every entry older than 
30 days, after the restart. It looks to me that the size of the 
database did not change, because I did not gain any diskspace after I 
restarted the server.

Not sure.  You could use the cl-dump tool to examine the changelog.

Thanks,
-Reinhard


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


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

Re: [389-users] Problems logging in with 389-console

2012-03-27 Thread Mike Mercier
On Tue, Mar 27, 2012 at 10:05 AM, Rich Megginson rmegg...@redhat.com wrote:
 On 03/27/2012 06:46 AM, Mike Mercier wrote:

 Hello,

 On Mon, Mar 26, 2012 at 10:47 AM, Rich Megginsonrmegg...@redhat.com
  wrote:

 On 03/26/2012 08:28 AM, Mike Mercier wrote:

 Hello,

 adm.conf attached.

 Have you configured the directory server to use TLS/SSL?

 No, TLS/SSL was not configured. I did the following to install 389.

 Install fedora 16
 run yum update
 install 389
 run setup-ds-admin.pl using the 'Typical' option
 run 389-console and try to login as cn=Directory Manager

 Can you try with 389-admin-1.1.28 now in updates-testing?

 [root@localhost ~]# rpm -qa | grep 389
 389-console-1.1.7-1.fc16.noarch
 389-ds-console-doc-1.2.6-1.fc16.noarch
 389-ds-base-libs-1.2.10.4-2.fc16.x86_64
 389-ds-1.2.2-1.fc15.noarch
 389-ds-base-1.2.10.4-2.fc16.x86_64
 389-ds-console-1.2.6-1.fc16.noarch
 389-admin-console-doc-1.1.8-2.fc16.noarch
 389-admin-console-1.1.8-2.fc16.noarch
 389-dsgw-1.1.7-2.fc16.x86_64
 389-admin-1.1.28-1.fc16.x86_64
 389-adminutil-1.1.14-1.fc16.x86_64

 When using 389-console

 /var/log/dirsrv/admin-serv/error
 [Tue Mar 27 08:36:31 2012] [notice] [client 127.0.0.1]
 admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1
 [Tue Mar 27 08:36:31 2012] [error] Could not bind as []: ldap error
 -1: Can't contact LDAP server
 [Tue Mar 27 08:36:31 2012] [error] Could not bind as []: ldap error
 -1: Can't contact LDAP server
 [Tue Mar 27 08:36:31 2012] [notice] [client 127.0.0.1] unable to bind
 to server [localhost.localdomain:389] as [(anonymous)]
 [Tue Mar 27 08:36:31 2012] [crit] buildUGInfo(): unable to initialize
 TLS connection to LDAP host localhost.localdomain port 389: 4
 [Tue Mar 27 08:36:31 2012] [error] [client 127.0.0.1] user
 cn=Directory Manager not found: /admin-serv/authenticate


 /var/log/dirsrv/admin-serv/access
 127.0.0.1 - cn=Directory Manager [27/Mar/2012:08:36:31 -0400] GET
 /admin-serv/authenticate HTTP/1.0 401 478

 When using http://http://localhost.localdomain:9830/dist/download and
 clicking '389 Administration Express'

 /var/log/dirsrv/admin-serv/error
 [Tue Mar 27 08:41:58 2012] [notice] [client 127.0.0.1]
 admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1
 [Tue Mar 27 08:41:58 2012] [notice] [client 127.0.0.1]
 admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1,
 referer: http://localhost.localdomain:9830/dist/download
 [Tue Mar 27 08:41:58 2012] [notice] [client 127.0.0.1]
 admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1,
 referer: http://localhost.localdomain:9830/dist/download
 [Tue Mar 27 08:42:00 2012] [notice] [client 127.0.0.1]
 admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1,
 referer: http://localhost.localdomain:9830/dist/download
 [Tue Mar 27 08:42:00 2012] [error] Could not bind as []: ldap error
 -1: Can't contact LDAP server
 [Tue Mar 27 08:42:00 2012] [error] Could not bind as []: ldap error
 -1: Can't contact LDAP server
 [Tue Mar 27 08:42:00 2012] [notice] [client 127.0.0.1] unable to bind
 to server [localhost.localdomain:389] as [(anonymous)], referer:
 http://localhost.localdomain:9830/dist/download
 [Tue Mar 27 08:42:00 2012] [crit] buildUGInfo(): unable to initialize
 TLS connection to LDAP host localhost.localdomain port 389: 4


 /var/log/dirsrv/admin-serv/access

 127.0.0.1 - - [27/Mar/2012:08:41:58 -0400] GET /dist/download
 HTTP/1.1 200 4470
 127.0.0.1 - - [27/Mar/2012:08:41:58 -0400] GET /icons/spacer.gif
 HTTP/1.1 200 43
 127.0.0.1 - - [27/Mar/2012:08:41:58 -0400] GET /icons/goto.gif HTTP/1.1
 200 86
 127.0.0.1 - admin [27/Mar/2012:08:42:00 -0400] GET
 /admin-serv/tasks/configuration/HTMLAdmin?op=index HTTP/1.1 500 615

 What's in your directory server access log from around this time?
 /var/log/dirsrv/slapd-INSTANCE/access

Strangely, there are no entries in the file from that time...  below
is the entire file
/var/log/dirsrv/slapd-mpls/access:

389-Directory/1.2.10.2 B2012.054.1543
localhost.localdomain:389 (/etc/dirsrv/slapd-mpls)

[22/Mar/2012:15:09:39 -0400] conn=8 op=-1 fd=64 closed - B1
[22/Mar/2012:15:09:39 -0400] conn=10 op=-1 fd=65 closed - B1






 Thanks,
 Mike



 Thanks,
 Mike

 On Fri, Mar 23, 2012 at 10:42 AM, Rich Megginsonrmegg...@redhat.com
  wrote:

 On 03/22/2012 10:47 AM, Mike Mercier wrote:

 Hi,

 Sorry for the delay...

 /var/log/dirsrv/admin-serv/access

 127.0.0.1 - cn=Directory Manager [22/Mar/2012:12:43:32 -0400] GET
 /admin-serv/authenticate HTTP/1.0 401 478

 /var/log/dirsrv/admin-serv/error
 [Thu Mar 22 12:43:26 2012] [notice] caught SIGTERM, shutting down
 [Thu Mar 22 12:43:27 2012] [notice] SELinux policy enabled; httpd
 running as context system_u:system_r:httpd_t:s0
 [Thu Mar 22 12:43:28 2012] [error] Could not bind as []: ldap error
 -1: Can't contact LDAP server
 [Thu Mar 22 12:43:28 2012] [error] Could not bind as []: ldap error
 -1: Can't contact LDAP server
 [Thu Mar 22 12:43:28 2012] [warn] Unable to 

Re: [389-users] largish member changes causing problems

2012-03-27 Thread Michael Gettes
Ref int is not on.
On Mar 27, 2012 10:11 AM, Mark Reynolds marey...@redhat.com wrote:

 Michael,

 Something else to check is the Referential Integrity Plugin.  Is it
 enabled?  If it is, something that I have seen that helps is to set the
 interval from 0 to 1 second.  Or turn it off to rule it out, but then of
 course it won't do its job.

 Regards,
 Mark

 On 03/26/2012 10:25 PM, Michael R. Gettes wrote:

 I am a little perplexed.

 I am making a change to a groupOfNames object having some 16069 member
 attributes.  I am deleting nearly 16000 members and then adding nearly
 16000 members.  CPU goes to 100% and never comes down.  I have plenty of
 memory allocated (700MB) to nss-slapd and I have made the adjustments to
 allow for large objects (maxbersize).  I end up having to kill -9 slapd.
  the annoying thing is some times it works, some times it doesn't.  I can't
 seem to find any common conditions of the failures (or successes).

 ds = 1.2.9.9
 RHEL = 5.7

 Thoughts?

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


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

Re: [389-users] largish member changes causing problems

2012-03-27 Thread Andrey Ivanov
It may also be the memberOf plugin, is the attribute memberOf
replicated in your configuration? I tested deleting/adding/replacing
in one shot a group of ~6000 entries with memberOf and referint
enabled. It took about 30 seconds to complete but it never hanged
(389DS v1.2.9.10).

2012/3/27 Michael Gettes get...@gmail.com:
 Ref int is not on.

 On Mar 27, 2012 10:11 AM, Mark Reynolds marey...@redhat.com wrote:

 Michael,

 Something else to check is the Referential Integrity Plugin.  Is it
 enabled?  If it is, something that I have seen that helps is to set the
 interval from 0 to 1 second.  Or turn it off to rule it out, but then of
 course it won't do its job.

 Regards,
 Mark

 On 03/26/2012 10:25 PM, Michael R. Gettes wrote:

 I am a little perplexed.

 I am making a change to a groupOfNames object having some 16069 member
 attributes.  I am deleting nearly 16000 members and then adding nearly 16000
 members.  CPU goes to 100% and never comes down.  I have plenty of memory
 allocated (700MB) to nss-slapd and I have made the adjustments to allow for
 large objects (maxbersize).  I end up having to kill -9 slapd.  the annoying
 thing is some times it works, some times it doesn't.  I can't seem to find
 any common conditions of the failures (or successes).

 ds = 1.2.9.9
 RHEL = 5.7

 Thoughts?

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


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

Re: [389-users] largish member changes causing problems

2012-03-27 Thread Michael R. Gettes
earlier in the log (sorry, i didn't look there) I see

[27/Mar/2012:20:19:50 -0400] - check_and_set_import_cache: pagesize: 4096, 
pages: 256511, procpages: 55220
[27/Mar/2012:20:19:50 -0400] - WARNING: After allocating import cache 410416KB, 
the available memory is 615628KB, which is less than the soft limit 1048576KB. 
You may want to decrease the import cache size and rerun import.
[27/Mar/2012:20:19:50 -0400] - Import allocates 410416KB import cache.
[27/Mar/2012:20:19:50 -0400] Upgrade DN Format - changelog: Start upgrade dn 
format.
[27/Mar/2012:20:19:50 -0400] Upgrade DN Format - Instance changelog in 
/var/lib/dirsrv/slapd-cmu/db/changelog is up-to-date
[27/Mar/2012:20:19:50 -0400] - check_and_set_import_cache: pagesize: 4096, 
pages: 256511, procpages: 55220
[27/Mar/2012:20:19:50 -0400] - WARNING: After allocating import cache 410416KB, 
the available memory is 615628KB, which is less than the soft limit 1048576KB. 
You may want to decrease the import cache size and rerun import. 
[27/Mar/2012:20:19:50 -0400] - Import allocates 410416KB import cache.
[27/Mar/2012:20:19:50 -0400] Upgrade DN Format - NetscapeRoot: Start upgrade dn 
format.
[27/Mar/2012:20:19:50 -0400] Upgrade DN Format - Instance NetscapeRoot in 
/var/lib/dirsrv/slapd-cmu/db/NetscapeRoot is up-to-date
[27/Mar/2012:20:19:50 -0400] - check_and_set_import_cache: pagesize: 4096, 
pages: 256511, procpages: 55219[27/Mar/2012:20:19:50 -0400] - WARNING: After 
allocating import cache 410416KB, the available memory is 615628KB, which is 
less than the soft limit 1048576KB. You may want to decrease the import cache 
size and rerun import.
[27/Mar/2012:20:19:50 -0400] - Import allocates 410416KB import cache. 
[27/Mar/2012:20:19:50 -0400] Upgrade DN Format - userRoot: Start upgrade dn 
format.
[27/Mar/2012:20:19:50 -0400] Upgrade DN Format - Instance userRoot in 
/var/lib/dirsrv/slapd-cmu/db/userRoot is up-to-date

and

find /var/lib/dirsrv -name DBVERSION -exec cat {} \;
bdb/4.3/libreplication-plugin
bdb/4.3/libback-ldbm/newidl/rdn-format-2/dn-4514
bdb/4.3/libback-ldbm/newidl/rdn-format-2/dn-4514
bdb/4.3/libback-ldbm/newidl/rdn-format-2/dn-4514
bdb/4.3/libback-ldbm/newidl/rdn-format-2/dn-4514

yes, i did upgrade from 1.2.9.9

/mrg

On Mar 27, 2012, at 21:05, Rich Megginson wrote:

 On 03/27/2012 06:58 PM, Michael R. Gettes wrote:
 I have upgraded one of my masters to 1.2.10.3 and i see the following
 
 [27/Mar/2012:20:25:04 -0400] - 389-Directory/1.2.10.3 B2012.065.2248 
 starting up
 [27/Mar/2012:20:25:04 -0400] - libdb: DB handle previously used in 
 transaction, missing transaction handle
 [27/Mar/2012:20:25:04 -0400] - libdb: DB handle previously used in 
 transaction, missing transaction handle
 [27/Mar/2012:20:25:04 -0400] - libdb: DB handle previously used in 
 transaction, missing transaction handle
 [27/Mar/2012:20:25:04 -0400] - libdb: DB handle previously used in 
 transaction, missing transaction handle
 [27/Mar/2012:20:25:04 -0400] - libdb: DB handle previously used in 
 transaction, missing transaction handle
 [27/Mar/2012:20:25:04 -0400] - libdb: DB handle previously used in 
 transaction, missing transaction handle
 [27/Mar/2012:20:25:04 -0400] - slapd started.  Listening on All Interfaces 
 port 389 for LDAP requests
 [27/Mar/2012:20:25:04 -0400] - Listening on All Interfaces port 636 for 
 LDAPS requests
 [27/Mar/2012:20:30:04 -0400] NSMMReplicationPlugin - changelog program - 
 cl5DBData2Entry: invalid data version
 [27/Mar/2012:20:30:04 -0400] NSMMReplicationPlugin - changelog program - 
 cl5DBData2Entry: invalid data version
 
 is this serious?
 I had to do an offline 'setup-ds-admin.pl -u' because i have everything as 
 SSL and the online update doesn't seem to handle this case very well (i 
 offer this info as i have no idea if it is relevant to the problem).
 What should have happened is that during yum/rpm upgrade of the 389-ds-base 
 package, it should have upgraded the database to the latest version.  Did you 
 upgrade from 1.2.9.9?
 
 find /var/lib/dirsrv -name DBVERSION -exec cat {} \;
 
 before
 
 [27/Mar/2012:20:25:04 -0400] - 389-Directory/1.2.10.3 B2012.065.2248 starting 
 up
 
 you should have some messages about the database being upgraded
 
 the only error in the setup was
 
 [12/03/27:20:20:09] - [Setup] Warning Error: command 'getsebool 
 httpd_can_connect_ldap' failed - output [getsebool:  SELinux is disabled] 
 error []
 If you are really running with SELinux disabled, then this is just telling 
 you that it couldn't perform some SELinux function because it is disabled, 
 which is ok.
 
 389-admin.x86_641.1.28-1.el5installed
 389-admin-console.noarch1.1.8-1.el5 installed
 389-admin-console-doc.noarch1.1.8-1.el5 installed
 389-adminutil.x86_641.1.15-1.el5installed
 389-console.noarch  1.1.7-3.el5 installed
 389-ds.noarch   1.2.1-1.el5 

Re: [389-users] largish member changes causing problems

2012-03-27 Thread Rich Megginson

On 03/27/2012 07:14 PM, Michael R. Gettes wrote:

earlier in the log (sorry, i didn't look there) I see

[27/Mar/2012:20:19:50 -0400] - check_and_set_import_cache: pagesize: 4096, 
pages: 256511, procpages: 55220
[27/Mar/2012:20:19:50 -0400] - WARNING: After allocating import cache 410416KB, 
the available memory is 615628KB, which is less than the soft limit 1048576KB. 
You may want to decrease the import cache size and rerun import.
[27/Mar/2012:20:19:50 -0400] - Import allocates 410416KB import cache.
[27/Mar/2012:20:19:50 -0400] Upgrade DN Format - changelog: Start upgrade dn 
format.
[27/Mar/2012:20:19:50 -0400] Upgrade DN Format - Instance changelog in 
/var/lib/dirsrv/slapd-cmu/db/changelog is up-to-date
[27/Mar/2012:20:19:50 -0400] - check_and_set_import_cache: pagesize: 4096, 
pages: 256511, procpages: 55220
[27/Mar/2012:20:19:50 -0400] - WARNING: After allocating import cache 410416KB, 
the available memory is 615628KB, which is less than the soft limit 1048576KB. 
You may want to decrease the import cache size and rerun import.
[27/Mar/2012:20:19:50 -0400] - Import allocates 410416KB import cache.
[27/Mar/2012:20:19:50 -0400] Upgrade DN Format - NetscapeRoot: Start upgrade dn 
format.
[27/Mar/2012:20:19:50 -0400] Upgrade DN Format - Instance NetscapeRoot in 
/var/lib/dirsrv/slapd-cmu/db/NetscapeRoot is up-to-date
[27/Mar/2012:20:19:50 -0400] - check_and_set_import_cache: pagesize: 4096, 
pages: 256511, procpages: 55219[27/Mar/2012:20:19:50 -0400] - WARNING: After 
allocating import cache 410416KB, the available memory is 615628KB, which is 
less than the soft limit 1048576KB. You may want to decrease the import cache 
size and rerun import.
[27/Mar/2012:20:19:50 -0400] - Import allocates 410416KB import cache. 
[27/Mar/2012:20:19:50 -0400] Upgrade DN Format - userRoot: Start upgrade dn 
format.
[27/Mar/2012:20:19:50 -0400] Upgrade DN Format - Instance userRoot in 
/var/lib/dirsrv/slapd-cmu/db/userRoot is up-to-date

and

find /var/lib/dirsrv -name DBVERSION -exec cat {} \;
bdb/4.3/libreplication-plugin
bdb/4.3/libback-ldbm/newidl/rdn-format-2/dn-4514
bdb/4.3/libback-ldbm/newidl/rdn-format-2/dn-4514
bdb/4.3/libback-ldbm/newidl/rdn-format-2/dn-4514
bdb/4.3/libback-ldbm/newidl/rdn-format-2/dn-4514

yes, i did upgrade from 1.2.9.9

hmm - looks like the entryrdn conversion was missed - try this:
dbscan -f

/var/lib/dirsrv/slapd-cmu/db/userRoot/entryrdn.db4 | head
and
/var/lib/dirsrv/slapd-cmu/db/userRoot/entryrdn.db4 | tail




/mrg

On Mar 27, 2012, at 21:05, Rich Megginson wrote:


On 03/27/2012 06:58 PM, Michael R. Gettes wrote:

I have upgraded one of my masters to 1.2.10.3 and i see the following

[27/Mar/2012:20:25:04 -0400] - 389-Directory/1.2.10.3 B2012.065.2248 starting up
[27/Mar/2012:20:25:04 -0400] - libdb: DB handle previously used in transaction, 
missing transaction handle
[27/Mar/2012:20:25:04 -0400] - libdb: DB handle previously used in transaction, 
missing transaction handle
[27/Mar/2012:20:25:04 -0400] - libdb: DB handle previously used in transaction, 
missing transaction handle
[27/Mar/2012:20:25:04 -0400] - libdb: DB handle previously used in transaction, 
missing transaction handle
[27/Mar/2012:20:25:04 -0400] - libdb: DB handle previously used in transaction, 
missing transaction handle
[27/Mar/2012:20:25:04 -0400] - libdb: DB handle previously used in transaction, 
missing transaction handle
[27/Mar/2012:20:25:04 -0400] - slapd started.  Listening on All Interfaces port 
389 for LDAP requests
[27/Mar/2012:20:25:04 -0400] - Listening on All Interfaces port 636 for LDAPS 
requests
[27/Mar/2012:20:30:04 -0400] NSMMReplicationPlugin - changelog program - 
cl5DBData2Entry: invalid data version
[27/Mar/2012:20:30:04 -0400] NSMMReplicationPlugin - changelog program - 
cl5DBData2Entry: invalid data version

is this serious?
I had to do an offline 'setup-ds-admin.pl -u' because i have everything as SSL 
and the online update doesn't seem to handle this case very well (i offer this 
info as i have no idea if it is relevant to the problem).

What should have happened is that during yum/rpm upgrade of the 389-ds-base 
package, it should have upgraded the database to the latest version.  Did you 
upgrade from 1.2.9.9?

find /var/lib/dirsrv -name DBVERSION -exec cat {} \;

before

[27/Mar/2012:20:25:04 -0400] - 389-Directory/1.2.10.3 B2012.065.2248 starting up

you should have some messages about the database being upgraded

the only error in the setup was

[12/03/27:20:20:09] - [Setup] Warning Error: command 'getsebool 
httpd_can_connect_ldap' failed - output [getsebool:  SELinux is disabled] error 
[]

If you are really running with SELinux disabled, then this is just telling you 
that it couldn't perform some SELinux function because it is disabled, which is 
ok.

389-admin.x86_641.1.28-1.el5installed
389-admin-console.noarch1.1.8-1.el5 installed
389-admin-console-doc.noarch1.1.8-1.el5 installed

Re: Is there a Catalyst Driver for Kernel3.2.10?

2012-03-27 Thread Jean Jacques
Is there any update for this issue?

2012/3/22 Jean Jacques chao...@gmail.com

 Ok, thanks and now what?

 2012/3/21 Kevin Fenzi ke...@scrye.com

 On Wed, 21 Mar 2012 13:10:16 +0100
 Patrick Lists fedora-l...@puzzled.xs4all.nl wrote:

  On 21-03-12 04:36, Jean Jacques wrote:
   I cannot search the driver in YUM.
 
  The Catalyst driver lives in the rpmfusion repo so if you don't have
  that installed then you first need to add it. Information how to do
  that can be found at: http://rpmfusion.org

 Except that it's broken on 3.2.9 and later kernels.

 https://bugzilla.rpmfusion.org/show_bug.cgi?id=2208

 kevin

 --
 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: firefox 11 -- keyboard popup and unrelenting text to speech

2012-03-27 Thread Nick Urbanik

Dear Folks,

On 21/03/12 05:58 -0700, Geoffrey Leach wrote:

On 03/20/2012 03:45:26 PM, Paul Smith wrote:

On Tue, Mar 20, 2012 at 10:10 PM, suvayu ali
fatkasuvayu+li...@gmail.com wrote:
 If there is any mention of this, I can't discover it.

 Are you sure its firefox and not a malfunctioning on screen
keyboard
app?

That happened to me. Just quit Firefox and reboot your computer -- in
my case this was enough to solve the problem.


Alas, this did not work for me, but thanks for the reply.


Had exactly the same problem, with XFCE.  There is a package called
caribou-antler-0.4.1-3.fc16.x86_64
Description :
This package contains caribou keyboard implementation

I killed the process and the keyboard disappeared.

However, my firefox is also chattering incessantly; in an attempt to
stop it, i went to about:config, changed a configuration item; I think
it was accessibility:usetexttospeech, and changed it from default to
false.

Then any attempt to type anything into the URL bar caused firefox to
lock up.  I rebooted the computer, and the chattering is back, but at
least I can type URLs.

I do not have either of these problems with four other computers, just
one at work.  I'd be grateful for any suggestions.
--
Nick Urbanik http://nicku.org   ni...@nicku.org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
--
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


Firewall disabled; yet connection refused

2012-03-27 Thread Braden McDaniel
I'm trying to set up dovecot on a fresh installation of Fedora 16.   
This is an obvious problem:


  $ telnet rail 143
  Trying 10.0.0.21...
  telnet: connect to address 10.0.0.21: Connection refused

localhost works:

  $ telnet localhost 143
  Trying ::1...
  Connected to localhost.
  Escape character is '^]'.
  * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID  
ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.


After first trying to permit traffic on port 143 in the firewall  
configuration, I've now disabled it altogether:


  $ systemctl status iptables.service
  iptables.service - IPv4 firewall with iptables
  Loaded: loaded (/lib/systemd/system/iptables.service; disabled)
  Active: inactive (dead)
  	  start condition failed at Sat, 27 Mar 1999 03:25:13  
-0500; 13 years and 0 months ago

  CGroup: name=systemd:/system/iptables.service
  $ systemctl status ip6tables.service
  ip6tables.service - IPv6 firewall with ip6tables
  Loaded: loaded (/lib/systemd/system/ip6tables.service; disabled)
  Active: inactive (dead)
  	  start condition failed at Sat, 27 Mar 1999 03:25:13  
-0500; 13 years and 0 months ago

  CGroup: name=systemd:/system/ip6tables.service

? yet I still get connection refused as above.

If not the firewall, what's the culprit here?

--
Braden McDaniel   e-mail: bra...@endoframe.com
http://endoframe.comJabber: bra...@jabber.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: Firewall disabled; yet connection refused

2012-03-27 Thread Ed Greshko
On 03/27/2012 04:52 PM, Braden McDaniel wrote:
 I'm trying to set up dovecot on a fresh installation of Fedora 16.  This is an
 obvious problem:

   $ telnet rail 143
   Trying 10.0.0.21...
   telnet: connect to address 10.0.0.21: Connection refused

 localhost works:

   $ telnet localhost 143
   Trying ::1...
   Connected to localhost.
   Escape character is '^]'.
   * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
 STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

 After first trying to permit traffic on port 143 in the firewall 
 configuration,
 I've now disabled it altogether:

   $ systemctl status iptables.service
   iptables.service - IPv4 firewall with iptables
 Loaded: loaded (/lib/systemd/system/iptables.service; disabled)
 Active: inactive (dead)
 start condition failed at Sat, 27 Mar 1999 03:25:13 -0500; 13 
 years
 and 0 months ago
 CGroup: name=systemd:/system/iptables.service
   $ systemctl status ip6tables.service
   ip6tables.service - IPv6 firewall with ip6tables
 Loaded: loaded (/lib/systemd/system/ip6tables.service; disabled)
 Active: inactive (dead)
 start condition failed at Sat, 27 Mar 1999 03:25:13 -0500; 13 
 years
 and 0 months ago
 CGroup: name=systemd:/system/ip6tables.service

 ? yet I still get connection refused as above.

 If not the firewall, what's the culprit here?


I've not set up dovecot  But, at times default configuration for some 
services
bind only to the localhost.   The default configuration for sendmail is an 
example

What do you get when from netstat -nap | grep 143?

-- 
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: FC15/16 NetworkManager drops network connection

2012-03-27 Thread mike cloaked
On Tue, Mar 27, 2012 at 1:09 AM, Symersky, Henry
henry.symer...@rosalindfranklin.edu wrote:

 Can someone please explain to me how to configure the NetworkManager in
 order to KEEP ETEHERNET CONNECTTION EVEN AFTER LOGGING OUT ??
 Thanks.

Usually in the past (well for me always in the past once NM was fully
operational) you can go to edit connections in NM, and make sure that
the particular connection has its check box checked for making that
connection system-wide.  Then the connection is active as soon as the
system boots irrespective of whether any user is logged in.  So for
the default wired connection you can do this, as well as for any
wireless connection also.

Unless things have changed very recently this has always worked just
fine (at least for several years anyway)

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


Re: Firewall disabled; yet connection refused

2012-03-27 Thread Braden McDaniel

Quoting Ed Greshko ed.gres...@greshko.com:


What do you get when from netstat -nap | grep 143?


# netstat -nap | grep 143
tcp0  0 127.0.0.1:143   0.0.0.0:*   
 LISTEN  1055/dovecot
tcp0  0 ::1:143 :::*
 LISTEN  1055/dovecot


[and some irrelevant stuff that happened to have 143 in it]

Assuming this confirms your suspicion, what do I need to do to fix it?

--
Braden McDaniel   e-mail: bra...@endoframe.com
http://endoframe.comJabber: bra...@jabber.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: Firewall disabled; yet connection refused

2012-03-27 Thread Ed Greshko
On 03/27/2012 05:12 PM, Braden McDaniel wrote:
 Quoting Ed Greshko ed.gres...@greshko.com:

 What do you get when from netstat -nap | grep 143?

 # netstat -nap | grep 143
 tcp0  0 127.0.0.1:143   0.0.0.0:*  
 LISTEN  1055/dovecot
 tcp0  0 ::1:143 :::*   
 LISTEN  1055/dovecot

 [and some irrelevant stuff that happened to have 143 in it]

 Assuming this confirms your suspicion, what do I need to do to fix it?

Yes, that confirms my suspicion.

Took me a bit, had to research

Edit /etc/dovecot/conf.d/10-master.conf and comment the lines like so

   #address = localhost # allow plain imap only on localhost

Do that for all the protocols you want to enable on an external interface...


-- 
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: Firewall disabled; yet connection refused

2012-03-27 Thread Jatin K

On Tuesday 27 March 2012 02:42 PM, Braden McDaniel wrote:

Quoting Ed Greshko ed.gres...@greshko.com:


What do you get when from netstat -nap | grep 143?


# netstat -nap | grep 143
tcp0  0 127.0.0.1:143   0.0.0.0:*  
 LISTEN  1055/dovecot
tcp0  0 ::1:143 :::*   
 LISTEN  1055/dovecot


[and some irrelevant stuff that happened to have 143 in it]

Assuming this confirms your suspicion, what do I need to do to fix it?


dovecot is only listening on 127.0.0.1 ,

check the config file

--
  °v°
 /(_)\
  ^ ^  Jatin Khatri
RHCSA,RHCE,CCNA
Registerd Linux user No #501175
www.linuxcounter.net
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: Fedora disimprovements: am I alone?

2012-03-27 Thread 夜神 岩男
--- On Fri, 2012/3/23, Bryn M. Reeves b...@redhat.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 03/23/2012 07:38 AM, Reindl Harald wrote:
  systemctl restart httpd.service is a joke compared with service
  httpd restart - a msart developer would have made .service as
  default-fallback and only httpd.socket as example would need full
  qualified input
 
 That would be optimisation. A very smart programmer once taught us
 that premature optimisation is the root of all evil. Perhaps the
 author felt that other work was of higher priority at the time?

That is not optimization, that is interface design. The two are entirely 
different. The premature optimization bit is about choosing implementation 
clarity (expression) at the expense of execution speed over potentially 
confusing code that increases performance at runtime (optimization).

The difference between .service being a permitted implication VS a mandatory 
explication is one of interface and does not impact the implementation of the 
subsystem. Its the same argument as requiring that everyone actually type 
self in 'def foo(self):' in Python. I think its silly, others think it is 
more clear to be explicit to that degree when programming.

But pushing systemd around from the command line is not programming unless its 
part of a script, and then the explicit .service extension is entirely 
appropriate. And speaking of scripting the shell, we've had this debate before 
a very long time ago. It resulted in the tradition of providing GNU flag 
extensions in addition to the old-style terse single-dash switches for the vast 
majority of command line tools. In scripts it can be polite (well, used to be 
considered polite, if anyone would remember today...) to write 'cut 
--delimiter=- --fields=2,3 foo.txt' instead of 'cut -d - -f 2,3', but both 
are perfectly acceptable and this provides a way to be explicit for posterity 
yet terse for practical reasons.

I'm sure more people around here than me spent their early years watching the 
flame wars of the late 80's and early 90's unfold over all this stuff (or in 
the case of JZ he was probably directly involved instead of being a youngster 
on the sidelines). Anyway, I think we should learn from those discussions and 
how the command line evolved instead of trying to reinvent things that are 
difficult (but that does not mean the status quo rules the day in the face of 
clearly better alternatives).

Have we forgotten that CLI *is* an interface and hence worth discussing? The 
I is there for a reason. And how on earth is it possible that we've forgotten 
what a cultural rule-of-thumb as important as premature optimization is the 
root of all evil actually means?
-- 
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: Fedora disimprovements: am I alone?

2012-03-27 Thread Bryn M. Reeves
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/27/2012 12:12 PM, 夜神 岩男 wrote:
 That is not optimization, that is interface design. The two are 
 entirely different. The premature optimization bit is about 
 choosing implementation clarity (expression) at the expense of 
 execution speed over potentially confusing code that increases 
 performance at runtime (optimization).

The set of verbs and options systemctl accepts are the interface
design. I think you are stretching things beyond the plausible to try
to claim that a minor tweak to save 8 characters in a common
invocation is UI design. It's just optimizing a common case.

 The difference between .service being a permitted implication VS a 
 mandatory explication is one of interface and does not impact the 
 implementation of the subsystem. Its the same argument as
 requiring that everyone actually type self in 'def foo(self):' in
 Python. I think its silly, others think it is more clear to be
 explicit to that degree when programming.
 
 But pushing systemd around from the command line is not
 programming unless its part of a script, and then the explicit
 .service extension is entirely appropriate. And speaking of
 scripting the shell, we've had this debate before a very long time
 ago. It resulted in the tradition of providing GNU flag extensions
 in addition to the old-style terse single-dash switches for the
 vast majority of command line tools. In scripts it can be polite
 (well, used to be considered polite, if anyone would remember
 today...) to write 'cut --delimiter=- --fields=2,3 foo.txt'
 instead of 'cut -d - -f 2,3', but both are perfectly acceptable
 and this provides a way to be explicit for posterity yet terse for
 practical reasons.

No idea what point any of this is getting at. The systemd utilities
support both long and short options where it makes sense to do so.
It's almost as though someone designed it that way..

 Have we forgotten that CLI *is* an interface and hence worth 
 discussing? The I is there for a reason. And how on earth is it 
 possible that we've forgotten what a cultural rule-of-thumb as 
 important as premature optimization is the root of all evil 
 actually means?

Go ahead and discuss to your heart's content but flaming at people and
calling a UI unusable and implying that the authors of that
interface are not smart has no place in that discussion and should
not be accepted.

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

iEYEARECAAYFAk9xuBkACgkQ6YSQoMYUY94PoACgocSkp1anNoBK5hJgxMAV86U3
+e0AoMIQziOpLFqOS3rfWLgPHZ+ewyzD
=IDSg
-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: Is there a Catalyst Driver for Kernel3.2.10?

2012-03-27 Thread Christopher Svanefalk
I assume you tried downloading the driver directly from the AMD homepage as
well? Have you updated to Kernel 3.3 from the standard repo?

On Tue, Mar 27, 2012 at 8:30 AM, Jean Jacques chao...@gmail.com wrote:

 Is there any update for this issue?


 2012/3/22 Jean Jacques chao...@gmail.com

 Ok, thanks and now what?

 2012/3/21 Kevin Fenzi ke...@scrye.com

  On Wed, 21 Mar 2012 13:10:16 +0100
 Patrick Lists fedora-l...@puzzled.xs4all.nl wrote:

  On 21-03-12 04:36, Jean Jacques wrote:
   I cannot search the driver in YUM.
 
  The Catalyst driver lives in the rpmfusion repo so if you don't have
  that installed then you first need to add it. Information how to do
  that can be found at: http://rpmfusion.org

 Except that it's broken on 3.2.9 and later kernels.

 https://bugzilla.rpmfusion.org/show_bug.cgi?id=2208

 kevin

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




-- 
Best,

Christopher Svanefalk
-- 
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: Is there a Catalyst Driver for Kernel3.2.10?

2012-03-27 Thread Gregory P. Ennis

 On 21-03-12 04:36, Jean Jacques wrote:
  I cannot search the driver in YUM.
 
 The Catalyst driver lives in the rpmfusion repo so if you don't have 
 that installed then you first need to add it. Information how to do
 that can be found at: http://rpmfusion.org

Except that it's broken on 3.2.9 and later kernels. 

https://bugzilla.rpmfusion.org/show_bug.cgi?id=2208

kevin
--

Kevin,

Thanks for posting the bug report.  I have been chasing a problem with a
ATI Technologies Inc Device 9648  Do you know if the support of these
types of cards will be incorporated into the Fedora repositories or are
there opensource problems that prohibit their use.  Maybe we need to
come up with an 'opensource' sticker that the manufacturers can use.

Greg

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


Unable to mount (samba) location on Fedora 17

2012-03-27 Thread Mateusz Marzantowicz
Hello,

I have recently installed Fedora 17, one on my EeePC and second inside
KVM virtual machine on my desktop.

The problem is that I cannot access my shared folder, exported on my
Ubuntu Samba Server from Nautilus on Fedora. When I use smbclient
command - it works! I am also able to mount my samba share from command
line on both EeePC and KVM. I have all recent updates installed on all
systems.

I have disabled firewall and SELinux but the problem persists and it
seems that it is related to Nautilus and not anything else. I have
different passwords set on my samba server and clients (same user name),
but Nautilus does not ask me for neither user name nor password.

Is there anything I can do/set/etc. to resolve this issue?


Thanks for any reply,
Mateusz Marzantowicz
-- 
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: Firewall disabled; yet connection refused

2012-03-27 Thread Braden McDaniel

Quoting Ed Greshko ed.gres...@greshko.com:


On 03/27/2012 05:12 PM, Braden McDaniel wrote:

Quoting Ed Greshko ed.gres...@greshko.com:


What do you get when from netstat -nap | grep 143?


# netstat -nap | grep 143
tcp0  0 127.0.0.1:143   0.0.0.0:*
LISTEN  1055/dovecot
tcp0  0 ::1:143 :::*
LISTEN  1055/dovecot

[and some irrelevant stuff that happened to have 143 in it]

Assuming this confirms your suspicion, what do I need to do to fix it?


Yes, that confirms my suspicion.

Took me a bit, had to research

Edit /etc/dovecot/conf.d/10-master.conf and comment the lines like so

   #address = localhost # allow plain imap only on localhost

Do that for all the protocols you want to enable on an external interface...


That's it alright.  Thank you!

--
Braden McDaniel   e-mail: bra...@endoframe.com
http://endoframe.comJabber: bra...@jabber.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: Timezones and SELinux...

2012-03-27 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/26/2012 11:42 AM, enclair wrote:
 Le 21 mars 2012 15:25, Marko Vojinovic vvma...@gmail.com 
 mailto:vvma...@gmail.com a écrit :
 
 Thanks Dan! I followed your advice on that page and managed to
 track down several files in my system with the wrong context. A
 restorecon on that files fixed the problem. Just to be on the safe
 side, I did a systemwide restorecon, and fixed some additional
 files...
 
 Timezone can now be changed successfully. :-)
 
 Best, :-) Marko
 
 
 Hi, I can't change date and time, I think it's the same problem,
 can you tell me on which files did you do that? How do you do
 systemwide restorecon?
 
 Thanks
 
 
 

fixfiles restore

Will relabel the entire system.

Are you seeing avc messages when you try to change the date/time.

ausearch -m avc -ts recent

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

iEYEARECAAYFAk9x0FUACgkQrlYvE4MpobMe8ACg5j4M3ICSWy0aFlTlPTBrVDTW
XmEAnjltdQZk4wwjf3NTVsV5+ff6R1XM
=xRMl
-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: minimal install CD versus Pentium 4

2012-03-27 Thread Michael Hennebry

On Mon, 26 Mar 2012, Patrick O'Callaghan wrote:


On Mon, 2012-03-26 at 18:50 -0500, Michael Hennebry wrote:



My machine has 4 GB.
I got in March 2006.  NX for pentium 4s were available in 2004.
That said, how do I find out for sure whether my pentium has NX?


grep -i nx /proc/cpuinfo


Stepping 9.
No NX.

Of course, the next question is whether the installer or installee require NX.

--
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: minimal install CD versus Pentium 4

2012-03-27 Thread Ed Greshko
On 03/27/2012 10:48 PM, Michael Hennebry wrote:
 On Mon, 26 Mar 2012, Patrick O'Callaghan wrote:

 On Mon, 2012-03-26 at 18:50 -0500, Michael Hennebry wrote:

 My machine has 4 GB.
 I got in March 2006.  NX for pentium 4s were available in 2004.
 That said, how do I find out for sure whether my pentium has NX?

 grep -i nx /proc/cpuinfo

 Stepping 9.
 No NX.

 Of course, the next question is whether the installer or installee require NX.


Well, I install on a Vbox VM and it doesn't have NX in its flags.

-- 
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: Fedora and the horrible EDID checksum issue with various video cards

2012-03-27 Thread Mark Haney

On 03/26/2012 04:14 PM, Bill Davidsen wrote:

Mark Haney wrote:

On 03/26/2012 12:06 PM, Michael Cronenworth wrote:

Mark Haney wrote:




What is your video chip?


It's an Intel i915. And apparently it's one of the ones with the biggest
problems. It seems the older integrated Intel chips are the ones mostly
causing the trouble.






To some extent it depends on how much you are attached to GNUOME3. There
is fallback mode, there are other window managers which are nicer to the
video hardware.


I'm not attached to GNOME3.  I'm a KDE guy.  That's part of the reason 
I've switched back to Fedora from Ubuntu.  They are dropping KDE for 
their Unity interface (based on GNOME) and I /detest/ GNOME with a 
passion.




For what it's worth the built-in video on recent Intel offerings use the
915 driver and my newest i5 even runs GNOME3 in normal mode, should
someone think that's a desirable thing to do. Functionality seems to be
version dependent, however, as most people have found.



I don't believe this bug is WM dependent, since it's a hardware issue 
based on what I've read.  That said, it's a real PITA and I'm hoping a 
live CD of F16 and one of the 3.(0) kernels will work smoothly.




--

Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.0-4.fc16.x86_64 GNU/Linux
--
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


dual monitors - one desktop image spanning both?

2012-03-27 Thread Wolfgang S. Rupprecht

Is it possible to get one backdrop image in F16 to span both monitors in
a dual-monitor setup?  I'm using xfce4 and the desktop settings tool
seems to only offer a per-monitor image selection.  Is there some way of
selecting one image perhaps from gconfig directly?  Ditto for the login
screen.  Having the same cloned Verne image on both monitors is kind of
lame.  It would look a lot nicer if one image spanned both monitors.

-wolfgang
-- 
g+:  https://plus.google.com/114566345864337108516/about
-- 
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


Using CPAN to update perl modules

2012-03-27 Thread Mark Haney
This may sound kinda silly, but it's the first time I've ever really 
encountered this before.  I'm finding I have a need to update some perl 
modules that aren't yet packaged by Fedora.  Is using CPAN to update 
them going to cause any problems?  Are there any caveats to using CPAN 
to install other modules not packaged in RPM form?


--

Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.0-4.fc16.x86_64 GNU/Linux
--
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: [389-users] largish member changes causing problems

2012-03-27 Thread Michael Gettes
Nope, no memberof either.
On Mar 27, 2012 1:39 PM, Andrey Ivanov andrey.iva...@polytechnique.fr
wrote:

 It may also be the memberOf plugin, is the attribute memberOf
 replicated in your configuration? I tested deleting/adding/replacing
 in one shot a group of ~6000 entries with memberOf and referint
 enabled. It took about 30 seconds to complete but it never hanged
 (389DS v1.2.9.10).

 2012/3/27 Michael Gettes get...@gmail.com:
  Ref int is not on.
 
  On Mar 27, 2012 10:11 AM, Mark Reynolds marey...@redhat.com wrote:
 
  Michael,
 
  Something else to check is the Referential Integrity Plugin.  Is it
  enabled?  If it is, something that I have seen that helps is to set the
  interval from 0 to 1 second.  Or turn it off to rule it out, but then of
  course it won't do its job.
 
  Regards,
  Mark
 
  On 03/26/2012 10:25 PM, Michael R. Gettes wrote:
 
  I am a little perplexed.
 
  I am making a change to a groupOfNames object having some 16069 member
  attributes.  I am deleting nearly 16000 members and then adding nearly
 16000
  members.  CPU goes to 100% and never comes down.  I have plenty of
 memory
  allocated (700MB) to nss-slapd and I have made the adjustments to
 allow for
  large objects (maxbersize).  I end up having to kill -9 slapd.  the
 annoying
  thing is some times it works, some times it doesn't.  I can't seem to
 find
  any common conditions of the failures (or successes).
 
  ds = 1.2.9.9
  RHEL = 5.7
 
  Thoughts?
 
  /mrg
  --
  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
 --
 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

Re: Using CPAN to update perl modules

2012-03-27 Thread Richard Shaw
On Tue, Mar 27, 2012 at 12:52 PM, Mark Haney ma...@abemblem.com wrote:
 This may sound kinda silly, but it's the first time I've ever really
 encountered this before.  I'm finding I have a need to update some perl
 modules that aren't yet packaged by Fedora.  Is using CPAN to update them
 going to cause any problems?  Are there any caveats to using CPAN to install
 other modules not packaged in RPM form?

I'm not a pearl expert but I have seen MANY recommendations not to mix
RPM and CPAN perl modules. I can think of two options. If you have
some basic RPM packaging skills then this may be your best bet:

http://fedoraproject.org/wiki/Perl/cpanspec

It looks like it downloads the module source and tries to create a
spec file for it so you can build an RPM.

Or cpan2rpm, which will create a full RPM for you but I'm not sure how
well the resultant RPM meets the Fedora packaging guidelines:

http://perl.arix.com/cpan2rpm/

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: [389-users] Problems logging in with 389-console

2012-03-27 Thread Rich Megginson

On 03/27/2012 11:22 AM, Mike Mercier wrote:

On Tue, Mar 27, 2012 at 11:14 AM, Rich Megginsonrmegg...@redhat.com  wrote:

On 03/27/2012 09:07 AM, Mike Mercier wrote:

On Tue, Mar 27, 2012 at 10:05 AM, Rich Megginsonrmegg...@redhat.com
  wrote:

On 03/27/2012 06:46 AM, Mike Mercier wrote:

Hello,

On Mon, Mar 26, 2012 at 10:47 AM, Rich Megginsonrmegg...@redhat.com
  wrote:

On 03/26/2012 08:28 AM, Mike Mercier wrote:

Hello,

adm.conf attached.

Have you configured the directory server to use TLS/SSL?

No, TLS/SSL was not configured. I did the following to install 389.

Install fedora 16
run yum update
install 389
run setup-ds-admin.pl using the 'Typical' option
run 389-console and try to login as cn=Directory Manager


Can you try with 389-admin-1.1.28 now in updates-testing?

[root@localhost ~]# rpm -qa | grep 389
389-console-1.1.7-1.fc16.noarch
389-ds-console-doc-1.2.6-1.fc16.noarch
389-ds-base-libs-1.2.10.4-2.fc16.x86_64
389-ds-1.2.2-1.fc15.noarch
389-ds-base-1.2.10.4-2.fc16.x86_64
389-ds-console-1.2.6-1.fc16.noarch
389-admin-console-doc-1.1.8-2.fc16.noarch
389-admin-console-1.1.8-2.fc16.noarch
389-dsgw-1.1.7-2.fc16.x86_64
389-admin-1.1.28-1.fc16.x86_64
389-adminutil-1.1.14-1.fc16.x86_64

When using 389-console

/var/log/dirsrv/admin-serv/error
[Tue Mar 27 08:36:31 2012] [notice] [client 127.0.0.1]
admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1
[Tue Mar 27 08:36:31 2012] [error] Could not bind as []: ldap error
-1: Can't contact LDAP server
[Tue Mar 27 08:36:31 2012] [error] Could not bind as []: ldap error
-1: Can't contact LDAP server
[Tue Mar 27 08:36:31 2012] [notice] [client 127.0.0.1] unable to bind
to server [localhost.localdomain:389] as [(anonymous)]
[Tue Mar 27 08:36:31 2012] [crit] buildUGInfo(): unable to initialize
TLS connection to LDAP host localhost.localdomain port 389: 4
[Tue Mar 27 08:36:31 2012] [error] [client 127.0.0.1] user
cn=Directory Manager not found: /admin-serv/authenticate


/var/log/dirsrv/admin-serv/access
127.0.0.1 - cn=Directory Manager [27/Mar/2012:08:36:31 -0400] GET
/admin-serv/authenticate HTTP/1.0 401 478

When using http://http://localhost.localdomain:9830/dist/download and
clicking '389 Administration Express'

/var/log/dirsrv/admin-serv/error
[Tue Mar 27 08:41:58 2012] [notice] [client 127.0.0.1]
admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1
[Tue Mar 27 08:41:58 2012] [notice] [client 127.0.0.1]
admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1,
referer: http://localhost.localdomain:9830/dist/download
[Tue Mar 27 08:41:58 2012] [notice] [client 127.0.0.1]
admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1,
referer: http://localhost.localdomain:9830/dist/download
[Tue Mar 27 08:42:00 2012] [notice] [client 127.0.0.1]
admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1,
referer: http://localhost.localdomain:9830/dist/download
[Tue Mar 27 08:42:00 2012] [error] Could not bind as []: ldap error
-1: Can't contact LDAP server
[Tue Mar 27 08:42:00 2012] [error] Could not bind as []: ldap error
-1: Can't contact LDAP server
[Tue Mar 27 08:42:00 2012] [notice] [client 127.0.0.1] unable to bind
to server [localhost.localdomain:389] as [(anonymous)], referer:
http://localhost.localdomain:9830/dist/download
[Tue Mar 27 08:42:00 2012] [crit] buildUGInfo(): unable to initialize
TLS connection to LDAP host localhost.localdomain port 389: 4


/var/log/dirsrv/admin-serv/access

127.0.0.1 - - [27/Mar/2012:08:41:58 -0400] GET /dist/download
HTTP/1.1 200 4470
127.0.0.1 - - [27/Mar/2012:08:41:58 -0400] GET /icons/spacer.gif
HTTP/1.1 200 43
127.0.0.1 - - [27/Mar/2012:08:41:58 -0400] GET /icons/goto.gif
HTTP/1.1
200 86
127.0.0.1 - admin [27/Mar/2012:08:42:00 -0400] GET
/admin-serv/tasks/configuration/HTMLAdmin?op=index HTTP/1.1 500 615

What's in your directory server access log from around this time?
/var/log/dirsrv/slapd-INSTANCE/access

Strangely, there are no entries in the file from that time...  below
is the entire file
/var/log/dirsrv/slapd-mpls/access:

389-Directory/1.2.10.2 B2012.054.1543
localhost.localdomain:389 (/etc/dirsrv/slapd-mpls)

[22/Mar/2012:15:09:39 -0400] conn=8 op=-1 fd=64 closed - B1
[22/Mar/2012:15:09:39 -0400] conn=10 op=-1 fd=65 closed - B1

The access log is buffered - if you're not hitting the directory server with
any operations, then it won't flush it's buffer.  The other way to make it
flush is to shut it down.

Nothing shows up in the log when trying to connect with 389-console.
Do you have more than one directory server?  If so, check the access 
logs on your configuration directory server, the first one you 
installed, the one with o=netscaperoot.

I do get entries in the log when running:

ldapsearch -x -b -o=netscaperoot -D cn=directory manager -w password
nsDirectoryURL=*

I did just notice that I am seeing SELinux errors when trying to
connect with the console:

SELinux is preventing /usr/sbin/httpd.worker from name_connect 

Re: dual monitors - one desktop image spanning both?

2012-03-27 Thread Darryl L. Pierce
On Tue, Mar 27, 2012 at 10:49:18AM -0700, Wolfgang S. Rupprecht wrote:
 
 Is it possible to get one backdrop image in F16 to span both monitors in
 a dual-monitor setup?  I'm using xfce4 and the desktop settings tool
 seems to only offer a per-monitor image selection.  Is there some way of
 selecting one image perhaps from gconfig directly?  Ditto for the login
 screen.  Having the same cloned Verne image on both monitors is kind of
 lame.  It would look a lot nicer if one image spanned both monitors.

I *thought* you could tell it to Span when setting it (rather than
zoom/tile/center/etc.). Is that option not available?

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/



pgpGD1rRdmU1f.pgp
Description: 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: dual monitors - one desktop image spanning both?

2012-03-27 Thread suvayu ali
On Tue, Mar 27, 2012 at 20:08, Darryl L. Pierce dpie...@redhat.com wrote:
 On Tue, Mar 27, 2012 at 10:49:18AM -0700, Wolfgang S. Rupprecht wrote:

 Is it possible to get one backdrop image in F16 to span both monitors in
 a dual-monitor setup?  I'm using xfce4 and the desktop settings tool
 seems to only offer a per-monitor image selection.  Is there some way of
 selecting one image perhaps from gconfig directly?  Ditto for the login
 screen.  Having the same cloned Verne image on both monitors is kind of
 lame.  It would look a lot nicer if one image spanned both monitors.

 I *thought* you could tell it to Span when setting it (rather than
 zoom/tile/center/etc.). Is that option not available?

Its still per display. As for the OP, I don't think this is possible
in XFCE. You could split the image with imagemagick and use the two
images on the two displays.

Hope this helps.

-- 
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: Using CPAN to update perl modules

2012-03-27 Thread Mark Haney

On 03/27/2012 02:02 PM, Richard Shaw wrote:

On Tue, Mar 27, 2012 at 12:52 PM, Mark Haneyma...@abemblem.com  wrote:




I'm not a pearl expert but I have seen MANY recommendations not to mix
RPM and CPAN perl modules. I can think of two options. If you have
some basic RPM packaging skills then this may be your best bet:

http://fedoraproject.org/wiki/Perl/cpanspec

It looks like it downloads the module source and tries to create a
spec file for it so you can build an RPM.




I'm no n00b to building RPMs, so that isn't a big issue.  Thanks for the 
info I'll look into a bit more and see what I come up with.



--

Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.0-4.fc16.x86_64 GNU/Linux
--
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: dual monitors - one desktop image spanning both?

2012-03-27 Thread Wolfgang S. Rupprecht

suvayu ali fatkasuvayu+li...@gmail.com writes:
 You could split the image with imagemagick and use the two
 images on the two displays.

Thanks.  That's effectively what I ended up doing (using gthumb).

-wolfgang
-- 
g+:  https://plus.google.com/114566345864337108516/about
-- 
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


WTH is wrong with PackageKit?

2012-03-27 Thread Mark Haney
Why is it that PackageKit is sitting in the background constantly 
leaving me pretty much unable to install any software from the command 
line?  Did I configure something to make it do that?  And how in the 
world can I make it stop?


--

Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.0-4.fc16.x86_64 GNU/Linux
--
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: WTH is wrong with PackageKit?

2012-03-27 Thread Konstantin Svist

On 03/27/2012 11:34 AM, Mark Haney wrote:
Why is it that PackageKit is sitting in the background constantly 
leaving me pretty much unable to install any software from the command 
line?  Did I configure something to make it do that?  And how in the 
world can I make it stop?




yum remove *PackageKit*  #:)
--
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: WTH is wrong with PackageKit?

2012-03-27 Thread Richard Shaw
On Tue, Mar 27, 2012 at 1:34 PM, Mark Haney ma...@abemblem.com wrote:
 Why is it that PackageKit is sitting in the background constantly leaving me
 pretty much unable to install any software from the command line?  Did I
 configure something to make it do that?  And how in the world can I make it
 stop?

This has come up several times before. It should usually only take
PackageKit about 10-45 seconds to update after the last yum
transaction, if it goes into minutes it often means it got stuck. I'm
not sure on what but I usually have to kill -9 it.

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: WTH is wrong with PackageKit?

2012-03-27 Thread Mark Haney

On 03/27/2012 02:45 PM, Konstantin Svist wrote:

On 03/27/2012 11:34 AM, Mark Haney wrote:

Why is it that PackageKit is sitting in the background constantly
leaving me pretty much unable to install any software from the command
line? Did I configure something to make it do that? And how in the
world can I make it stop?



yum remove *PackageKit* #:)


I got it.  For some insane reason PK runs in the background a lot (all 
the time?) if you have it set to check for updates daily.  Don't know 
about y'all, but that seems a bit heavy handed.



--

Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.0-4.fc16.x86_64 GNU/Linux
--
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: WTH is wrong with PackageKit?

2012-03-27 Thread Andy Blanchard
On 27 March 2012 19:54, Mark Haney ma...@abemblem.com wrote:


 I got it.  For some insane reason PK runs in the background a lot (all the
 time?) if you have it set to check for updates daily.  Don't know about
 y'all, but that seems a bit heavy handed.


Sounds like you've hit the same bug myself and several others have.  Is so,
it's not PackageKit causing the problem so much as Apper repeatedly calling
it - about every five minutes or so seems to be the norm when this
happens.  If you don't mind doing updates manually, then uninstalling Apper
will fix the problem.

-- 
Andy

*The only person to have all his work done by Friday was Robinson Crusoe*
-- 
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: WTH is wrong with PackageKit?

2012-03-27 Thread Richard Shaw
On Tue, Mar 27, 2012 at 1:54 PM, Mark Haney ma...@abemblem.com wrote:
 I got it.  For some insane reason PK runs in the background a lot (all the
 time?) if you have it set to check for updates daily.  Don't know about
 y'all, but that seems a bit heavy handed.

Hopefully I describe this accurately, but it's actually much worse
than that. The PackageKit yum plugin causes PK to update after every
yum transaction. While this is necessary as PK is used for the GUI
updater, I think the default wait time after the last yum transaction
is a bit short.

I think uninstalling apper and the yum PK plugin would probably be
better than ripping out everything PK.

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: FC15/16 NetworkManager drops network connection

2012-03-27 Thread Symersky, Henry
Mike,

Thanks. I resolved it. 
Should you ever need it:
fc15/16 Network Connections GUI has a check box in the lower left corner.
If it is unchecked, the NetworkManager will drop the connection after logout.
If you need a permanent connection, it has to be checked.
It seems that with this option enabled, any user can fiddle with the network 
setup,
but I have not tested it yet. I have just several disciplined users.

Henry




-Original Message-
From: users-boun...@lists.fedoraproject.org on behalf of mike cloaked
Sent: Tue 3/27/2012 4:09 AM
To: Community support for Fedora users
Subject: Re: FC15/16 NetworkManager drops network connection
 
On Tue, Mar 27, 2012 at 1:09 AM, Symersky, Henry
henry.symer...@rosalindfranklin.edu wrote:

 Can someone please explain to me how to configure the NetworkManager in
 order to KEEP ETEHERNET CONNECTTION EVEN AFTER LOGGING OUT ??
 Thanks.

Usually in the past (well for me always in the past once NM was fully
operational) you can go to edit connections in NM, and make sure that
the particular connection has its check box checked for making that
connection system-wide.  Then the connection is active as soon as the
system boots irrespective of whether any user is logged in.  So for
the default wired connection you can do this, as well as for any
wireless connection also.

Unless things have changed very recently this has always worked just
fine (at least for several years anyway)

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

winmail.dat-- 
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


Processor time consumption

2012-03-27 Thread les
Hi, everyone,
My latest boondoggle is a multiple one.  I loaded tracker to fool with
it a bit, and now it is always on,  I looked up the man pages and
checked the commands, so I know I can turn off the various processes
using tracker-control -t.  But how do I keep it from starting?  I used
to know how to edit some of the startup configuration, but now I find
that what I remember is wayy out of date.

Any guidance would be appreciated.

With that out of the way, and the tracker processes stopped, I have
three remaining problems... 
1.  I have a spreadsheet I want to use to create charts for a book I am
writting, so I run the spreadsheet in libre office.
2.  I then open the book in libre office.  Now soffice.bin is consuming
99+ percent of the processor time and everything grinds to a stop.
3.  I open evolution, retrieve my mail, everything is normal.  I begin
to edit a messge adn about 3 lines in, it grinds to a halt, soffice is
not running.  After about 30 seconds it resumes working.

Since I would suppose that most of you use Libre office, and this is
not likely happening as I see no comments to that effect, I suspect that
the problem is mine alone.  This makes me think configuration or other
error.  But I already have lots of errors from various processes, but
none from soffice that I can tell. These errors do not appear to effect
about 30 other applications I run, and while I know that this doesn't
mean they won't affect soffice, I think that is unlikely, so my guess is
that there is some issue in the soffice configuration, or that I am
missing some file or link.  Any thoughts?

The evolution problem could be related to some of the errors, dealing
with dbus, and I am working on tracking those down.  Any pointers
appreciated. (I arrived at this due to timestamp relationships.)


Regards,
Les H

-- 
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: WTH is wrong with PackageKit?

2012-03-27 Thread Richard Hughes
On 27 March 2012 20:00, Richard Shaw hobbes1...@gmail.com wrote:
 I think uninstalling apper and the yum PK plugin would probably be
 better than ripping out everything PK.

Just remove PackageKit-yum-plugin if you don't want PK to check it's
caches after each command line action. I agree its a nasty bug in
apper tho.

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: Timezones and SELinux...

2012-03-27 Thread enclair
Le 27 mars 2012 16:36, Daniel J Walsh dwa...@redhat.com a écrit :

 Are you seeing avc messages when you try to change the date/time.

 ausearch -m avc -ts recent


Yes I am:

time-Tue Mar 27 21:07:27 2012
type=AVC msg=audit(1332875247.972:80): avc:  denied  { dac_override } for
pid=1962 comm=kcmdatetimehelp capability=1
scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023
tcontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tclass=capability

However I don't use a normal configuration. My /home is mounted with the
bind option of mount, I don't know if it can be related.
-- 
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: Processor time consumption

2012-03-27 Thread Joe Zeff

On 03/27/2012 12:06 PM, les wrote:

Since I would suppose that most of you use Libre office, and this is
not likely happening as I see no comments to that effect, I suspect that
the problem is mine alone.


Just to eliminate some obvious issues, how fast is your processor, how 
much RAM do you have and how much swap?  I ask, in part, because I have 
an aging 1.8GH CPU and the motherboard's maxed out at 1 GB.  (I'm saving 
up for a replacement.)  Some things are running slower, now, as RAM 
requirements mount although not as badly as what you're reporting. 
Still, it's always best to make sure.

--
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: minimal install CD versus Pentium 4

2012-03-27 Thread James Wilkinson
Michael Hennebry wrote:
 Stepping 9.
 No NX.
 
 Of course, the next question is whether the installer or installee require NX.

No, but it allows the kernel to block certain sorts of attacks. I’m
pretty sure Fedora kernels still use Exec-Shield on non-NX processors,
which should provide most of the same benefits:
http://fedoraproject.org/wiki/Security/Features#Exec-Shield

(Also note that it’s possible that your BIOS disables NX, in which case
it wouldn’t show up in /proc/cpuinfo).

But you’ll make best use of 4GB of RAM with the PAE kernel anyway.

James

-- 
E-mail: james@ | “Does exactly what it says on the tin.” ...
aprilcottage.co.uk | I’ve got a tin at home: it says “Open other end”.
   | It never is.
   | -- Humphrey Lyttelton, “I’m Sorry, I Haven’t A Clue”
-- 
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: Firewall disabled; yet connection refused

2012-03-27 Thread James Wilkinson
Ed Greshko wrote:
 Edit /etc/dovecot/conf.d/10-master.conf and comment the lines like so
 
#address = localhost # allow plain imap only on localhost
 
 Do that for all the protocols you want to enable on an external interface...

A better idea would be to put that line into a
/etc/dovecot/conf.d/local.conf file and leave 10-master.conf alone. The
local.conf file, since it sorts after 10-master, will over-ride the
settings in 10-master.conf.

This will leave the RPM-packaged 10-master.conf file alone, so you can
upgrade Dovecot without having to merge your modifications into the
.rpmnew file.

Hope this helps,

James.

-- 
E-mail: james@ | ... boxing the books up was a mistake: they are welded to
aprilcottage.co.uk | the floor through the power of gravity.
   | -- Telsa Gwynne’s diary.
-- 
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: minimal install CD versus Pentium 4

2012-03-27 Thread Joe Zeff

On 03/27/2012 01:13 PM, James Wilkinson wrote:

But you’ll make best use of 4GB of RAM with the PAE kernel anyway.


AIUI, the 32-bit installer gives you a PAE kernel if your CPU can handle 
it and has for quite some time.  My laptop has 3GB RAM and back when I 
installed F 9 on it, I found that I'd gotten the PAE kernel.  In fact, 
that's when (and how) I learned what PAE is, because I'd not heard of it 
before.

--
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: Timezones and SELinux...

2012-03-27 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/27/2012 03:11 PM, enclair wrote:
 Le 27 mars 2012 16:36, Daniel J Walsh dwa...@redhat.com 
 mailto:dwa...@redhat.com a écrit :
 
 Are you seeing avc messages when you try to change the date/time.
 
 ausearch -m avc -ts recent
 
 
 Yes I am:
 
 time-Tue Mar 27 21:07:27 2012 type=AVC msg=audit(1332875247.972:80): avc:  
 denied  { dac_override } for  pid=1962 comm=kcmdatetimehelp capability=1  
 scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 
 tcontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tclass=capability
 
 However I don't use a normal configuration. My /home is mounted with the bind 
 option of mount, I don't know if it can be related.
 
 
 

Doubt it but did you try what I wrote to the first reporter?

 
 dac_overrride means that you have a process running as root trying to modify 
 a file that is not owned by root.  Usually this means you have a file with 
 the incorrect ownership.
 
 Now the audit log did not give you the full path, but you can get it by 
 following the instructions detailed here.
 
 http://danwalsh.livejournal.com/34903.html

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

iEYEARECAAYFAk9yKKEACgkQrlYvE4MpobNTNACgyjShlg5HwNxEZhEyMs2FQ2iz
hmkAoL/dVKImZPEjcrrjXZ2z3EUOEyiD
=44Jf
-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


parallel bash scripts

2012-03-27 Thread bruce
hi.

got a couple of test bash scripts.

dog.sh, cat.sh
each script runs the underlying php in an endless loop.

I'm trying to figure out how to run the scripts in parallel, from the
same parent shell script. something like:

test.sh

  dog.sh  2
  cat.sh  2

where dog.sh would be :

while true
do
  pgrep dog
  if [ $? -ne 0 ]
  then
/dog.php
  fi
sleep 5
done

my current tests, run dog.sh, which runs the dog.php ... but the test
never gets to run cat.sh

thoughts/comments...

thanks
-- 
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: Timezones and SELinux...

2012-03-27 Thread enclair
Le 27 mars 2012 22:52, Daniel J Walsh dwa...@redhat.com a écrit :

 Doubt it but did you try what I wrote to the first reporter?

 
  dac_overrride means that you have a process running as root trying to
 modify a file that is not owned by root.  Usually this means you have a
 file with the incorrect ownership.
 
  Now the audit log did not give you the full path, but you can get it by
 following the instructions detailed here.
 
  http://danwalsh.livejournal.com/34903.html


I've turned on full auditing and I have:

# ausearch -m avc -ts recent

time-Tue Mar 27 23:23:42 2012
type=PATH msg=audit(1332883422.739:90): item=0 name=/.config inode=2
dev=fd:00 mode=040555 ouid=0 ogid=0 rdev=00:00
obj=system_u:object_r:root_t:s0
type=CWD msg=audit(1332883422.739:90):  cwd=/
type=SYSCALL msg=audit(1332883422.739:90): arch=4003 syscall=39
success=no exit=-13 a0=8c1a4a8 a1=1ff a2=419f24bc a3=8 items=1 ppid=1
pid=1959 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0
fsgid=0 tty=(none) ses=4294967295 comm=kcmdatetimehelp
exe=/usr/libexec/kde4/kcmdatetimehelper
subj=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1332883422.739:90): avc:  denied  { dac_override } for
pid=1959 comm=kcmdatetimehelp capability=1
scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023
tcontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tclass=capability

time-Tue Mar 27 23:23:46 2012
type=PATH msg=audit(1332883426.207:93): item=0 name=/ inode=2 dev=fd:00
mode=040555 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:root_t:s0
type=CWD msg=audit(1332883426.207:93):  cwd=/
type=SYSCALL msg=audit(1332883426.207:93): arch=4003 syscall=33
success=no exit=-13 a0=8c490d8 a1=2 a2=419f24bc a3=8c608b4 items=1 ppid=1
pid=1959 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0
fsgid=0 tty=(none) ses=4294967295 comm=kcmdatetimehelp
exe=/usr/libexec/kde4/kcmdatetimehelper
subj=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1332883426.207:93): avc:  denied  { dac_override } for
pid=1959 comm=kcmdatetimehelp capability=1
scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023
tcontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tclass=capability

I think I deleted /.config once because I thought it was a mistake.
If I create /.config, the error will be on: /.config/Trolltech.conf.MT
( is a number which change every time).
-- 
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: parallel bash scripts

2012-03-27 Thread Mateusz Marzantowicz
W dniu 27.03.2012 23:25, bruce pisze:
 hi.

 got a couple of test bash scripts.

 dog.sh, cat.sh
 each script runs the underlying php in an endless loop.

 I'm trying to figure out how to run the scripts in parallel, from the
 same parent shell script. something like:

 test.sh

   dog.sh  2
   cat.sh  2

 where dog.sh would be :
 
 while true
 do
   pgrep dog
   if [ $? -ne 0 ]
   then
 /dog.php
   fi
 sleep 5
 done

 my current tests, run dog.sh, which runs the dog.php ... but the test
 never gets to run cat.sh

 thoughts/comments...

 thanks
Did you try:

command1  command2

where command1 and command2 are bash built in commands or scripts (in
your case dog.sh and cat.sh)?


Mateusz Marzantowicz
-- 
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: Using CPAN to update perl modules

2012-03-27 Thread Sam Varshavchik

Mark Haney writes:


On 03/27/2012 02:02 PM, Richard Shaw wrote:

On Tue, Mar 27, 2012 at 12:52 PM, Mark Haneyma...@abemblem.com  wrote:




I'm not a pearl expert but I have seen MANY recommendations not to mix
RPM and CPAN perl modules. I can think of two options. If you have
some basic RPM packaging skills then this may be your best bet:

http://fedoraproject.org/wiki/Perl/cpanspec

It looks like it downloads the module source and tries to create a
spec file for it so you can build an RPM.




I'm no n00b to building RPMs, so that isn't a big issue.  Thanks for the  
info I'll look into a bit more and see what I come up with.


You say you just want a newer version.

Chances are that if you take the existing version's source rpm, and frob it  
appropriately, you'll get the right results.




pgpz2eLUMqVmG.pgp
Description: 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: parallel bash scripts

2012-03-27 Thread bruce
HI Mateusz

Yeah, tried the basic  ... but the issue is the shell scripts run
as infinite loops.. and therefore, the dog.sh doesn't really
exit/complete.

So I can't really run them sequentially.

If I open up separate term/windows, then of course, I can manually run
them (one in each window)..

thanks


On Tue, Mar 27, 2012 at 5:46 PM, Mateusz Marzantowicz
mmarzantow...@osdf.com.pl wrote:
 W dniu 27.03.2012 23:25, bruce pisze:
 hi.

 got a couple of test bash scripts.

 dog.sh, cat.sh
 each script runs the underlying php in an endless loop.

 I'm trying to figure out how to run the scripts in parallel, from the
 same parent shell script. something like:

 test.sh

   dog.sh  2
   cat.sh  2

 where dog.sh would be :
 
 while true
 do
   pgrep dog
   if [ $? -ne 0 ]
   then
     /dog.php
   fi
 sleep 5
 done

 my current tests, run dog.sh, which runs the dog.php ... but the test
 never gets to run cat.sh

 thoughts/comments...

 thanks
 Did you try:

 command1  command2

 where command1 and command2 are bash built in commands or scripts (in
 your case dog.sh and cat.sh)?


 Mateusz Marzantowicz
 --
 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: [389-users] 389 LDAP Multi-threading question

2012-03-27 Thread Rich Megginson

On 03/27/2012 03:42 PM, Justin Piszcz wrote:


Hello,

Had an inquiry regarding ns-slapd, was multi-threading always 
supported from the first public release?



Yes.


I’ve seen ns-slapd (an older version) sit pegged at or near 100% CPU 
utilization on a multi-core Xeon system.


Would like to know if you can repeat that with 1.2.10.4.  If so, please 
provide platform and details, and a reproducer if possible.


I’ve read elsewhere that someone has seen it hit 200% on a 2 way Xeon 
system (from 2007)


http://www.mail-archive.com/fedora-directory-users@redhat.com/msg06164.html

Sure.  Enabling a very verbose log level will cripple the server 
performance.


There are obviously other factors in terms of the DB, what you are 
doing, in terms of add or add+delete; however was curious if there was 
an a parameter or a compile time setting that enables/disables 
threads, if the default was always to use multiple threads(?) or is it 
the case that there are other non-optimized parameters being used that 
would not allow ns-slapd to utilize the other N number of cores?


The directory server does not know or care about how many cpus/cores are 
in the machine.  It relies on the native threading library and the 
kernel thread schedule to allocate threads among the cpus/cores.


See
http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/9.0/html/Configuration_Command_and_File_Reference/Core_Server_Configuration_Reference.html#cnconfig-nsslapd_maxthreadsperconn_Maximum_Threads_per_Connection

There is also a hidden attribute nsslapd-threadnumber.  By default 
this value is 30.  You might be able to achieve better throughput for 
your use case by setting this to 2*number of cores on your machine.  We 
would be interested in hearing your results if you try this out.



Justin.



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

Re: parallel bash scripts

2012-03-27 Thread Dave Ihnat
On Tue, Mar 27, 2012 at 05:25:56PM -0400, bruce wrote:
 got a couple of test bash scripts.
 ... 
 I'm trying to figure out how to run the scripts in parallel, from the
 same parent shell script. something like:

Have you tried

  nohup cat.sh 21
  nohup dog.sh 21

Cheers,
--
Dave Ihnat
-- 
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: dual monitors - one desktop image spanning both?

2012-03-27 Thread Roger

On 28/03/12 04:49, Wolfgang S. Rupprecht wrote:

Is it possible to get one backdrop image in F16 to span both monitors in
a dual-monitor setup?  I'm using xfce4 and the desktop settings tool
seems to only offer a per-monitor image selection.  Is there some way of
selecting one image perhaps from gconfig directly?  Ditto for the login
screen.  Having the same cloned Verne image on both monitors is kind of
lame.  It would look a lot nicer if one image spanned both monitors.

-wolfgang

Mind does, no problems, both on Fedora 16 and Ubuntu
Roger
--
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: parallel bash scripts

2012-03-27 Thread bruce
hey dave...

anyway i can redirect the err/out to the stdout.. instead of the
nohut.out file??

it appears that the processes are running in the ps tb.. the nohut.out
file also has input/data..

i'd like to be able to see the output of the processes scroll on the
term/screen if possible

thanks


On Tue, Mar 27, 2012 at 5:58 PM, Dave Ihnat dih...@dminet.com wrote:
 On Tue, Mar 27, 2012 at 05:25:56PM -0400, bruce wrote:
 got a couple of test bash scripts.
 ...
 I'm trying to figure out how to run the scripts in parallel, from the
 same parent shell script. something like:

 Have you tried

  nohup cat.sh 21
  nohup dog.sh 21

 Cheers,
 --
        Dave Ihnat
 --
 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: parallel bash scripts

2012-03-27 Thread Dave Ihnat
On Tue, Mar 27, 2012 at 06:06:56PM -0400, bruce wrote:
 anyway i can redirect the err/out to the stdout.. instead of the
 nohut.out file??

The usual way would be to do a tail -f on the output file, e.g.,

  nohup cat.sh 21 cat.log
  tail -f cat.log

If you're using bash, IIRC, you could reap the background ID and then use
'disown', I suppose.  $! should give you that.

Cheers,
--
Dave Ihnat
President, DMINET Consulting, Inc.
-- 
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: parallel bash scripts

2012-03-27 Thread bruce
dave..

thanks.

but the script is a long running script, and i want to see the output
as the script is running without having to hit the keyboard..

so doing a tail of the file while the process is running isn't what
i'm looking for.

anything else?

thanks


On Tue, Mar 27, 2012 at 7:00 PM, Dave Ihnat dih...@dminet.com wrote:
 On Tue, Mar 27, 2012 at 06:06:56PM -0400, bruce wrote:
 anyway i can redirect the err/out to the stdout.. instead of the
 nohut.out file??

 The usual way would be to do a tail -f on the output file, e.g.,

  nohup cat.sh 21 cat.log
  tail -f cat.log

 If you're using bash, IIRC, you could reap the background ID and then use
 'disown', I suppose.  $! should give you that.

 Cheers,
 --
        Dave Ihnat
        President, DMINET Consulting, Inc.
 --
 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: in case you did not know about kerTeX distribution

2012-03-27 Thread Antonio Olivares
@all who have tried to install kerTeX and have failed, what is needed?

1) make sure that Development Tools is installed, if it is not then, as root 
user
# yum groupinstall Development Tools

2) install flex-static, flex and bison are installed but libl.a, or libfl.a are 
not in /usr/lib/ or /usr/lib64 and are not found, ./get_mk_install.sh will fail 
with report that it is missing:

for 32 bit fedora 
=
rkconfig:  Checking LEXLIB: not found!
rkconfig:  There were 1 libes not found! Stop!
rkconfig:
rkconfig:  LEXLIB is missing:
rkconfig:
LEXLIB
   The library provided by the LEX program, `libl' or `libfl' if `flex'
   is installed and the symlink libl.a has not been made to libfl.a

=

for 64 bit fedora 
=
rkconfig:  Checking LEXLIB: not found!
rkconfig:  There were 1 libes not found! Stop!
rkconfig:
rkconfig:  LEXLIB is missing:
rkconfig:
LEXLIB
   The library provided by the LEX program, `libl' or `libfl' if `flex'
   is installed and the symlink libl.a has not been made to libfl.a
=
# yum install flex-static 

solves this problem so make sure it is installed before you run the script.

$ wget http://downloads.kergis.com/kertex/get_mk_install.sh

The script runs as regular user, there is no need to run it as root.  

$ chmod +x get_mk_install.sh

then you may download the rest of the packages available

$ wget http://downloads.kergis.com/kertex/amstex.sh
$ wget http://downloads.kergis.com/kertex/latex.sh
$ wget http://downloads.kergis.com/kertex/graph...@latex.sh
$ wget http://downloads.kergis.com/kertex/ba...@latex.sh
$ wget http://downloads.kergis.com/kertex/cyril...@latex.sh
$ wget http://downloads.kergis.com/kertex/a...@latex.sh
$ wget http://downloads.kergis.com/kertex/cr...@latex.sh
$ chmod +x *.sh

then run 
$ ./amstex.sh install
will install amstex
$ ./latex.sh install
will install latex 
$ ./graph...@latex.sh 
will install graphics capabilities for latex

and so on.

Paths will need to be added manually to ~/.bash_profile for the shell to find 
tex in case you take the initiative to install it.  It can comfortable live 
with texlive, and tetex in that it does not aim to take over as the main tex 
distribution.  

dvipdfm, pdftex, pdflatex are not found in KerTeX.  But dvips is present and 
outputs to postcript.  AMSLatex was recently added as a package.  It is a small 
and portable TeX Distribution.  

To include graphics in latex documents, use
\usepackage[dvips]{graphicx}

In case you run into trouble with fonts/font generation when using -G option in 
dvips
$ dvips -G -t letter $1.dvi  $1.ps 

then, as root user
# echo ';ams;'  /usr/local/share/kertex/fonts/mf/KXPATH 

as it has this bug.  It will be fixed shortly.  

Should you take the plunge to try out kerTeX, and have questions, comments, 
observations, please let me know so I can help if needed.

Regards,


Antonio 
-- 
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: Firewall disabled; yet connection refused

2012-03-27 Thread Ed Greshko
On 03/28/2012 04:13 AM, James Wilkinson wrote:
 Ed Greshko wrote:
 Edit /etc/dovecot/conf.d/10-master.conf and comment the lines like so

#address = localhost # allow plain imap only on localhost

 Do that for all the protocols you want to enable on an external interface...
 A better idea would be to put that line into a
 /etc/dovecot/conf.d/local.conf file and leave 10-master.conf alone. The
 local.conf file, since it sorts after 10-master, will over-ride the
 settings in 10-master.conf.

 This will leave the RPM-packaged 10-master.conf file alone, so you can
 upgrade Dovecot without having to merge your modifications into the
 .rpmnew file.

 Hope this helps,


Very good point

As I mentioned, I've never set up dovecot.


-- 
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: in case you did not know about kerTeX distribution

2012-03-27 Thread Antonio Olivares


--- On Tue, 3/27/12, Antonio Olivares olivares14...@yahoo.com wrote:

 From: Antonio Olivares olivares14...@yahoo.com
 Subject: Re: in case you did not know about kerTeX distribution
 To: Community support for Fedora users users@lists.fedoraproject.org
 Date: Tuesday, March 27, 2012, 4:23 PM
 @all who have tried to install kerTeX
 and have failed, what is needed?
 
 1) make sure that Development Tools is installed, if it is
 not then, as root user
 # yum groupinstall Development Tools
 
 2) install flex-static, flex and bison are installed but
 libl.a, or libfl.a are not in /usr/lib/ or /usr/lib64 and
 are not found, ./get_mk_install.sh will fail with report
 that it is missing:
 
 for 32 bit fedora 
 =
 rkconfig:  Checking LEXLIB: not found!
 rkconfig:  There were 1 libes not found! Stop!
 rkconfig:
 rkconfig:  LEXLIB is missing:
 rkconfig:
 LEXLIB
        The library provided by the
 LEX program, `libl' or `libfl' if `flex'
        is installed and the symlink
 libl.a has not been made to libfl.a
 
 =
 
 for 64 bit fedora 
 =
 rkconfig:  Checking LEXLIB: not found!
 rkconfig:  There were 1 libes not found! Stop!
 rkconfig:
 rkconfig:  LEXLIB is missing:
 rkconfig:
 LEXLIB
        The library provided by the
 LEX program, `libl' or `libfl' if `flex'
        is installed and the symlink
 libl.a has not been made to libfl.a
 =
 # yum install flex-static 
 
 solves this problem so make sure it is installed before you
 run the script.
 
 $ wget http://downloads.kergis.com/kertex/get_mk_install.sh
 
 The script runs as regular user, there is no need to run it
 as root.  
 
 $ chmod +x get_mk_install.sh
 
 then you may download the rest of the packages available
 
 $ wget http://downloads.kergis.com/kertex/amstex.sh
 $ wget http://downloads.kergis.com/kertex/latex.sh
 $ wget http://downloads.kergis.com/kertex/graph...@latex.sh
 $ wget http://downloads.kergis.com/kertex/ba...@latex.sh
 $ wget http://downloads.kergis.com/kertex/cyril...@latex.sh
 $ wget http://downloads.kergis.com/kertex/a...@latex.sh
 $ wget http://downloads.kergis.com/kertex/cr...@latex.sh
 $ chmod +x *.sh
 
 then run 
 $ ./amstex.sh install
 will install amstex
 $ ./latex.sh install
 will install latex 
 $ ./graph...@latex.sh
 
 will install graphics capabilities for latex
 
 and so on.
 
 Paths will need to be added manually to ~/.bash_profile for
 the shell to find tex in case you take the initiative to
 install it.  It can comfortable live with texlive, and
 tetex in that it does not aim to take over as the main tex
 distribution.  
 
 dvipdfm, pdftex, pdflatex are not found in KerTeX.  But
 dvips is present and outputs to postcript.  AMSLatex
 was recently added as a package.  It is a small and
 portable TeX Distribution.  
 
 To include graphics in latex documents, use
 \usepackage[dvips]{graphicx}
 
 In case you run into trouble with fonts/font generation when
 using -G option in dvips
 $ dvips -G -t letter $1.dvi  $1.ps 
 
 then, as root user
 # echo ';ams;'  /usr/local/share/kertex/fonts/mf/KXPATH
 
 
 as it has this bug.  It will be fixed shortly.  
 
 Should you take the plunge to try out kerTeX, and have
 questions, comments, observations, please let me know so I
 can help if needed.
 
 Regards,
 
 
 Antonio 
 -- 

Forgot about something :(

when getting the packages, ./latex.sh, /amstex.sh, etc.  

==
[students@localhost kerTeX]$ ./graph...@latex.sh install

KERTEX_VERSION=0..3.0
KERTEX_HOST=linux-x86_64-3.2.10-3.fc16.x86_64
KERTEX_SHELL=/bin/sh
KERTEX_BINDIR=/usr/local/bin/kertex
KERTEX_LIBDIR=/usr/local/share/kertex
KERTEX_MANDIR=/usr/local/share/kertex/man
KERTEX_USER0=root
KERTEX_GROUP0=wheel

graph...@latex.sh:  latex: FOUND.
cd: Fatal error: Certificate verification: Not trusted
This is TeX, kerTeX C Version 3.1415926
! I can't find file `graphics.ins'.
* latex graphics.ins

Please type another input file name:

==
To solve this:  
cd: Fatal error: Certificate verification: Not trusted

Run from command line 
$ cat ~/.lftp/rc EOT
 set ssl:verify-certificate no
 EOT
$  

and retry the installation of the packages.  I knew I forgot something.  

Happy TeXing  LaTeXing

Regards,

Antonio 
-- 
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: parallel bash scripts

2012-03-27 Thread Rick Stevens

On 03/27/2012 04:06 PM, bruce wrote:

dave..

thanks.

but the script is a long running script, and i want to see the output
as the script is running without having to hit the keyboard..

so doing a tail of the file while the process is running isn't what
i'm looking for.

anything else?


The problem is that a script wants a stdin, stdout and stderr. If
you're going to run them in parallel, you can't very well have both
scripts outputting to the terminal.

The correct thing is to do what Dave said. Use nohup and redirect stdout
and stderr to a log file. You can then tail -f each one whenever you
want. An alternative is to launch the scripts in detached screen
sessions:

screen -d -m dog.sh
screen -d -m cat.sh

This would launch each script in its own detached screen session
(essentially creates virtual terminals with shells and runs the script
in them) and the calling script doesn't wait for them to complete.

You can then screen -r id to attach to those screen sessions. You
can get the list of screen sessions running simply by doing screen -r
without specifying a session ID. Use ctrl-A, ctrl-D to detach from
a screen session (but leave it running). See man screen for details.

Oh, yeah, you may need to yum install screen if you don't already have
it.


On Tue, Mar 27, 2012 at 7:00 PM, Dave Ihnatdih...@dminet.com  wrote:

On Tue, Mar 27, 2012 at 06:06:56PM -0400, bruce wrote:

anyway i can redirect the err/out to the stdout.. instead of the
nohut.out file??


The usual way would be to do a tail -f on the output file, e.g.,

 nohup cat.sh 21cat.log
 tail -f cat.log

If you're using bash, IIRC, you could reap the background ID and then use
'disown', I suppose. Â $! should give you that.

Cheers,
--
       Dave Ihnat
       President, DMINET Consulting, Inc.
--
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



--
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
-  We are born naked, wet and hungry. Then things get worse. -
--
--
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: parallel bash scripts

2012-03-27 Thread suvayu ali
On Wed, Mar 28, 2012 at 01:06, bruce badoug...@gmail.com wrote:
 but the script is a long running script, and i want to see the output
 as the script is running without having to hit the keyboard..

I'm not sure what you mean. Do you mean to say you want to run the
script and start seeing the output with the same command? If that is
the case, there are several solutions. I usually use these two:

$ nohup myscript  myscript.log  less +F myscript.log
$ nohup myscript 21 | tee myscript.log

If you actually want to run both scripts in the same shell and want to
follow both outputs, try the following variation of the first command:

$ nohup myscript1  myscript1.log  nohup myscript2  myscript2.log
 less +F myscript1.log myscript2.log

Then you can stop following the first log by hitting Ctrl+c and move
on to the next file with :n you can then start following with F. You
can go back again by repeating the same except change :n to :p.

Hope this helps.

-- 
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: parallel bash scripts

2012-03-27 Thread Mark LaPierre

On 03/27/2012 05:25 PM, bruce wrote:

hi.

got a couple of test bash scripts.

dog.sh, cat.sh
each script runs the underlying php in an endless loop.

I'm trying to figure out how to run the scripts in parallel, from the
same parent shell script. something like:

test.sh


where dog.sh would be :

while true
do
   pgrep dog
   if [ $? -ne 0 ]
   then
 /dog.php
   fi
sleep 5
done

my current tests, run dog.sh, which runs the dog.php ... but the test
never gets to run cat.sh

thoughts/comments...

thanks

Hey Bruce,

Do you mean to run these subprograms in parallel or in series?

cat.sh
#! /bin/bash

CAT=0
until [ $CAT -eq 10 ]
do
echo Inside a dog it's too dark to read. $CAT
CAT=$[$CAT + 1]
sleep 2
done


dog.sh
#! /bin/bash

DOG=0
until [ $DOG -eq 10 ]
do
echo Next to a dog a book is man's best friend. $DOG
DOG=$[$DOG + 1]
sleep 2
done


test.sh
#! /bin/sh

/home/mlapier/test/dog.sh 12 
/home/mlapier/test/cat.sh 12 


[mlapier@mushroom test]$ ./test.sh
[mlapier@mushroom test]$ Next to a dog a book is man's best friend. 0
Inside a dog it's too dark to read. 0
Next to a dog a book is man's best friend. 1
Inside a dog it's too dark to read. 1
Next to a dog a book is man's best friend. 2
Inside a dog it's too dark to read. 2
Next to a dog a book is man's best friend. 3
Inside a dog it's too dark to read. 3
Next to a dog a book is man's best friend. 4
Inside a dog it's too dark to read. 4
Next to a dog a book is man's best friend. 5
Inside a dog it's too dark to read. 5
Next to a dog a book is man's best friend. 6
Inside a dog it's too dark to read. 6
Next to a dog a book is man's best friend. 7
Inside a dog it's too dark to read. 7
Next to a dog a book is man's best friend. 8
Inside a dog it's too dark to read. 8
Next to a dog a book is man's best friend. 9
Inside a dog it's too dark to read. 9


--
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: parallel bash scripts

2012-03-27 Thread bruce
hey rick...

haven't talked to you in a very long time!

--
i tried the nohup, but couldn't get it to work because of the fact
that my processes have infinite loops.. so my test never got beyond
running the 1st test shell script that's running an infinite loop...

i can do a paste of what i'm testing if you have a few minutes to take
a look on this

thanks

bruce
badoug...@gmail.com



On Tue, Mar 27, 2012 at 8:56 PM, Rick Stevens
rstev...@corp.alldigital.com wrote:
 On 03/27/2012 04:06 PM, bruce wrote:

 dave..

 thanks.

 but the script is a long running script, and i want to see the output
 as the script is running without having to hit the keyboard..

 so doing a tail of the file while the process is running isn't what
 i'm looking for.

 anything else?


 The problem is that a script wants a stdin, stdout and stderr. If
 you're going to run them in parallel, you can't very well have both
 scripts outputting to the terminal.

 The correct thing is to do what Dave said. Use nohup and redirect stdout
 and stderr to a log file. You can then tail -f each one whenever you
 want. An alternative is to launch the scripts in detached screen
 sessions:

        screen -d -m dog.sh
        screen -d -m cat.sh

 This would launch each script in its own detached screen session
 (essentially creates virtual terminals with shells and runs the script
 in them) and the calling script doesn't wait for them to complete.

 You can then screen -r id to attach to those screen sessions. You
 can get the list of screen sessions running simply by doing screen -r
 without specifying a session ID. Use ctrl-A, ctrl-D to detach from
 a screen session (but leave it running). See man screen for details.

 Oh, yeah, you may need to yum install screen if you don't already have
 it.

 On Tue, Mar 27, 2012 at 7:00 PM, Dave Ihnatdih...@dminet.com  wrote:

 On Tue, Mar 27, 2012 at 06:06:56PM -0400, bruce wrote:

 anyway i can redirect the err/out to the stdout.. instead of the
 nohut.out file??


 The usual way would be to do a tail -f on the output file, e.g.,

 Â nohup cat.sh 21cat.log
 Â tail -f cat.log


 If you're using bash, IIRC, you could reap the background ID and then use
 'disown', I suppose. Â $! should give you that.

 Cheers,
 --
 Â  Â  Â  Â Dave Ihnat
 Â  Â  Â  Â President, DMINET Consulting, Inc.

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



 --
 --
 - Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
 - AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
 -                                                                    -
 -      We are born naked, wet and hungry. Then things get worse.     -
 --

 --
 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: parallel bash scripts

2012-03-27 Thread Mark LaPierre

On 03/27/2012 09:37 PM, Mark LaPierre wrote:

Check out the redirection at the end of each command. 12 redirects the
standard out of your child command to the standard error which then
appears in the parent shell. At the end the last  launches your command
into a background shell and then moves on to launch the next command.
The redirections don't care if the command ever terminates.

The result is that both commands are launched and the parent shell
terminates leaving the standard error attached to the terminal that the
parent was launched in.

On 03/27/2012 09:08 PM, bruce wrote:

marklap...@aol.com

hey mark

what you have, appears to be pretty close to what i had... except my
tests never ended... the loops are infinite...

can i do a fpaste and have you take a look at what i have?

-btuce


On Tue, Mar 27, 2012 at 9:00 PM, Mark LaPierremarklap...@aol.com wrote:

On 03/27/2012 05:25 PM, bruce wrote:


hi.

got a couple of test bash scripts.

dog.sh, cat.sh
each script runs the underlying php in an endless loop.

I'm trying to figure out how to run the scripts in parallel, from the
same parent shell script. something like:

test.sh


where dog.sh would be :

while true
do
pgrep dog
if [ $? -ne 0 ]
then
/dog.php
fi
sleep 5
done

my current tests, run dog.sh, which runs the dog.php ... but the test
never gets to run cat.sh

thoughts/comments...

thanks


Hey Bruce,

Do you mean to run these subprograms in parallel or in series?

cat.sh
#! /bin/bash

CAT=0
until [ $CAT -eq 10 ]
do
echo Inside a dog it's too dark to read. $CAT
CAT=$[$CAT + 1]
sleep 2
done


dog.sh
#! /bin/bash

DOG=0
until [ $DOG -eq 10 ]
do
echo Next to a dog a book is man's best friend. $DOG
DOG=$[$DOG + 1]
sleep 2
done


test.sh
#! /bin/sh

/home/mlapier/test/dog.sh 12
/home/mlapier/test/cat.sh 12


[mlapier@mushroom test]$ ./test.sh
[mlapier@mushroom test]$ Next to a dog a book is man's best friend. 0
Inside a dog it's too dark to read. 0
Next to a dog a book is man's best friend. 1
Inside a dog it's too dark to read. 1
Next to a dog a book is man's best friend. 2
Inside a dog it's too dark to read. 2
Next to a dog a book is man's best friend. 3
Inside a dog it's too dark to read. 3
Next to a dog a book is man's best friend. 4
Inside a dog it's too dark to read. 4
Next to a dog a book is man's best friend. 5
Inside a dog it's too dark to read. 5
Next to a dog a book is man's best friend. 6
Inside a dog it's too dark to read. 6
Next to a dog a book is man's best friend. 7
Inside a dog it's too dark to read. 7
Next to a dog a book is man's best friend. 8
Inside a dog it's too dark to read. 8
Next to a dog a book is man's best friend. 9
Inside a dog it's too dark to read. 9



--
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: rc.local not loaded on boot

2012-03-27 Thread David G . Miller
Aaron Konstam akonstam at sbcglobal.net writes:

 
 On Sun, 2012-03-25 at 17:34 +, David G. Miller wrote: 
   Quite a bit more to it than just putting a script there:
  
  http://forums.fedoraforum.org/showthread.php?t=272075
  
  Cheers,
  Dave

 I can't make head of tail of the discussion in the web site you mention.
 
 On my machine any systemctl statement that includes rc.local.service
 returns a statement that rc.local.service does not exist.
 
 What do you get from the web site?
The thread contains an extensive troubleshooting discussion of how to get
rc.local functionality working.  There are quite a few things to check and the
thread covers most of them.

Cheers,
Dave



-- 
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: parallel bash scripts

2012-03-27 Thread Mark LaPierre

I don't understand what you are trying to do.

Do you want to run these commands in series?  Run one, wait for it to 
complete, then start the other?


If that's where you want to go then leave off the trailing ampersand but 
keep the redirection.  The output of the first program will appear in 
the terminal due to the redirection.  When the first program ends the 
second program will start.  That one needs redirection of standard out 
to standard error too so that it's output will appear in the terminal as 
well.


Solution with trailing ampersand is appropriate for endless loops.
Solution without trailing ampersand is appropriate for serial operation.

I put the loop counter in the demo program just to stop the thing 
without having to us ps and kill.  Without the loop counter they will 
continue to print inter-twined messages forever.


Does the program webservice_setup.sh start programs itself that you are 
trying to read the output from?  Are they correctly redirected to send 
their standard output to standard error?


On 03/27/2012 10:01 PM, bruce wrote:

Hi mark.

the following is part of what i have tried... and what isn't working.
i changed the test shell scripts to no longer have infinite loops.
they simply execute the php app one time.

however, it still doesn't work.

in the initial shell script, it calls a php app that does some mysql
processes. the php app has a number of echo/print msgs to track what's
going on for testing..  when running as a background process the shell
script/php app isn't working.

the cmdline sits.. when i select the return key.. the process is
diplayed as being stopped...

if i remove the background  the shell script runs...

 -- not working
/apps/parseapp2/webservice_setup.sh12

 -- works
/apps/parseapp2/webservice_setup.sh

/apps/parseapp2/webservice_setup.sh
---
echo starting the osu webservice test
mysql -uroot1 -pfoo  /apps/parseapp2/setup_tblDb.sql
mysql -uroot1 -pfoo  /apps/parseapp2/webservice/webservice_tbls.sql
/apps/parseapp2/parse_tbl_setup.php
echo started the osu webservice test


thoughts???

thanks





On Tue, Mar 27, 2012 at 9:37 PM, Mark LaPierremarklap...@aol.com  wrote:

Check out the redirection at the end of each command.  12 redirects the
standard out of your child command to the standard error which then appears
in the parent shell.  At the end the last  launches your command into a
background shell and then moves on to launch the next command.  The
redirections don't care if the command ever terminates.

The result is that both commands are launched and the parent shell
terminates leaving the standard error attached to the terminal that the
parent was launched in.


On 03/27/2012 09:08 PM, bruce wrote:


marklap...@aol.com

hey mark

what you have, appears to be pretty close to what i had... except my
tests never ended... the loops are infinite...

can i do a fpaste and have you take a look at what i have?

-btuce


On Tue, Mar 27, 2012 at 9:00 PM, Mark LaPierremarklap...@aol.comwrote:


On 03/27/2012 05:25 PM, bruce wrote:



hi.

got a couple of test bash scripts.

dog.sh, cat.sh
each script runs the underlying php in an endless loop.

I'm trying to figure out how to run the scripts in parallel, from the
same parent shell script. something like:

test.sh


where dog.sh would be :

while true
do
   pgrep dog
   if [ $? -ne 0 ]
   then
 /dog.php
   fi
sleep 5
done

my current tests, run dog.sh, which runs the dog.php ... but the test
never gets to run cat.sh

thoughts/comments...

thanks



Hey Bruce,

Do you mean to run these subprograms in parallel or in series?

cat.sh
#! /bin/bash

CAT=0
until [ $CAT -eq 10 ]
do
echo Inside a dog it's too dark to read. $CAT
CAT=$[$CAT + 1]
sleep 2
done


dog.sh
#! /bin/bash

DOG=0
until [ $DOG -eq 10 ]
do
echo Next to a dog a book is man's best friend. $DOG
DOG=$[$DOG + 1]
sleep 2
done


test.sh
#! /bin/sh

/home/mlapier/test/dog.sh 12
/home/mlapier/test/cat.sh 12


[mlapier@mushroom test]$ ./test.sh
[mlapier@mushroom test]$ Next to a dog a book is man's best friend. 0
Inside a dog it's too dark to read. 0
Next to a dog a book is man's best friend. 1
Inside a dog it's too dark to read. 1
Next to a dog a book is man's best friend. 2
Inside a dog it's too dark to read. 2
Next to a dog a book is man's best friend. 3
Inside a dog it's too dark to read. 3
Next to a dog a book is man's best friend. 4
Inside a dog it's too dark to read. 4
Next to a dog a book is man's best friend. 5
Inside a dog it's too dark to read. 5
Next to a dog a book is man's best friend. 6
Inside a dog it's too dark to read. 6
Next to a dog a book is man's best friend. 7
Inside a dog it's too dark to read. 7
Next to a dog a book is man's best friend. 8
Inside a dog it's too dark to read. 8
Next to a dog a book is man's best friend. 9
Inside a dog it's too dark to read. 9



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change 

Re: Using CPAN to update perl modules

2012-03-27 Thread Geoffrey Leach
On 03/27/2012 10:52:42 AM, Mark Haney wrote:
 This may sound kinda silly, but it's the first time I've ever really 
 encountered this before.  I'm finding I have a need to update some
 perl 
 modules that aren't yet packaged by Fedora.  Is using CPAN to update 
 them going to cause any problems?  Are there any caveats to using 
 CPAN to install other modules not packaged in RPM form?

Short answer, not a problem.

cpan will install the module in /usrlocal, where Perl will find it 
before the module installed from an rpm. (See output of perl -V). cpan 
does not have an uninstall option, so if there's an rpm with a later 
version, and you install it, perl will not see the new module unless 
you remove the one you installed with cpan. Removing the cpan-installed 
version should not be a problem, unless the module is very complicated. 
cpan leaves the source for the installed module in ~root/.cpan/build; 
your module might have a make uninstall, if you're lucky:-)

Good luck.


-- 
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: parallel bash scripts

2012-03-27 Thread Cameron Simpson
On 27Mar2012 17:56, Rick Stevens rstev...@corp.alldigital.com wrote:
| On 03/27/2012 04:06 PM, bruce wrote:
| The problem is that a script wants a stdin, stdout and stderr.

No evidence so far that they use stdin.

| If
| you're going to run them in parallel, you can't very well have both
| scripts outputting to the terminal.

Sure you can. Why not? I do it all the time with multiple tails etc.

| The correct thing is to do what Dave said. Use nohup and redirect stdout
| and stderr to a log file. You can then tail -f each one whenever you
| want.

Background and disown is better, usually. I'm finding nohup more and
more painful; always the same output file, stdout and stderr glommed
together etc.

| An alternative is to launch the scripts in detached screen
| sessions:
| 
|   screen -d -m dog.sh
|   screen -d -m cat.sh
| 
| This would launch each script in its own detached screen session
| (essentially creates virtual terminals with shells and runs the script
| in them) and the calling script doesn't wait for them to complete.

You can get screen session names, too. Much easier to work with than the
ids you get by default.

  % screen -ls
  There are screens on:
2635.GETMAIL(Detached)
17863.CP_VIDEO  (Detached)
6557.OI (Detached)
1247.BACKUP (Detached)
2203.BEYONWIZ   (Detached)
9125.EMERGE (Detached)
15806.mutt-28mar2012-16:23 Re_parallel_bash_scr (Attached)
  7 Sockets in /tmp/screen-cameron.

That last is actually the email editor I'm using right now. Can detach
and pick up again later!

But:

  dog.sh /dev/null dog.out 2dog.err 
  cat.sh /dev/null cat.out 2cat.err 
  disown %1 %2

is simple and basic. Adjust %1 and %2 to the job numbers you get; see the
jobs command to get current background jobs.

Cheers,
-- 
Cameron Simpson c...@zip.com.au DoD#743
http://www.cskk.ezoshosting.com/cs/

To understand recursion, you must first understand recursion.
-- 
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: Firewall disabled; yet connection refused

2012-03-27 Thread Ed Greshko
On 03/28/2012 04:13 AM, James Wilkinson wrote:
 A better idea would be to put that line into a
 /etc/dovecot/conf.d/local.conf file and leave 10-master.conf alone. The
 local.conf file, since it sorts after 10-master, will over-ride the
 settings in 10-master.conf.

 This will leave the RPM-packaged 10-master.conf file alone, so you can
 upgrade Dovecot without having to merge your modifications into the
 .rpmnew file.

 Hope this helps,

Well, FWIW, I could not get your suggestion to work.  Have you done this?  Do 
you
have a local.conf that works for you?

Thanks.

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