Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-13 Thread Lunix1618

Stephen Harris wrote:

On Mon, Aug 11, 2008 at 12:07:09PM -0700, Aleksey Tsalolikhin wrote:
  

value.  I suggest using the -P switch to df, so you don't have to deal
with multi-line output per filesystem.



Ugh, hasn't RedHat fixed that?  Sun have (for a long time) automatically
done this if stdout is not a terminal.

*sigh*.

So my previous mail should really be
  df -Pkl | awk '/^\/dev\// { avail += $3/1024 } END { printf("%d Mb 
used\n",avail)} '
  

Hi,

This is work well on my laptop that running Fedora 9 with no LVM but on 
CentOS 5.2 with LVM it cann't calculate the LVM volume, below is output 
of my system :


[EMAIL PROTECTED] ~]# df -kPl
Filesystem 1024-blocks  Used Available Capacity Mounted on
/dev/mapper/VolGroup00-LogVol00 274405432  18584656 241656808   8% /
/dev/sda2   101105 19096 76788  20% /boot
tmpfs  1682508 0   1682508   0% /dev/shm

and with the command of Stephen :
[EMAIL PROTECTED] ~]# df -Pkl | awk '/^\/dev\// { avail += $3/1024 } END 
{ printf("%d Mb used\n",avail)} '

18173 Mb used

So it seam to be bot calculated on /dev/mapper/VolGroup00-LogVol00
I am just a newbie with Linux and stupid enough to not to know how to 
fix the command so just post it and hope you guys can improve the script ;)


Thanks for the tip.

Have fun.
regards,

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


Re: [CentOS] learning centos

2008-08-13 Thread Lanny Marcus
On Tue, Aug 12, 2008 at 7:11 AM, pedro henrique antunes de oliveira
<[EMAIL PROTECTED]> wrote:
> Hello, I'm new to CENTOS and I'd like to learn how to use it from ground up.
> Can anyone recommend me books on it?
> I already have the documentation from the web site, can I start with it?
> I've already done very basic stuff on archlinux and slackware.

One book you might consider purchasing is "Fedora 9 and Red Hat
Enterprise Linux Bible"  (Wiley)) (Paperback). I do not have
that edition, which just came out, but I have several previous
editions. I am certain there are many other great books about RHEL.
CentOS
is a binary clone (with few exceptions) of RHEL. In addition to the
great data on the CentOS WIki, you can download some of the manuals
from our upstream (RH) on the CentOS web site. Possibly more manuals
are available on the RH web site that you can download. As another
poster pointed out, if you subscribe to and read this mailing list,
you WILL learn. Another good method is "learn by destroying".
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to create whole image

2008-08-13 Thread Fajar Priyanto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rainer Duffner wrote:
> Install cobbler and use that to do a mass-installation.
> http://cobbler.et.redhat.com/
> 
> "dd" is so "20th century"

Hey this cobbler thing is great. I didn't know RH has it.
Thanks for the info Rainer.
- --
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
http://linux2.arinet.org
13:10:54 up 5:02, 2.6.24-18-generic GNU/Linux
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIo4Uo8TneBL/L6RoRAtakAJ9xVHMi27ZPx9vj6ho2WE0mWyDWfwCfWuLj
OGjPuEeEmd5GBMlyoQX0SHM=
=FEgl
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Boot from degraded sw RAID 1

2008-08-13 Thread Fajar Priyanto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Eduardo Grosclaude wrote:
> 1. Build a 100MB RAID-type partition on each disk
> 2. Build a second RAID-type partition taking the remaining space on each disk
> 3. Build a RAID 1 device over the small partitions
> 4. Build a second RAID 1 device over the bigger ones
> 5. Declare /boot as ext3 to live on the smaller RAID 1 device
> 6. Declare an LVM PV to live on the bigger one
> 7. Build a VG on the PV, then build LVs for swap, / and /data on the VG
> 
> Only problem is, I numbly have failed to follow [1] in that I left
> Disk Druid to make partitions wherever it chooses, so now I have
> cross-named partitions... md0 is the bigger RAID 1 device with
> /dev/sda2 AND /dev/sdb1... and md1 is the smaller one with /dev/sda1
> AND /dev/sdb2. Oh well, things can't get complicated on this, I tell
> myself.

To prevent the mix-up of partitions sequence during installation, here's
what I do (sorry for the copy paste :))
1. Build a 100MB RAID-type partition on each disk
3. Build a RAID 1 device over the small partitions
2. Build a second RAID-type partition taking the remaining space on each
disk
4. Build a second RAID 1 device over the bigger ones

That way /dev/{sda1,sdb1} will surely be /dev/md0, and /dev/{sda2,sdb2}
will be /dev/md1.

To address the second issue of grub is not installed on the second RAID1
disk, I thought it was an old bug in Centos4.0 which since then has been
fixed. I'm not sure if it's related, but as a workaround you can try
labeling the raid array so that it wont matter if the computer
recognizes it as sda or sdb. Here's a good article:
http://cgerada.blogspot.com/2008/07/software-raid-on-linux.html

HTH,
- --
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
http://linux2.arinet.org
13:10:54 up 5:02, 2.6.24-18-generic GNU/Linux
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.

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

iD8DBQFIo35q8TneBL/L6RoRAlHuAJ4kurKse2rmUErUvTWreFASkAx4FQCfVrIS
/X4uTVt5eyG3RL9+LwOi+O4=
=qGky
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vncserver on IPv6

2008-08-13 Thread Rob Lockhart
On Tue, Aug 12, 2008 at 10:57 AM, Robert Moskowitz <[EMAIL PROTECTED]> wrote:
>
>
> Rob Lockhart wrote:
>>
>>In /etc/sysconfig/vncservers I have something like this:
>>
>>VNCSERVERS="1:myusername"
>>VNCSERVERARGS[1]="-geometry 1400x1050 -depth 16 -localhost"
>>
>>(so I can only use localhost, which means I only allow
>>connections over ssh or from the local machine).
>>
>>Yours might be something like this:
>>
>>VNCSERVERS="1:robert"
>>VNCSERVERARGS[1]="-geometry 1400x1050 -depth 16
>>InTransports=IPv6,IPv4"
>>
>>
>>Well first my line has [2].  I changed that to [1] and tried all
>>sorts of variants to the above, including putting a - infront of
>>InTransports (like other options), and replacing the = with a
>>space.  No listening on IPv6.
>>
>>I have foudn the RealVNC support mailing list and sent a question
>>there, hopefully to get answers.  But if anyone has anything to
>>suggest here, please do.
>>
>> I recently reinstalled VNC - actually "TightVNC" as it's better than VNC
>> for bandwidth.  If you type "Xvnc -h" you'll see all the parameters
>> supported.  I didn't see any options for IPv6 in my version.  But yours
>> might indeed have more options.
>
> Using this method, I don't either, though the help is -help, not -h, but
> there is -multicast for IPv6 multicast for XDMCP
>>
>> I noticed that the default /etc/init.d/vncserver script seemed to be
>> ignoring my parameters for VNCSERVERARGS as in the log file, it showed
>> listening for all hosts (not just local hosts).  This was confirmed by
>> connecting directly from another machine to the VNC server port (:1 which is
>> port 5901).  I had an older version of the vncserver script, and I overwrote
>> the one from the repository with that one, and it took my parameters.
>>  However, the parameters I can confirm are working are:  "-nolisten tcp
>> -localhost -desktop RobHome -geometry 1280x1024".
>>
>> First, verify via "Xvnc -h" that the parmeters for IPv6 are supported
>> (InTransports).
>
> BTW, I note in the -help messages that parameters are case insensitive.  Or
> that is the claim.
>>
>>  Next, could it be possible the ip6tables is blocking you?  My network
>> doesn't use IPv6 so I don't think I could retrace your steps.
>
> No.  Port 5902 is specifically accepted in both iptables and ip6tables.  And
> I have tested this using another app that I have bound to that port (but is
> not running when I try out vncserver).
>
> And no answer on the vnc support list

Going to google, "tightvnc IPv6":
http://www.tightvnc.com/related.html
which then points (at the bottom):
http://jungla.dit.upm.es/~acosta/paginas/vncIPv6.html

so it looks someone has compiled TightVNC with IPv6 support.

Try the new font fix, and see if it works
   -Rob
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing fonts for tightvnc

2008-08-13 Thread Rob Lockhart
On Wed, Aug 13, 2008 at 12:14 PM, Toby Bluhm <[EMAIL PROTECTED]> wrote:
> Robert Moskowitz wrote:
>>
>> Toby Bluhm wrote:
>>>
>>> Robert Moskowitz wrote:

 You would think installing via yum would handle dependencies, but
 perhaps fonts are not managed like dependencies.

 Anyway, I installed tightvnc to test out its IPv6 support.

 Installed ok (after I erased regular vnc). But when I tried to start it,
 I got 5 warnings about:

 Font directory '/usr/X11R6/lib/X11/fonts/misc' not found - ignoring
 (then the same message for Speedo, Type1, 75dpi, and 100dpi).

 Then a fatel server error about: could not open default fount 'fixed'

 So I looked in the repos (curtesy of yumex) and did find a few 75dpi a
 100dpi fonts, but there seemed to be a lot of these two. I installed a
 ocuple of them and tried again. Got the same errors.

 So how do I fix this one?

>>
>> But I stopped both iptables and ip6tables and the same error messages.
>>
>> And installing OpenOffice did not 'fix' things. Perhaps setting symlinks
>> may be needed.
>>
>>
>
> I remember playing games with Matlab to get it to find it's own fonts. I
> think it went something like:
>
> mkdir 
> cp fonts* 
> mkfontdir 
> Add  to /etc/X11/fs/config
>
> Like you say, maybe just a link to /usr/share/X11/fonts/misc would do the
> trick.
>
> Perhaps a vnc/X startup script somewhere is hardcoded?

Robert, I noticed the same thing, so what I did is the following:

cd /usr/X11R6/; mkdir lib; cd lib; ln -s /usr/share/X11 .

Now try it.  Seems like the repository from which I got TightVNC has
issues in directory compatibility  but at least I got it working.

I didn't have a misc fonts directory, and my $HOME/.vnc/xtartup has:
#!/bin/sh

# Red Hat Linux VNC session startup script
exec /etc/X11/xinit/xinitrc

If that still doesn't work, I'll post the /etc/init.d/vncserver script
that works for me (possibly from an older install of tightvnc - 1.2.9
I believe).

If there's a more elegant solution, someone please let us know!  :-)

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


[CentOS] Re: Help setting up external drive via Firewire

2008-08-13 Thread Scott Silva

on 8-13-2008 2:30 PM Kenneth Porter spake the following:
On Wednesday, August 13, 2008 5:28 PM +0800 Noob Centos Admin 
<[EMAIL PROTECTED]> wrote:



ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]


S400 is 400 megabits, while USB 2 is 480 megabits. Firewire has less 
packet overhead, which might explain WD's claim that the FireWire 
interface is a little faster.

And isn't firewire DMA capable while USB is PIO?



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DRBD 8.2 crashes CentOS 5.2 on rsync from remote host

2008-08-13 Thread nate
Chris Miller wrote:
>
> I've got a pair of HA servers I'm trying to get into production.
> Here are some specs :
>

[..]
> [EMAIL PROTECTED] ~]# BUG: unable to handle kernel paging request at
> virtual address c

This typically means bad RAM

nate



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


Re: [CentOS] Help setting up external drive via Firewire

2008-08-13 Thread Bill Campbell
On Wed, Aug 13, 2008, Kenneth Porter wrote:
> On Wednesday, August 13, 2008 5:28 PM +0800 Noob Centos Admin  
> <[EMAIL PROTECTED]> wrote:
>
>> ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
>
> S400 is 400 megabits, while USB 2 is 480 megabits. Firewire has less 
> packet overhead, which might explain WD's claim that the FireWire 
> interface is a little faster.

My experience with Firewire has not been all that good.  I figured that
since Apple had been using it for years, and it is an IEEE standard, that
Firewire would be more reliable than USB.  I was also a bit wary as the USB
disk drivers on SuSE gave warning messages saying they might not be very
reliable.

I first used Firewire external drives in 2003 on whatever was the current
version of SuSE Pro at the time, and on a FreeBSD 4.8 system, and have
Firewire drives on several SuSE systems up to SuSE Linux Enterprise 10.

The FreeBSD machine has never shown any problems with its FW drive, but the
SuSE systems often seem to stop talking to the drive for no apparent
reason.

At this time, most of our Linux boxes are running USB 2.0, and the external
Firewire-only drives are all on our Macs which seem to have far better FW
support than Linux.

Bill
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

Now if there is one thing that we do worse than any other nation, it is
try and manage somebody else's affairs.
Will Rogers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] learning centos

2008-08-13 Thread pedro henrique antunes de oliveira
Well thanks you all guys

On Wed, Aug 13, 2008 at 3:08 PM, Glenn <[EMAIL PROTECTED]> wrote:
> At 05:53 PM 8/12/2008, you wrote:
>>
>> On Tue, Aug 12, 2008 at 05:41:17AM -0700, Akemi Yagi wrote:
>> > On Tue, Aug 12, 2008 at 5:11 AM, pedro henrique antunes de oliveira
>> > <[EMAIL PROTECTED]> wrote:
>> > > Hello, I'm new to CENTOS and I'd like to learn how to use it from
>> > > ground up.
>> > >
>> > > Can anyone recommend me books on it?
>> > >
>> > > I already have the documentation from the web site, can I start with
>> > > it?
>> > >
>> > > I've already done very basic stuff on archlinux and slackware.
>> >
>> > Take a look at #4 of
>> >
>> > http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14273&forum=47
>> > (for example)
>>
>> And do recall that CentOS draws from Redhat.
>> There are many 'books' about RedHat -- from the ground up.
>
> Welcome. Dive in. The only way to learn is to sink AND swim! Preferably,
> you'll be treading water for a while.
>
> Read the posts here! Very good!
>
> Also, subscribe to http://lists.centos.org/mailman/listinfo/centos-announce
> for OS update announcements!
>
> Cheers,
> Glenn
> ___
> 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] DRBD 8.2 crashes CentOS 5.2 on rsync from remote host

2008-08-13 Thread Chris Miller


I've got a pair of HA servers I'm trying to get into production.
Here are some specs :

Xeon X3210 Quad Core (aka Core 2 Quad) 2.13Ghz (four logical
processors, no Hyper Threading)
4GB memory
Hardware (3ware) Raid 1 mirror, 2 x Seagate 750GB SATA2
650GB DRBD partition run on top of an LVM2 partition.

CentOS 5.2 2.6.18-92.1.6.el5.centos.plus
DRBD 8.2 (drbd82-8.2.6-1.el5.centos)
Kernel Module kmod-drbd82-8.2.6-1.2.6.18_92.1.6.el5.centos.plus

I've been trying to rsync data from a remote server and it's crashed
a couple of times now. It does not happen immediately, but over
time. I connected a serial console and got the below panic message.
The last file copied was ~1GB in size, but previous files up to 4GB
had been copied. I do not have kernel core dumping enabled, but
that's a possibility if needed. Not sure if this is a bug or is
caused by something I've done. This isn't my first DRBD install
(although first on top of LVM) and I believe I've gotten everything
setup correctly. I did have a full sync rate (110M) enabled over
Gbe, if that's relevant. Thoughts?

Regards,
Chris

[EMAIL PROTECTED] ~]# pvscan
  PV /dev/sda2   VG VolGroup00   lvm2 [698.28 GB / 0free]
  Total: 1 [698.28 GB] / in use: 1 [698.28 GB] / in no VG: 0 [0   ]

[EMAIL PROTECTED] ~]# lvscan
  ACTIVE'/dev/VolGroup00/LogVol00' [39.06 GB] inherit
  ACTIVE'/dev/VolGroup00/LogVol02' [658.72 GB] inherit
  ACTIVE'/dev/VolGroup00/LogVol01' [512.00 MB] inherit

[EMAIL PROTECTED] ~]# df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
  39676508   1938880  35689628   6% /
/dev/sda1   194442 23650160753  13% /boot
tmpfs  1684156 0   1684156   0% /dev/shm
/dev/drbd0   679824572 113321224 531970212  18% /home


[EMAIL PROTECTED] ~]# BUG: unable to handle kernel paging request at
virtual address c
 printing eip:
c04e9291
*pde = 
Oops:  [#1]
SMP
last sysfs file: /devices/pci:00/:00:00.0/irq
Modules linked in: softdog drbd(U) autofs4 hidp rfcomm l2cap
bluetooth sunrpc id
CPU:0
EIP:0060:[]Tainted: G  VLI
EFLAGS: 00010046   (2.6.18-92.1.6.el5.centos.plus #1)
EIP is at list_del+0x25/0x5c
eax: fe187128   ebx: f04a6ab8   ecx: f04a6a8c   edx: f04a6a8c
esi: fe187128   edi: f4e355a0   ebp: f426c800   esp: f385df3c
ds: 007b   es: 007b   ss: 0068
Process drbd0_asender (pid: 2900, ti=f385d000 task=f4932000
task.ti=f385d000)
Stack: 00e6 f8d1953b  f04a6a8c 00e6 0001
ee187b14 0046
   f49e7bc0 f04a6ab8 f04a6a8c f426c800 fe187128 f4e355a0
349f f8d24805
   0800 f426c800 f426c800 0008 f426c9f4 f8d14d47
f385dfbc f8d15fbc
Call Trace:
 [] _req_may_be_done+0x4ea/0x710 [drbd]
 [] tl_release+0x35/0x172 [drbd]
 [] got_BarrierAck+0x10/0x6b [drbd]
 [] drbd_asender+0x3b1/0x4e7 [drbd]
 [] drbd_thread_setup+0x0/0x14e [drbd]
 [] drbd_thread_setup+0x88/0x14e [drbd]
 [] drbd_thread_setup+0x0/0x14e [drbd]
 [] kernel_thread_helper+0x7/0x10
 ===
Code: 89 c3 eb eb 90 90 53 89 c3 8b 40 04 8b 00 39 d8 74 17 50 53 68
9b 9a 63 c
EIP: [] list_del+0x25/0x5c SS:ESP 0068:f385df3c
 <0>Kernel panic - not syncing: Fatal exception
 BUG: warning at arch/i386/kernel/smp.c:550/smp_call_function()
(Tainted: G)
 [] stop_this_cpu+0x0/0x33
 [] smp_call_function+0x57/0xc3
 [] printk+0x18/0x8e
 [] smp_send_stop+0x13/0x1c
 [] panic+0x4c/0x16d
 [] die+0x25d/0x291
 [] do_page_fault+0x3ea/0x4b8
 [] do_page_fault+0x0/0x4b8
 [] error_code+0x39/0x40
 [] list_del+0x25/0x5c
 [] _req_may_be_done+0x4ea/0x710 [drbd]
 [] tl_release+0x35/0x172 [drbd]
 [] got_BarrierAck+0x10/0x6b [drbd]
 [] drbd_asender+0x3b1/0x4e7 [drbd]
 [] drbd_thread_setup+0x0/0x14e [drbd]
 [] drbd_thread_setup+0x88/0x14e [drbd]
 [] drbd_thread_setup+0x0/0x14e [drbd]
 [] kernel_thread_helper+0x7/0x10
 ===



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


Re: [CentOS] udev rules for /dev/sg[a-z] ?

2008-08-13 Thread James Pearson

John R Pierce wrote:

James Pearson wrote:
I have a third party application that I want to run a CentOS4 box that 
is expecting to access the generic SCSI devices through /dev/sga, 
/dev/sgb, etc. However, the devices set up by udev are /dev/sg0, 
/dev/sg1 etc.


just curious, what sort of scsi controller is that?   every CentOS 4 
system with regular SCSI (or SAS or whatever) that I've seen has created 
/dev/sda /dev/sdb, etc...   only exceptions I've seen are are things 
like Compaq/HP SmartArray controllers that use /dev/cciss/c0d0


Unfortunately, a typo crept into the subject line (which I've now 
changed) ...


I'm not talking about the block devices (/dev/sda etc) but the generic 
SCSI devices using the sg (sg.ko) module - which have /dev entries of 
/dev/sg0, /dev/sg1 etc.


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


Re: [CentOS] support libipq?

2008-08-13 Thread John R Pierce

Mike -- EMAIL IGNORED wrote:

I am thinking of trying centos (I am now using Fedora).
Does centos support libipq?

  


iptables-devel-1.3.5-4.el5  includes libipq.a and .h


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


Re: [CentOS] Help setting up external drive via Firewire

2008-08-13 Thread Kenneth Porter
On Wednesday, August 13, 2008 5:28 PM +0800 Noob Centos Admin 
<[EMAIL PROTECTED]> wrote:



ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]


S400 is 400 megabits, while USB 2 is 480 megabits. Firewire has less packet 
overhead, which might explain WD's claim that the FireWire interface is a 
little faster.



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


Re: [CentOS] Help setting up external drive via Firewire

2008-08-13 Thread Kenneth Porter
On Wednesday, August 13, 2008 11:47 AM +0200 Rainer Duffner 
<[EMAIL PROTECTED]> wrote:



Maybe format it with ext3?
;-)


The biggest problem with FAT32 is that it's limited to 2 GB files. My full 
dump is 200 GB, and I've found the "one file" dump more reliable and 
efficient than the multi-file feature, which breaks the dump into lots of 
little 1 GB files.


I format mine with NTFS for OS interoperability and mount using the ntfs-3g 
FUSE filesystem.


Say the partition is labeled "Backup1". Then I can mount it with:

mount /mnt/Backup /dev/disk/by-label/Backup1 -t ntfs-3g
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Boot from degraded sw RAID 1 SOLVED

2008-08-13 Thread Eduardo Grosclaude
On Wed, Aug 13, 2008 at 3:07 PM, Eduardo Grosclaude
<[EMAIL PROTECTED]> wrote:
> OK, this is probably long, and your answer will surely make me slap my
> forehead really hard... please help me understand what goes on.

Ouch!
Sure /boot/grub/grub.conf still needs editing...
That's why you really, really WANT both partition tables to be identical...

-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] rtc in /proc/interrupts

2008-08-13 Thread Jerry Geis
Hi - I am using centos 4.6 on an ebox 4300. Everything seems to be 
working except the
/proc/interrupts rtc is always constant. On other machines the rtc 
(which ztdummy from asterisk) is always incrementing.

the uhci_hcd and ehci_hcd are both running.

What can cause this?

Jerry
--

 0: 274276IO-APIC-edge  timer
 1:  9IO-APIC-edge  i8042
 2:  0  XT-PIC  cascade
 8:  2IO-APIC-edge  rtc
145:   5522   IO-APIC-level  eth0
153:  10279   IO-APIC-level  HDA Intel
161:  0   IO-APIC-level  uhci_hcd
169:  0   IO-APIC-level  uhci_hcd
177:  17491   IO-APIC-level  ehci_hcd
NMI:  0
LOC: 274158
ERR:  0
MIS:  0

lspci shows
lspci
00:00.0 Host bridge: VIA Technologies, Inc. CX700 Host Bridge (rev 10)
00:00.1 Host bridge: VIA Technologies, Inc. CX700 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CX700 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. CX700 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CX700 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CX700 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)

00:0f.0 IDE interface: VIA Technologies, Inc. CX700M2 IDE
00:10.0 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 
Controller (rev 90)
00:10.1 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 
Controller (rev 90)

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. CX700 PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. CX700 Internal Module Bus
00:13.0 PCI bridge: VIA Technologies, Inc. CX700 Host Bridge
01:00.0 VGA compatible controller: VIA Technologies, Inc. CX700M2 
UniChrome PRO II Graphics (rev 03)
02:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio 
Controller (rev 10)


lsmod shows
lsmod
Module  Size  Used by
md5 4161  1
ipv6  236929  10
autofs430405  0
sunrpc163237  1
ztdummy 4180  0
zaptel203268  3 ztdummy
crc_ccitt   2241  1 zaptel
ipt_REJECT  6721  1
ipt_state   1985  26
ip_conntrack   41077  1 ipt_state
iptable_filter  3009  1
ip_tables  17601  3 ipt_REJECT,ipt_state,iptable_filter
dm_mirror  31045  0
dm_mod 67577  1 dm_mirror
uhci_hcd   31705  0
snd_hda_intel 347644  4
snd_pcm_oss44456  0
snd_mixer_oss  19072  1 snd_pcm_oss
snd_pcm82824  4 snd_hda_intel,snd_pcm_oss
snd_timer  30724  3 snd_pcm
snd_page_alloc 11528  2 snd_hda_intel,snd_pcm
snd_hwdep  10884  1 snd_hda_intel
snd70276  10 
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep

soundcore  10017  1 snd
8139too26177  0
mii 5313  1 8139too
ehci_hcd   31429  0
usb_storage60937  2
ext3  118217  1
jbd72665  1 ext3
ata_piix   15173  0
libata111645  1 ata_piix
sd_mod 17345  3
scsi_mod  125901  3 usb_storage,libata,sd_mod


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


Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread nate
Marc Grimme wrote:
> Hi,
> I didn't follow the whole thread but had the same problem when using
> net-snmp
> with bridges (an I see peth0 and that rang the bell). The problem seems to
> be
> that net-snmp does not like nics with same ips (I didn't find very much on
> that topic). You should see some errors from net-snmp in the syslogs of your
> managed servers. What does your syslog say?
>
> I solved it by changing the bridge configuration from the scripts provided
> by
> xen /etc/xen/scripts/network-bridge to using ifcfg bridges. Then cacti could
> monitor the interfaces like normal.

Interesting, good to know.

I've never run Xen myself.

nate

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


Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Marc Grimme
Hi,
I didn't follow the whole thread but had the same problem when using net-snmp 
with bridges (an I see peth0 and that rang the bell). The problem seems to be 
that net-snmp does not like nics with same ips (I didn't find very much on 
that topic). You should see some errors from net-snmp in the syslogs of your 
managed servers. What does your syslog say?

I solved it by changing the bridge configuration from the scripts provided by 
xen /etc/xen/scripts/network-bridge to using ifcfg bridges. Then cacti could 
monitor the interfaces like normal.

Hope that helps.

Regards marc.
On Wednesday 13 August 2008 20:42:30 nate wrote:
> Rudi Ahlers wrote:
> > Here's my verbose output:
>
> [..]
>
> > + Found item [ifName='lo'] index: 1 [from value]
> > + Found item [ifName='peth0'] index: 2 [from value]
> > + Found item [ifName='sit0'] index: 3 [from value]
>
> It certainly looks like cacti is finding a bunch of stuff, what
> does the status column say to the left of the green circle? For
> my test system it says -
>
> Success [24 Items, 4 Rows]
>
> When you go to the 'Create graphs for this host', do you see just
> the Header with nothing below it? (Data Query [SNMP - Interface
> Statistics])
>
> What version of cacti? Though it shouldn't matter this is a pretty
> basic thing.
>
> nate
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos



-- 
Gruss / Regards,

Marc Grimme
Phone: +49-89 452 3538-14
http://www.atix.de/   http://www.open-sharedroot.org/

**
ATIX Informationstechnologie und Consulting AG
Einsteinstr. 10 
85716 Unterschleissheim
Deutschland/Germany

Phone: +49-89 452 3538-0
Fax:   +49-89 990 1766-0

Registergericht: Amtsgericht Muenchen
Registernummer: HRB 168930
USt.-Id.: DE209485962

Vorstand: 
Marc Grimme, Mark Hlawatschek, Thomas Merz (Vors.)

Vorsitzender des Aufsichtsrats:
Dr. Martin Buss

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


[CentOS] support libipq?

2008-08-13 Thread Mike -- EMAIL IGNORED
I am thinking of trying centos (I am now using Fedora).
Does centos support libipq?

Thanks,
Mike.

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


Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread nate
Rudi Ahlers wrote:

> Here's my verbose output:
[..]
> + Found item [ifName='lo'] index: 1 [from value]
> + Found item [ifName='peth0'] index: 2 [from value]
> + Found item [ifName='sit0'] index: 3 [from value]


It certainly looks like cacti is finding a bunch of stuff, what
does the status column say to the left of the green circle? For
my test system it says -

Success [24 Items, 4 Rows]

When you go to the 'Create graphs for this host', do you see just
the Header with nothing below it? (Data Query [SNMP - Interface Statistics])

What version of cacti? Though it shouldn't matter this is a pretty
basic thing.

nate

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


Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Rudi Ahlers
On Wed, Aug 13, 2008 at 5:59 PM, nate <[EMAIL PROTECTED]> wrote:

> Rudi Ahlers wrote:
>
> > Yes, I have clicked on the green circle a few times, and I have even
> removed
> > the "Interface Statistics" altogether, and added it again
>
> Very strange, can you include the output of the verbose query? What
> version of cacti?
>
> This is what I get, though I don't use this method to get network
> stats from my systems, I have scripts that gather it for me(they
> return about 20 points of data that I put into a single RRD per-host,
> vastly improving performance by 10x+, though it's a labor intensive
> process to add a new system to cacti for me as cacti wasn't designed
> for doing things the way I'm doing them).
>
>
> nate
>
>
> ___
>

Here's my verbose output:

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at
'/var/www/html/graphs/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Found item [ifIndex='5'] index: 5 [from value]
+ Found item [ifIndex='6'] index: 6 [from value]
+ Found item [ifIndex='7'] index: 7 [from value]
+ Found item [ifIndex='8'] index: 8 [from value]
+ Found item [ifIndex='9'] index: 9 [from value]
+ Found item [ifIndex='10'] index: 10 [from value]
+ Found item [ifIndex='11'] index: 11 [from value]
+ Found item [ifIndex='15'] index: 15 [from value]
+ Found item [ifIndex='20'] index: 20 [from value]
+ Found item [ifIndex='21'] index: 21 [from value]
+ Found item [ifIndex='25'] index: 25 [from value]
+ Found item [ifIndex='26'] index: 26 [from value]
+ Found item [ifIndex='27'] index: 27 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Up'] index: 2 [from value]
+ Found item [ifOperStatus='Down'] index: 3 [from value]
+ Found item [ifOperStatus='Up'] index: 4 [from value]
+ Found item [ifOperStatus='Up'] index: 5 [from value]
+ Found item [ifOperStatus='Down'] index: 6 [from value]
+ Found item [ifOperStatus='Down'] index: 7 [from value]
+ Found item [ifOperStatus='Down'] index: 8 [from value]
+ Found item [ifOperStatus='Down'] index: 9 [from value]
+ Found item [ifOperStatus='Down'] index: 10 [from value]
+ Found item [ifOperStatus='Down'] index: 11 [from value]
+ Found item [ifOperStatus='Up'] index: 15 [from value]
+ Found item [ifOperStatus='Up'] index: 20 [from value]
+ Found item [ifOperStatus='Down'] index: 21 [from value]
+ Found item [ifOperStatus='Down'] index: 25 [from value]
+ Found item [ifOperStatus='Down'] index: 26 [from value]
+ Found item [ifOperStatus='Up'] index: 27 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='lo'] index: 1 [from value]
+ Found item [ifDescr='peth0'] index: 2 [from value]
+ Found item [ifDescr='sit0'] index: 3 [from value]
+ Found item [ifDescr='vif0.0'] index: 4 [from value]
+ Found item [ifDescr='eth0'] index: 5 [from value]
+ Found item [ifDescr='vif0.1'] index: 6 [from value]
+ Found item [ifDescr='veth1'] index: 7 [from value]
+ Found item [ifDescr='vif0.2'] index: 8 [from value]
+ Found item [ifDescr='veth2'] index: 9 [from value]
+ Found item [ifDescr='vif0.3'] index: 10 [from value]
+ Found item [ifDescr='veth3'] index: 11 [from value]
+ Found item [ifDescr='xenbr0'] index: 15 [from value]
+ Found item [ifDescr='vif8.0'] index: 20 [from value]
+ Found item [ifDescr='vif9.0'] index: 21 [from value]
+ Found item [ifDescr='vifzsas0'] index: 25 [from value]
+ Found item [ifDescr='vif14.0'] index: 26 [from value]
+ Found item [ifDescr='vif15.0'] index: 27 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Found item [ifName='lo'] index: 1 [from value]
+ Found item [ifName='peth0'] index: 2 [from value]
+ Found item [ifName='sit0'] index: 3 [from value]
+ Found item [ifName='vif0.0'] index: 4 [from value]
+ Found item [ifName='eth0'] index: 5 [from value]
+ Found item [ifName='vif0.1'] index: 6 [from value]
+ Found item [ifName='veth1'] index: 7 [from value]
+ Found item [ifName='vif0.2'] index: 8 [from value]
+ Found item [ifName='veth2'] index: 9 [from value]
+ Found item [ifName='vif0.3'] index: 10 [from value]
+ Found item [ifName='veth3'] index: 11 [from value]
+ Found item [ifName='xenbr0'] index: 15 [from value]
+ Found item [ifName='vif8.0'] index: 20 [from value]
+ Found item [ifName='vif9.0'] index: 21 [from value]
+ Found item [ifName='vifzsas0'] index: 25 [from value]
+ Found item [ifName='vif14.0'] index:

Re: [CentOS] learning centos

2008-08-13 Thread Glenn

At 05:53 PM 8/12/2008, you wrote:

On Tue, Aug 12, 2008 at 05:41:17AM -0700, Akemi Yagi wrote:
> On Tue, Aug 12, 2008 at 5:11 AM, pedro henrique antunes de oliveira
> <[EMAIL PROTECTED]> wrote:
> > Hello, I'm new to CENTOS and I'd like to learn how to use it 
from ground up.

> >
> > Can anyone recommend me books on it?
> >
> > I already have the documentation from the web site, can I start with it?
> >
> > I've already done very basic stuff on archlinux and slackware.
>
> Take a look at #4 of
> http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14273&forum=47
> (for example)

And do recall that CentOS draws from Redhat.
There are many 'books' about RedHat -- from the ground up.


Welcome. Dive in. The only way to learn is to sink AND swim! 
Preferably, you'll be treading water for a while.


Read the posts here! Very good!

Also, subscribe to 
http://lists.centos.org/mailman/listinfo/centos-announce for OS 
update announcements!


Cheers,
Glenn 


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


[CentOS] Boot from degraded sw RAID 1

2008-08-13 Thread Eduardo Grosclaude
OK, this is probably long, and your answer will surely make me slap my
forehead really hard... please help me understand what goes on.

I intend to install CentOS 5.1 afresh over software RAID level 1. SATA
drives are in AHCI mode.

I follow basically [1] though I have made some mistakes as will be
explained. AFAIK GRUB does not boot off LVM, so I:

1. Build a 100MB RAID-type partition on each disk
2. Build a second RAID-type partition taking the remaining space on each disk
3. Build a RAID 1 device over the small partitions
4. Build a second RAID 1 device over the bigger ones
5. Declare /boot as ext3 to live on the smaller RAID 1 device
6. Declare an LVM PV to live on the bigger one
7. Build a VG on the PV, then build LVs for swap, / and /data on the VG

Only problem is, I numbly have failed to follow [1] in that I left
Disk Druid to make partitions wherever it chooses, so now I have
cross-named partitions... md0 is the bigger RAID 1 device with
/dev/sda2 AND /dev/sdb1... and md1 is the smaller one with /dev/sda1
AND /dev/sdb2. Oh well, things can't get complicated on this, I tell
myself.

Installation goes on well, system boots. I update the system. Now I
want to be able to boot from whichever disk survives an accident. If I
take out sdb, system boots. If I take out sda, system refuses to work.
Aha. GRUB is not installed into sdb's MBR. Reconnect sda, reboot.
Prepare for GRUB device juggling as in [1].

Into GRUB console I do
> find /grub/stage1
hd(0,0)
hd(1,1)
> device (hd0) /dev/sdb
> root (hd0,1)
Filesystem type is ext2fs, partition type 0xfd
> setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd0)"...  15 sectors are embedded.
succeeded
 Running "install /grub/stage1 (hd0) (hd0)1+15 p (hd0,1)/grub/stage2 /grub/grub
.conf"... succeeded
Done.
> quit

The rationale for this being that, when the faulty disk is removed at
boot, the remaining one (currently /dev/sdb) will be addressed as
/dev/sda (i.e. hd0 in GRUB parlance).

Now I prune /dev/sda and reboot. I see:

root(hd0,0) <--- interesting
Filesystem type unknown, partition type 0xfd
kernel /vmlinuz-2.6 ro root=/dev/VolGroup00/LogVol01 rhgb quiet
Error 17: Cannot mount selected partition
Press any key to continue...

Not quite what I expected. I enter GRUB console at boot and repeat the
above device juggling.

> find /grub/stage1
hd(0,1)
> root (hd0,1)
> setup (hd0)
> quit

However, 'quit' seems to fail as grub keeps prompting me without
really quitting. After a forced reboot I get the very same error
message as above.

I edit the GRUB configuration entry at boot (with e command) and see
root (hd0,0)
as the first line

It should be root(hd0,1), so probably GRUB did not write down my
modifications. I edit it to read so (e command again), and then boot
(b command). Now it works. I rebuild the arrays succesfully. However,
I have made a one-time edit and the problem is still there.

I understand the error message from the booting process was
reasonable: hd(0,0) carries an unknown filesystem -- an LVM device.
[1] was right, you definitely want to have exact disk duplicates to
keep your life simple.

However, I can't see why it shouldn't work the way it is. I can
probably rebuild the secondary disk to mimic the primary's partition
numbering and "fix" my problem...

But, Am I right about the GRUB console commands I was issuing? How can
I make them permanent then? I KNOW I did 'quit' from the grub console
the first time, when from inside bash, when the system was running.
What am I missing?

Thank you in advance

[1] http://lists.us.dell.com/pipermail/linux-poweredge/2003-July/008898.html
-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] udev rules for /dev/sd[a-z] ?

2008-08-13 Thread John R Pierce

James Pearson wrote:
I have a third party application that I want to run a CentOS4 box that 
is expecting to access the generic SCSI devices through /dev/sga, 
/dev/sgb, etc. However, the devices set up by udev are /dev/sg0, 
/dev/sg1 etc.


just curious, what sort of scsi controller is that?   every CentOS 4 
system with regular SCSI (or SAS or whatever) that I've seen has created 
/dev/sda /dev/sdb, etc...   only exceptions I've seen are are things 
like Compaq/HP SmartArray controllers that use /dev/cciss/c0d0



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


[CentOS] Re: NetBSD on CentOS 5.2 Xen 3

2008-08-13 Thread Tom Diehl

On Wed, 13 Aug 2008, white list wrote:


hi all good people,
can someone direct me to a solution i get the following error

# xm create -c vm03
Using config file "./vm03".
Error: (2, 'Invalid kernel', 'xc_dom_compat_check: guest type xen-3.0-x86_32
not supported by xen kernel, sorry\n')


Have you actually tried to solve this problem yourself? I know nothing about
your problem but http://mail-index.netbsd.org/port-xen/2008/01/29/msg003223.html
sounds a lot like what you describe.

Hint, if you put, 
"Error: (2, 'Invalid kernel', 'xc_dom_compat_check: guest type xen-3.0-x86_32"

in google you might just get the info you need. Do not forget to include the
quotes in your google search.

Hope this helps.

Regards,

--
Tom Diehl   [EMAIL PROTECTED]   Spamtrap address [EMAIL 
PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] udev rules for /dev/sd[a-z] ?

2008-08-13 Thread James Pearson
I have a third party application that I want to run a CentOS4 box that 
is expecting to access the generic SCSI devices through /dev/sga, 
/dev/sgb, etc. However, the devices set up by udev are /dev/sg0, 
/dev/sg1 etc.


Does anyone know what syntax I could use to create a udev rule that 
creates symlinks sga -> sg0 etc. for each sg[0-N] device?


Thanks

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


Re: [CentOS] NFS issues

2008-08-13 Thread Matthew Kent
On Tue, 2008-08-12 at 14:27 +0200, Johan Swensson wrote:
> So I'm running nfs to get content to my web servers. Now I've had this
> problem 2 times (about 2 weeks since the last occurrence).
> I use drbd on the nfs server for redundancy. Now to my problem:
> 
> All my web sites stopped responding so I started by checking dmesg and
> there I found a bunch of this errors
> Aug 11 16:00:39 web03 kernel: lockd: server 192.168.20.22 not responding, 
> timed out
> Aug 11 16:02:39 web03 kernel: lockd: server 192.168.20.22 not responding, 
> timed out
> 
> But when checking the nfs server lockd was running and I could access
> all the files from the webserver with ls, cd etc.

This is the exact problem we were having here. Rebooting is the only
solution.

And as already mentioned further down the thread it was attributed to
this https://bugzilla.redhat.com/show_bug.cgi?id=453094

My solution was to extract the patch from the upstream kernel in 
http://people.redhat.com/dzickus/el5/103.el5/src/
called
linux-2.6-fs-lockd-nlmsvc_lookup_host-called-with-f_sema-held.patch

and reroll the latest centosplus kernel srpm with it. Servers have been
fine for 6 days running this kernel.

As much as I hate carrying custom kernel rpms this is a showstopper for
us, and it looks like it won't make in until 5.3. 

Personally given the limited scope of the patch and apparent
unwillingness of redhat to include it in an update I'd advocate CentOS
carrying it as a custom patch.

Here's my srpm if anyone wants it, 
http://magoazul.com/tmp/kernel-2.6.18-92.1.10.1.el5.centos.plus.src.rpm
the only change is the patch for this issue. Everything builds cleanly
via mock. 
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] Missing fonts for tightvnc

2008-08-13 Thread Toby Bluhm

Robert Moskowitz wrote:

Toby Bluhm wrote:

Robert Moskowitz wrote:
You would think installing via yum would handle dependencies, but 
perhaps fonts are not managed like dependencies.


Anyway, I installed tightvnc to test out its IPv6 support.

Installed ok (after I erased regular vnc). But when I tried to start 
it, I got 5 warnings about:


Font directory '/usr/X11R6/lib/X11/fonts/misc' not found - ignoring 
(then the same message for Speedo, Type1, 75dpi, and 100dpi).


Then a fatel server error about: could not open default fount 'fixed'

So I looked in the repos (curtesy of yumex) and did find a few 75dpi 
a 100dpi fonts, but there seemed to be a lot of these two. I 
installed a ocuple of them and tried again. Got the same errors.


So how do I fix this one?





Perhaps vnc can't talk to the xfs daemon - IPv6 or firewall related? 


Perhaps. What ports does xfs use? Why does it work for vncserver (on 
IPv4 only of course)?


7100 I think . . .

grep xfs /etc/services
xfs 7100/tcp# X font server

 . . yes




But I stopped both iptables and ip6tables and the same error messages.

And installing OpenOffice did not 'fix' things. Perhaps setting symlinks 
may be needed.





I remember playing games with Matlab to get it to find it's own fonts. I 
think it went something like:


mkdir 
cp fonts* 
mkfontdir 
Add  to /etc/X11/fs/config

Like you say, maybe just a link to /usr/share/X11/fonts/misc would do 
the trick.


Perhaps a vnc/X startup script somewhere is hardcoded?



--
Toby Bluhm
Alltech Medical Systems America, Inc.

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


Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread nate
Rudi Ahlers wrote:

> Yes, I have clicked on the green circle a few times, and I have even removed
> the "Interface Statistics" altogether, and added it again

Very strange, can you include the output of the verbose query? What
version of cacti?

This is what I get, though I don't use this method to get network
stats from my systems, I have scripts that gather it for me(they
return about 20 points of data that I put into a single RRD per-host,
vastly improving performance by 10x+, though it's a labor intensive
process to add a new system to cacti for me as cacti wasn't designed
for doing things the way I'm doing them).

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at
'/home/cacti/public_html/cacti-0.8.7b/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Up'] index: 2 [from value]
+ Found item [ifOperStatus='Down'] index: 3 [from value]
+ Found item [ifOperStatus='Down'] index: 4 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='lo'] index: 1 [from value]
+ Found item [ifDescr='eth0'] index: 2 [from value]
+ Found item [ifDescr='eth1'] index: 3 [from value]
+ Found item [ifDescr='sit0'] index: 4 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='softwareLoopback(24)'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 2 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 3 [from value]
+ Found item [ifType='tunnel(131)'] index: 4 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='1000'] index: 1 [from value]
+ Found item [ifSpeed='1'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Found item [ifSpeed='0'] index: 4 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr=''] index: 1 [from value]
+ Found item [ifHwAddr='00:00:14:22:24:4C:FB'] index: 2 [from value]
+ Found item [ifHwAddr='00:00:14:22:24:4C:FC'] index: 3 [from value]
+ Found item [ifHwAddr=''] index: 4 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found data query XML file at
'/home/cacti/public_html/cacti-0.8.7b/resource/snmp_queries/interface.xml'
+ Found data query XML file at
'/home/cacti/public_html/cacti-0.8.7b/resource/snmp_queries/interface.xml'
+ Found data query XML file at
'/home/cacti/public_html/cacti-0.8.7b/resource/snmp_queries/interface.xml'

nate


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


Re: [CentOS] Missing fonts for tightvnc

2008-08-13 Thread Robert Moskowitz

Toby Bluhm wrote:

Robert Moskowitz wrote:
You would think installing via yum would handle dependencies, but 
perhaps fonts are not managed like dependencies.


Anyway, I installed tightvnc to test out its IPv6 support.

Installed ok (after I erased regular vnc). But when I tried to start 
it, I got 5 warnings about:


Font directory '/usr/X11R6/lib/X11/fonts/misc' not found - ignoring 
(then the same message for Speedo, Type1, 75dpi, and 100dpi).


Then a fatel server error about: could not open default fount 'fixed'

So I looked in the repos (curtesy of yumex) and did find a few 75dpi 
a 100dpi fonts, but there seemed to be a lot of these two. I 
installed a ocuple of them and tried again. Got the same errors.


So how do I fix this one?





Perhaps vnc can't talk to the xfs daemon - IPv6 or firewall related? 


Perhaps. What ports does xfs use? Why does it work for vncserver (on 
IPv4 only of course)?


But I stopped both iptables and ip6tables and the same error messages.

And installing OpenOffice did not 'fix' things. Perhaps setting symlinks 
may be needed.



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


Re: [CentOS] Missing fonts for tightvnc

2008-08-13 Thread Toby Bluhm

Robert Moskowitz wrote:
You would think installing via yum would handle dependencies, but 
perhaps fonts are not managed like dependencies.


Anyway, I installed tightvnc to test out its IPv6 support.

Installed ok (after I erased regular vnc).  But when I tried to start 
it, I got 5 warnings about:


Font directory '/usr/X11R6/lib/X11/fonts/misc' not found - ignoring 
(then the same message for Speedo, Type1, 75dpi, and 100dpi).


Then a fatel server error about: could not open default fount 'fixed'

So I looked in the repos (curtesy of yumex) and did find a few 75dpi a 
100dpi fonts, but there seemed to be a lot of these two.  I installed a 
ocuple of them and tried again.  Got the same errors.


So how do I fix this one?





Perhaps vnc can't talk to the xfs daemon - IPv6 or firewall related?




--
Toby Bluhm
Alltech Medical Systems America, Inc.

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


[CentOS] ks

2008-08-13 Thread R P Herrold

On Wed, 13 Aug 2008, [EMAIL PROTECTED] wrote:


1) I have the following in it:

clearpart --all



which is OK if I am installing over a previous installation.  But for new
machines it does not seem to recognize the "clearpart" or it is not enough
because I am still prompted whether I want to remove partitions.  Should I
be using something else?


You need to tell it which drives are 'fair game' to wipe.

clearpart   --all   --drives=xvda

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


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-13 Thread David Dyer-Bennet

On Mon, August 11, 2008 19:27, Lanny Marcus wrote:
> On Mon, Aug 11, 2008 at 4:04 PM, Kuang-Chun Cheng <[EMAIL PROTECTED]>

>> So, learn vi ... and you can share the same command when using
>> terminal/bash.
>
> Thank you for pointing that out! Yes, bash is the shell.

The GNU readline library, which is where bash gets it's command-line
editing, supports both emacs and vi modes, so you can have that
commonality either way.

Personally I think the only vi command one needs to know is ":q!".
-- 
David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

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


Re: [CentOS] NFS issues

2008-08-13 Thread Johan Swensson

nate wrote:

Johan Swensson wrote:
  

No firewall on either end and server responds to ping.

client:
   program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper
1000241   udp889  status
1000241   tcp892  status



Doesn't look like nfslock is running on the client?

What does /etc/init.d/nfslock status say?

  

[EMAIL PROTECTED] ~]# service nfslock status
rpc.statd (pid 2737) is running...


As Craig said he started notice this about the the time he upgraded to
5.2, the same goes for me, started getting this problem about the time
I've upgraded the clients and server.



Maybe related to this bug:

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

Try restarting nfslock on both client and server when it occurs?
Or try setting up a cron to restart nfslock hourly on all systems
to see if that can workaround the issue until a fix comes out?

nate


  
Actually I tried restarting both nfslock(on clients and server) and 
nfs(on server) but it didn't help.

Is my solution with mounting it nolock bad?

I was also thinking about mounting the nfs shares as soft, is this a 
good idea? Could it help me? And also, what's the difference between 
soft and intr?

Read the manual and I thought they were pretty similiar.



___
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] can't get Ethernet SNMP information

2008-08-13 Thread Rudi Ahlers
On Wed, Aug 13, 2008 at 3:36 PM, nate <[EMAIL PROTECTED]> wrote:

> Rudi Ahlers wrote:
>
> > Mine returns 6861 entries:
> >
> >
> > snmpwalk -v1 -c public localhost .1 | wc -l
> >
> > 6861
>
> And cacti still doesn't see the interfaces? Did you change
> the snmpd.conf after adding the device into cacti? Cacti
> doesn't automatically pick up new devices, you have to tell it
> to re-issue the SNMP query. In the device page for the server
> click on the little green circle, I think that's the link that
> tells cacti to re-scan the device.
>
> My cacti consoles aren't easily accessible from where I'm at
> so I can't verify exactly right now.
>
> I've never seen cacti not pick up the interfaces when
> the SNMP permissions are correct. And it sounds like yours
> are fine, at least right now.
>
> nate
>
> ___
>

Hi Nate,

Yes, I have clicked on the green circle a few times, and I have even removed
the "Interface Statistics" altogether, and added it again



-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread nate
Rudi Ahlers wrote:

> Mine returns 6861 entries:
>
>
> snmpwalk -v1 -c public localhost .1 | wc -l
>
> 6861

And cacti still doesn't see the interfaces? Did you change
the snmpd.conf after adding the device into cacti? Cacti
doesn't automatically pick up new devices, you have to tell it
to re-issue the SNMP query. In the device page for the server
click on the little green circle, I think that's the link that
tells cacti to re-scan the device.

My cacti consoles aren't easily accessible from where I'm at
so I can't verify exactly right now.

I've never seen cacti not pick up the interfaces when
the SNMP permissions are correct. And it sounds like yours
are fine, at least right now.

nate

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


Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Rudi Ahlers
On Wed, Aug 13, 2008 at 3:20 PM, nate <[EMAIL PROTECTED]> wrote:

> Rudi Ahlers wrote:
>
> > Well, that's the thing, in Cacti there' an option, "SMP Interface
> > Statistics" - which you need to enable first, and then select the
> different
> > interfaces. It's supposed to list eth0 - xenbr0, and everything in
> between,
> > but it doesn't.
>
>
> Run a snmpwalk against your system's full tree and count the lines
> just to verify that it's wide open
>
> snmpwalk -v1 -c public localhost .1 | wc -l
>
> One of my systems returns over 4500 lines, if yours is returning
> a small amount(few dozen) then security is too tight for the
> community string your using and you need to adjust snmpd.conf
>
> See this as an example:
> http://portal.aphroland.org/~aphro/snmp/snmpd.conf
>
> nate
>
> ___
>

Mine returns 6861 entries:


snmpwalk -v1 -c public localhost .1 | wc -l

6861
[EMAIL PROTECTED] snmp]#
[EMAIL PROTECTED] snmp]# more snmpd.conf
rocommunity public 127.0.0.1

includeAllDisks




-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] ks

2008-08-13 Thread Plant, Dean
[EMAIL PROTECTED] wrote:
> I made a file partition-ks.cfg and put it in our machine 192.168.5.17
> under /var/www/html.  When I install a new machine I just do a
> 
>  linux ks=http://192.168.5.17/partition-ks.cfg
> 
> I have a couple questions though:
> 
> 1) I have the following in it:
> 
>  clearpart --all
>  part /boot --fstype ext3 --size=100
>  part /var --fstype ext3 --size=1
>  part / --fstype ext3 --size=1
>  part swap --size=2048
>  part /home --fstype ext3 --size=100 --grow
> 
> which is OK if I am installing over a previous installation.  But for
> new machines it does not seem to recognize the "clearpart" or it is
> not enough because I am still prompted whether I want to remove
> partitions.  Should I be using something else?

Take a look at system-config-kickstart to help build your kickstart
files.

Anyway I think what you are looking for is,

# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel 


> 
> 
> 2) I would like to duplicate the CentOS installation disk and place
> partition-ks.cfg on the disk too so that during boot it automatically
> is used (or barring that I can still say ks= drive>/partition-ks.cfg. Automatically would be better.  I tried some
> ways I thought it said to 
> do that but it did not work.  Any tips?

Copy the DVD put the ks.cfg file in the root of the DVD files

vi //isolinux/isolinux.cfg and edit the append line or add a
new entry like this

label yourlabel
  kernel vmlinuz
  append initrd=initrd.img ks=cdrom:/ks.cfg

Make iso and burn as described here:

http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-
install-guide/s1-steps-install-cdrom.html

Boot DVD and type "yourlabel" to activate your kickstart file.

HTH

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


Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread nate
Rudi Ahlers wrote:

> Well, that's the thing, in Cacti there' an option, "SMP Interface
> Statistics" - which you need to enable first, and then select the different
> interfaces. It's supposed to list eth0 - xenbr0, and everything in between,
> but it doesn't.


Run a snmpwalk against your system's full tree and count the lines
just to verify that it's wide open

snmpwalk -v1 -c public localhost .1 | wc -l

One of my systems returns over 4500 lines, if yours is returning
a small amount(few dozen) then security is too tight for the
community string your using and you need to adjust snmpd.conf

See this as an example:
http://portal.aphroland.org/~aphro/snmp/snmpd.conf

nate

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


Re: [CentOS] NFS issues

2008-08-13 Thread nate
Johan Swensson wrote:
> No firewall on either end and server responds to ping.
>
> client:
>program vers proto   port
> 102   tcp111  portmapper
> 102   udp111  portmapper
> 1000241   udp889  status
> 1000241   tcp892  status

Doesn't look like nfslock is running on the client?

What does /etc/init.d/nfslock status say?

> As Craig said he started notice this about the the time he upgraded to
> 5.2, the same goes for me, started getting this problem about the time
> I've upgraded the clients and server.

Maybe related to this bug:

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

Try restarting nfslock on both client and server when it occurs?
Or try setting up a cron to restart nfslock hourly on all systems
to see if that can workaround the issue until a fix comes out?

nate




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


Re: [CentOS] ks

2008-08-13 Thread Barry Brimer

I made a file partition-ks.cfg and put it in our machine 192.168.5.17
under /var/www/html.  When I install a new machine I just do a

linux ks=http://192.168.5.17/partition-ks.cfg

I have a couple questions though:

1) I have the following in it:

clearpart --all
part /boot --fstype ext3 --size=100
part /var --fstype ext3 --size=1
part / --fstype ext3 --size=1
part swap --size=2048
part /home --fstype ext3 --size=100 --grow

which is OK if I am installing over a previous installation.  But for new
machines it does not seem to recognize the "clearpart" or it is not enough
because I am still prompted whether I want to remove partitions.  Should I
be using something else?


I think you need "zerombr" .. preferably before the clearpart .. it might 
be "zerombr yes" as well .. I don't have an example in front of me.


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


Re: [CentOS] how to create whole image

2008-08-13 Thread Les Mikesell

Toby Bluhm wrote:




I am using Cent OS 5.2 . i want to create one master image of whole 
running OS becoz i have to do same installation  many times on 
different machines.
so any one suggest me to how create and run the image of whole OS at 
the time of installation or , which escape me to install each and 
every thing  many times.

i would not like to create image  using dd.
any suggestions ??



Clonezilla is designed with your intent in mind. I believe it should 
support lvm & sw raid.


www.clonezilla.org


Clonezilla is great for single disk images and can handle lvm and 
windows partitions, but it doesn't do software raid unless you create it 
yourself and use partition copy mode.  Clonezilla will be the fastest 
way if the machines have a single disk or hw raid - it is very fast and 
you'll only have to change the hostname and IP of the finished copies. 
For a few machines you can use the clonezilla-live bootable iso and 
connect to a network drive for the images via nfs, smb, or ssh.  For a 
large number of machines you can install the companion drbl program to 
pxe-boot into clonezilla with the image storage already mounted.


Next best in speed would be a kickstart install - and again you can use 
a minimal-setup approach for a small number of machines by dropping the 
file created by your initial install onto an existing web server and 
giving the URL at the boot prompt of a DVD or NFS install, and the 
simple way to do additional setup is to export an NFS share with the 
content and install script you need do drop it in.  It's a couple of 
command lines to mount the share and execute the script.  If you have a 
very large number of machines you can automate it completely with 
cobbler - or the drbl progran can be configured to do kickstart installs 
too.


--
  Les Mikesell
   [EMAIL PROTECTED]

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


Re: [CentOS] Missing fonts for tightvnc

2008-08-13 Thread Robert Moskowitz

Filipe Brandenburger wrote:

On Tue, Aug 12, 2008 at 22:42, Robert Moskowitz <[EMAIL PROTECTED]> wrote:
  

No. This is Centos 5! So perhaps there is an issue with tightVNC



Yes, you may try to create symbolic links to have the fonts on the
other path.


Just great. Now I get to figure this out... :('


I'm not an expert on X11 here, but I don't think
applications would have font paths hardcoded. It might be worth the
try though. 


So where is the font paths coming from messed up? I note that I do not 
have OpenOffice installed on this system. Perhaps that might make a 
difference



Where did you install TightVNC from? RPMforge/DAG has an
RPM for it (version 1.3.9-3.el5.rf for CentOS 5).
  


Yes. That is what I have and where I got it.


If that still does not fix your problem, then try installing
"fonts-xorg-100dpi" and "fonts-xorg-75dpi" as well.
  

For Centos 5, there are a number of fonts-xorg-100dpi, a '14' a '15' and I
don't recall what else I found with the help of yumex.



I only have xorg-x11-fonts-ISO8859-1-100dpi and
xorg-x11-fonts-ISO8859-1-75dpi installed here, and I never had
problems with fonts.

ISO8859-1 is a character set also known as Latin-1, it has fonts for
most western alphabets.

ISO8859-14 and ISO8859-15 are character sets with special characters
for (I believe) easter European countries. I believe one of those is
the same as Latin-1 but with an extra Euro sign, for example. I don't
think you need those, at least not to run TightVNC. Your problem is
probably not there.

I have all of these :)


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


[CentOS] ks

2008-08-13 Thread tony . chamberlain
I made a file partition-ks.cfg and put it in our machine 192.168.5.17
under /var/www/html.  When I install a new machine I just do a 

 linux ks=http://192.168.5.17/partition-ks.cfg

I have a couple questions though:

1) I have the following in it:

 clearpart --all
 part /boot --fstype ext3 --size=100
 part /var --fstype ext3 --size=1
 part / --fstype ext3 --size=1
 part swap --size=2048
 part /home --fstype ext3 --size=100 --grow

which is OK if I am installing over a previous installation.  But for new
machines it does not seem to recognize the "clearpart" or it is not enough
because I am still prompted whether I want to remove partitions.  Should I
be using something else?


2) I would like to duplicate the CentOS installation disk and place
partition-ks.cfg on the disk too so that during boot it automatically
is used (or barring that I can still say ks=/partition-ks.cfg.
Automatically would be better.  I tried some ways I thought it said to
do that but it did not work.  Any tips?


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


Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Rudi Ahlers
On Wed, Aug 13, 2008 at 2:26 PM, Filipe Brandenburger
<[EMAIL PROTECTED]>wrote:

> On Wed, Aug 13, 2008 at 04:00, Rudi Ahlers <[EMAIL PROTECTED]> wrote:
> > Unfortunately this didn't work. Although I could see a whole lot of MIB's
> > now, Cacti still doesn't graph the network interface
>
> I'm not an expert on Cacti, but... are you sure you configured the
> proper interface name on it? Are you sure it is looking for, e.g.,
> eth0?
>
> >From the output, these are the interface names you have on your system:
>
> + Found item [ifName='lo'] index: 1 [from value]
> + Found item [ifName='peth0'] index: 2 [from value]
> + Found item [ifName='sit0'] index: 3 [from value]
> + Found item [ifName='vif0.0'] index: 4 [from value]
> + Found item [ifName='eth0'] index: 5 [from value]
> + Found item [ifName='vif0.1'] index: 6 [from value]
> + Found item [ifName='veth1'] index: 7 [from value]
> + Found item [ifName='vif0.2'] index: 8 [from value]
> + Found item [ifName='veth2'] index: 9 [from value]
> + Found item [ifName='vif0.3'] index: 10 [from value]
> + Found item [ifName='veth3'] index: 11 [from value]
> + Found item [ifName='xenbr0'] index: 15 [from value]
> + Found item [ifName='vif8.0'] index: 20 [from value]
> + Found item [ifName='vif9.0'] index: 21 [from value]
> + Found item [ifName='vifzsas0'] index: 25 [from value]
>
> And these are the IPs assigned to eth0:
>
> + Found item [ifIP='192.168.10.11'] index: 5 [from regexp oid parse]
> + Found item [ifIP='196.34.136.110'] index: 5 [from regexp oid parse]
>
> HTH,
> Filipe
> ___
>

Well, that's the thing, in Cacti there' an option, "SMP Interface
Statistics" - which you need to enable first, and then select the different
interfaces. It's supposed to list eth0 - xenbr0, and everything in between,
but it doesn't.



-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Filipe Brandenburger
On Wed, Aug 13, 2008 at 04:00, Rudi Ahlers <[EMAIL PROTECTED]> wrote:
> Unfortunately this didn't work. Although I could see a whole lot of MIB's
> now, Cacti still doesn't graph the network interface

I'm not an expert on Cacti, but... are you sure you configured the
proper interface name on it? Are you sure it is looking for, e.g.,
eth0?

>From the output, these are the interface names you have on your system:

+ Found item [ifName='lo'] index: 1 [from value]
+ Found item [ifName='peth0'] index: 2 [from value]
+ Found item [ifName='sit0'] index: 3 [from value]
+ Found item [ifName='vif0.0'] index: 4 [from value]
+ Found item [ifName='eth0'] index: 5 [from value]
+ Found item [ifName='vif0.1'] index: 6 [from value]
+ Found item [ifName='veth1'] index: 7 [from value]
+ Found item [ifName='vif0.2'] index: 8 [from value]
+ Found item [ifName='veth2'] index: 9 [from value]
+ Found item [ifName='vif0.3'] index: 10 [from value]
+ Found item [ifName='veth3'] index: 11 [from value]
+ Found item [ifName='xenbr0'] index: 15 [from value]
+ Found item [ifName='vif8.0'] index: 20 [from value]
+ Found item [ifName='vif9.0'] index: 21 [from value]
+ Found item [ifName='vifzsas0'] index: 25 [from value]

And these are the IPs assigned to eth0:

+ Found item [ifIP='192.168.10.11'] index: 5 [from regexp oid parse]
+ Found item [ifIP='196.34.136.110'] index: 5 [from regexp oid parse]

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


Re: [CentOS] Missing fonts for tightvnc

2008-08-13 Thread Filipe Brandenburger
On Tue, Aug 12, 2008 at 22:42, Robert Moskowitz <[EMAIL PROTECTED]> wrote:
> No. This is Centos 5! So perhaps there is an issue with tightVNC

Yes, you may try to create symbolic links to have the fonts on the
other path. I'm not an expert on X11 here, but I don't think
applications would have font paths hardcoded. It might be worth the
try though. Where did you install TightVNC from? RPMforge/DAG has an
RPM for it (version 1.3.9-3.el5.rf for CentOS 5).

>> If that still does not fix your problem, then try installing
>> "fonts-xorg-100dpi" and "fonts-xorg-75dpi" as well.
>
> For Centos 5, there are a number of fonts-xorg-100dpi, a '14' a '15' and I
> don't recall what else I found with the help of yumex.

I only have xorg-x11-fonts-ISO8859-1-100dpi and
xorg-x11-fonts-ISO8859-1-75dpi installed here, and I never had
problems with fonts.

ISO8859-1 is a character set also known as Latin-1, it has fonts for
most western alphabets.

ISO8859-14 and ISO8859-15 are character sets with special characters
for (I believe) easter European countries. I believe one of those is
the same as Latin-1 but with an extra Euro sign, for example. I don't
think you need those, at least not to run TightVNC. Your problem is
probably not there.

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


[CentOS] libc.so.6(GLIBC_PRIVATE)(64bit) is needed but I cannot find it in CentOS 5.2

2008-08-13 Thread Erez Zilber
Hi,

I hope it's the right list. Anyway, I'm using CentOS 5.2. I wrote a
program that uses rtkaio (so my Makefile contains -lrtkaio). The
program runs successfully. The
problem began when I wanted to create a rpm for my program. I was able
to generate a binary rpm, but when I tried to install it, I got the
following error:

[EMAIL PROTECTED] tmp]# rpm -i /tmp/mypkg-1.0.x86_64.rpm
error: Failed dependencies:
   libc.so.6(GLIBC_PRIVATE)(64bit) is needed by mypkg-1.0.x86_64.rpm

I checked the dependencies:

[EMAIL PROTECTED] tmp]# rpm -qRp /tmp/mypkg-1.0.x86_64.rpm
/bin/bash
/bin/sh
/bin/sh
/bin/sh
/usr/bin/python
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_PRIVATE)(64bit)
libnickel.so()(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libpthread.so.0(GLIBC_2.3.2)(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH

The problem is that librtkaio uses GLIBC_PRIVATE:

[EMAIL PROTECTED] tmp]$ nm /lib/rtkaio/librtkaio-2.5.so | grep PRIVATE
U __libc_dlopen_mode@@GLIBC_PRIVATE
U __libc_dlsym@@GLIBC_PRIVATE
U __libc_fatal@@GLIBC_PRIVATE
U __libc_pwrite@@GLIBC_PRIVATE
w __pthread_clock_gettime@@GLIBC_PRIVATE
w __pthread_clock_settime@@GLIBC_PRIVATE
U __pthread_unwind@@GLIBC_PRIVATE
U _rtld_global@@GLIBC_PRIVATE

But I couldn't find where these symbols are defined (e.g.
__libc_pwrite@@GLIBC_PRIVATE).

The workaround that I found is to add the following line to the spec
file: "provides:libc.so.6(GLIBC_PRIVATE)(64bit)"
I guess that there should be a better solution for that. Any idea?

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


Re: [CentOS] how to create whole image

2008-08-13 Thread Toby Bluhm

kapil singh wrote:

Hello,

I am using Cent OS 5.2 . i want to create one master image of whole 
running OS becoz i have to do same installation  many times on different 
machines.
so any one suggest me to how create and run the image of whole OS at the 
time of installation or , which escape me to install each and every 
thing  many times.

i would not like to create image  using dd.
any suggestions ??



Clonezilla is designed with your intent in mind. I believe it should 
support lvm & sw raid.


www.clonezilla.org


--
Toby Bluhm
Alltech Medical Systems America, Inc.

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


Re: [CentOS] how to create whole image

2008-08-13 Thread Rainer Duffner

kapil singh schrieb:



On Wed, Aug 13, 2008 at 3:27 PM, dnk <[EMAIL PROTECTED] 
> wrote:


Well as opposed to an image, why not use kickstart?


kickstart will be good option ,we have same installation scheme ,but 
what about third party s/ws.



I think you have to create a repo for that.

What 3rd-party SW, BTW?
Does it come as RPM?



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


Re: [CentOS] NFS issues

2008-08-13 Thread andylockran
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Not wanting to hijack the thread, but since a similar date I've had
issues with NFS updates being 'delayed' for anything between two seconds
 to six hours.

Weird one.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIor/hauMjEM4rxIQRAiefAKCicF3Y2WDNMBonO9QSuFMzDmCKYwCeNMkb
6yrbg0Ytt6ceDG6m3iTA030=
=Eaq9
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to create whole image

2008-08-13 Thread Mogens Kjaer

kapil singh wrote:

On Wed, Aug 13, 2008 at 3:27 PM, dnk <[EMAIL PROTECTED]> wrote:


Well as opposed to an image, why not use kickstart?



kickstart will be good option ,we have same installation scheme ,but what
about third party s/ws.


Install this in the %post section of the kickstart file.

Mogens

--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to create whole image

2008-08-13 Thread kapil singh
On Wed, Aug 13, 2008 at 3:27 PM, dnk <[EMAIL PROTECTED]> wrote:

> Well as opposed to an image, why not use kickstart?


kickstart will be good option ,we have same installation scheme ,but what
about third party s/ws.

>
>
> dnk
>
>
>
> On 13-Aug-08, at 2:52 AM, kapil singh wrote:
>
>  Hello,
>>
>> I am using Cent OS 5.2 . i want to create one master image of whole
>> running OS becoz i have to do same installation  many times on different
>> machines.
>> so any one suggest me to how create and run the image of whole OS at the
>> time of installation or , which escape me to install each and every thing
>>  many times.
>> i would not like to create image  using dd.
>> any suggestions ??
>>
>> - -
>> Thanks and Regards
>> Kapil Singh Kushwah
>> Linux System/Network Administrator
>> Hotwax Media Inc.
>> Indore,(M.P) INDIA
>>
>> ___
>> 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
>



-- 
Thanks and Regards,
Kapil Singh Kushwah
Linux System/Network Administrator
Hotwax Media Inc.
Indore,(M.P) INDIA
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Storesonline, Website Design For Ecommerce The Three Things You Must Get Right

