Pedro Fernandes Macedo | 1 Jul 2004 01:08
Picon

Re: Help w/ LDAP

xentek development wrote:

>Today i was successful in getting apache and subversion running. Apache
>ended up being installed, i just need to get it to autostart as a
>service on boot-up.
>
>  
>
go to system-config-services and enable httpd (or use the good and old 
chkconfig)

>However, I have still yet to get php working with apache. but i will
>save that for another day.
>
>  
>
That's weird... I have apache running here and the only things I had to 
change were related to the directories I wanted use as base directories...
PHP was installed and is working (at least php_info() returns the info page)

>I am interested in getting LDAP set up. I would like to consolidate my
>address book, for both my windows and linux clients into an LDAP
>directory. However, I am a bit lost at getting it installed / configured
>/ and running. I have found openldap directories scatterd about my
>system... and when reviewing the documentation there was a mention of
>adding config options to a sldap.conf file. only l file similiar was
>found and that was ldap.conf
>
>Any help on getting openldap working on my fedora core 2 system would be
>much appreciated.
(Continue reading)

Mike Fedyk | 1 Jul 2004 01:08

Re: copying large files between filesystems

Andrew Scott wrote:
> Good advice.  The disk isn't currenlty mounted and I'm running badblocks 
> on it in read-only mode writing the output to a file.  Interesting side 
> note:  the output file has been created but no bad blocks show up in it 
> yet -- does badblocks only write on exit to the output file?  Otherwise, 
> perhaps it's just the drive controller or the SCSI card that are 
> throwing errors and the data is safe and sound (oh, I hope this is true).

Ahh, you're using scsi?

Can you post excerpts from your kernel logs?

>> Yeah, run
>>
>> hdparm -d0 /dev/drive
>>
> 
> Excellent idea.  I'll do this once badblocks finishes (looks like 
> another hour).  Though hdparm /dev/sda doesn't really return much along 
> the lines of configurable options, I'll have to try this none-the-less. 
>  Thanks.

Sorry, this won't help with scsi... :(

>> and then:
>>
>> dd bs=1 if=your-file-to-recover of=file-on-a-different-drive
>>
> 
> Also, excellent idea.  I was trying to read the filesystem blocksize of 
(Continue reading)

Chris Kerios | 1 Jul 2004 01:11
Picon

Re: To HT or not to HT?

Hmmm.....I'm on a HT enabled Dell 9100 laptop running ndiswrapper, no
problem.......Oh yea, when I do compile with the -jN option the HT
really does pay off!
C

On Wed, 2004-06-30 at 09:43, Phil Hannent wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>  
> Jon Fanti wrote:
> 
> | Hi guys,
> |
> | We've started buying replacement servers for our aging equipment
> | here (it took a while to squeeze the money out of the bean
> | counters!), most of the new equipment is coming with HT (Hyper
> | Threading)-enabled Xeon or P4 CPUs. Is it worth using HT with FC2?
> | Mostly our servers are running apache and MySQL plus some PHP
> | scripts. I can't find any where that says I should/shouldn't enable
> | HT. What's the general recommendation? I'm tempted to just turn it
> | off unless I am likely to notice a nice big performance gain from
> | leaving it on?
> 
> Hi,
> 
> I have a HT enabled laptop and I have noticed a slight improvement
> when multitasking.  Only downside I have had is with kernel modules
> like ndiswrapper that don't support 2 CPUs.  For server use it should
> be just what the doctor ordered.
> 
(Continue reading)

scott | 1 Jul 2004 01:21
Picon

resizing partitions


I had originally installed Mandrake 9.1 on a machine I built.
I had created a 10 Gbyte FAT32 partition, (on /dev/hda1), and later 
decided
I wanted to reclaim it for linux.  When I used Mandrake's "diskdrake", 
it pulled the new
"free space" inside the extended partition (/dev/hda2), and deleted 
/dev/hda1.  The free space
shows up as space at the begining of /dev/hda2, prior to where 
/dev/hda5 ( the first paritition inside the
extended partition).  In theory, all the
space is still there.  What I would like to do is to resize change 
where /dev/hda2 starts to be where /dev/hda5
starts, then create a new partition (/dev/hda1) to use up the free 
space.

I currently dual boot to FC2, and used the remaining two partitions for 
the FC2 install
(I used the LVM for one of the partition)

Any ideas anyone?
Has anyone had any luck resizing a partition using parted?

Thanks,
Scott

--

-- 
fedora-list mailing list
fedora-list <at> redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
(Continue reading)

Andrew Scott | 1 Jul 2004 01:21

Re: copying large files between filesystems

Mike Fedyk wrote:
> Andrew Scott wrote:
> 
>> Good advice.  The disk isn't currenlty mounted and I'm running 
>> badblocks on it in read-only mode writing the output to a file.  
>> Interesting side note:  the output file has been created but no bad 
>> blocks show up in it yet -- does badblocks only write on exit to the 
>> output file?  Otherwise, perhaps it's just the drive controller or the 
>> SCSI card that are throwing errors and the data is safe and sound (oh, 
>> I hope this is true).
> 
> 
> Ahh, you're using scsi?
> 
> Can you post excerpts from your kernel logs?
>

Yup, what follows it the dmesg output from right after the disk bombed 
out on the last bzip2recover operation.  Current logs show no new errors 
while badblocks is running.

sorry about the "paste as quotation" but that was the simplest option to 
get the error into this message.

which other logs would be useful?

-Andrew

> hci_hcd 0000:00:07.2: UHCI Host Controller
> uhci_hcd 0000:00:07.2: irq 11, io base 0000ef80
(Continue reading)

xentek dev | 1 Jul 2004 01:32
Favicon

Re: Help w/ LDAP


> >However, I have still yet to get php working with apache. but i will
> >save that for another day.

> That's weird... I have apache running here and the only things I had to 
> change were related to the directories I wanted use as base directories...
> PHP was installed and is working (at least php_info() returns the info page)

hmm, i'll have to take another look at it... my phpinfo() returned
nothing.

> >I am interested in getting LDAP set up. I would like to consolidate my
> >address book, for both my windows and linux clients into an LDAP
> >directory. However, I am a bit lost at getting it installed / configured
> >/ and running. I have found openldap directories scatterd about my
> >system... and when reviewing the documentation there was a mention of
> >adding config options to a sldap.conf file. only l file similiar was
> >found and that was ldap.conf
> >
> >Any help on getting openldap working on my fedora core 2 system would be
> >much appreciated.
> >  
> >
> Well, ldap is a difficult subject.. I only started to understand it a 
> bit when I read the ldap book published by O"reilly...
> If you have the change to get this book , do it.. it's focused on 
> openldap and gives details on how to configure not only authentication , 
> but also mail , web , ftp and radius with ldap.

yeah, i recently invested in two linux books and one on samba. i wanted
(Continue reading)

Burn Alting | 1 Jul 2004 01:07
Picon

Re: Red Hat 9 to FC2 and email

Well, I changed /etc/dovecot.conf to have

default_mail_env = mbox:~/mail/:INBOX=/var/spool/mail/%u

and unfortunately I get the same problem ...

Jul  1 08:52:24 swtf dovecot: Dovecot starting up
Jul  1 08:52:37 swtf pop3-login: Login: judy [192.168.1.135]
Jul  1 08:53:08 swtf pop3(judy): unlink(/var/spool/mail/judy.lock)
failed: Permission denied
Jul  1 08:53:08 swtf pop3(judy): file_lock_dotlock() failed with mbox
file /var/spool/mail/judy: Permission denied
Jul  1 08:53:39 swtf pop3(judy): unlink(/var/spool/mail/judy.lock)
failed: Permission denied
Jul  1 08:53:39 swtf pop3(judy): file_lock_dotlock() failed with mbox
file /var/spool/mail/judy: Permission denied
Jul  1 08:53:39 swtf pop3: I/O leak: 0x8050cb0 (0)
Jul  1 08:53:39 swtf pop3: I/O leak: 0x8084da0 (1)
Jul  1 08:53:39 swtf pop3: Timeout leak: 0x8065e20

The directories seem ok

# ls -ld /var/spool/mail
drwxrwxr-x  2 root mail 4096 Jul  1 08:44 /var/spool/mail
# ls -l /var/spool/mail/judy
-rw-------  1 judy mail 467 Jul  1 00:41 /var/spool/mail/judy
#

I then changed /etc/dovecot.conf to have
	mbox_locks = fcntl
(Continue reading)

Ben Steeves | 1 Jul 2004 01:50
Picon

Re: Help w/ LDAP

On Wed, 30 Jun 2004 19:32:03 -0400, xentek dev <linux <at> xentek.net> wrote:

> > >I am interested in getting LDAP set up. I would like to consolidate my
> > >address book, for both my windows and linux clients into an LDAP
> > >directory. However, I am a bit lost at getting it installed / configured
> > >/ and running. I have found openldap directories scatterd about my
> > >system... and when reviewing the documentation there was a mention of
> > >adding config options to a sldap.conf file. only l file similiar was
> > >found and that was ldap.conf

I second the recommendation of the O'Rielly LDAP book.  It's a good
primer on LDAP in general and OpenLDAP specifically.  There's also
some good documentation on setting up OpenLDAP available on-line -- do
a Google search and you'll find lots of informative stuff.

-- 
Ben Steeves
            ben.steeves <at> gmail.com
            GPG ID: 0xB3EBF1D9
            http://www.metacon.ca/

--

-- 
fedora-list mailing list
fedora-list <at> redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

James Wilkinson | 1 Jul 2004 01:58
Picon
Picon

Re: [FC1] Changing screen background from script

Laurence Orchard wrote:
> Hi All
> 
> I have a series of digital photos taken with my camera using a time
> delay of 1 min over two hours.
> 
> I would like to use these as a changing screen background on a 2 hour
> loop.
> I know how to change the background using the menu system, but I think I
> need to use a script to do what I want.

Under GNOME, try putting something like this in your (user) crontab:

#!/bin/bash
# rotate the backdrop in X

PIC_DIR=/mnt/data/Pictures/Backdrop

cd $PIC_DIR || exit
CHOICE=$(expr $RANDOM \* $(ls 2>/dev/null | wc -l )  / 32768 + 1)
PICTURE=$(ls 2>/dev/null | tail -n $CHOICE | head -1)

nice -20 gconftool-2 --type=string \
    --set /desktop/gnome/background/picture_filename "$PIC_DIR/$PICTURE"

Note: that \ on the penultimate line must be right at the end of the
line (no further spaces or tabs). Obviously, you replace PIC_DIR's
value with where you keep your pictures.

HTH,
(Continue reading)

Alexander Dalloz | 1 Jul 2004 02:03
Picon
Picon

Re: Red Hat 9 to FC2 and email

Am Do, den 01.07.2004 schrieb Burn Alting um 1:07:

> Well, I changed /etc/dovecot.conf to have
> 
> default_mail_env = mbox:~/mail/:INBOX=/var/spool/mail/%u
> 
> and unfortunately I get the same problem ...
> 
> Jul  1 08:52:24 swtf dovecot: Dovecot starting up
> Jul  1 08:52:37 swtf pop3-login: Login: judy [192.168.1.135]
> Jul  1 08:53:08 swtf pop3(judy): unlink(/var/spool/mail/judy.lock)
> failed: Permission denied

> I then changed /etc/dovecot.conf to have
> 	mbox_locks = fcntl
> rather than the default (which I believe is dotlock fcntl) and lo and
> behold, I could pick up the e-mail.
> 
> I'm relatively happy now, but I'd love to know why dotlock locking
> doesn't work. Does some service other than dovecot need to be
> started/configured?

Nothing else. Please read

http://www.dovecot.org/list/dovecot/2004-June/003636.html

and it's answer. For a Fedora specific entry see bugzilla

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=113491

(Continue reading)


Gmane