Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Rajagopal Swaminathan
Greetings,

On Fri, May 7, 2010 at 3:08 AM, Joseph L. Casale
 wrote:
>>Why is my SATA drive showing up under /dev/hdb?
>


I have seen this problem solved by just adding ide0-noprobe ideprobe=0
to the kernel line in the menu.lst of grub at least in in some model
of HP desktops. adn a reboot of course.

I have seen performance jump from 10MB/s to 50+MB/s in the hdparm -tT
/dev/

No bios changes/upgrades etc.

YMMV..

Regards,

Rajagopal
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Arun Khan
On Fri, May 7, 2010 at 12:52 AM,   wrote:
> On May 6, 2010, at 12:00 PM, Arun Khan wrote:
>
>>
>>
>> Even though you may not require the SMB extensions, the smbldaptools
>> may be worth looking into.  It's toolset are similar to the regular
>> Linux user management tools, with the backend taking care of
>> populating the LDAP DIT and you keeping your sanity :)
>
> Thanks Arun,
>
> But you assume too much, I have no sanity left to keep :)

I know what you mean.   I was going nuts with one client (who thought
he knew LDAP just because he had done a prototype setup on a Mac OS X
server) because he was mucking around with the DIT (on the Mac
platform).   That is when I switched him to openLDAP and smbldaptools
on Linux and reclaimed my sanity :)

Another tool that I forgot to mention is LDAP Account Manager (lam);
there is an open source as well a commercial support version.  It is
web based; ideal for the CLI phobic admins.  You can delegate
authority to non technical staff like HR for disabling users and
groups ...

Luck,
-- Arun Khan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not firewall, but what?

2010-05-06 Thread Jussi Hirvi
Ok, thanks for ideas - many new things to test. So far no luck.

Too bad i don't have first-hand access to any of the client machines who 
*do* have this problem.

Next, I will go and switch the ethernet cable to a different slot on the 
router - kind of desperate, I know.

Some more details:
- this web server is a xen virtual guest system, with CentOS 5.4
- the problem surfaced yesterday morning (6th of May), after I had 
migrated all these web sites from an old Fedora box to this new CentOS 
system

Does the problem affect other xen systems on the same box? I haven't 
tested this yet (I cannot reproduce the error).

You could test yourself if you can see
http://62.236.221.71 (the problem system)
http://62.236.221.78 (another guest on the same xen host)

If someone *cannot* see the 1st one, then it would be interesting to 
know if (s)he can see the 2nd one or not.

- Jussi


On 6.5.2010 22.00, Benjamin Franz wrote:
> On 05/06/2010 11:42 AM, Ryan Manikowski wrote:
>>
>> Notice the op posted they get timeouts even when going directly to a
>> numerical address (if the apache server is configured to respond to
>> *:80 it should at least display something)
>>
>> Try using telnet from a client machine that can not connect.
>>
>> e.g. telnet host.name.here 80
>>
>> or
>>
>> telnet xx.xxx.xxx.xxx 80
>>
>> Try a few times and see if you're getting a timeout or if it connects
>> every time. Run tcpdump on the apache server while sending the
>> connection requests and see if the connection attempts show up at all.
>> If they do not, then it's a network problem.
>>
> Try running 'ab' (the apache bench tool - see 'man ab' for how to use
> it) against your server and see if you can provoke the timeouts. If you
> can, then you are probably not configured to handle many quick
> connections and should check (1) httpd.conf to make sure you don't have
> an excessively low setting for 'MaxClients' or (2) a too low setting for
> max open filehandles. Look in /etc/security/limits.conf - you should
> have a line reading something similar to:
>
>
> * - nofile 64000
>
>
> somewhere in it to raise the max number of open files. Busy web servers
> need lots of filehandles.
>
> --
> Benjamin Franz
>
> --
> Benjamin Franz
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] installing gtkmm

2010-05-06 Thread Arun Khan
On Fri, May 7, 2010 at 6:50 AM, Ming-ching Chiu  wrote:
> Hi,
> I've been building a gtkmm project on ubuntu and things run smoothly. Now i 
> have to move the project to CentOS 5.4. I set up rpm forge and installed 
> gtkmm. Turns out that the package on rpmforge is too old that my project 
> doesn't compile. I wonder if there is other way to get newer version of gtkmm 
> and all its dependencies instead of manually install them?

(a) You can use "alien" and convert the .deb package to .rpm package
and try installing it - caveat not recommended but worth a try
(dependencies from the "other" distro can be a nightmare to resolve).

(b) build the package from source.  many tar ball nowadays come with a
.spec file to build the RPM package.

HTH
-- Arun Khan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB key installed OS; file system goes read-only randomly...

2010-05-06 Thread Jason Pyeron
> -Original Message-
> From: John R Pierce
> Sent: Thursday, May 06, 2010 22:54
> Subject: Re: [CentOS] USB key installed OS;file system goes 
> read-only randomly...
> 
> Jason Pyeron wrote:
> > This happened a few times now, I (soft) reboot and do the 
> fsck thing 
> > and all is fine until it happens again.
> >   
> 
> A) your USB key is flakey

New HP v125w 4GB.

> 
> B) your systems USB ports are flakey
> 

Will search for a BIOS image upgrade.

> C) the cabling between the mainboard and the USB port is flakey.
> 

Plugged directly into the MB port.

> 
> I've run into C) quite a lot, where front panel USB ports 
> don't work reliably at USB2.0 speeds when doing large and/or 
> complex operations.  I suspect the internal wiring is 
> inadequate for the task.
> 
> 

Ug.

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

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB key installed OS; file system goes read-only randomly...

2010-05-06 Thread John R Pierce
Jason Pyeron wrote:
> This happened a few times now, I (soft) reboot and do the fsck thing and all 
> is
> fine until it happens again.
>   

A) your USB key is flakey

B) your systems USB ports are flakey

C) the cabling between the mainboard and the USB port is flakey.


I've run into C) quite a lot, where front panel USB ports don't work 
reliably at USB2.0 speeds when doing large and/or complex operations.  I 
suspect the internal wiring is inadequate for the task.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread John R Pierce
Jason Pyeron wrote:
> Unfortunatly, there is no option to change this. I will search for a new BIOS
> for it, but as the system will be running off a flash drive in production I am
> not in a hurry.
>   



you might just see if you can enable DMA with the hdparm command.

first off...

# hdparm -i /dev/hdb

I only have a IDE cdrom handy on on a centos 5 box (my HD's are all 
scsi, hardware raid, or fiberchannel), it displays...

# hdparm -i /dev/hda
   
/dev/hda:
   
 Model=TEAC CD-ROM CD-224E, FwRev=K.9A, SerialNo=
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no
   
 * signifies the current active mode


note the * mode.  in my case, its udma2 which is fairly fast (I believe 
66MB/sec).   a modern hard drive should do udma3 or 4 (100 or 133Mhz).

try...

# hdma -Xudma3 /dev/hdb
   
.dev/hda:
 setting xfermode to 100 (UltraDMA mode3)

use at your own risk.




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB key installed OS; file system goes read-only randomly...

2010-05-06 Thread Jason Pyeron

> -Original Message-
> From: John R Pierce
> Sent: Thursday, May 06, 2010 22:35
> Subject: Re: [CentOS] USB key installed OS;file system goes 
> read-only randomly...

>From dmesg:


EXT3-fs error (device dm-0): ext3_free_blocks_sb: bit already cleared for block
506003
Aborting journal on device dm-0.
ext3_abort called.
EXT3-fs error (device dm-0): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only


The full log is below

> 
> Jason Pyeron wrote:
> > [r...@test-dhcp ~]# tail -f /var/log/dmesg /var/log/secure 
> > /var/log/messages /var/log/faillog
> >   
> ...
> 
> note that /var/log/dmesg is just a snapshot of the output of 
> the program 
> dmesg taken after boot time. the dmesg command dumps the current 
> kernel message buffer, but I don't believe it has a live 
> 'follow' mode.
> 
> that said, most stuff written to the kernel message buffer 
> gets processed by syslog and put in /var/log/messages
> 