2008-08-13 Thread Mister Nice Guy
*Storesonline, Website Design For Ecommerce The Three Things You Must Get
Right*

If you're planning to sell goods or services online, you'll need an
ecommerce website. As this will be your shop front, your showroom, your
salesman and your cashier, you'll appreciate how important it is.
Essentially, the success of you ecommerce website depends on getting three
factors right - design, usability and search engine optimization.*Storesonline
* provides  these services for the client.

First, let's look at design. Design is important as it influences the
impression your visitor gets of you and your business. Your website should
be attractive and solidly professional. This assures the first time visitor
that you are the right company to do business with.* Storesonline* software
offers you point and click design. In addition, your website should reflect
your brand and mission statement.

Next there's the matter of usability. *Storesonline* software allows for
easy navigation for customers. This determines how easily your visitor can
navigate your site. The first thing you have to consider is the mechanics of
your business model. You have to decide what you want your visitor to do and
then give him clear means to do it.

One factor that promotes clear navigation is making sure all links are well
labeled. For example, "Click here for more details on our refrigerators" is
much more useful that just 'click here' or 'more information'. And your
visitor should always know his location and how to return to your home page.
Remember if your visitor gets lost on your website, he'll just click away,
probably never to return.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to create whole image

2008-08-13 Thread Rainer Duffner

kapil singh schrieb:

Hello,

I am using Cent OS 5.2 . i want to create one master image of whole 
running OS becoz i have to do same installation  many times on 
different machines.
so any one suggest me to how create and run the image of whole OS at 
the time of installation or , which escape me to install each and 
every thing  many times.

i would not like to create image  using dd.
any suggestions ??

- -
Thanks and Regards
Kapil Singh Kushwah
Linux System/Network Administrator
Hotwax Media Inc.
Indore,(M.P) INDIA



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



Install cobbler and use that to do a mass-installation.
http://cobbler.et.redhat.com/

"dd" is so "20th century"


Rainer


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


Re: [CentOS] how to create whole image

2008-08-13 Thread dnk

Well as opposed to an image, why not use kickstart?

dnk


On 13-Aug-08, at 2:52 AM, kapil singh wrote:


Hello,

I am using Cent OS 5.2 . i want to create one master image of whole  
running OS becoz i have to do same installation  many times on  
different machines.
so any one suggest me to how create and run the image of whole OS at  
the time of installation or , which escape me to install each and  
every thing  many times.

i would not like to create image  using dd.
any suggestions ??

- -
Thanks and Regards
Kapil Singh Kushwah
Linux System/Network Administrator
Hotwax Media Inc.
Indore,(M.P) INDIA

___
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] how to create whole image

2008-08-13 Thread kapil singh
Hello,

I am using Cent OS 5.2 . i want to create one master image of whole running
OS becoz i have to do same installation  many times on different machines.
so any one suggest me to how create and run the image of whole OS at the
time of installation or , which escape me to install each and every thing
many times.
i would not like to create image  using dd.
any suggestions ??

- -
Thanks and Regards
Kapil Singh Kushwah
Linux System/Network Administrator
Hotwax Media Inc.
Indore,(M.P) INDIA
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help setting up external drive via Firewire

2008-08-13 Thread Noob Centos Admin
Scratch that last message. I removed the drive to verify the copied content
on another machine and realized I forgot to copy one folder. Plugged it
back, with the wrong connector, using the Firewire instead of USB, probably
because my mind was still on the Firewire issue.

This time round, gnome desktop automounted the drive and there it was on my
desktop to my surprise.

Checking with mount
/dev/sde1 on /media/My Book type vfat
(rw,noexec,nosuid,nodev,shortname=winnt,uid=502)

I've no idea why or what happened, just glad it works! :D

Now testing it out with another day's data about 112G worth and Nautilus is
estimating about 60 minutes, so that's about 31.8MB/s or 29% faster.
Although Nautilus was a bit optimistic with the previous transfer so the
Firewire still likely a good 20% to 25% faster.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help setting up external drive via Firewire

2008-08-13 Thread Rainer Duffner

Noob Centos Admin schrieb:

fdisk -l
Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sde1   *   1  121601   976760001c  W95 FAT32 (LBA)


The problem now is when I try to mount /dev/sde1, mount tells me that 
special device /dev/sde1 does not exist.


Neither does trying to mount /dev/sg4 or /dev/sg5 works, mount says 
they are "not a block device".


What should I be trying next? Thanks!




Maybe format it with ext3?
;-)




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


Re: [CentOS] Help setting up external drive via Firewire

2008-08-13 Thread Noob Centos Admin
The kernel update was successful and dmesg returns the following
ieee1394: The root node is not cycle master capable; selecting a new root
node and resetting...
ieee1394: Error parsing configrom for node 0-00:1023
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: Node added: ID:BUS[0-00:1023]  GUID[0090a9f6717e5649]
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
scsi6 : SBP-2 IEEE-1394
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
  Vendor: WDModel: My Book   Rev: 1028
  Type:   Direct-Access  ANSI SCSI revision: 04
SCSI device sde: 1953525168 512-byte hdwr sectors (1000205 MB)
sde: Write Protect is off
sde: Mode Sense: 10 00 00 00
sde: cache data unavailable
sde: assuming drive cache: write through
SCSI device sde: 1953525168 512-byte hdwr sectors (1000205 MB)
sde: Write Protect is off
sde: Mode Sense: 10 00 00 00
sde: cache data unavailable
sde: assuming drive cache: write through
 sde:<6>sd 6:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, initializing command required

end_request: I/O error, dev sde, sector 0
Buffer I/O error on device sde, logical block 0
sd 6:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, initializing command required

end_request: I/O error, dev sde, sector 0
Buffer I/O error on device sde, logical block 0
sd 6:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, initializing command required

end_request: I/O error, dev sde, sector 0
Buffer I/O error on device sde, logical block 0
sd 6:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, initializing command required

end_request: I/O error, dev sde, sector 0
Buffer I/O error on device sde, logical block 0
ldm_validate_partition_table(): Disk read failed.
Dev sde: unable to read RDB block 0
 unable to read partition table
sd 6:0:0:0: Attached scsi disk sde
sd 6:0:0:0: Attached scsi generic sg4 type 0
scsi7 : SBP-2 IEEE-1394
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
  Vendor: WDModel: My Book DeviceRev:
  Type:   Enclosure  ANSI SCSI revision: 04
scsi 7:0:1:0: Attached scsi generic sg5 type 13


fdisk -l
Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sde1   *   1  121601   976760001c  W95 FAT32 (LBA)


The problem now is when I try to mount /dev/sde1, mount tells me that
special device /dev/sde1 does not exist.

Neither does trying to mount /dev/sg4 or /dev/sg5 works, mount says they are
"not a block device".

What should I be trying next? Thanks!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help setting up external drive via Firewire

2008-08-13 Thread Noob Centos Admin
On Wed, Aug 13, 2008 at 5:16 PM, Rainer Duffner <[EMAIL PROTECTED]>wrote:

>
> There's a reason someone came up with this eSATA stuff...


Unfortunately the machine has no more spare SATA connectors. Installing an
eSATA card and such, would probably be yet another learning experience on a
machine the client is not particularly keen on seening downtime as it's
collecting data 24/7 :(
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help setting up external drive via Firewire

2008-08-13 Thread Rainer Duffner

Noob Centos Admin schrieb:



The first day's transfer just completed and it took about 1hr 10 
minutes for 101GB, from du -h, which I think is in terms of 1024. So 
that's like 24.6MB/s which admittedly appears to be around the maximum 
real world data transfer rate for USB 2.0. According to some reviews 
of this WD model, the Firewire was supposedly up to 1/3 faster (they 
had figures of 35MBps vs 44Mbps).


So I am hoping to see a similar speed from the Firewire here to save 
some 20 minutes of waiting time, a whole week's backup would be almost 
2.5 hours of savings!


Going to reboot the system now with the new kernel and hopes I don't 
lose the NIC or something :D




The problem with Firewire is that you need
a) a "good" chip in the controller
b) a "good" chip in the Firewire-to-SATA controller in the external 
unit (there are no native firewire disks...)


That's what makes IEEE1394 always a bit of a gamble.


There's a reason someone came up with this eSATA stuff...


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


Re: [CentOS] Help setting up external drive via Firewire

2008-08-13 Thread Noob Centos Admin
On Wed, Aug 13, 2008 at 4:50 PM, Laurence Alexander Hurst <
[EMAIL PROTECTED]> wrote:

> 2 things jump out:
>1. As has already been pointed out that is not a Centos Plus kernel.
> Did you reboot after installing the new kernel? (You have to reboot for a
> kernel update in order to be running the new kernel).


Thanks Akemi & Lawrence for pointing out the obvious that I was blind to! :D
I overlooked the exclude line for the Centos Update repo so yum took the
wrong kernel update instead. Now downloading  2.6.18-92.1.10.el5.centos.plus
and hopes everything will work after this.



>
>2. 1 hour to copy 100GB sounds like a very good speed. Obviously the
> eSATA interface will be the fastest as it will the the same as having it
> plugged directly into the SATA controller. For reference I recently copied
> 73GB from an internal SATA drive to an internal (software) raid0 array (made
> up of 2 SATA disks), and that took 1.5hours.


The first day's transfer just completed and it took about 1hr 10 minutes for
101GB, from du -h, which I think is in terms of 1024. So that's like
24.6MB/s which admittedly appears to be around the maximum real world data
transfer rate for USB 2.0. According to some reviews of this WD model, the
Firewire was supposedly up to 1/3 faster (they had figures of 35MBps vs
44Mbps).

So I am hoping to see a similar speed from the Firewire here to save some 20
minutes of waiting time, a whole week's backup would be almost 2.5 hours of
savings!

Going to reboot the system now with the new kernel and hopes I don't lose
the NIC or something :D
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help setting up external drive via Firewire

2008-08-13 Thread Laurence Alexander Hurst

Noob Centos Admin wrote:
I got a WD 1TB My Book with eSATA/USB/Firewire400 connectivity to backup 
data on a client Centos 5.1 machine.


USB 2.0 works fine out of the box but is rather slow, Nautilus predicts 
about 1+ hour to fully backup just one day's worth of data or about 100GB.


So I was hoping Firewire would be faster, which is why we got the 
version with all 3 interfaces to experiment with first.


Following the suggestions given to another user here 
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=15767&forum=37 



I updated the system's kernel to the CentoPlus 
[EMAIL PROTECTED] ~]$ uname -s -r

Linux 2.6.18-92.1.10.el5

After a reboot, everything appears to work as expected, with the 
motherboard's TI Firewire controller detected

[EMAIL PROTECTED] ~]# lspci | grep 1394
04:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 
IEEE-1394a-2000 Controller (PHY/Link)


However, now I'm stuck as the system does not appear to detect the drive 
when I connect the firewire cable and turn it on.

I've followed some of the suggestions to check the drive status like
"fdisk -l" but this only shows the drives already installed in the system
"tail -f /var/log/dmesg" shows no new messages when the drive is 
connected/powered on


So I'm at a loss as to what else I should be doing to get Firewire to 
work and will appreciate any help on this.


Thanks!




2 things jump out:
	1. As has already been pointed out that is not a Centos Plus kernel. 
Did you reboot after installing the new kernel? (You have to reboot for 
a kernel update in order to be running the new kernel).
	2. 1 hour to copy 100GB sounds like a very good speed. Obviously the 
eSATA interface will be the fastest as it will the the same as having it 
plugged directly into the SATA controller. For reference I recently 
copied 73GB from an internal SATA drive to an internal (software) raid0 
array (made up of 2 SATA disks), and that took 1.5hours.

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


Re: [CentOS] conntrack-tools and Session syncing

2008-08-13 Thread Dirk H. Schulz

Hello Nataraj,

--On 12. August 2008 22:56:48 -0700 Nataraj <[EMAIL PROTECTED]> wrote:


On Sun, 2008-08-10 at 20:28 +0200, Dirk H. Schulz wrote:


- snip -


The setup works - using "conntrackd -e" I can see the connection table
entries the other router's conntrackd has synchronized. What I cannot
check  is if the receiving conntrackd writes the received entries into
the kernels  connection tracking table.




- snip -


Also: cat /proc/net/nf_conntrack


Okay, that was good (it is ip_conntrack, but never mind). Now I now that 
the kernel connection table does NOT get updated. Just have to find out 
why.



The doc says you must have kernel 2.6.18 or later. It looks like there
are some iptables features that you can use that will not allow this to
work. Are you in compliance with all of the dependencies listed in
http://conntrack-tools.netfilter.org/conntrackd.html ?


Yes, the libraries are installed. The kernel should meet the prerequisites:
CONFIG_NF_CONNTRACK=m: yes
CONFIG_NF_CONNTRACK_IPV4=m: no, did not find it, could not enable it
CONFIG_NETFILTER_NETLINK=m: yes,
CONFIG_NF_CT_NETLINK=m: yes, it is called NF_CONNTRACK_NETLINK=m
CONFIG_NF_CONNTRACK_EVENTS=y: yes

So only CONFIG_NF_CONNTRACK_IPV4 module is missing, but I thought that 
connection tracking would not work at all (even on just one netfilter 
instance) if a dedicated module für IPv4 additionally to the general 
NF_CONNTRACK module would really be needed.


Is there a debug mode for conntrackd where I can get more verbose logging 
to find out why conntrackd does not update the kernel connection table? 
Docs do not mention a debug mode, but maybe ...


By the way, when committing manually (conntrackd -c) I get the following 
entries in the log:

[Tue Aug 12 12:51:49 2008] (pid=22668) [notice] Committed 139 new entries
[Tue Aug 12 12:51:49 2008] (pid=22668) [notice] 2 entries can't be 

committed

[Tue Aug 12 12:51:54 2008] (pid=22671) [notice] committing external cache
[Tue Aug 12 12:51:54 2008] (pid=22671) [ERROR] commit: Invalid argument
Tue Aug 12 12:51:54 2008	tcp  6 180 SYN_SENT src=88.217.141.81 
dst=93.94.80.2 sport=54930 dport=22 [UNREPLIED] src=93.94.80.2 
dst=88.217.141.81 sport=22 dport=54930

[Tue Aug 12 12:51:54 2008] (pid=22671) [ERROR] commit: Invalid argument
Tue Aug 12 12:51:54 2008	tcp  6 180 SYN_SENT src=88.217.141.81 
dst=93.94.80.2 sport=54929 dport=22 [UNREPLIED] src=93.94.80.2 
dst=88.217.141.81 sport=22 dport=54929
[Tue Aug 12 12:51:54 2008] (pid=22671) [notice] Committed 139 new entries 

[Tue Aug 12 12:51:54 2008] (pid=22671) [notice] 2 entries can't be committed

Why can not all cache entries be committed? I did not find much about this. 
My kernel is a 2.6.18-92.1.6.el5 (CentOS 5).


Thanks for your help.

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


Re: [CentOS] Help setting up external drive via Firewire

2008-08-13 Thread Akemi Yagi
On Wed, Aug 13, 2008 at 12:59 AM, Noob Centos Admin
<[EMAIL PROTECTED]> wrote:
> I got a WD 1TB My Book with eSATA/USB/Firewire400 connectivity to backup
> data on a client Centos 5.1 machine.
>
> USB 2.0 works fine out of the box but is rather slow, Nautilus predicts
> about 1+ hour to fully backup just one day's worth of data or about 100GB.
>
> So I was hoping Firewire would be faster, which is why we got the version
> with all 3 interfaces to experiment with first.
>
> Following the suggestions given to another user here
> http://www.centos.org/modules/newbb/viewtopic.php?topic_id=15767&forum=37
>
> I updated the system's kernel to the CentoPlus
> [EMAIL PROTECTED] ~]$ uname -s -r
> Linux 2.6.18-92.1.10.el5

If that is the output, you are not running the centosplus kernel. It
is supposed to be:

Linux 2.6.18-92.1.10.el5.centos.plus

(See http://www.centos.org/modules/newbb/viewtopic.php?topic_id=15788&forum=37 )

Akemi (nick toracat)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Rudi Ahlers
On Sun, Aug 10, 2008 at 6:50 PM, Filipe Brandenburger
<[EMAIL PROTECTED]>wrote:

> 2008/8/9 Rudi Ahlers <[EMAIL PROTECTED]>:
> > It could be, but I don't know snmp at all. What do I need to change, if
> you
> > don't mind telling me?
>
> You can try creating a /etc/snmp/snmpd.conf file with only this line in it:
>
> rocommunity public 192.168.1.0/24
>
> If you want, change "public" to a (secret) community name you want,
> and change the IP range to the IP range you want to allow to query
> your server via SNMP. (Note that localhost is not included there, so
> include another line for 127.0.0.0/8 if you want queries from
> localhost.)
>
> This will expose the whole MIB to any host on that IP range using that
> community name, and it is a good starting point for your
> configuration.
>
> This should be enough to get you started. However, this is a very
> permissive configuration (although it doesn't allow writes which could
> be dangerous in terms of allowing other hosts to change settings on
> your host). It's OK for me, but it might not be considering your
> security policies. If you need something more restrictive than that,
> read the snmpd.conf manual page very carefully to establish what
> exactly you need.
>
> HTH,
> Filipe
> ___
>

Unfortunately this didn't work. Although I could see a whole lot of MIB's
now, Cacti still doesn't graph the network interface

The error I'm getting is :

*Data Query* [SNMP - Interface Statistics]  [image: Reload Associated
Query]
 This
data query returned 0 rows, perhaps there was a problem executing this data
query. You can run this data query in debug
modeto
get more information.


When I enable debug mode for the interface, this is all I get:

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at
'/var/www/html/graphs/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Found item [ifIndex='5'] index: 5 [from value]
+ Found item [ifIndex='6'] index: 6 [from value]
+ Found item [ifIndex='7'] index: 7 [from value]
+ Found item [ifIndex='8'] index: 8 [from value]
+ Found item [ifIndex='9'] index: 9 [from value]
+ Found item [ifIndex='10'] index: 10 [from value]
+ Found item [ifIndex='11'] index: 11 [from value]
+ Found item [ifIndex='15'] index: 15 [from value]
+ Found item [ifIndex='20'] index: 20 [from value]
+ Found item [ifIndex='21'] index: 21 [from value]
+ Found item [ifIndex='25'] index: 25 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Up'] index: 2 [from value]
+ Found item [ifOperStatus='Down'] index: 3 [from value]
+ Found item [ifOperStatus='Up'] index: 4 [from value]
+ Found item [ifOperStatus='Up'] index: 5 [from value]
+ Found item [ifOperStatus='Down'] index: 6 [from value]
+ Found item [ifOperStatus='Down'] index: 7 [from value]
+ Found item [ifOperStatus='Down'] index: 8 [from value]
+ Found item [ifOperStatus='Down'] index: 9 [from value]
+ Found item [ifOperStatus='Down'] index: 10 [from value]
+ Found item [ifOperStatus='Down'] index: 11 [from value]
+ Found item [ifOperStatus='Up'] index: 15 [from value]
+ Found item [ifOperStatus='Up'] index: 20 [from value]
+ Found item [ifOperStatus='Up'] index: 21 [from value]
+ Found item [ifOperStatus='Up'] index: 25 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='lo'] index: 1 [from value]
+ Found item [ifDescr='peth0'] index: 2 [from value]
+ Found item [ifDescr='sit0'] index: 3 [from value]
+ Found item [ifDescr='vif0.0'] index: 4 [from value]
+ Found item [ifDescr='eth0'] index: 5 [from value]
+ Found item [ifDescr='vif0.1'] index: 6 [from value]
+ Found item [ifDescr='veth1'] index: 7 [from value]
+ Found item [ifDescr='vif0.2'] index: 8 [from value]
+ Found item [ifDescr='veth2'] index: 9 [from value]
+ Found item [ifDescr='vif0.3'] index: 10 [from value]
+ Found item [ifDescr='veth3'] index: 11 [from value]
+ Found item [ifDescr='xenbr0'] index: 15 [from value]
+ Found item [ifDescr='vif8.0'] index: 20 [from value]
+ Found item [ifDescr='vif9.0'] index: 21 [from value]
+ Found item [ifDescr='vifzsas0'] index: 25 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Found item [ifName='lo'] index: 1 [from value]
+ Found 

[CentOS] Help setting up external drive via Firewire

2008-08-13 Thread Noob Centos Admin
I got a WD 1TB My Book with eSATA/USB/Firewire400 connectivity to backup
data on a client Centos 5.1 machine.

USB 2.0 works fine out of the box but is rather slow, Nautilus predicts
about 1+ hour to fully backup just one day's worth of data or about 100GB.

So I was hoping Firewire would be faster, which is why we got the version
with all 3 interfaces to experiment with first.

Following the suggestions given to another user here
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=15767&forum=37

I updated the system's kernel to the CentoPlus
[EMAIL PROTECTED] ~]$ uname -s -r
Linux 2.6.18-92.1.10.el5

After a reboot, everything appears to work as expected, with the
motherboard's TI Firewire controller detected
[EMAIL PROTECTED] ~]# lspci | grep 1394
04:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000
Controller (PHY/Link)

However, now I'm stuck as the system does not appear to detect the drive
when I connect the firewire cable and turn it on.
I've followed some of the suggestions to check the drive status like
"fdisk -l" but this only shows the drives already installed in the system
"tail -f /var/log/dmesg" shows no new messages when the drive is
connected/powered on

So I'm at a loss as to what else I should be doing to get Firewire to work
and will appreciate any help on this.

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


Re: Antw.: [CentOS] What is vibr0 Network interface and what is it used for

2008-08-13 Thread Lunix1618

Thanks

Bart Baars wrote:

It's an virtual brigde created by xen..

It's used by your xen DomainU's..

Cheers,

Bart

- Oorspronkelijk bericht -
Van: "Lunix1618" <[EMAIL PROTECTED]>
Aan: "CentOS mailing list" 
Verzonden: Woensdag 13 augustus 2008 06:54:59 GMT +01:00 Amsterdam / Berlijn / 
Bern / Rome / Stockholm / Wenen
Onderwerp: [CentOS] What is vibr0 Network interface and what is it used for

Hello,

I have see that my machine have an interface that named virbr0. I have 
no idea what is it and what it using for ? I am not configured any IP 
address for it but I see it had an IP address and see it listed in 
firewall config.
Can anyone give me an explanation about this or point me to a document 
that describe it ?


My machine running CentOS 5.2 and do not have internet connection from 
the installation time.


Thanks,


virbr0Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
  inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0

  inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 b)  TX bytes:9143 (8.9 KiB)

___
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


Antw.: [CentOS] What is vibr0 Network interface and what is it used for

2008-08-13 Thread Bart Baars
It's an virtual brigde created by xen..

It's used by your xen DomainU's..

Cheers,

Bart

- Oorspronkelijk bericht -
Van: "Lunix1618" <[EMAIL PROTECTED]>
Aan: "CentOS mailing list" 
Verzonden: Woensdag 13 augustus 2008 06:54:59 GMT +01:00 Amsterdam / Berlijn / 
Bern / Rome / Stockholm / Wenen
Onderwerp: [CentOS] What is vibr0 Network interface and what is it used for

Hello,

I have see that my machine have an interface that named virbr0. I have 
no idea what is it and what it using for ? I am not configured any IP 
address for it but I see it had an IP address and see it listed in 
firewall config.
Can anyone give me an explanation about this or point me to a document 
that describe it ?

My machine running CentOS 5.2 and do not have internet connection from 
the installation time.

Thanks,


virbr0Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
  inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
  inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 b)  TX bytes:9143 (8.9 KiB)

___
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