[1]+  Stopped tail -f /var/log/dmesg /var/log/secure
/var/log/messages /var/log/faillog
[r...@test-dhcp ~]# dmesg
Linux version 2.6.18-164.el5 (mockbu...@builder16.centos.org) (gcc version 4.1.2
20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Sep 3 03:33:56 EDT 2009
BIOS-provided physical RAM map:
 BIOS-e820: 0001 - 0009f800 (usable)
 BIOS-e820: 0009f800 - 000a (reserved)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - 1bee (usable)
 BIOS-e820: 1bee - 1bee3000 (ACPI NVS)
 BIOS-e820: 1bee3000 - 1bef (ACPI data)
 BIOS-e820: 1bef - 1bf0 (reserved)
 BIOS-e820: e000 - f000 (reserved)
 BIOS-e820: fec0 - fec01000 (reserved)
 BIOS-e820: fee0 - fee01000 (reserved)
 BIOS-e820:  - 0001 (reserved)
0MB HIGHMEM available.
446MB LOWMEM available.
found SMP MP-table at 000f3e80
Memory for crash kernel (0x0 to 0x0) notwithin permissible range
disabling kdump
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 114400
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 110304 pages, LIFO batch:31
DMI 2.3 present.
Using APIC driver default
ACPI: RSDP (v000 CX700 ) @ 0x000f7f70
ACPI: RSDT (v001 CX700  AWRDACPI 0x42302e31 AWRD 0x) @ 0x1bee3040
ACPI: FADT (v001 CX700  AWRDACPI 0x42302e31 AWRD 0x) @ 0x1bee30c0
ACPI: _HPT (v001 CX700  AWRDACPI 0x42302e31 AWRD 0x0098) @ 0x1bee9480
ACPI: _WDT (v001 CX700  AWRDACPI 0x42302e31 AWRD 0x) @ 0x1bee9500
ACPI: MCFG (v001 CX700  AWRDACPI 0x42302e31 AWRD 0x) @ 0x1bee95c0
ACPI: MADT (v001 CX700  AWRDACPI 0x42302e31 AWRD 0x) @ 0x1bee93c0
ACPI: DSDT (v001 CX700  AWRDACPI 0x1000 MSFT 0x0300) @ 0x
ACPI: PM-Timer IO Port: 0x408
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:13 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 2, version 3, address 0xfec0, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 2000 (gap: 1bf0:c410)
Detected 1199.604 MHz processor.
Built 1 zonelists.  Total pages: 114400
Kernel command line: ro root=/dev/VolGroup00/LogVol00
mapped APIC to d000 (fee0)
mapped IOAPIC to c000 (fec0)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c0761000 soft=c0741000
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 445780k/457600k available (2154k kernel code, 11276k reserved, 899k
data, 232k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop (skipped), value calculated using timer frequency..
2399.20 BogoMIPS (lpj=1199604)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: a7c9baff 0010   4181
 
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 128K (64 bytes/line)
CPU: After all inits, caps: 27c9b2ff 0010   4181
ffcc 
Checking 'hlt' instruction... OK.
SMP alternati

Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Jason Pyeron
 

> -Original Message-
> From: Robert Heller
> Sent: Thursday, May 06, 2010 22:30
> Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> 
> At Thu, 6 May 2010 17:37:19 -0400 CentOS mailing list 
wrote:
> 
> > 
> > 
> > > -Original Message-
> > > From: Jason Pyeron
> > > Sent: Thursday, May 06, 2010 17:32
> > > Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> > > 
> > > > -Original Message-
> > > > From: Benjamin Franz
> > > > Sent: Thursday, May 06, 2010 17:12
> > > > Subject: Re: [CentOS] Install of 5.4 i386 formatting is 
> very slow
> > > > 
> > > > On 05/06/2010 11:16 AM, Jason Pyeron wrote:
> > > > > It is writing an inode every 10 seconds. (1621 inodes 
> in total)
> > > > >
> > > > > It is a recent Seagate sata HD.
> > > > >
> > > > > MB=Jetway J7F5M1G2E-VHE-PB
> > 
> > Why is my SATA drive showing up under /dev/hdb?
> 
> Your motherboard is running in IDE emulation mode and 
> exposing the SATA drives as IDE drives.  Many motherboards 
> have this mode to make things 'easier' for certain older O/Ss.
> 

Unfortunatly, there is no option to change this. I will search for a new BIOS
for it, but as the system will be running off a flash drive in production I am
not in a hurry.


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB key installed OS; file system goes read-only randomly...

2010-05-06 Thread John R Pierce
Jason Pyeron wrote:
> [r...@test-dhcp ~]# tail -f /var/log/dmesg /var/log/secure /var/log/messages
> /var/log/faillog
>   
...

note that /var/log/dmesg is just a snapshot of the output of the program 
dmesg taken after boot time. the dmesg command dumps the current 
kernel message buffer, but I don't believe it has a live 'follow' mode.

that said, most stuff written to the kernel message buffer gets 
processed by syslog and put in /var/log/messages


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Robert Heller
At Thu, 6 May 2010 17:37:19 -0400 CentOS mailing list  wrote:

> 
> 
> > -Original Message-
> > From: Jason Pyeron
> > Sent: Thursday, May 06, 2010 17:32
> > Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> > 
> > > -Original Message-
> > > From: Benjamin Franz 
> > > Sent: Thursday, May 06, 2010 17:12
> > > Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> > > 
> > > On 05/06/2010 11:16 AM, Jason Pyeron wrote:
> > > > It is writing an inode every 10 seconds. (1621 inodes in total)
> > > >
> > > > It is a recent Seagate sata HD.
> > > >
> > > > MB=Jetway J7F5M1G2E-VHE-PB
> 
> Why is my SATA drive showing up under /dev/hdb?

Your motherboard is running in IDE emulation mode and exposing the SATA
drives as IDE drives.  Many motherboards have this mode to make things
'easier' for certain older O/Ss.

> 
> > > >
> > > What do you get from running 'iostat -kx 5' (be sure to wait 
> > > until the second report) while the formatting is running?
> > > 
> > 
> > This is running faster than during the install ( I have done 
> > a yum update now at
> > 2.6.18-164.15.1.el5)
> > 
> > Middle (inode tables: 130/235) of format on 23G logical 
> > volume [bit erratic?]:
> > 
> > avg-cpu:  %user   %nice %system %iowait  %steal   %idle
> >0.260.00   99.740.000.000.00
> > 
> > Device: rrqm/s   wrqm/s   r/s   w/srkB/swkB/s  avgrq-sz
> avgqu-sz await  svctm  %util
> 
> SATA hard disk:
> > hdb   0.00  1852.62  0.00 46.86 0.00  7493.19319.82
> 2.73 58.34  20.44  95.76
> > hdb1  0.00 0.00  0.00  0.00 0.00 0.00  0.00
> 0.00 0.00   0.00   0.00
> > hdb2  0.00  1852.62  0.00 46.86 0.00  7493.19319.82
> 2.73 58.34  20.44  95.76
> > dm-0  0.00 0.00  0.00  1.05 0.00 4.19  8.00
> 0.03 27.25  27.00   2.83
> > dm-1  0.00 0.00  0.00  0.00 0.00 0.00  0.00
> 0.00 0.00   0.00   0.00
> 
> USB Thumb drive
> > sda   0.00 0.00  0.00  0.00 0.00 0.00  0.00
> 0.00 0.00   0.00   0.00
> > sda1  0.00 0.00  0.00  0.00 0.00 0.00  0.00
> 0.00 0.00   0.00   0.00
> > dm-2  0.00 0.00  0.00 1898.43 0.00   7593.72 8.00
> 201.75  106.27   0.50  95.76
> > 
> 
> 
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -   -
> - Jason Pyeron  PD Inc. http://www.pdinc.us -
> - Principal Consultant  10 West 24th Street #100-
> - +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
> -   -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This message is copyright PD Inc, subject to license 20080407P00.
> 
>  
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>   
> 

-- 
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software-- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
hel...@deepsoft.com   -- Contract Programming: C/C++, Tcl/Tk


   
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] USB key installed OS; file system goes read-only randomly...

2010-05-06 Thread Jason Pyeron

This happened a few times now, I (soft) reboot and do the fsck thing and all is
fine until it happens again.

Any ideas?

[r...@test-dhcp ~]# yum remove bluez-libs bluez-utils
Loaded plugins: fastestmirror
Setting up Remove Process
Resolving Dependencies

Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing: bluez-utils
1/3
  Erasing: bluez-libs
2/3
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 376, in callback
self._unInstStop( bytes, total, h )
  File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 479, in
_unInstStop
self.ts_done(h, action)
  File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 307, in ts_done
misc.unlink_f(self.ts_done_fn)
  File "/usr/lib/python2.4/site-packages/yum/misc.py", line 777, in unlink_f
os.unlink(filename)
OSError: [Errno 30] Read-only file system:
'/var/lib/yum/transaction-done.2010-05-06.15:18.05'
error: python callback > failed, aborting!
[r...@test-dhcp ~]# > /tmp/test
-bash: /tmp/test: Read-only file system
[r...@test-dhcp ~]# mount -n -o remount,rw /
mount: block device /dev/VolGroup00/LogVol00 is write-protected, mounting
read-only
[r...@test-dhcp ~]# fdisk -l /dev/sda

Disk /dev/sda: 4105 MB, 4105175040 bytes
255 heads, 63 sectors/track, 499 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1  13  104391   83  Linux
/dev/sda2  14 499 3903795   8e  Linux LVM
[r...@test-dhcp ~]# > /boot/foo
[r...@test-dhcp ~]# rm /boot/foo
rm: remove regular empty file `/boot/foo'? y
[r...@test-dhcp ~]# > /tmp/foo
-bash: /tmp/foo: Read-only file system
[r...@test-dhcp ~]#




Was tailing logs when it happened:

[r...@test-dhcp ~]# tail -f /var/log/dmesg /var/log/secure /var/log/messages
/var/log/faillog
==> /var/log/dmesg <==
md: ... autorun DONE.
device-mapper: multipath: version 1.0.5 loaded
EXT3 FS on dm-0, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: initialized (dev sda1, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
Adding 917496k swap on /dev/VolGroup00/LogVol01.  Priority:-1 extents:1
across:917496k
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts

==> /var/log/secure <==
May  6 14:51:08 test-dhcp sshd[2237]: Server listening on :: port 22.
May  6 14:51:08 test-dhcp sshd[2237]: error: Bind to port 22 on 0.0.0.0 failed:
Address already in use.
May  6 14:53:07 test-dhcp login: pam_unix(login:session): session opened for
user root by (uid=0)
May  6 14:53:09 test-dhcp login: ROOT LOGIN ON tty1
May  6 15:04:05 test-dhcp sshd[2258]: Server listening on :: port 22.
May  6 15:04:05 test-dhcp sshd[2258]: error: Bind to port 22 on 0.0.0.0 failed:
Address already in use.
May  6 15:04:28 test-dhcp sshd[2385]: Connection closed by 192.168.4.12
May  6 15:04:39 test-dhcp sshd[2387]: Accepted password for root from
192.168.4.12 port 4794 ssh2
May  6 15:04:40 test-dhcp sshd[2387]: pam_unix(sshd:session): session opened for
user root by (uid=0)

==> /var/log/messages <==
May  6 15:05:04 test-dhcp kernel: Bluetooth: Core ver 2.10
May  6 15:05:04 test-dhcp kernel: NET: Registered protocol family 31
May  6 15:05:04 test-dhcp kernel: Bluetooth: HCI device and connection manager
initialized
May  6 15:05:04 test-dhcp kernel: Bluetooth: HCI socket layer initialized
May  6 15:05:04 test-dhcp kernel: Bluetooth: L2CAP ver 2.8
May  6 15:05:04 test-dhcp kernel: Bluetooth: L2CAP socket layer initialized
May  6 15:05:04 test-dhcp kernel: Bluetooth: RFCOMM socket layer initialized
May  6 15:05:04 test-dhcp kernel: Bluetooth: RFCOMM TTY layer initialized
May  6 15:05:04 test-dhcp kernel: Bluetooth: RFCOMM ver 1.8
May  6 15:05:05 test-dhcp kernel: Bluetooth: HIDP (Human Interface Emulation)
ver 1.1

==> /var/log/faillog <==

==> /var/log/secure <==
May  6 15:05:51 test-dhcp sshd[2504]: Accepted password for root from
192.168.4.12 port 4795 ssh2
May  6 15:05:52 test-dhcp sshd[2504]: pam_unix(sshd:session): session opened for
user root by (uid=0)

==> /var/log/messages <==
May  6 15:06:46 test-dhcp yum: Erased: redhat-lsb
May  6 15:07:41 test-dhcp yum: Erased: cups
May  6 15:09:23 test-dhcp yum: Erased: avahi-compat-libdns_sd
May  6 15:10:29 test-dhcp avahi-daemon[2383]: Got SIGTERM, quitting.
May  6 15:10:29 test-dhcp avahi-daemon[2383]: Leaving mDNS multicast group on
interface eth0.IPv6 with address fc00::30:18ae:6b84.
May  6 15:10:29 test-dhcp avahi-daemon[2383]: Leaving mDNS multicast group on
interface eth0.IPv4 with address 192.168.22.23.
May  6 15:10:29 test-dhcp yum: Erased: avahi
May  6 15:18:06 test-dhcp sdpd[2073]: terminating...
May  6 15:18:06 test-dhcp hcid[2069]: Unregister path:/org/bluez
May  6 15:18:06 test-dhcp hcid[2069]: Exit
May  6 15:18:06 test

[CentOS] installing gtkmm

2010-05-06 Thread Ming-ching Chiu
Hi,
I've been building a gtkmm project on ubuntu and things run smoothly. Now i 
have to move the project to CentOS 5.4. I set up rpm forge and installed gtkmm. 
Turns out that the package on rpmforge is too old that my project doesn't 
compile. I wonder if there is other way to get newer version of gtkmm and all 
its dependencies instead of manually install them?


-best,
Ming-ching
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] bandwidth graph

2010-05-06 Thread ann kok
Hi

I am using cact banwdith monitor but the bandwidt graph is not showing when it 
is over 120M

I already set it every minute instead of 5 mintues.

pls help

Thank you



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Jason Pyeron

 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Jason Pyeron
> Sent: Thursday, May 06, 2010 18:39
> To: 'CentOS mailing list'
> Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> 
> > -Original Message-
> > From: Behalf Of John R Pierce
> > Sent: Thursday, May 06, 2010 17:44
> > Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> > 
> > Tim Nelson wrote:
> > > - "Jason Pyeron"  wrote:
> > >   
> > >> Why is my SATA drive showing up under /dev/hdb?
> > >>
> > >> 
> > >
> > > Check your BIOS and set the SATA controller mode to
> > 'NATIVE'. Right now, I'd be willing to bet it's in 'Legacy' 
> > or something similar which causes the drives to run in IDE 
> mode, hence 
> > why your drive shows up as hdb instead of sdb.
> > This translated legacy mode is horribly slow.
> > >   
> 
> The bios gave me a choice of IDE/RAID, RAID=kernel panic.
> 
> Next setting was to disable OnChip IDE Channel1, no increase in speed.
> 
> Re-installing.
> 
> > 
> > it shouldn't be as slow as it is if its using IDE UltraDMA. 
>   but its 
> > using IDE PIO, which *is* horribly slow.   I wonder if the 
> > SATA chipset 
> > this board uses is unsupported?
> 
> How should I check?
> 

Well I put the drive in a usb 2.0 enclosure, formatted in just a few seconds.


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Jason Pyeron
> -Original Message-
> From: Behalf Of John R Pierce
> Sent: Thursday, May 06, 2010 17:44
> Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> 
> Tim Nelson wrote:
> > - "Jason Pyeron"  wrote:
> >   
> >> Why is my SATA drive showing up under /dev/hdb?
> >>
> >> 
> >
> > Check your BIOS and set the SATA controller mode to 
> 'NATIVE'. Right now, I'd be willing to bet it's in 'Legacy' 
> or something similar which causes the drives to run in IDE 
> mode, hence why your drive shows up as hdb instead of sdb. 
> This translated legacy mode is horribly slow.
> >   

The bios gave me a choice of IDE/RAID, RAID=kernel panic.

Next setting was to disable OnChip IDE Channel1, no increase in speed.

Re-installing.

> 
> it shouldn't be as slow as it is if its using IDE UltraDMA.   but its 
> using IDE PIO, which *is* horribly slow.   I wonder if the 
> SATA chipset 
> this board uses is unsupported?

How should I check?



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Jason Pyeron
inode tables: 207/235

 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of John R Pierce
> Sent: Thursday, May 06, 2010 17:44
> To: CentOS mailing list
> Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> 
> Tim Nelson wrote:
> > - "Jason Pyeron"  wrote:
> >   
> >> Why is my SATA drive showing up under /dev/hdb?
> >>
> >> 
> >
> > Check your BIOS and set the SATA controller mode to 
> 'NATIVE'. Right now, I'd be willing to bet it's in 'Legacy' 
> or something similar which causes the drives to run in IDE 
> mode, hence why your drive shows up as hdb instead of sdb. 
> This translated legacy mode is horribly slow.
> >   
> 
> it shouldn't be as slow as it is if its using IDE UltraDMA.   but its 
> using IDE PIO, which *is* horribly slow.   I wonder if the 
> SATA chipset 
> this board uses is unsupported?
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread John R Pierce
Tim Nelson wrote:
> - "Jason Pyeron"  wrote:
>   
>> Why is my SATA drive showing up under /dev/hdb?
>>
>> 
>
> Check your BIOS and set the SATA controller mode to 'NATIVE'. Right now, I'd 
> be willing to bet it's in 'Legacy' or something similar which causes the 
> drives to run in IDE mode, hence why your drive shows up as hdb instead of 
> sdb. This translated legacy mode is horribly slow.
>   

it shouldn't be as slow as it is if its using IDE UltraDMA.   but its 
using IDE PIO, which *is* horribly slow.   I wonder if the SATA chipset 
this board uses is unsupported?


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Joseph L. Casale
>Why is my SATA drive showing up under /dev/hdb?

That was my hunch:)
Config your bios to use AHCI, not compat/ide/or whatever
mode it's in now...

Watch your fstab/initrd(if custom) if you boot off this disc.
If you are using default lvm/initrd, you'll be ok with a change
like this.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Tim Nelson
- "Jason Pyeron"  wrote:
> 
> Why is my SATA drive showing up under /dev/hdb?
> 

Check your BIOS and set the SATA controller mode to 'NATIVE'. Right now, I'd be 
willing to bet it's in 'Legacy' or something similar which causes the drives to 
run in IDE mode, hence why your drive shows up as hdb instead of sdb. This 
translated legacy mode is horribly slow.

Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread John R Pierce
Jason Pyeron wrote:
>> What do you get from running 'iostat -kx 5' (be sure to wait
>> until the second report) while the formatting is running?
>> 
>
> avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>0.530.00   99.470.000.000.00
>
> Device: rrqm/s   wrqm/s   r/s   w/srkB/swkB/s avgrq-sz 
> avgqu-sz  wait  svctm  %util
> hdb   0.00  1881.32  0.00 27.11 0.00  7663.16   565.44 
> 2.66  98.12  35.34  95.79
>   


looks like its running in PIO IDE emulation mode per...

  * 99% CPU busy in system,
  * 7.7MByte/sec writes,
  * 95% disk utilization.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Joseph L. Casale
>avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>   0.260.00   99.740.000.000.00

What options exist in your bios for that controller? That's
rather high %system:)

But it is a rather small proc...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Jason Pyeron

> -Original Message-
> From: Jason Pyeron
> Sent: Thursday, May 06, 2010 17:32
> Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> 
> > -Original Message-
> > From: Benjamin Franz 
> > Sent: Thursday, May 06, 2010 17:12
> > Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> > 
> > On 05/06/2010 11:16 AM, Jason Pyeron wrote:
> > > It is writing an inode every 10 seconds. (1621 inodes in total)
> > >
> > > It is a recent Seagate sata HD.
> > >
> > > MB=Jetway J7F5M1G2E-VHE-PB

Why is my SATA drive showing up under /dev/hdb?

> > >
> > What do you get from running 'iostat -kx 5' (be sure to wait 
> > until the second report) while the formatting is running?
> > 
> 
> This is running faster than during the install ( I have done 
> a yum update now at
> 2.6.18-164.15.1.el5)
> 
> Middle (inode tables: 130/235) of format on 23G logical 
> volume [bit erratic?]:
> 
> avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>0.260.00   99.740.000.000.00
> 
> Device: rrqm/s   wrqm/s   r/s   w/srkB/swkB/s  avgrq-sz
avgqu-sz await  svctm  %util

SATA hard disk:
> hdb   0.00  1852.62  0.00 46.86 0.00  7493.19319.82
2.73 58.34  20.44  95.76
> hdb1  0.00 0.00  0.00  0.00 0.00 0.00  0.00
0.00 0.00   0.00   0.00
> hdb2  0.00  1852.62  0.00 46.86 0.00  7493.19319.82
2.73 58.34  20.44  95.76
> dm-0  0.00 0.00  0.00  1.05 0.00 4.19  8.00
0.03 27.25  27.00   2.83
> dm-1  0.00 0.00  0.00  0.00 0.00 0.00  0.00
0.00 0.00   0.00   0.00

USB Thumb drive
> sda   0.00 0.00  0.00  0.00 0.00 0.00  0.00
0.00 0.00   0.00   0.00
> sda1  0.00 0.00  0.00  0.00 0.00 0.00  0.00
0.00 0.00   0.00   0.00
> dm-2  0.00 0.00  0.00 1898.43 0.00   7593.72 8.00
201.75  106.27   0.50  95.76
> 


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Jason Pyeron
> -Original Message-
> From: Benjamin Franz 
> Sent: Thursday, May 06, 2010 17:12
> To: CentOS mailing list
> Cc: Jason Pyeron
> Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> 
> On 05/06/2010 11:16 AM, Jason Pyeron wrote:
> > It is writing an inode every 10 seconds. (1621 inodes in total)
> >
> > It is a recent Seagate sata HD.
> >
> > MB=Jetway J7F5M1G2E-VHE-PB
> >
> What do you get from running 'iostat -kx 5' (be sure to wait 
> until the second report) while the formatting is running?
> 

This is running faster than during the install ( I have done a yum update now at
2.6.18-164.15.1.el5)

Middle (inode tables: 130/235) of format on 23G logical volume [bit erratic?]:

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   0.260.00   99.740.000.000.00

Device: rrqm/s   wrqm/s   r/s   w/srkB/swkB/s avgrq-sz avgqu-sz
await  svctm  %util
hdb   0.00  1852.62  0.00 46.86 0.00  7493.19   319.82 2.73
58.34  20.44  95.76
hdb1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
hdb2  0.00  1852.62  0.00 46.86 0.00  7493.19   319.82 2.73
58.34  20.44  95.76
dm-0  0.00 0.00  0.00  1.05 0.00 4.19 8.00 0.03
27.25  27.00   2.83
dm-1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
sda   0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
sda1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
dm-2  0.00 0.00  0.00 1898.43 0.00  7593.72 8.00
201.75  106.27   0.50  95.76

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   0.530.00   99.470.000.000.00

Device: rrqm/s   wrqm/s   r/s   w/srkB/swkB/s avgrq-sz avgqu-sz
await  svctm  %util
hdb   0.00  1881.32  0.00 27.11 0.00  7663.16   565.44 2.66
98.12  35.34  95.79
hdb1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
hdb2  0.00  1881.32  0.00 27.11 0.00  7663.16   565.44 2.66
98.12  35.34  95.79
dm-0  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
dm-1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
sda   0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
sda1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
dm-2  0.00 0.00  0.00 1908.42 0.00  7633.68 8.00
216.68  113.52   0.50  95.82

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   0.000.00  100.000.000.000.00

Device: rrqm/s   wrqm/s   r/s   w/srkB/swkB/s avgrq-sz avgqu-sz
await  svctm  %util
hdb   0.00  1845.48  0.00 29.46 0.00  7532.82   511.44 2.69
91.46  32.52  95.79
hdb1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
hdb2  0.00  1845.48  0.00 29.46 0.00  7532.82   511.44 2.69
91.46  32.52  95.79
dm-0  0.00 0.00  0.00  1.03 0.00 4.13 8.00 0.03
33.50  33.00   3.41
dm-1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
sda   0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
sda1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
dm-2  0.00 0.00  0.00 1873.90 0.00  7495.61 8.00
216.12  115.34   0.51  95.76

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   0.260.00   99.740.000.000.00

Device: rrqm/s   wrqm/s   r/s   w/srkB/swkB/s avgrq-sz avgqu-sz
await  svctm  %util
hdb   0.00  1843.30  0.00 25.77 0.00  7506.19   582.48 2.73
106.12  37.13  95.70
hdb1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
hdb2  0.00  1843.30  0.00 25.77 0.00  7506.19   582.48 2.73
106.12  37.13  95.70
dm-0  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
dm-1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
sda   0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
sda1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
dm-2  0.00 0.00  0.00 1869.07 0.00  7476.29 8.00
218.72  117.06   0.51  95.70

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   0.250.00   99.750.000.000.00

Device: rrqm/s   wrqm/s   r/s   w/srkB/swkB/s avgrq-sz avgqu-sz
await  svctm  %util
hdb   0.00  

Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Benjamin Franz
On 05/06/2010 11:16 AM, Jason Pyeron wrote:
> It is writing an inode every 10 seconds. (1621 inodes in total)
>
> It is a recent Seagate sata HD.
>
> MB=Jetway J7F5M1G2E-VHE-PB
>
What do you get from running 'iostat -kx 5' (be sure to wait until the 
second report) while the formatting is running?

-- 
Benjamin Franz

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Jason Pyeron

 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Joseph L. Casale
> Sent: Thursday, May 06, 2010 14:27
> To: 'CentOS mailing list'
> Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> 
> >It is writing an inode every 10 seconds. (1621 inodes in total)
> >
> >It is a recent Seagate sata HD.
> >
> >MB=Jetway J7F5M1G2E-VHE-PB
> 
> Not at all surprising on that mobo, u really need CentOS on 

It still should not be that slow, should it?

> that puny thing?

It will be a dhcp/dns server.

It will eventuall be booted from a solid state drive, but doing development on
the sata drive.

> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Jason Pyeron


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of fred smith
> Sent: Thursday, May 06, 2010 16:26
> To: 'CentOS mailing list'
> Subject: Re: [CentOS] Install of 5.4 i386 formatting is very slow
> 
> On Thu, May 06, 2010 at 02:16:05PM -0400, Jason Pyeron wrote:
> > It is writing an inode every 10 seconds. (1621 inodes in total)
> > 
> > It is a recent Seagate sata HD.
> > 
> > MB=Jetway J7F5M1G2E-VHE-PB
> 
> Is this one of the new 4096-bytes-per-sector Seagate drives? 
> If so, you need to do some research around the 'net to find 
> recommended procedures for aligning partitions. without 
> partitions properly aligned (so that they start on a 
> 4096-byte boundary) things are said to get vrrry 

ST3250824AS 250 Gbytes (488,397,168 bytes) 512 byte per sector.

> slwww (though I have no personal experience of 
> it, so I can't speak to HOW slow.)
> 
> 
> --
>  Fred Smith -- fre...@fcshome.stoneham.ma.us 
> -
>But God demonstrates his own love for us in this: 
>  While we were still sinners, 
>   Christ died for us.
> --- Romans 5:8 (niv) 
> -- 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread fred smith
On Thu, May 06, 2010 at 02:16:05PM -0400, Jason Pyeron wrote:
> It is writing an inode every 10 seconds. (1621 inodes in total)
> 
> It is a recent Seagate sata HD.
> 
> MB=Jetway J7F5M1G2E-VHE-PB

Is this one of the new 4096-bytes-per-sector Seagate drives? If so,
you need to do some research around the 'net to find recommended
procedures for aligning partitions. without partitions properly
aligned (so that they start on a 4096-byte boundary) things are
said to get vrrry slwww (though I have no personal
experience of it, so I can't speak to HOW slow.)


-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   But God demonstrates his own love for us in this: 
 While we were still sinners, 
  Christ died for us.
--- Romans 5:8 (niv) --
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] was, Resolving dependencies from the command-line, is ProCurve switch

2010-05-06 Thread m . roth
Joeseph wrote:
mark wrote:
>>Because I was trying to avoid setting up a tftp server. Because it
>>*should* have been no big deal.
>
> /me ducking...
>
> Just "how" long you been avoiding a simple `yum install tftp-server`?

Yeah, well, I had to go through the first fire drill just to get on in the
first place. I'd *REALLY* like to know *why* the damn serial port's not
working the way I expect it to.

> Mark buddy, I think its Miller time:)

Nahhh, I want *real* bheer, say, a dark ale.

 mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] was, Resolving dependencies from the command-line, is ProCurve switch

2010-05-06 Thread Les Mikesell
On 5/6/2010 2:43 PM, m.r...@5-cent.us wrote:
> Joseph wrote:
>>> Meanwhile, on the switch (ssh'ing in, but I need to get the serial port
>>> working so I can get a newer version of the firmware there (what's there
>>> is *ancient*), show console reports flow control as xon/xoff
>>
>> If you have ssh access, why are you trying to use a serial console for
>> firmware updates? If its old, there is a supported interim path to bring
>> it current via tftp using ssh?
>
> Because I was trying to avoid setting up a tftp server. Because it
> *should* have been no big deal. As it was, for some reason, it used to get
> its IP via dhcp, then it lost it, and I had to set up a dhcpd *server*,
> because the main ones don't allow bootp (so why it suddenly couldn't get
> it, I have no clue), and *then* I could get in and manually give it an IP,
> and *then* I could telnet in (and fire up the ssh access, and turn down
> the telnet access), and I'd *really* like to upgrade the firmware, which
> one hopes will have something higher than SSL level 1
>
> Yeah, it's been one of those where it keeps being one problem inside another.
>
> Oh, and yum doesn't see a package kermit, or ckermit, and running kermit
> inside minicom, maybe for that reason (dunno if they have kermit emulation
> built into minicom) doesn't seem to do anything.
>

I forgot ckermit was dropped between Centos4 and 5.  You could compile 
from source, but enabling tftp is probably easier - and you might have a 
broken serial port anyway...

-- 
   Les Mikesell
 lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] was, Resolving dependencies from the command-line, is ProCurve switch

2010-05-06 Thread Joseph L. Casale
>Because I was trying to avoid setting up a tftp server. Because it
>*should* have been no big deal.

/me ducking...

Just "how" long you been avoiding a simple `yum install tftp-server`?
Mark buddy, I think its Miller time:)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Paul Heinlein
On Fri, 7 May 2010, Arun Khan wrote:

> Even though you may not require the SMB extensions, the smbldaptools 
> may be worth looking into.  It's toolset are similar to the regular 
> Linux user management tools, with the backend taking care of 
> populating the LDAP DIT and you keeping your sanity :)

+1

That's what we use. Makes my life much easier...

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] was, Resolving dependencies from the command-line, is ProCurve switch

2010-05-06 Thread m . roth
Joseph wrote:
>>Meanwhile, on the switch (ssh'ing in, but I need to get the serial port
>>working so I can get a newer version of the firmware there (what's there
>>is *ancient*), show console reports flow control as xon/xoff
>
> If you have ssh access, why are you trying to use a serial console for
> firmware updates? If its old, there is a supported interim path to bring
> it current via tftp using ssh?

Because I was trying to avoid setting up a tftp server. Because it
*should* have been no big deal. As it was, for some reason, it used to get
its IP via dhcp, then it lost it, and I had to set up a dhcpd *server*,
because the main ones don't allow bootp (so why it suddenly couldn't get
it, I have no clue), and *then* I could get in and manually give it an IP,
and *then* I could telnet in (and fire up the ssh access, and turn down
the telnet access), and I'd *really* like to upgrade the firmware, which
one hopes will have something higher than SSL level 1

Yeah, it's been one of those where it keeps being one problem inside another.

Oh, and yum doesn't see a package kermit, or ckermit, and running kermit
inside minicom, maybe for that reason (dunno if they have kermit emulation
built into minicom) doesn't seem to do anything.

 mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] was, Resolving dependencies from the command-line, is ProCurve switch

2010-05-06 Thread m . roth
> On 5/6/2010 3:19 PM, m.r...@5-cent.us wrote:
>>
>>> Try this
>>>
>>> Bits per second: 115200 (or try 9600)
>>> Data bits: 8
>>> Parity: None
>>> Submit
>>> Stop bits: 1
>>> Flow control: None
>>>
>> Thanks - yeah, I saw that in the manual, and online, saw the 9600, did
>> that, no joy at all. Just sits there at a blank screen. Btw, about flow
>> control: h/w?s/w? Those are my two options in minicom.
>>
>> Meanwhile, on the switch (ssh'ing in, but I need to get the serial port
>> working so I can get a newer version of the firmware there (what's there
>> is *ancient*), show console reports flow control as xon/xoff
>
> F - Hardware Flow Control : No
> G - Software Flow Control : No

*sigh* Oh, and add a linefeed, per the online (not in doc) instructions,
and still no joy, it just sits there. I do know, btw, that the cable's
good - it's a straight through - since another admin uses this cable from
this server to go to her L2 controller on the big (older) SGI cluster.

  mark


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] was, Resolving dependencies from the command-line, is ProCurve switch

2010-05-06 Thread Ryan Manikowski
On 5/6/2010 3:19 PM, m.r...@5-cent.us wrote:
>
>> Try this
>>
>> Bits per second: 115200 (or try 9600)
>> Data bits: 8
>> Parity: None
>> Submit
>> Stop bits: 1
>> Flow control: None
>> 
> Thanks - yeah, I saw that in the manual, and online, saw the 9600, did
> that, no joy at all. Just sits there at a blank screen. Btw, about flow
> control: h/w?s/w? Those are my two options in minicom.
>
> Meanwhile, on the switch (ssh'ing in, but I need to get the serial port
> working so I can get a newer version of the firmware there (what's there
> is *ancient*), show console reports flow control as xon/xoff
>
>   

F - Hardware Flow Control : No
G - Software Flow Control : No

-- 
 Ryan Manikowski


]] Devision Media Services LLC [[
 www.devision.us
 r...@devision.us | 716.771.2282

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] was, Resolving dependencies from the command-line, is ProCurve switch

2010-05-06 Thread Joseph L. Casale
>Meanwhile, on the switch (ssh'ing in, but I need to get the serial port
>working so I can get a newer version of the firmware there (what's there
>is *ancient*), show console reports flow control as xon/xoff

If you have ssh access, why are you trying to use a serial console for
firmware updates? If its old, there is a supported interim path to bring
it current via tftp using ssh?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] was, Resolving dependencies from the command-line, is ProCurve switch

2010-05-06 Thread m . roth
> On 5/6/2010 1:55 PM, m.r...@5-cent.us wrote:
>>> "Stuck"...  I'm working with a remote instance through terminal
>>> services into a VM running on Microsoft Hyper-V...  The mouse didn't
>>> work at all, but yum has that all fixed up now.

>> mark wrote:

>> Could be worse - I'm trying to get minicom to talk to an HP ProCurve
>> switch, and it just won't talk.
>
> Try this
>
> Bits per second: 115200 (or try 9600)
> Data bits: 8
> Parity: None
> Submit
> Stop bits: 1
> Flow control: None

Thanks - yeah, I saw that in the manual, and online, saw the 9600, did
that, no joy at all. Just sits there at a blank screen. Btw, about flow
control: h/w?s/w? Those are my two options in minicom.

Meanwhile, on the switch (ssh'ing in, but I need to get the serial port
working so I can get a newer version of the firmware there (what's there
is *ancient*), show console reports flow control as xon/xoff

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread aurfalien
On May 6, 2010, at 12:00 PM, Arun Khan wrote:

> On Thu, May 6, 2010 at 11:33 PM,   wrote:
>> Not having much luck adding a user to more then 1 group in OpenLDAP
>> thats provided in Centos.
>>
>> Any suggestions to have the outcome of having a user belong to
>> multiple groups?
>>
>> Should I create a new group that has multiple GIDs and assign a user
>> to that new group?  If so, how? :)
>>
>
> Even though you may not require the SMB extensions, the smbldaptools
> may be worth looking into.  It's toolset are similar to the regular
> Linux user management tools, with the backend taking care of
> populating the LDAP DIT and you keeping your sanity :)

Thanks Arun,

But you assume too much, I have no sanity left to keep :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not firewall, but what?

2010-05-06 Thread Benjamin Franz

On 05/06/2010 11:42 AM, Ryan Manikowski wrote:


Notice the op posted they get timeouts even when going directly to a 
numerical address (if the apache server is configured to respond to 
*:80 it should at least display something)


Try using telnet from a client machine that can not connect.

e.g. telnet host.name.here 80

or

telnet xx.xxx.xxx.xxx 80

Try a few times and see if you're getting a timeout or if it connects 
every time. Run tcpdump on the apache server while sending the 
connection requests and see if the connection attempts show up at all. 
If they do not, then it's a network problem.


Try running 'ab' (the apache bench tool - see 'man ab' for how to use 
it) against your server and see if you can provoke the timeouts. If you 
can, then you are probably not configured to handle many quick 
connections and should check (1) httpd.conf to make sure you don't have 
an excessively low setting for 'MaxClients' or (2) a too low setting for 
max open filehandles. Look in /etc/security/limits.conf - you should 
have a line reading something similar to:



*-   nofile  64000


somewhere in it to raise the max number of open files. Busy web servers 
need lots of filehandles.


--
Benjamin Franz

--
Benjamin Franz

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Arun Khan
On Thu, May 6, 2010 at 11:33 PM,   wrote:
> Not having much luck adding a user to more then 1 group in OpenLDAP
> thats provided in Centos.
>
> Any suggestions to have the outcome of having a user belong to
> multiple groups?
>
> Should I create a new group that has multiple GIDs and assign a user
> to that new group?  If so, how? :)
>

A different twist from the solutions suggested so far.

Even though you may not require the SMB extensions, the smbldaptools
may be worth looking into.  It's toolset are similar to the regular
Linux user management tools, with the backend taking care of
populating the LDAP DIT and you keeping your sanity :)

I have deployed a few production LDAP setups on CentOS 5.3, where
users were members of multiple groups.

HTH,
-- Arun Khan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread aurfalien
On May 6, 2010, at 11:47 AM, Paul Heinlein wrote:

> On Thu, 6 May 2010, aurfal...@gmail.com wrote:
>
>>> In short:
>>>
>>> 1. Define the posixGroup DN
>>> 2. Add one or more memberUid entries.
>>
>> So would I extend this and add members there instead of in there own
>> entry?  How would it look?
>
> memberUid: bob
> memberUid: chad
> memberUid: dave
>

Wow, how elegant is that?

Very very cool, thanks much for the tips.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not firewall, but what?

2010-05-06 Thread Rob Kampen




Paul Heinlein wrote:

  On Thu, 6 May 2010, Jussi Hirvi wrote:

  
  
I have a strange problem, where some clients see the website on my
server and some do not. It is not about the iptables, and seems to be
not about tcp wrapper. Still it is something within the box.

More details:
- the problem is only with some clients, with no geographical connection
between them; other clients see the website just fine

  
  
A while back, I remember there was a problem with TCP window scaling 
that would impact only some clients in a way that you describe:

   http://lwn.net/Articles/92727/

  

Did this problem begin yesterday?
I recall that the DNS top level domain servers changed something
yesterday in regards to DNSSEC
It has to do with packet sizes for TCP DNS requests and how some
routers cannot handle the larger packets and thus time out.
(not a technical summary - just a layman's version)
HTH


<>___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Paul Heinlein
On Thu, 6 May 2010, aurfal...@gmail.com wrote:

>> In short:
>>
>>  1. Define the posixGroup DN
>>  2. Add one or more memberUid entries.
>
> O, I think I follow.
>
> Say my current group definition in ldap is;
>
> # pm, groups, foo.bar
> dn: cn=pm,ou=groups,dc=foo,dc=bar
> objectClass: top
> objectClass: posixGroup
> cn: pm
> gidNumber: 200
>
>
> So would I extend this and add members there instead of in there own
> entry?  How would it look?

memberUid: bob
memberUid: chad
memberUid: dave

etc...

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread aurfalien
On May 6, 2010, at 11:35 AM, Paul Heinlein wrote:

> On Thu, 6 May 2010, aurfal...@gmail.com wrote:
>
>> Hi all,
>>
>> Not having much luck adding a user to more then 1 group in OpenLDAP
>> thats provided in Centos.
>>
>> Any suggestions to have the outcome of having a user belong to
>> multiple groups?
>>
>> Should I create a new group that has multiple GIDs and assign a user
>> to that new group?  If so, how? :)
>
> Each posixGroup can have multiple memberUid entries. In our
> environment, a memberUid is specified by username (not numeric uid); I
> suspect that's normal practice, but you might want to get confirmation
> from others.
>
> A user's posixAccount record has no backward mapping of group
> memberships; it only contains the standard gidNumber entry.
>
> In short:
>
>  1. Define the posixGroup DN
>  2. Add one or more memberUid entries.

O, I think I follow.

Say my current group definition in ldap is;

# pm, groups, foo.bar
dn: cn=pm,ou=groups,dc=foo,dc=bar
objectClass: top
objectClass: posixGroup
cn: pm
gidNumber: 200


So would I extend this and add members there instead of in there own  
entry?  How would it look?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not firewall, but what?

2010-05-06 Thread Paul Heinlein
On Thu, 6 May 2010, Jussi Hirvi wrote:

> I have a strange problem, where some clients see the website on my
> server and some do not. It is not about the iptables, and seems to be
> not about tcp wrapper. Still it is something within the box.
>
> More details:
> - the problem is only with some clients, with no geographical connection
> between them; other clients see the website just fine

A while back, I remember there was a problem with TCP window scaling 
that would impact only some clients in a way that you describe:

   http://lwn.net/Articles/92727/

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not firewall, but what?

2010-05-06 Thread Ryan Manikowski
On 5/6/2010 2:35 PM, Gavin Carr wrote:
> Is one of your dns servers broken?
>
> On Thu, May 06, 2010 at 09:31:22PM +0300, Jussi Hirvi wrote:
>   
>> I have a strange problem, where some clients see the website on my 
>> server and some do not. It is not about the iptables, and seems to be 
>> not about tcp wrapper. Still it is something within the box.
>>
>> More details:
>> - the problem is only with some clients, with no geographical connection 
>> between them; other clients see the website just fine
>> - the problem-clients get timeout with their browser
>> 

>> *- they get timeout also when they try a numerical ip address*
>> 

>> - but they see another machine in the same subnet just fine (when they 
>> browse by ip number), so the problem has to be inside this webserver 
>> box, right?
>> - port 80 (not ssl)
>>
>> Switching off iptables does not help. The files hosts.allow and 
>> hosts.deny are empty, so I guess it's not the tcp wrapper.
>>
>> 

Notice the op posted they get timeouts even when going directly to a
numerical address (if the apache server is configured to respond to *:80
it should at least display something)

Try using telnet from a client machine that can not connect.

e.g. telnet host.name.here 80

or

telnet xx.xxx.xxx.xxx 80

Try a few times and see if you're getting a timeout or if it connects
every time. Run tcpdump on the apache server while sending the
connection requests and see if the connection attempts show up at all.
If they do not, then it's a network problem.

-- 
 Ryan Manikowski


]] Devision Media Services LLC [[
 www.devision.us
 r...@devision.us | 716.771.2282

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Paul Heinlein
On Thu, 6 May 2010, aurfal...@gmail.com wrote:

> Hi all,
>
> Not having much luck adding a user to more then 1 group in OpenLDAP 
> thats provided in Centos.
>
> Any suggestions to have the outcome of having a user belong to 
> multiple groups?
>
> Should I create a new group that has multiple GIDs and assign a user 
> to that new group?  If so, how? :)

Each posixGroup can have multiple memberUid entries. In our 
environment, a memberUid is specified by username (not numeric uid); I 
suspect that's normal practice, but you might want to get confirmation 
from others.

A user's posixAccount record has no backward mapping of group 
memberships; it only contains the standard gidNumber entry.

In short:

  1. Define the posixGroup DN
  2. Add one or more memberUid entries.

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not firewall, but what?

2010-05-06 Thread Gavin Carr
Is one of your dns servers broken?

On Thu, May 06, 2010 at 09:31:22PM +0300, Jussi Hirvi wrote:
> I have a strange problem, where some clients see the website on my 
> server and some do not. It is not about the iptables, and seems to be 
> not about tcp wrapper. Still it is something within the box.
> 
> More details:
> - the problem is only with some clients, with no geographical connection 
> between them; other clients see the website just fine
> - the problem-clients get timeout with their browser
> - they get timeout also when they try a numerical ip address
> - but they see another machine in the same subnet just fine (when they 
> browse by ip number), so the problem has to be inside this webserver 
> box, right?
> - port 80 (not ssl)
> 
> Switching off iptables does not help. The files hosts.allow and 
> hosts.deny are empty, so I guess it's not the tcp wrapper.
> 
> I am out of things to test. Any ideas?
> 
> - Jussi Hirvi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread aurfalien

Sorry for that.

Adding via ldap.

I've tried adding groupOfNames to the users ldif file like so;

objectClass: groupOfNames
...
member: cn=staff,ou=groups,dc=foo,dc=bar
member: cn=pm,ou=groups,dc=foo,dc=bar
Both staff and pm are defined as follows;
# staff, groups, logan.tv
dn: cn=staff,ou=groups,dc=foo,dc=bar
objectClass: top
objectClass: posixGroup
cn: staff
gidNumber: 20
# pm, groups, foo.bar
dn: cn=pm,ou=groups,dc=foo,dc=bar
objectClass: top
objectClass: posixGroup
cn: pm
gidNumber: 200

But every time I try to ldapmodify, I get;

ldapmodify: Object class violation (65)
	additional info: invalid structural object class chain (inetOrgPerson/ 
groupOfNames)




On May 6, 2010, at 11:05 AM, Jacob Bresciani wrote:

are you adding users to local groups in /etc/group or are you  
creating groups in ldap?



On 2010-05-06, at 11:03 AM, aurfal...@gmail.com wrote:


Hi all,

Not having much luck adding a user to more then 1 group in OpenLDAP
thats provided in Centos.

Any suggestions to have the outcome of having a user belong to
multiple groups?

Should I create a new group that has multiple GIDs and assign a user
to that new group?  If so, how? :)

Thanks in advance.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Not firewall, but what?

2010-05-06 Thread Jussi Hirvi
I have a strange problem, where some clients see the website on my 
server and some do not. It is not about the iptables, and seems to be 
not about tcp wrapper. Still it is something within the box.

More details:
- the problem is only with some clients, with no geographical connection 
between them; other clients see the website just fine
- the problem-clients get timeout with their browser
- they get timeout also when they try a numerical ip address
- but they see another machine in the same subnet just fine (when they 
browse by ip number), so the problem has to be inside this webserver 
box, right?
- port 80 (not ssl)

Switching off iptables does not help. The files hosts.allow and 
hosts.deny are empty, so I guess it's not the tcp wrapper.

I am out of things to test. Any ideas?

- Jussi Hirvi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Joseph L. Casale
>It is writing an inode every 10 seconds. (1621 inodes in total)
>
>It is a recent Seagate sata HD.
>
>MB=Jetway J7F5M1G2E-VHE-PB

Not at all surprising on that mobo, u really need CentOS
on that puny thing?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Resolving dependencies from the command-line

2010-05-06 Thread Ryan Manikowski
On 5/6/2010 1:55 PM, m.r...@5-cent.us wrote:
>> "Stuck"...  I'm working with a remote instance through terminal
>> services into a VM running on Microsoft Hyper-V...  The mouse didn't
>> work at all, but yum has that all fixed up now.
>>
>> Thanks all...
>>
>> 
> mark wrote:
>   
>>> Several folks have already pointed to yum. This is the *intended*
>>> package manager, as pkgmanager is for Solaris.
>>>
>>> And what do you mean, "stuck"?
>>>   
> Oh. Windows, why did it have to be WinDoze?
>
> Could be worse - I'm trying to get minicom to talk to an HP ProCurve
> switch, and it just won't talk.
>
>   mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   

Try this

Bits per second: 115200 (or try 9600)
Data bits: 8
Parity: None
Submit
Stop bits: 1
Flow control: None

-- 
 Ryan Manikowski


]] Devision Media Services LLC [[
 www.devision.us
 r...@devision.us | 716.771.2282

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Resolving dependencies from the command-line

2010-05-06 Thread Les Mikesell
On 5/6/2010 12:55 PM, m.r...@5-cent.us wrote:
>> "Stuck"...  I'm working with a remote instance through terminal
>> services into a VM running on Microsoft Hyper-V...  The mouse didn't
>> work at all, but yum has that all fixed up now.
>>
>> Thanks all...
>>
> mark wrote:
>>> Several folks have already pointed to yum. This is the *intended*
>>> package manager, as pkgmanager is for Solaris.
>>>
>>> And what do you mean, "stuck"?
>
> Oh.Windows, why did it have to be WinDoze?
>
> Could be worse - I'm trying to get minicom to talk to an HP ProCurve
> switch, and it just won't talk.

Have you tried ckermit?  Its command/scripting language is a little 
weird but it can do about anything communications-related either over 
serial or tcp connections.  You might need a 'set carrier off' before 
the 'connect' if you aren't seeing the CD line up in your connection.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Jacob Bresciani
are you adding users to local groups in /etc/group or are you creating groups 
in ldap?


On 2010-05-06, at 11:03 AM, aurfal...@gmail.com wrote:

> Hi all,
> 
> Not having much luck adding a user to more then 1 group in OpenLDAP  
> thats provided in Centos.
> 
> Any suggestions to have the outcome of having a user belong to  
> multiple groups?
> 
> Should I create a new group that has multiple GIDs and assign a user  
> to that new group?  If so, how? :)
> 
> Thanks in advance.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Install of 5.4 i386 formatting is very slow

2010-05-06 Thread Jason Pyeron
It is writing an inode every 10 seconds. (1621 inodes in total)

It is a recent Seagate sata HD.

MB=Jetway J7F5M1G2E-VHE-PB

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ldap: adding user to multiple groups

2010-05-06 Thread aurfalien
Hi all,

Not having much luck adding a user to more then 1 group in OpenLDAP  
thats provided in Centos.

Any suggestions to have the outcome of having a user belong to  
multiple groups?

Should I create a new group that has multiple GIDs and assign a user  
to that new group?  If so, how? :)

Thanks in advance.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Resolving dependencies from the command-line

2010-05-06 Thread Alan McKay
yum



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of "In Defense of Food"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Resolving dependencies from the command-line

2010-05-06 Thread m . roth
> "Stuck"...  I'm working with a remote instance through terminal
> services into a VM running on Microsoft Hyper-V...  The mouse didn't
> work at all, but yum has that all fixed up now.
>
> Thanks all...
>
mark wrote:
>> Several folks have already pointed to yum. This is the *intended*
>> package manager, as pkgmanager is for Solaris.
>>
>> And what do you mean, "stuck"?

Oh. Windows, why did it have to be WinDoze?

Could be worse - I'm trying to get minicom to talk to an HP ProCurve
switch, and it just won't talk.

  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh slow

2010-05-06 Thread Gary Greene
On 5/6/10 10:20 AM, "Tait Clarridge"  wrote:
> On Thu, 2010-05-06 at 16:39 +0100, Khusro Jaleel wrote:
>> I've found that if I'm on an Ubuntu machine and SSHing to a Centos 5.4
>> machine, it does the same thing, i.e. it sort of hangs for a while then
>> comes back after about 10-15 secs with a login prompt.
>> 
>> I've found that editing the /etc/ssh/ssh_config (note ssh_config, NOT
>> sshd_config) file on the Ubuntu box and *commenting out* the following
>> fixes it immediately, without needing to restart anything:
>> 
>> GSSAPIAuthentication yes
>> GSSAPIDelegateCredentials no
>> 
>> Change the above 2 lines to
>> 
>> #GSSAPIAuthentication yes
>> #GSSAPIDelegateCredentials no
>> 
>> and try again.
>> 
>> On 06/05/10 13:25, ann kok wrote:
>>> but I put this to no
>>> 
>>> the ssh is still slow
>>> 
>>> any hints
>>> 
>>> thank you
>> 
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
> 
> 
> Try disabling both reverse DNS and GSSAPIAuthentication
> 
> http://www.taiter.com/blog/2009/04/disabling-reverse-lookup-for-s.html
> 
> Tait
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Unless of course you ARE using GSSAPI for auth (environment using Kerberos
for auth), and then at that point, you need to look at the connection
between you, the server in question, and your KDC. If that is having
hiccups, you'll get slow authentication speeds.

-- 
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:  (650) 704-6633
Phone: (408) 240-1239

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh slow

2010-05-06 Thread Tait Clarridge
On Thu, 2010-05-06 at 16:39 +0100, Khusro Jaleel wrote: 
> I've found that if I'm on an Ubuntu machine and SSHing to a Centos 5.4 
> machine, it does the same thing, i.e. it sort of hangs for a while then 
> comes back after about 10-15 secs with a login prompt.
> 
> I've found that editing the /etc/ssh/ssh_config (note ssh_config, NOT 
> sshd_config) file on the Ubuntu box and *commenting out* the following 
> fixes it immediately, without needing to restart anything:
> 
> GSSAPIAuthentication yes
> GSSAPIDelegateCredentials no
> 
> Change the above 2 lines to
> 
> #GSSAPIAuthentication yes
> #GSSAPIDelegateCredentials no
> 
> and try again.
> 
> On 06/05/10 13:25, ann kok wrote:
> > but I put this to no
> >
> > the ssh is still slow
> >
> > any hints
> >
> > thank you
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


Try disabling both reverse DNS and GSSAPIAuthentication

http://www.taiter.com/blog/2009/04/disabling-reverse-lookup-for-s.html

Tait


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Resolving dependencies from the command-line

2010-05-06 Thread Marco Shaw
"Stuck"...  I'm working with a remote instance through terminal
services into a VM running on Microsoft Hyper-V...  The mouse didn't
work at all, but yum has that all fixed up now.

Thanks all...

> Several folks have already pointed to yum. This is the *intended* package
> manager, as pkgmanager is for Solaris.
>
> And what do you mean, "stuck"?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Resolving dependencies from the command-line

2010-05-06 Thread m . roth
> CenOS 5.4 x64
>
> I'm stuck at the command-line.  I'm only familiar with the RPM
> command, but AFAIK, that cannot automatically resolve any dependencies
> when installing packages.
>
> Is there a command-line utility that I can force to automatically
> install all the dependencies for a particular package?  I seem to
> remember a new UI was added recently that could, but I have to
> complete this from a prompt.
>
Several folks have already pointed to yum. This is the *intended* package
manager, as pkgmanager is for Solaris.

And what do you mean, "stuck"?

mark, who'd like to get an xterm & command line up on his
netbook with MIE

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Resolving dependencies from the command-line

2010-05-06 Thread Christoph Maser
Am Donnerstag, den 06.05.2010, 18:22 +0200 schrieb Marco Shaw:
> CenOS 5.4 x64
>
> I'm stuck at the command-line.  I'm only familiar with the RPM
> command, but AFAIK, that cannot automatically resolve any dependencies
> when installing packages.
>
> Is there a command-line utility that I can force to automatically
> install all the dependencies for a particular package?  I seem to
> remember a new UI was added recently that could, but I have to
> complete this from a prompt.
>
> Marco


http://www.centos.org/docs/5/html/yum/




financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | 
Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | 
Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. 
Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID 
number/St.Nr.: DE205 370 553
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Resolving dependencies from the command-line

2010-05-06 Thread Marcelo M. Garcia
Marco Shaw wrote:
> CenOS 5.4 x64
>  
> Is there a command-line utility that I can force to automatically
> install all the dependencies for a particular package?  

yum?

mg.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Resolving dependencies from the command-line

2010-05-06 Thread Marco Shaw
CenOS 5.4 x64

I'm stuck at the command-line.  I'm only familiar with the RPM
command, but AFAIK, that cannot automatically resolve any dependencies
when installing packages.

Is there a command-line utility that I can force to automatically
install all the dependencies for a particular package?  I seem to
remember a new UI was added recently that could, but I have to
complete this from a prompt.

Marco
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh slow

2010-05-06 Thread Khusro Jaleel
I've found that if I'm on an Ubuntu machine and SSHing to a Centos 5.4 
machine, it does the same thing, i.e. it sort of hangs for a while then 
comes back after about 10-15 secs with a login prompt.

I've found that editing the /etc/ssh/ssh_config (note ssh_config, NOT 
sshd_config) file on the Ubuntu box and *commenting out* the following 
fixes it immediately, without needing to restart anything:

GSSAPIAuthentication yes
GSSAPIDelegateCredentials no

Change the above 2 lines to

#GSSAPIAuthentication yes
#GSSAPIDelegateCredentials no

and try again.

On 06/05/10 13:25, ann kok wrote:
> but I put this to no
>
> the ssh is still slow
>
> any hints
>
> thank you

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] phpmyadmin

2010-05-06 Thread John Doe
From: ann kok 
> I set it to TRUE
> $cfg['Servers'][$i]['history']   = TRUE;  

It is supposed to be the name of an existing sql table...
Use 'pma_history' as advised...
And check the table phpmyadmin.pma_history

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Benchmark Disk IO

2010-05-06 Thread Chan Chung Hang Christopher
Les Mikesell wrote:
> On 5/5/2010 12:00 PM, Karanbir Singh wrote:
>>> Try to run the same IO operations as your production server is running.
>>> Bonnie++ could be good application for benchmarking. Also run some
>>> parallel rsync, rm, find, etc proccesses.
>>>
>> I am with John Pierce on this one, role and app will dictate benchmarks
>> that reflect reality.
>>
>> Having said that, I think iozone>  bonnie++
> 
> If the job involves creating/deleting lots of little files like a mail 
> server with maildir format storage, you might try to dig up a copy of 
> postmark too.
> 

Les, you have got to be joking. There is not a single fsync/fsyncdata 
call in postmark. postmark is completely unsuitable to mimicking mail 
queues or deliveries to maildirs. I, for one, am glad that Netapp has 
stopped advertising and have pulled their 'fake' benchmarking utility. 
It might have been relevant on Linux when it did not have barriers and 
fsync/fsyncdata had zero guarantees unlike the BSDs and UNIX operating 
systems.

For delivery to maildirs, you want to use fsbench from Bruce Guenter, 
which does the right thing.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Benchmark Disk IO

2010-05-06 Thread Alan McKay
There is a dd test that floats around the PostgreSQL lists, so I wrote
this simple script to automate it - use at your own risk!

#!/bin/bash

# do something which parses command line parameters

DEFAULT_BLOCK=8
DEFAULT_PATH=/data/tmp
DEFAULT_FILE=ddfile

helpme()
{
echo "Usage: $0 [RAM=x] [PATH=/foo/bar] [FILE=foo] [BLOCKSIZE=X]"
echo "Runs a dd test on disk subsystem to benchmark I/O speed"
echo "  BLOCKSIZE - given in K.  Should be no need to change"
echo "default is 8 which is what PostgreSQL uses"
echo "  RAM - must be specified in Gigs"
echo "default is to use output of 'free' command"
echo "  PATH - where do you want the files created?  i.e.
which filesystem do you want tested?"
echo "default is $DEFAULT_PATH"
echo "  FILE - file name to create in test.  Really makes no
difference."
echo "default is $DEFAULT_FILE"
exit 1
}

default_ram()
{
MYB=`free | grep Mem: | awk '{print $2}'`
((MYG=MYB/1000/1000))
export MYGIGS=$MYG
echo "RAM not specified - assuming ${MYB}/${MYGIGS}G"
}

default_path()
{
export  MYPATH=$DEFAULT_PATH
echo "PATH not specified - using default $MYPATH"
}

default_file()
{
export  MYFILE=$DEFAULT_FILE
echo "FILE not specified - using default $MYFILE"
}

default_block()
{
export  MYBLOCK=$DEFAULT_BLOCK
echo "BLOCKSIZE not specified - using default $MYBLOCK"
}

RAMGIVEN=0
PATHGIVEN=0
FILEGIVEN=0
BLOCKGIVEN=0

while [ $# -gt 0 ]
do
MYVAR=`echo $1 | awk -F= '{print $1}'`
MYVAL=`echo $1 | awk -F= '{print $2}'`

case $MYVAR in
BLOCKSIZE)
MYBLOCK=$MYVAL
BLOCKGIVEN=1
;;

RAM)
MYGIGS=$MYVAL
RAMGIVEN=1
;;

PATH)
MYPATH=$MYVAL
PATHGIVEN=1
;;

FILE)
MYFILE=$MYVAL
FILEGIVEN=1
;;

-h|-help|--h|--help)
helpme
;;

*)
echo "ERROR : unknown parameter [${MYVAR}]"
;;
esac

shift
done

[[ $RAMGIVEN -eq 0 ]]   && default_ram
[[ $PATHGIVEN -eq 0 ]]  && default_path
[[ $FILEGIVEN -eq 0 ]]  && default_file
[[ $BLOCKGIVEN -eq 0 ]]  && default_block

PATH_EXISTS=0
[[ -d $MYPATH ]]&& PATH_EXISTS=1

echo "[$MYGIGS][$MYPATH][$MYFILE][$PATH_EXISTS]"


mkdir -p $MYPATH
pushd $MYPATH

df .

FREESPACE=`df . | tail -1 | awk '{print $4}'`

BLOCKSPERGIG=125000

((ONCERAM=BLOCKSPERGIG*MYGIGS))
((TWICERAM=2*BLOCKSPERGIG*MYGIGS))
((THRICERAM=3*BLOCKSPERGIG*MYGIGS*MYBLOCK))

echo "Have:$FREESPACE, Need:$THRICERAM (3x RAM)"

if [ $THRICERAM -ge $FREESPACE ]
then
echo "ERROR: not enough room on disk"
echo "Have:$FREESPACE, Need:$THRICERAM (3x RAM)"
exit 2
fi


DDCOM="dd if=/dev/zero of=${MYFILE} bs=8k count=${TWICERAM} && sync"
echo $DDCOM

time sh -c "$DDCOM"
DDCOM="dd if=/dev/zero of=${MYFILE}2 bs=8K count=${ONCERAM}"
echo $DDCOM
$DDCOM

DDCOM="dd if=${MYFILE} of=/dev/null bs=8k"
echo $DDCOM
time $DDCOM

rm -f ${MYFILE}
rm -f ${MYFILE}2
[[ $PATH_EXISTS -eq 0 ]]&& rmdir $MYPATH

popd




-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of "In Defense of Food"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] need document to setup rsync???

2010-05-06 Thread Alan McKay
What do you want to rsync from where to where?

It is really easy to set up - in fact I just got done writing an
internal wiki page on how to do a simple setup.

The following is what I use for my kickstart servers so the main
server can rsync itself out to slave servers.  This sets up
/var/www/html/ks on the slave server as an rsync share that the master
can write to


/etc/rsyncd.secrets
---snip---
kickstart:user
---snip---

This file must be set to permissions 0600


and the main config file

/etc/rsyncd.conf

Here we use a subdirectory of the main default Apache directory which
is /var/www/html
---snip---
# Set this if you want to stop rsync daemon with rc.d scripts
pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log

# Edit this file before running rsync daemon!!

uid = root
gid = root
#use chroot = no
max connections = 3
#syslog facility = local5

[ks]
path = /var/www/html/ks
comment = Kickstart
read only = no
auth users = kickstart
hosts allow = 192.168.0.9
secrets file = /etc/rsyncd.secrets
---snip---

Note in the hosts allow above we put the IP address of the main
kickstart server.

/etc/xinetd.d/rsync

Just update this file and change disable from yes to no

service rsync
{
disable = no
socket_type = stream
wait= no
user= root
server  = /usr/bin/rsync
server_args = --daemon
log_on_failure  += USERID
}
Now restart xinetd (and ensure it is turned on by default)

Then on the main server I run a script like this :

---snip---
export SLAVES="192.168.0.177"
export USER=kickstart
export RSYNC_PASSWORD=user

for slave in $SLAVES
do
ping -c 3 -w 3 $slave > /dev/null   2>&1
if [ $? -eq 0 ]
then
rsync  -avSHP --delete --exclude "local*" --exclude "isos" 
/data/ks/
rsync://${slave}/ks/
fi
done


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of "In Defense of Food"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] phpmyadmin

2010-05-06 Thread ann kok
Hi Jobst

Thank you

I set it to TRUE

$cfg['Servers'][$i]['history']   = TRUE; // table to store SQL 
history

I try to run the sql in phpmyadmin but where is pma_history ?

Thank you 



--- On Wed, 5/5/10, Jobst Schmalenbach  wrote:

> From: Jobst Schmalenbach 
> Subject: Re: [CentOS] phpmyadmin
> To: centos@centos.org
> Received: Wednesday, May 5, 2010, 10:18 PM
> 
> If you look into the config file you'll find 
> 
>   $cfg['Servers'][$i]['history'] = '';  // table
> to store SQL history
>                
>                
>         //   - leave
> blank for no SQL query history
>                
>                
>         // 
>    DEFAULT: 'pma_history'
> 
> Set it and you get the history.
> 
> Jobst
> 
> 
> 
> On Wed, May 05, 2010 at 06:35:33PM -0700, ann kok (oiyan...@yahoo.ca)
> wrote:
> > Hi all
> > 
> > When someone uses the phpmyadmin to delete data, how
> can I know it
> > 
> > Does it have log?
> > 
> > Thank you
> > 
> > 
> > 
> > 
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 
> -- 
> Why is the man who invests all your money called a broker?
> 
>   | |0| |   Jobst Schmalenbach, jo...@barrett.com.au,
> General Manager
>   | | |0|   Barrett Consulting Group
> P/L & The Meditation Room P/L
>   |0|0|0|   +61 3 9532 7677, POBox 277,
> Caulfield South, 3162, Australia
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh slow

2010-05-06 Thread John Doe
From: ann kok 
> ssh is still slow

Tried to use verbose to see what's going on...?
ssh -vvv

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bridge :: kernel panic

2010-05-06 Thread Wahyu Darmawan
Hi,
Please see the /var/log/messages and compare it with time that you have
crash in your machine.

Rgds,


On Thu, May 6, 2010 at 7:26 PM, Adrian Sevcenco wrote:

> Hi! I have an bridge that keeps crashing (random times .. days with 5-6
> crashes with normal functioning of 1-2 weeks) my machine that is used
> also as gateway (nat). the problem is that i don't have an log of the
> kenel panic so i don have what to post ...
> The configuration of bridge is like this:
> (each eth0 and eth1 are in different vlans in switch)
>
> $IFCONFIG eth0 0.0.0.0
> $IFCONFIG eth1 0.0.0.0
>
> $BRCTL addbr br0
> $BRCTL addif br0 eth0
> $BRCTL addif br0 eth1
> $BRCTL stp br0 off
>
> $IFCONFIG br0 194.102.58.157 netmask 255.255.255.0
> $ROUTE add default gw 194.102.58.1
> echo "1" > /proc/sys/net/ipv4/ip_forward
>
> Can somebody help me with hints about debuging this problem?
> Thank you!
> Adrian
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh slow

2010-05-06 Thread Les Mikesell
ann kok wrote:
> but I put this to no
> 
> the ssh is still slow
> 

Did you restart the sshd service after the change?  I don't know if it reads 
the 
config file otherwise.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] bridge :: kernel panic

2010-05-06 Thread Adrian Sevcenco
Hi! I have an bridge that keeps crashing (random times .. days with 5-6
crashes with normal functioning of 1-2 weeks) my machine that is used
also as gateway (nat). the problem is that i don't have an log of the
kenel panic so i don have what to post ...
The configuration of bridge is like this:
(each eth0 and eth1 are in different vlans in switch)

$IFCONFIG eth0 0.0.0.0
$IFCONFIG eth1 0.0.0.0

$BRCTL addbr br0
$BRCTL addif br0 eth0
$BRCTL addif br0 eth1
$BRCTL stp br0 off

$IFCONFIG br0 194.102.58.157 netmask 255.255.255.0
$ROUTE add default gw 194.102.58.1
echo "1" > /proc/sys/net/ipv4/ip_forward

Can somebody help me with hints about debuging this problem?
Thank you!
Adrian



smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh slow

2010-05-06 Thread ann kok
but I put this to no

the ssh is still slow

any hints

thank you


--- On Wed, 5/5/10, John R Pierce  wrote:

> From: John R Pierce 
> Subject: Re: [CentOS] ssh slow
> To: "CentOS mailing list" 
> Received: Wednesday, May 5, 2010, 8:52 PM
> ann kok wrote:
> > Hi
> >
> > How I can configure sshd_config to improve the ssh
> faster?
> >
> > It is slow to prompt the login
> >   
> 
> badly configured reverse DNS on the client hosts is the
> most common 
> cause of this.  try ...
> 
>     UseDNS no
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Benchmark Disk IO

2010-05-06 Thread Matt Keating
Sorry for the top post - clicked send before looking
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Benchmark Disk IO

2010-05-06 Thread Matt Keating
Thanks for all the updates. Will look into iozone and the advice given
about the rest.

2010/5/6  :
> On Thu, May 06, 2010 at 12:56:55AM -0700, John R Pierce wrote:
>> przemol...@poczta.fm wrote:
>> > The above numbers are true if we have random (!) IO pattern.
>> > In case of sequential (!) IO even SATA disks can deliver much, much higher 
>> > numbers.
>> >
>>
>>
>> sequential IO is remarkably rare in a typical server environment
>
> Yes, of course: Oracle's redo logs which are key performance factor for all
> transactions (inserts/updates) have sequential IO pattern.
> And Oracle is not a typical server environment 
>
>> anyways, the IOPS numbers on sequential operations aren't much higher,
>> they are just transferring more data per operation.
>
> I didn't say that they _are_ much higher. I said that even SATA
> disks can deliver hight IOPS on condition of sequential IO.
>
>
> Regards
> Przemyslaw Bak (przemol)
> --
> http://przemol.blogspot.com/
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> Audi kilka tysiÄ cy zĹ otych taniej? Przebieraj wĹ rĂłd tysiÄ cy ogĹ oszeĹ !
> Sprawdz >>> http://linkint.pl/f26b3
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Benchmark Disk IO

2010-05-06 Thread przemolicc
On Thu, May 06, 2010 at 12:56:55AM -0700, John R Pierce wrote:
> przemol...@poczta.fm wrote:
> > The above numbers are true if we have random (!) IO pattern.
> > In case of sequential (!) IO even SATA disks can deliver much, much higher 
> > numbers.
> >   
> 
> 
> sequential IO is remarkably rare in a typical server environment

Yes, of course: Oracle's redo logs which are key performance factor for all 
transactions (inserts/updates) have sequential IO pattern.
And Oracle is not a typical server environment 

> anyways, the IOPS numbers on sequential operations aren't much higher, 
> they are just transferring more data per operation.

I didn't say that they _are_ much higher. I said that even SATA
disks can deliver hight IOPS on condition of sequential IO.


Regards
Przemyslaw Bak (przemol)
--
http://przemol.blogspot.com/





























--
Audi kilka tysięcy złotych taniej? Przebieraj wśród tysięcy ogłoszeń!
Sprawdz >>> http://linkint.pl/f26b3

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ibmasm service

2010-05-06 Thread Janez Kosmrlj
On Fri, Apr 30, 2010 at 12:35 PM, John Doe  wrote:

> From: Janez Kosmrlj 
> >On Tue, Apr 20, 2010 at 8:27 AM, Janez Kosmrlj <
> postnali...@googlemail.com> wrote:
> >>>Does someone have any info on this service. It's supposed to configure
> and have the tools to communicate with the ibm RSA.
> >>I am looking for a procedure to configure the RSA without using the bios
> and when possible set a access password.
> >>Is this the right tool to do this or am i misunderstanding something.
> >Nobody?
>
> What does the documentation say?
>
> JD
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
OK i found out how to do this.
1. uninstall ibmasm package: rpm -e --nodeps ibmasm

2. get ibmusbasm and ibm asu packages from ibm website

3. install packages

4. run: /opt/ibm/toolscenter/asu/asu show

5. change desired parameters with /opt/ibm/toolscenter/asu/asu set RSA...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Benchmark Disk IO

2010-05-06 Thread Евгений Килимчук
2010/5/6 John R Pierce 

> ???  wrote:
> > Use a simple test:
> > time dd if=/dev/zero of=/tmp/test-hd bs=1M count=1000
>
> sequential cached writes, yeah, thats useful. *not*
>
>
This is one of the steps.

You can use sysbench random read and random write for multi-thirds.

> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Best regards,

Eugene Kilimchuk 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Benchmark Disk IO

2010-05-06 Thread John R Pierce
przemol...@poczta.fm wrote:
> The above numbers are true if we have random (!) IO pattern.
> In case of sequential (!) IO even SATA disks can deliver much, much higher 
> numbers.
>   


sequential IO is remarkably rare in a typical server environment

anyways, the IOPS numbers on sequential operations aren't much higher, 
they are just transferring more data per operation.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Benchmark Disk IO

2010-05-06 Thread John R Pierce
???  wrote:
> Use a simple test:
> time dd if=/dev/zero of=/tmp/test-hd bs=1M count=1000

sequential cached writes, yeah, thats useful. *not*


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Benchmark Disk IO

2010-05-06 Thread przemolicc
On Wed, May 05, 2010 at 09:47:19AM -0700, nate wrote:
> Matt Keating wrote:
> > What is the best way to benchmark disk IO?
> >
> > I'm looking to move one of my servers, which is rather IO intense. But
> > not without first benchmarking the current and new disk array, To make
> > sure this isn't a full waste of time.
> 
> You can do a pretty easy calculation based on the #/type of drives
> to determine the approx number of raw IOPS that are available, since
> it's I/O intensive your probably best off with RAID 1+0, which further
> simplifies the calculation, parity based raid can make it really
> complicated.
> 
> 7200 RPM disk = ~90 IOPS
> 1 RPM disk = ~150-180 IOPS
> 15000 RPM disk = ~230-250 IOPS
> ...

The above numbers are true if we have random (!) IO pattern.
In case of sequential (!) IO even SATA disks can deliver much, much higher 
numbers.


Regards
Przemyslaw Bak (przemol)
--
http://przemol.blogspot.com/





























--
Szukasz pracy? Zobacz ciekawe oferty w Twoim miescie
Sprawdz >>> http://linkint.pl/f26b2

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Benchmark Disk IO

2010-05-06 Thread Евгений Килимчук
Hi!

Use a simple test:
time dd if=/dev/zero of=/tmp/test-hd bs=1M count=1000

Sysbench:
http://sysbench.sourceforge.net/docs/#fileio_mode

And this:
http://assets.en.oreilly.com/1/event/27/Linux%20Filesystem%20Performance%20for%20Databases%20Presentation.pdf

2010/5/5 Matt Keating 

> What is the best way to benchmark disk IO?
>
> I'm looking to move one of my servers, which is rather IO intense. But
> not without first benchmarking the current and new disk array, To make
> sure this isn't a full waste of time.
>
> thanks
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Best regards,

Eugene Kilimchuk 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] phpmyadmin

2010-05-06 Thread Lucian
On Thu, May 6, 2010 at 3:18 AM, Jobst Schmalenbach  wrote:
>
> If you look into the config file you'll find
>
>  $cfg['Servers'][$i]['history'] = '';  // table to store SQL history
>                                        //   - leave blank for no SQL query 
> history
>                                        //     DEFAULT: 'pma_history'
>
> Set it and you get the history.
>
> Jobst

Of course, unless someone drops that table/db as well. :)

>
>
>
> On Wed, May 05, 2010 at 06:35:33PM -0700, ann kok (oiyan...@yahoo.ca) wrote:
>> Hi all
>>
>> When someone uses the phpmyadmin to delete data, how can I know it
>>
>> Does it have log?
>>
>> Thank you
>>
>>
>>
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> --
> Why is the man who invests all your money called a broker?
>
>  | |0| |   Jobst Schmalenbach, jo...@barrett.com.au, General Manager
>  | | |0|   Barrett Consulting Group P/L & The Meditation Room P/L
>  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos