Re: [CentOS] Security help desperately needed - more info

2008-02-08 Thread Anne Wilson
On Thursday 07 February 2008 21:30, mouss wrote:
> do an
> # iptables-save > somefile
>
> edit somefile and put the following 4 lines "somewhere" (before the
> lines that reject everything)
>
> -A RH-Firewall-1-INPUT -p udp -m udp -s 192.168.0.0/24 --dport 137 -j
> ACCEPT -A RH-Firewall-1-INPUT -p udp -m udp -s 192.168.0.0/24 --dport 138
> -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp -s
> 192.168.0.0/24 --dport 139 -j ACCEPT
> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp -s
> 192.168.0.0/24 --dport 445 -j ACCEPT
>
> adjust the IP sources (the -s 192.168.0.0/24) as you need. I am assuming
> that you have a rule like this:
> -A  RH-Firewall-1-INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
>
>
> then> -A RH-Firewall-1-INPUT -p udp -m udp -s 192.168.0.0/24 --dport 137 -j
> ACCEPT -A RH-Firewall-1-INPUT -p udp -m udp -s 192.168.0.0/24 --dport 138
> # iptables-restore < somefile
>
> if you're happy with that, then
> # iptables-save > /etc/sysconfig/iptables
> so that this survives a reboot.

Thanks for the reply, mouss.  First, a few questions if you don't mind  - it's 
important to me to understand what's going on :-)

If I use system-config-securitylevels with samba enabled I get the following 
two lines

-A RH-Firewall-1-INPUT -p udp -m state --state NEW -m udp --dport 137 -j 
ACCEPT 
-A RH-Firewall-1-INPUT -p udp -m state --state NEW -m udp --dport 138 -j 
ACCEPT

while you advocate

> -A RH-Firewall-1-INPUT -p udp -m udp -s 192.168.0.0/24 --dport 137 -j
> ACCEPT -A RH-Firewall-1-INPUT -p udp -m udp -s 192.168.0.0/24 --dport 138

Since these two ports are labelled NETBIOS ports, I assume they are the ones 
used for samba.  Does the system-config-securitylevels setting mean that they 
are accepted providing they match the state already defined above?  And does 
yours tie it down to a more secure version, udp only?

I specifically have opened port 143, as I was unable to read my mail without 
it.  IIUC your version will tell iptables to accept anything from the LAN.   
Is that right?  If so, I guess that specific port-opening can be removed.

When I need an imap connection from outside the lan, the router port-forwards 
it.  Is that then seen as a lan connection?

Thanks for your patience.

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


[CentOS] Whereis yum-rhn-plugin package?

2008-02-08 Thread carlopmart

Hi all,

 I need to setup a repo server to allocate updates for RHEL3, RHEL4, RHEL5 and 
CentOS5. Apart of mrrepo tool, I see that I can use reposync from yum-utils 
package and yum-rhn-plugin package to setup a mirror update server. But I can't 
to find yum-rhn-plugin under centos5 repo. Where is it?? Or I need to use 
package released from upstream vendor??



Thanks
--
CL Martinez
carlopmart {at} gmail {d0t} com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Integrate driver disk to CentOs 5.1 DVD?

2008-02-08 Thread Sebastian Marten

Hi,
I have a new mainboard with a Realtek RTL8111B / RTL8168B NIC.
In 5.1 are no driver integrated for this nic, but there is driver disk:
http://wiki.centos.org/HardwareList/RealTekRTL8111b
and
http://wiki.centos.org/HardwareList/RealTekRTL8111b?action=AttachFile&do=get&target=r8168-2.6.18-53.el5-i686-x86_64.img.zip

Can I integrate this driver do the CentOS 5.1 ISO or can i use this 
driver from a USB Stick during the install?



regards,
Sebastian



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


RE: [CentOS] Installation problems with large mirrored drives (SU CCESS!)

2008-02-08 Thread Bowie Bailey
Bowie Bailey wrote:
> I am trying to install CentOS 4.6 to a pair of 750GB hard drives.  I
> can successfully install to either of the drives as a single drive,
> but when I try to use both drives and mirror the partitions, I start
> having problems.  Anaconda crashes as it is trying to format the
> drives. 
> 
> This is what I'm trying to create:
> 
> /dev/md0: 200MB, /boot
> /dev/md1: 2GB, swap
> /dev/md2: rest of the drive, LVM PV
> 
> LogVol00: 10GB, /
> LogVol01: rest of the VG, /home

Thanks for all the suggestions!  I tried a few of them.  They didn't
solve the problem, but they did help me find it.

When I tried to run the install without LVM, I still got the same
anaconda crash (referencing vgremove).  I realized that anaconda was
trying to remove the volume groups that already existed on the drives.
Once I erased all of the partition information on the drives with fdisk,
I was able to do a normal install with LVM.

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


Re: [CentOS] Reg. Kernel switching

2008-02-08 Thread nate
Padmaja wrote:
> Can you please provide the instructions/ commands to re install the original
> kernel. Also please let me know if anything went wrong with this
> re-installation of 2.6.9-42 kernel, will it affect the other kernel from
> working or I can still continue to use the 2.6.9.34 kernel?

find the original RPM for the kernel you want and run

rpm -Uvh 

if it fails saying it's already installed run:

rpm -Uvh --force 

if it fails saying something newer is already installed run:

rpm -Uvh --oldpackage 

The installation of 2.6.9-42 will likely remove the 2.6.9-34 kernel,
I *think* you can get around that by using rpm -iv instead of -Uvh,
that should install the new kernel along side the old. But you should
keep a backup of the other kernel just in case(or track down the
original RPM for that as well).

nate

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


[CentOS] VDR on CentOS?

2008-02-08 Thread Christian Volker
Yohoo!

Is there a repository for CentOS5 with VDR?

On http://www.cadsoft.de/vdr/ I only find the sources, but no rpms.

Thanks!

Christian Volker

Technical Support Engineer
-- 
Parnell House, Barrack Square, Ballincollig, Co. Cork, Ireland


 

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


Re: [CentOS] automatically select a virtual console

2008-02-08 Thread Ray Van Dolson
On Fri, Feb 08, 2008 at 11:37:24AM -0500, Jerry Geis wrote:
> Is there a way in a shell script to switch virtual consoles?
> I want to switch to virtual console 3 using a command line .
> How do I do that?

chvt

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


[CentOS] Centos 5 on i586

2008-02-08 Thread Matias Surdi

Is possible to install Centos 5 on a 586 CPU? (cpu_type = 5)

Thanks a lot.

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


[CentOS] kickstart install NVIDIA binary driver

2008-02-08 Thread Jerry Geis

Hi all,

I am wanting to add to my working kickstart post section
grabbing the NVIDIA binary and installing it.

I can grab the file thats not the problem. I can use the
--x-module-path to pass to the binary installer...

however, How do I get the correct module path, kernels are
added the the yum update, and a new one comes along and
wish to account for that. What is the correct way to know
which path to provide to the installer.

Process is in kickstart post:
yum -u update
copy NVIDIA binary
init 3
install the NVIDIA binary with either the current kernel module path
or if yum update grabbed a new kernel then use that module path..

Also is there anyway in the post section to do do a "CTRL+ALT+F3"

Thanks,

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


Re: [CentOS] Changing ext3 Partition Size

2008-02-08 Thread Barry Brimer
Quoting Scott Moseman <[EMAIL PROTECTED]>:

> I have an ext3 partition from our SAN.  The size was increased.
> I am attempting to re-size this specific ext3 partition, obviously.
>
> I unmount the partition, run fdisk, change the cyls, and save...
>
> WARNING: Re-reading the partition table failed with error 22: Invalid
> argument.
> The kernel still uses the old table.
> The new table will be used at the next reboot.
>
> And that is the message that I receive after I attempt the save.
> I did attempt a reboot to see if it did anything, but it did not help.

What version of CentOS?

If you have already resized the partition, you then need to extend the
filesystem.

For CentOS 4, use ext2online, for CentOS 5, use resize2fs.

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


Re: [CentOS] Centos 5 on i586

2008-02-08 Thread Ray Van Dolson
On Fri, Feb 08, 2008 at 05:47:58PM +0100, Matias Surdi wrote:
> Is possible to install Centos 5 on a 586 CPU? (cpu_type = 5)
>

No.  I think there was some interest in making this happen at some
point:

  http://wiki.centos.org/QaWiki/CentOS5PentiumSupport

However I'm not sure that it will end up happening:

  http://bugs.centos.org/view.php?id=1836

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


Re: [CentOS] New Adobe Reader works on CentOS-4.x, speech synthesis reader & more.

2008-02-08 Thread William L. Maltby
On Mon, 2008-01-14 at 15:21 -0500, William L. Maltby wrote:
> On Mon, 2008-01-14 at 14:32 -0500, William L. Maltby wrote:
> > Just and FYI.
> > 
> > In RPM form, works on 4.x and I will try on 5.x too. Speech is tacky,
> > but if I can get something but the Gnome Festival synthesizer, maybe it
> > will improve?
> > 
> > http://www.adobe.com/products/acrobat/readstep2.html?promoid=BONRM
> > 
> 
> Works on CentOS-5.x too. I suspect updates will soon follow as the
> speech reader tends to drop the last words of what it is reading. E.g,
> for a paragraph, leaves off the last line or so of a "9 line" paragraph.
> 

Well, the 8* version doesn't seem to want to print using standard
established CUPS etc. Info obtained via Google seems to indicate that
many have this problem and it is internal to the 8* version. Presented
solutions seem cumbersome and not worthwhile, IMO. And many didn't work
anyway!

I've regressed to the "standard issue" 7* version and printing works
again as expected.

FYI

-- 
Bill

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


Re: [CentOS] Changing ext3 Partition Size

2008-02-08 Thread William L. Maltby
On Fri, 2008-02-08 at 10:17 -0600, Scott Moseman wrote:
> I have an ext3 partition from our SAN.  The size was increased.
> I am attempting to re-size this specific ext3 partition, obviously.
> 
> I unmount the partition, run fdisk, change the cyls, and save...
> 
> WARNING: Re-reading the partition table failed with error 22: Invalid 
> argument.
> The kernel still uses the old table.
> The new table will be used at the next reboot.
> 
> And that is the message that I receive after I attempt the save.
> I did attempt a reboot to see if it did anything, but it did not help.

Other partitions on the (apparent) device in use? If so, you need to
umount them and then (I use) sfdisk -R . If the fdisk
changes were written to the device, this should reload the kernel's view
of that device.

BTW, *before* shrinking the partition, be sure the (live?) file system
has been shrunk (if shrinking). If enlarging, do the resize2fs *after*
the kernel knows about the new size.

Other: if LVM is active on that partition or device, it also needs to be
inactive ATT the fdisk/sfdisk is done. This means that LVM meta-data for
the partition may be incorrect after changes have bee done.

> 
> Thanks,
> Scott
> 

I *think* I got all that right.

HTH
-- 
Bill

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


Re: [CentOS] Integrate driver disk to CentOs 5.1 DVD?

2008-02-08 Thread Jordi Molina
Hi Sebastian,

you may create a driver CD with the tools provided by:
http://dup.et.redhat.com/ddiskit/

then burn the iso generated to a cd, and start the installation of
centos with "linux dd", then follow instructions.



regards

On Feb 8, 2008 12:29 PM, Sebastian Marten <[EMAIL PROTECTED]> wrote:
> Hi,
> I have a new mainboard with a Realtek RTL8111B / RTL8168B NIC.
> In 5.1 are no driver integrated for this nic, but there is driver disk:
> http://wiki.centos.org/HardwareList/RealTekRTL8111b
> and
> http://wiki.centos.org/HardwareList/RealTekRTL8111b?action=AttachFile&do=get&target=r8168-2.6.18-53.el5-i686-x86_64.img.zip
>
> Can I integrate this driver do the CentOS 5.1 ISO or can i use this
> driver from a USB Stick during the install?
>
>
> regards,
> Sebastian
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>



-- 
Jordi Molina Casas (warp3r)
mail: [EMAIL PROTECTED] 4BC8 8150 7B1A FC24 FBAD  7B07 FE90 F300 4F36 3BF7
mail: [EMAIL PROTECTED] 2F91 EF95 229E FC31 18C0  05C3 B320 22DA 8C03 F33E
www: www.warp3r.com
openid: https://openid.warp3r.com/?user=warp3r
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nautilus quit

2008-02-08 Thread Frank Cox
On Fri, 08 Feb 2008 07:01:01 -0800 (PST)
nate <[EMAIL PROTECTED]> wrote:

> Have him log out and log back in again? Check for errors in the
> user's ~/.xsession-errors to try to determine why it might of crashed.

I tried that, and then I told him to reboot the whole computer but neither
action changed anything.

I then suggested that he try opening a terminal window and typing "nautilus".

He replied and said that it's working now.

Weird.  I hope whatever it was stays fixed.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Java not seeing timezone/tomcat displaying times in GMT

2008-02-08 Thread Jeff Larsen
On Feb 7, 2008 9:12 PM, Isaac Gonzalez <[EMAIL PROTECTED]> wrote:
> Any ideas how to force tomcat to display directory listing in local time
> zone format of my cent box instead of GMT.
>
>
> I tried all suggestions here:
> http://marvinlee.wordpress.com/2008/02/01/java-timezone-setting-in-cento
> s-for-asiakuala_lumpur/
>
> except I use PST8PDT for the timezonei believe I'm using this as my
> timezone as this is what appears in /etc/localtime file. When using date
> command it displays in correct format from bash prompt.

I don't know exactly what PST8PDT is, but Java prefers the full names
for time zones like US/Central or US/Pacific

Have you tried something like -Duser.timezone=US/Pacific on the java
command line that launches tomcat. You can add that to JAVA_OPTS in
$CATALINA_HOME/bin/setenv.sh

Is your tzdata package in CentOS up to date?

Then again, I haven't done much with directory listings in Tomcat, so
there may be a different issue at work here. Can you create a simple
JSP page that writes java.util.TimeZone.getDefault().toString() and
see what you get?

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


[CentOS] automatically select a virtual console

2008-02-08 Thread Jerry Geis

Is there a way in a shell script to switch virtual consoles?
I want to switch to virtual console 3 using a command line .
How do I do that?

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


[CentOS] CentOs 5.1 Vmware Workstation Ace Edition - Problem With Atheros AR5006EG

2008-02-08 Thread Masters IT Gmail
Sorry to bother I am working with CentOs 5.1 Final running in a virtual
machine using Vmware Workstation Ace edition. I want to know if someone
knows how to configure and if it is possible to enable my wifi card Atheros
AR5006EG in a virtual machine.

 

Thanks in advance.

 

 

George from Uruguay.

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


Re: [CentOS] Reg. Kernel switching

2008-02-08 Thread Garrick Staples
On Fri, Feb 08, 2008 at 06:59:36AM -0800, nate alleged:
> Padmaja wrote:
> > Can you please provide the instructions/ commands to re install the original
> > kernel. Also please let me know if anything went wrong with this
> > re-installation of 2.6.9-42 kernel, will it affect the other kernel from
> > working or I can still continue to use the 2.6.9.34 kernel?
> 
> find the original RPM for the kernel you want and run
> 
> rpm -Uvh 
> 
> if it fails saying it's already installed run:
> 
> rpm -Uvh --force 
> 
> if it fails saying something newer is already installed run:
> 
> rpm -Uvh --oldpackage 
> 
> The installation of 2.6.9-42 will likely remove the 2.6.9-34 kernel,
> I *think* you can get around that by using rpm -iv instead of -Uvh,
> that should install the new kernel along side the old. But you should
> keep a backup of the other kernel just in case(or track down the
> original RPM for that as well).

No.  Don't *upgrade* kernels, and use yum.

Get the full package name
# rpm -qa | grep kernel

Remove the one you want
# rpm -e 

Update your system
# yum update



pgpbnxyoCdssw.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Disk partitions and LVM limits

2008-02-08 Thread Peter Blajev
Hi,

I've got a DAS DELL MD1000 with a bunch of SATA drives in RAID 5 configuration 
with total space of 5.4TB. This box is attached to a CentOS5 system (kernel 
2.6.18-53.1.6.el5).

Any idea how to make this space usable?
Is there a limit how big a partition can be? What is the work around?
Is there a limit how big a file system ca be?

I've tried to partition it but no matter how bug partition I create fdisk 
spits out these messages on the console:
---
sdb: very big device. try to use READ CAPACITY(16).
SCSI device sdb: 10248519680 512-byte hdwr sectors (5247242 MB)
sdb: Write Protect is off
---

I decided to not partition the drive and use LVM but the physical volume 
stopped at 2TB.

So, right now I can't use LVM because of this 2TB limit and I'm not sure if I 
partition the drive how good these partitions are because of the the message 
from fdisk.

Any help or idea is highly appreciated.

Thank you
Peter



-- 
Peter Blajev
Systems Administrator
Computer Science and Engineering Department
University of California, San Diego
Office: EBU3B 1214
Phone: (858) 534-2532
E-mail: [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Disk partitions and LVM limits

2008-02-08 Thread Ross S. W. Walker
Peter Blajev wrote:
> 
> Hi,
> 
> I've got a DAS DELL MD1000 with a bunch of SATA drives in 
> RAID 5 configuration 
> with total space of 5.4TB. This box is attached to a CentOS5 
> system (kernel 
> 2.6.18-53.1.6.el5).
> 
> Any idea how to make this space usable?
> Is there a limit how big a partition can be? What is the work around?
> Is there a limit how big a file system ca be?
> 
> I've tried to partition it but no matter how bug partition I 
> create fdisk 
> spits out these messages on the console:
> ---
> sdb: very big device. try to use READ CAPACITY(16).
> SCSI device sdb: 10248519680 512-byte hdwr sectors (5247242 MB)
> sdb: Write Protect is off
> ---
> 
> I decided to not partition the drive and use LVM but the 
> physical volume 
> stopped at 2TB.
> 
> So, right now I can't use LVM because of this 2TB limit and 
> I'm not sure if I 
> partition the drive how good these partitions are because of 
> the the message 
> from fdisk.
> 
> Any help or idea is highly appreciated.

Undo the LVM config, wipe out any MBR or disklabels on the drive,
then pvcreate the raw disk (/dev/sdb) it should be able to handle
the whole 5.4TB.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] Reg. PPPoE server installation

2008-02-08 Thread Garrick Staples
On Fri, Feb 08, 2008 at 12:46:29PM +0530, Padmaja alleged:
> Hi all,
> 
> I am trying to install the PPPoe server rp-pppoe-3.8 from Roaring penguin on 
> centos PC (Centos 4.3, Kernel release 2.6.9-34.EL) but not able to start it. 
> When I start it it gives the error--

Centos 4.3?  You are quite out of date.

Centos 4.6 has rp-pppoe-3.5, not rp-pppoe-3.8.  The Centos doesn't have the
files that you indicate below.  So your support route is going to be with
Roaring Penguin, not with Centos.

 
> /etc/rc.d/init.d/pppoe status
> pppoe-status: Link is down (can't read pppd PID file 
> /var/run/pppoe.conf-pppoe.pid.pppd)
> ror -
> 
> /etc/rc.d/init.d/pppoe start
> Bringing up PPPoE linkTIMED OUT
> /usr/sbin/pppoe-start: line 191:  4703 Terminated  $CONNECT "$@" 
> >/dev/null 2>&1
>[FAILED]
> 
> Please let me know how to fix this.

You are trying to start the pppoe server or client?  Those commands look like
client stuff.  If you want to connect to the Internet through pppoe DSL, then
first run adsl-setup.



pgpVjs1NeKjbC.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using nfs in kickstart post section

2008-02-08 Thread Joshua Baker-LePain

On Fri, 8 Feb 2008 at 3:11pm, Jerry Geis wrote


I am trying to mount an nfs drive in the post kickstart section.
I am getting an error on "service nfs start" about cannot register service 
RPC


What do I need to start first?


http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/RHEL510/Installation_Guide/s2-kickstart2-post-examples.html

--
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using nfs in kickstart post section

2008-02-08 Thread Garrick Staples
On Fri, Feb 08, 2008 at 03:11:48PM -0500, Jerry Geis alleged:
> I am trying to mount an nfs drive in the post kickstart section.
> I am getting an error on "service nfs start" about cannot register 
> service RPC
> 
> What do I need to start first?

ifup lo
service portmap start
mkdir /path
mount server:/path /path

And you don't want 'service nfs start', that is for exporting filesystems
(starting the "nfs server", if you prefer).



pgpydKXn9yBWx.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] using nfs in kickstart post section

2008-02-08 Thread Jerry Geis

I am trying to mount an nfs drive in the post kickstart section.
I am getting an error on "service nfs start" about cannot register 
service RPC


What do I need to start first?

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


Re: [CentOS] Reg. Kernel switching

2008-02-08 Thread nate
Garrick Staples wrote:

> No.  Don't *upgrade* kernels, and use yum.
>
> Get the full package name
> # rpm -qa | grep kernel
>
> Remove the one you want
> # rpm -e 
>
> Update your system
> # yum update
>

yeah sorry :) I don't use yum on my main systems, everything
is through cfengine or manual. Haven't found a good way to
use yum in my environments.

nate

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


Re: [CentOS] kickstart install NVIDIA binary driver

2008-02-08 Thread Garrick Staples
On Fri, Feb 08, 2008 at 11:12:16AM -0500, Jerry Geis alleged:
> Hi all,
> 
> I am wanting to add to my working kickstart post section
> grabbing the NVIDIA binary and installing it.
> 
> I can grab the file thats not the problem. I can use the
> --x-module-path to pass to the binary installer...
> 
> however, How do I get the correct module path, kernels are
> added the the yum update, and a new one comes along and
> wish to account for that. What is the correct way to know
> which path to provide to the installer.
> 
> Process is in kickstart post:
> yum -u update
> copy NVIDIA binary
> init 3
> install the NVIDIA binary with either the current kernel module path
> or if yum update grabbed a new kernel then use that module path..

I wouldn't do this in %post, I'd write a script that did this at boot.  That
way, you don't have to worry about future kernel updates.


> Also is there anyway in the post section to do do a "CTRL+ALT+F3"

chvt 3



pgp25PfVHOxZc.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel compiling troubles (ABI checking)

2008-02-08 Thread Ray Leventhal

ArcosCom Linux User wrote:

Hi, I'm having a problem compiling the kernel as a normal user (don't know
if not being root is the problem or not).

What is ABI? I can compile with the flag --without kabichk, but I don't
know if really is that the solution or not.
  
Application Binary Interface...I'm definitely no expert, but from what I 
just read (googled) it has to do with binary compatibility.


HTH,
-Ray


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


Re: [CentOS] Centos 5 on i586

2008-02-08 Thread MHR
On Feb 8, 2008 9:02 AM, Ray Van Dolson <[EMAIL PROTECTED]> wrote:
>
> On Fri, Feb 08, 2008 at 05:47:58PM +0100, Matias Surdi wrote:
> > Is possible to install Centos 5 on a 586 CPU? (cpu_type = 5)
> >
>
> No.  I think there was some interest in making this happen at some
> point:
>
>  http://wiki.centos.org/QaWiki/CentOS5PentiumSupport
>
> However I'm not sure that it will end up happening:
>
>  http://bugs.centos.org/view.php?id=1836
>

Pardon me, but you CAN install CentOS 5.1 on any x86 CPU.  If your CPU
is a valid 64-bit CPU, you can install either the i386 version
(32-bit) or the x86_64 version.  You may not get full support of
specific CPU instructions that are available ONLY on your particular
CPU, but the right one will run.

I had 586 CPUs on two different machines at work way back when 5.0
came out, and the x86_64 installation ran just fine on both.

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


Re: [CentOS] CentOs 5.1 Vmware Workstation Ace Edition - Problem With Atheros AR5006EG

2008-02-08 Thread nate
Masters IT Gmail wrote:
> Sorry to bother I am working with CentOs 5.1 Final running in a virtual
> machine using Vmware Workstation Ace edition. I want to know if someone
> knows how to configure and if it is possible to enable my wifi card Atheros
> AR5006EG in a virtual machine.

You should be able to run a NAT'd virtual network adapter pointed at
your atheros wifi card. The VM won't see it as a wifi card but rather
a normal network card. Last I checked you couldn't run a bridged
virtual network card against a wireless card due to some missing
functionality in many wireless card drivers.

You'll need to make sure that the wifi card on the host is configured,
connected and has an IP address in order for the guest VM to work with
it.

nate

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


Re: [CentOS] nautilus quit

2008-02-08 Thread Frank Cox
On Fri, 08 Feb 2008 12:59:47 -0800
MHR <[EMAIL PROTECTED]> wrote:

> Have him check the permissions on the gnome executables and libraries.

I have a VNC desktop on that machine and nautilus never stopped working for me.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Whereis yum-rhn-plugin package?

2008-02-08 Thread Garrick Staples
On Fri, Feb 08, 2008 at 11:11:20AM +0100, carlopmart alleged:
> Hi all,
> 
>  I need to setup a repo server to allocate updates for RHEL3, RHEL4, RHEL5 
>  and CentOS5. Apart of mrrepo tool, I see that I can use reposync from 
> yum-utils package and yum-rhn-plugin package to setup a mirror update 
> server. But I can't to find yum-rhn-plugin under centos5 repo. Where is 
> it?? Or I need to use package released from upstream vendor??

According to 'yum list \*rhn\*', there are no rhn bits in Centos5.  Centos4 has
rhn-applet and rhnlib.



pgphQvxElZVLT.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Disk partitions and LVM limits

2008-02-08 Thread Peter Blajev
> Undo the LVM config, wipe out any MBR or disklabels on the drive,
> then pvcreate the raw disk (/dev/sdb) it should be able to handle
> the whole 5.4TB.

I tried this but I'll try again tonight just in case I missed something the 
first time.

I didn't check what pvcreate did but vgcreate after that gave me 2TB volume 
group. Googling around it looks like there is 2TB limit and there should be 
some kernel parameters to tweak but I still can't get a clear answer.

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


Re: [CentOS] Centos 5 on i586

2008-02-08 Thread Garrick Staples
On Fri, Feb 08, 2008 at 12:40:55PM -0800, MHR alleged:
> On Feb 8, 2008 9:02 AM, Ray Van Dolson <[EMAIL PROTECTED]> wrote:
> >
> > On Fri, Feb 08, 2008 at 05:47:58PM +0100, Matias Surdi wrote:
> > > Is possible to install Centos 5 on a 586 CPU? (cpu_type = 5)
> > >
> >
> > No.  I think there was some interest in making this happen at some
> > point:
> >
> >  http://wiki.centos.org/QaWiki/CentOS5PentiumSupport
> >
> > However I'm not sure that it will end up happening:
> >
> >  http://bugs.centos.org/view.php?id=1836
> >
> 
> Pardon me, but you CAN install CentOS 5.1 on any x86 CPU.  If your CPU
> is a valid 64-bit CPU, you can install either the i386 version
> (32-bit) or the x86_64 version.  You may not get full support of
> specific CPU instructions that are available ONLY on your particular
> CPU, but the right one will run.
> 
> I had 586 CPUs on two different machines at work way back when 5.0
> came out, and the x86_64 installation ran just fine on both.

There is no such thing as a 64bit i586 CPU.

With regards to Intel CPUs, the original Pentiums are i586.  Everything after
that (PentiumPro, PentiumII, III, and IV) is i686.  Earlier PentiumIV are 32bit
only, later chips added the 64bit instructions and registers.

The CPUs are backwards compatible with older software.



pgpfV8CLKFbtJ.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5 on i586

2008-02-08 Thread MHR
On Feb 8, 2008 1:19 PM, Ralph Angenendt <[EMAIL PROTECTED]> wrote:
>
> I don't think so. i586 (ViA C5/6, AMD K-III) won't even run an i686
> kernel - and definitely no 64bit kernel.
>

Correct - my mistake (see?  I do that...).

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


Re: [CentOS] Centos 5 on i586

2008-02-08 Thread Ralph Angenendt
MHR wrote:
> I had 586 CPUs on two different machines at work way back when 5.0
> came out, and the x86_64 installation ran just fine on both.

I don't think so. i586 (ViA C5/6, AMD K-III) won't even run an i686
kernel - and definitely no 64bit kernel.

Ralph


pgp8rNJ0s3abR.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nautilus quit

2008-02-08 Thread MHR
On Feb 8, 2008 10:30 AM, Frank Cox <[EMAIL PROTECTED]> wrote:
> On Fri, 08 Feb 2008 07:01:01 -0800 (PST)
> nate <[EMAIL PROTECTED]> wrote:
>
> > Have him log out and log back in again? Check for errors in the
> > user's ~/.xsession-errors to try to determine why it might of crashed.
>
> I tried that, and then I told him to reboot the whole computer but neither
> action changed anything.
>
> I then suggested that he try opening a terminal window and typing "nautilus".
>
> He replied and said that it's working now.
>
> Weird.  I hope whatever it was stays fixed.
>

Have him check the permissions on the gnome executables and libraries.

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


Re: [CentOS] Centos 5 on i586

2008-02-08 Thread MHR
On Feb 8, 2008 1:49 PM, Mark A. Lewis <[EMAIL PROTECTED]> wrote:
>
> So, what is a "valid" 64bit CPU? I have a DEC Alpha in the basement that
> is most certainly 64 bit, but can't install the i386 or x86_64 version
> on it. How about Sparc or HP-UX boxes? Are they valid 64 bit CPUs?
>

Grrr - we were discussing x86 CPUs.  Alphas, SPARCs, Itaniums and HP
PA-RISC are NOT x86.

Can we try to keep our discussions in context?

(heavy sigh, nanoo, nanoo)

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


Re: [CentOS] kickstart install NVIDIA binary driver

2008-02-08 Thread nate
Jerry Geis wrote:

> however, How do I get the correct module path, kernels are
> added the the yum update, and a new one comes along and
> wish to account for that. What is the correct way to know
> which path to provide to the installer.

I'd suggest installing a copy of the driver on a test system,
build a list of files that the installer creates, then copying
those files in kickstart, or package it as a custom RPM(or
find an existing RPM). When a new kernel comes out, compile the
driver on a test system, and push the driver out with the new
kernel when you install the new kernel on your system(s). I
do this for a few things such as drivers for VMWare when a new
kernel comes out and updated qlogic drivers as well for my
HBAs.

nate

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


[CentOS] Changing ext3 Partition Size

2008-02-08 Thread Scott Moseman
I have an ext3 partition from our SAN.  The size was increased.
I am attempting to re-size this specific ext3 partition, obviously.

I unmount the partition, run fdisk, change the cyls, and save...

WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.

And that is the message that I receive after I attempt the save.
I did attempt a reboot to see if it did anything, but it did not help.

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


Re: [CentOS] Centos 5 on i586

2008-02-08 Thread John R Pierce

Mark A. Lewis wrote:

So, what is a "valid" 64bit CPU? I have a DEC Alpha in the basement that
is most certainly 64 bit, but can't install the i386 or x86_64 version
on it. How about Sparc or HP-UX boxes? Are they valid 64 bit CPUs?
  


I suspect he meant specifically x86_64...  sure, there's lots of 64 bit 
processors that aren't x86 based, including Intel Itanium (ia64), DEC 
Alpha/AXP, Sun UltraSparc, HP PA-RISC, IBM Power4/5/6 and PowerPC, etc etc.


There /are/ linux builds for most (all?) of these, but not RHEL/CentOS 
distributions.

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


RE: [CentOS] CentOs 5.1 Vmware Workstation Ace Edition - Problem With Atheros AR5006EG

2008-02-08 Thread Masters IT Gmail
Thanks for the response, it really help me out! In case that I install
centos 5.1 in my laptop, not in the virtual machine, you think that with
this wifi card I could use it easily or I would need to use ndiswrapper or
madwifi I am asking this because im new to linux world and I am going to
make a big step leaving behind my windows box.

Thanks to all!

George from Uruguay.

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
de nate
Enviado el: Viernes, 08 de Febrero de 2008 05:49 p.m.
Para: centos@centos.org
Asunto: Re: [CentOS] CentOs 5.1 Vmware Workstation Ace Edition - Problem
With Atheros AR5006EG

Masters IT Gmail wrote:
> Sorry to bother I am working with CentOs 5.1 Final running in a virtual
> machine using Vmware Workstation Ace edition. I want to know if someone
> knows how to configure and if it is possible to enable my wifi card
Atheros
> AR5006EG in a virtual machine.

You should be able to run a NAT'd virtual network adapter pointed at
your atheros wifi card. The VM won't see it as a wifi card but rather
a normal network card. Last I checked you couldn't run a bridged
virtual network card against a wireless card due to some missing
functionality in many wireless card drivers.

You'll need to make sure that the wifi card on the host is configured,
connected and has an IP address in order for the guest VM to work with
it.

nate

___
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] automatically select a virtual console

2008-02-08 Thread fred smith
On Fri, Feb 08, 2008 at 08:42:03AM -0800, Ray Van Dolson wrote:
> On Fri, Feb 08, 2008 at 11:37:24AM -0500, Jerry Geis wrote:
> > Is there a way in a shell script to switch virtual consoles?
> > I want to switch to virtual console 3 using a command line .
> > How do I do that?
> 
> chvt
> 
> Ray

There's also "switchto" which appears to do pretty much the same thing,
as far as I can tell from reading the man page.
-- 
 Fred Smith -- [EMAIL PROTECTED] -
   I can do all things through Christ 
  who strengthens me.
-- Philippians 4:13 ---


pgpELGG0LtVOU.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Centos 5 on i586

2008-02-08 Thread Mark A. Lewis

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Garrick Staples
Sent: Friday, February 08, 2008 4:32 PM
To: CentOS mailing list
Subject: Re: [CentOS] Centos 5 on i586

On Fri, Feb 08, 2008 at 12:40:55PM -0800, MHR alleged:
> On Feb 8, 2008 9:02 AM, Ray Van Dolson <[EMAIL PROTECTED]> wrote:
> >
> > On Fri, Feb 08, 2008 at 05:47:58PM +0100, Matias Surdi wrote:
> > > Is possible to install Centos 5 on a 586 CPU? (cpu_type = 5)
> > >
> >
> > No.  I think there was some interest in making this happen at some
> > point:
> >
> >  http://wiki.centos.org/QaWiki/CentOS5PentiumSupport
> >
> > However I'm not sure that it will end up happening:
> >
> >  http://bugs.centos.org/view.php?id=1836
> >
> 
> Pardon me, but you CAN install CentOS 5.1 on any x86 CPU.  If your CPU

> is a valid 64-bit CPU, you can install either the i386 version
> (32-bit) or the x86_64 version.  You may not get full support of 
> specific CPU instructions that are available ONLY on your particular 
> CPU, but the right one will run.
> 
> I had 586 CPUs on two different machines at work way back when 5.0 
> came out, and the x86_64 installation ran just fine on both.

>There is no such thing as a 64bit i586 CPU.
>
>With regards to Intel CPUs, the original Pentiums are i586.  Everything
after that (PentiumPro, PentiumII, III, and IV) is i686.  Earlier
PentiumIV are >32bit only, later chips added the 64bit instructions and
registers.
>
>The CPUs are backwards compatible with older software.

So, what is a "valid" 64bit CPU? I have a DEC Alpha in the basement that
is most certainly 64 bit, but can't install the i386 or x86_64 version
on it. How about Sparc or HP-UX boxes? Are they valid 64 bit CPUs?

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


RE: [CentOS] Disk partitions and LVM limits

2008-02-08 Thread Ross S. W. Walker
Peter Blajev wrote:
> 
> > Undo the LVM config, wipe out any MBR or disklabels on the drive,
> > then pvcreate the raw disk (/dev/sdb) it should be able to handle
> > the whole 5.4TB.
> 
> I tried this but I'll try again tonight just in case I missed 
> something the 
> first time.
> 
> I didn't check what pvcreate did but vgcreate after that gave 
> me 2TB volume 
> group. Googling around it looks like there is 2TB limit and 
> there should be 
> some kernel parameters to tweak but I still can't get a clear answer.

I believe there is a 2TB limit on fdisk MBR partition tables, and if
one already exists on the disk then LVM will use it.

Do,

pvremove /dev/sdX

dd if=/dev/zero of=/dev/sdX bs=512 count=63

pvcreate /dev/sdX

Do a 'pvs' to list the pv and see it's size there.

When creating a vg there may be a limit on the total # of extents per
vg, so you may have to increase the extent size from 4MB to 8 or 16.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] nautilus quit

2008-02-08 Thread nate
Frank Cox wrote:

> So... how can I fix that?

Have him log out and log back in again? Check for errors in the
user's ~/.xsession-errors to try to determine why it might of crashed.

nate

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


[CentOS] Network Installation of CentOS disk image via PXE

2008-02-08 Thread vincenzo romero
Hello all,

I've deployed new servers - installing new CentOS servers via PXE
booting using its iso distribution stored on an NFS server.  For
certain server types;  I'd like to install custom applications into a
server and then generate an image of that server, and deploy again via
PXE to another group of servers.

Wanted to find out if anyone can forward any pointers to papers or links on:

1.  Best and (cheapest) way to create disk image (that can be used for
over the network installation over PXE) of an existing CentOS server
with all its custom apps and packages ... would this be dd?  would
this take a long time?

2.  Would like to find out if you can point me to a guide or doc -
that specifically describes this process;  most PXE install notes out
there describe the PXE config setup and assumes an ISO image (to
create a new server), as opposed to deploying a "ghosted" image of an
existing server.

3.  In a deployment of a "ghosted" image - would the DHCP
automatically request for a new IP address upon completion of the
installation on the target machine (since when I ghost the source
machine, the network information will contain that source's machine IP
address, MAC, etc. etc.)

Thanks in advance ..
-- 
best,

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


[CentOS] CentOS 5.1 Core 2 Duo Install freezes

2008-02-08 Thread Ken Price
Alrighty.  I'm having a hell of a time and I need help.  I'll try to  
give as much information as possible.


--
HARDWARE
--
MB:
Supermicro PDSBM-LN2+
Intel 946GZ
ICH7R + Intel® 82573

Memory:
Crucial 512Mb, 1Gb, 2Gb modules matched to above MB.

Processors:
Intel Celeron 420 Conroe-L, 1.6GHz 512KB 64-bit
Intel Core 2 Duo E6320, 1.86Ghz 4Mb 64-bit
Intel Pentium E2140 Allendale (Dual Core), 1.6GHz 1M 64-bit

Hard Disks:
Various Western Digital and Seagate SATA Drives
--

--
BIOS (Rev 1.0 as well as Rev 1.0a)
--
Disabled Native Mode
Disabled Native Mode with ACPI
Enabled SATA Native Mode

--
KERNEL PARAMS (singularly and combination)
--
acpi=off, pci=nommconf, pci=bios, nohz=off, noapic, nolapic,  
pci=routeirq, maxcpus=1

--

ATA_PIIX loads at startup, sometimes ACPI depending on my BIOS  
settings.  Always after verifying dependencies, and typically during  
the disk format process, the installation freezes.  I get a "kernel  
panic - not syncing" in text mode.  Single disks, dual disks, LVM,  
no-LVM, software RAID, even when disks are on a Promise SATA300-TX4.   
The single-core Celeron processors work fine, but none of the dual  
core processors work.  I'm using 5 sets of hardware, so bad hardware  
is unlikely.  I'm stumped.


Anyone out there with similar problems and/or workarounds?  Any ideas?

-Ken


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


Re: [CentOS] Centos 5 on i586

2008-02-08 Thread John R Pierce

Ralph Angenendt wrote:

I don't think so. i586 (ViA C5/6, AMD K-III) won't even run an i686 kernel...
  


i586 is the original Pentium and Pentium/MMX (60Mhz to about 233Mhz) as 
well as the clones you mention above, while i686 is the Pentium Pro, P2, 
P3, P4, and Core, as well as various clones.


for completeness, there's also i386 (the intel 386 processor) and i486 
(the intel 486, as well as early K6 versions).


anything prior to i386 wasn't even 32bit and couldn't possibly run linux 
(I do somewhere have a version of Microport System V Unix for i286 16bit 
protected mode)




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


Re: [CentOS] Centos 5 on i586

2008-02-08 Thread Garrick Staples
On Fri, Feb 08, 2008 at 04:49:49PM -0500, Mark A. Lewis alleged:
> So, what is a "valid" 64bit CPU? I have a DEC Alpha in the basement that
> is most certainly 64 bit, but can't install the i386 or x86_64 version
> on it. How about Sparc or HP-UX boxes? Are they valid 64 bit CPUs?

Those are completely different arches.  None of them are x86.

In the context of this discussion, "valid" 64bit CPUs are newer PentiumIV,
Athlon64, and later CPUs.




pgpHglImzZWdu.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Java not seeing timezone/tomcat displaying times in GMT

2008-02-08 Thread Isaac Gonzalez
I'm setting export CATALINA_OPTS= "Duser.timezone=America/Los_Angeles"
in my init.d script that starts up the tomcat(haven't set it in
$CATALINA_HOME/bin/setenv.sh)...but will try that as well i wrote a
simple java function that print the date, and when I call java foo, it
prints the correct date format. I haven't tried the jsp page, but will
also try that...seems as if tomcat is ignoring everything I set.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff Larsen
Sent: Friday, February 08, 2008 8:46 AM
To: CentOS mailing list
Subject: Re: [CentOS] Java not seeing timezone/tomcat displaying times
in GMT

On Feb 7, 2008 9:12 PM, Isaac Gonzalez <[EMAIL PROTECTED]> wrote:
> Any ideas how to force tomcat to display directory listing in local
time
> zone format of my cent box instead of GMT.
>
>
> I tried all suggestions here:
>
http://marvinlee.wordpress.com/2008/02/01/java-timezone-setting-in-cento
> s-for-asiakuala_lumpur/
>
> except I use PST8PDT for the timezonei believe I'm using this as
my
> timezone as this is what appears in /etc/localtime file. When using
date
> command it displays in correct format from bash prompt.

I don't know exactly what PST8PDT is, but Java prefers the full names
for time zones like US/Central or US/Pacific

Have you tried something like -Duser.timezone=US/Pacific on the java
command line that launches tomcat. You can add that to JAVA_OPTS in
$CATALINA_HOME/bin/setenv.sh

Is your tzdata package in CentOS up to date?

Then again, I haven't done much with directory listings in Tomcat, so
there may be a different issue at work here. Can you create a simple
JSP page that writes java.util.TimeZone.getDefault().toString() and
see what you get?

--
Jeff
___
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] CentOS 5.1 Core 2 Duo Install freezes

2008-02-08 Thread nate
Ken Price wrote:

> Anyone out there with similar problems and/or workarounds?  Any ideas?

install using a serial console, and capture the entire kernel panic
from the console if you can. Have you tried any disk controllers other
than the promise ?

For me, if hardware SATA raid, it's 3Ware or nothing. I haven't ever
really noticed good things said about other SATA raid cards.

nate

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


Re: [CentOS] CentOS 5.1 Core 2 Duo Install freezes

2008-02-08 Thread John R Pierce

Ken Price wrote:
Alrighty.  I'm having a hell of a time and I need help.  I'll try to 
give as much information as possible.

...
Supermicro PDSBM-LN2+
Intel 946GZ


Intel says the 'value-oriented' 946PL/GZ chipsets are 800/666Mhz FSB 
only, no support for 1066Mhz FSB. See 
http://www.intel.com/products/chipsets/946PL_946GZ/index.htm


Oddly, Supermicro claims they do support 1066.


ICH7R + Intel® 82573

Memory:
Crucial 512Mb, 1Gb, 2Gb modules matched to above MB.


according to Intel, this chipset supports DDR2 667Mhz memory only. if 
you're using two dimms they should be matched pairs for dual channel 
operation?




Processors:
Intel Celeron 420 Conroe-L, 1.6GHz 512KB 64-bit
Intel Core 2 Duo E6320, 1.86Ghz 4Mb 64-bit
this is a 1066Mhz FSB CPU, not compatible with that chipset at least 
according to Intel.


actually, reading the Intel datasheet, it looks like the 946 chipsets 
were intended strictly as P4 chipsets, and Core2Duo support was an 
afterthought.


I'd check with SuperMicro for more help on this.


Intel Pentium E2140 Allendale (Dual Core), 1.6GHz 1M 64-bit


this is a 800Mhz FSB CPU, it /should/ work.



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


Re: [CentOS] Disk partitions and LVM limits

2008-02-08 Thread Jeffrey Tadlock
On Feb 8, 2008 1:58 PM, Peter Blajev <[EMAIL PROTECTED]> wrote:
> So, right now I can't use LVM because of this 2TB limit and I'm not sure if I
> partition the drive how good these partitions are because of the the message
> from fdisk.

There is also some information here on creating large file systems:

http://kbase.redhat.com/faq/FAQ_103_11461.shtm

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


Re: [CentOS] resolv.conf question

2008-02-08 Thread John R Pierce

Thomas Dukes wrote:

Hello,

I have a centos 4.6 system acting as a router for my local network.  I
obtain my eth0 IP address automatically via DHCP from my ISP, sc.rr.com.  If
I add 127.0.0.1 to resolv.conf, it won't save it.  I tried adding this to my
dhclient.conf

  


your ISP is supplying its DNS server settings via DHCP, this is whats 
getting copied to /etc/resolv.conf for use by applications running on 
your router.




lease {
option domain-name-servers 127.0.0.1;
}
  



I don't think thats correct. assuming you're running your own DNS server 
on this 'router', try...


interface "eth0" {
 send dhcp-client-identifier 1:xx:xx:xx:xx:xx:xx;
 prepend domain-name-servers 127.0.0.1;
}



you need to change xx:xx:xx:xx... to your MAC address.


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


[CentOS] resolv.conf question

2008-02-08 Thread Thomas Dukes
Hello,

I have a centos 4.6 system acting as a router for my local network.  I
obtain my eth0 IP address automatically via DHCP from my ISP, sc.rr.com.  If
I add 127.0.0.1 to resolv.conf, it won't save it.  I tried adding this to my
dhclient.conf

lease {
option domain-name-servers 127.0.0.1;
}

The above is the only entry in the file.

Don't know it caused it but my system locked up 3 times since adding this.
Deleted the file and its fine.

Any help would be appreciated.

--Eddie

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


RE: [CentOS] resolv.conf question

2008-02-08 Thread Thomas Dukes
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of John R Pierce
Sent: Friday, February 08, 2008 9:53 PM
To: CentOS mailing list
Subject: Re: [CentOS] resolv.conf question

Thomas Dukes wrote:
> Hello,
>
> I have a centos 4.6 system acting as a router for my local network.  I 
> obtain my eth0 IP address automatically via DHCP from my ISP, 
> sc.rr.com.  If I add 127.0.0.1 to resolv.conf, it won't save it.  I 
> tried adding this to my dhclient.conf
>
>   

your ISP is supplying its DNS server settings via DHCP, this is whats
getting copied to /etc/resolv.conf for use by applications running on your
router.


> lease {
> option domain-name-servers 127.0.0.1; }
>   


I don't think thats correct. assuming you're running your own DNS server on
this 'router', try...

interface "eth0" {
  send dhcp-client-identifier 1:xx:xx:xx:xx:xx:xx;
  prepend domain-name-servers 127.0.0.1; }



you need to change xx:xx:xx:xx... to your MAC address.

Thanks for the help!!

I guessing that's the MAC address for eth0?

TIA


___
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] CentOS 5.1 Core 2 Duo Install freezes

2008-02-08 Thread Ken Price



Ken Price wrote:


Anyone out there with similar problems and/or workarounds?  Any ideas?


install using a serial console, and capture the entire kernel panic
from the console if you can. Have you tried any disk controllers other
than the promise ?

For me, if hardware SATA raid, it's 3Ware or nothing. I haven't ever
really noticed good things said about other SATA raid cards.



This is using the onboard SATA, or the promise SATA controller (not a  
RAID controller).  Yeah, I've had problems capturing the entire panic.  
 I'll try via a terminal on monday morning.


I agree with the 3ware comment.  My high-end MySQL and NFS boxes have  
8-port 3Ware SATA RAID.



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


Re: [CentOS] CentOS 5.1 Core 2 Duo Install freezes

2008-02-08 Thread Ken Price

ICH7R + Intel® 82573

Memory:
Crucial 512Mb, 1Gb, 2Gb modules matched to above MB.


according to Intel, this chipset supports DDR2 667Mhz memory only. if
you're using two dimms they should be matched pairs for dual channel
operation?


Yes.  I'm using matched pairs of DDR2 667Mhz.  Hmmm.  Actually, the  
Celeron's are using DDR2 533Mhz ... according to Crucial these work in  
this MB.  Guess that's one more thing to try with the dual core  
processors.




Processors:
Intel Celeron 420 Conroe-L, 1.6GHz 512KB 64-bit
Intel Core 2 Duo E6320, 1.86Ghz 4Mb 64-bit

this is a 1066Mhz FSB CPU, not compatible with that chipset at least
according to Intel.

actually, reading the Intel datasheet, it looks like the 946 chipsets
were intended strictly as P4 chipsets, and Core2Duo support was an
afterthought.

I'd check with SuperMicro for more help on this.



http://www.supermicro.com/products/motherboard/Xeon3000/946/PDSBM-LN2+.cfm


Intel Pentium E2140 Allendale (Dual Core), 1.6GHz 1M 64-bit


this is a 800Mhz FSB CPU, it /should/ work.


Yes, but unfortunately has the exact same issues as the 1066Mhz Core2Duo's.



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


Re: [CentOS] CentOS 5.1 Core 2 Duo Install freezes

2008-02-08 Thread Ken Price

One more note, which explains why I posted on the CentOS list:
I have no problems installing Fedora 8, or Ubuntu Gutsy 7.10 on these  
boxes.  I haven't tried CentOS4.6, but that's not an option.  I need  
CentOS 5.X.


I've been using CentOS from the beginning of the project.  I won't  
consider another distro in production systems.


-Ken

- Message from [EMAIL PROTECTED] -
Date: Fri, 08 Feb 2008 18:56:58 -0500
From: Ken Price <[EMAIL PROTECTED]>
Reply-To: CentOS mailing list 
 Subject: [CentOS] CentOS 5.1 Core 2 Duo Install freezes
  To: CentOS mailing list 



Alrighty.  I'm having a hell of a time and I need help.  I'll try to
give as much information as possible.

--
HARDWARE
--
MB:
Supermicro PDSBM-LN2+
Intel 946GZ
ICH7R + Intel® 82573

Memory:
Crucial 512Mb, 1Gb, 2Gb modules matched to above MB.

Processors:
Intel Celeron 420 Conroe-L, 1.6GHz 512KB 64-bit
Intel Core 2 Duo E6320, 1.86Ghz 4Mb 64-bit
Intel Pentium E2140 Allendale (Dual Core), 1.6GHz 1M 64-bit

Hard Disks:
Various Western Digital and Seagate SATA Drives
--

--
BIOS (Rev 1.0 as well as Rev 1.0a)
--
Disabled Native Mode
Disabled Native Mode with ACPI
Enabled SATA Native Mode

--
KERNEL PARAMS (singularly and combination)
--
acpi=off, pci=nommconf, pci=bios, nohz=off, noapic, nolapic,
pci=routeirq, maxcpus=1
--

ATA_PIIX loads at startup, sometimes ACPI depending on my BIOS
settings.  Always after verifying dependencies, and typically during
the disk format process, the installation freezes.  I get a "kernel
panic - not syncing" in text mode.  Single disks, dual disks, LVM,
no-LVM, software RAID, even when disks are on a Promise SATA300-TX4.
The single-core Celeron processors work fine, but none of the dual core
processors work.  I'm using 5 sets of hardware, so bad hardware is
unlikely.  I'm stumped.

Anyone out there with similar problems and/or workarounds?  Any ideas?

-Ken


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



- End message from [EMAIL PROTECTED] -




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


[CentOS] Re: Xvnc from tightvnc crashing

2008-02-08 Thread Jonathan Berry
On Feb 6, 2008 5:30 PM, Jonathan Berry <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am having issues with running tightvnc-server on a CentOS 5.1 x86_64
> machine (currently up-to-date, kernel 2.6.18-53.1.6.el5).
> Occasionally, the Xvnc instance will just crash, taking with it
> everything that I was running.  When it crashes, it seems to do so
> when I try to open some GUI program.  So, for instance, I click on a
> shortcut to open a program, and poof, it crashes.  But it does not
> crash every time.  At times it is usable for a long time.
>
> I believe tightvnc is available from rpmforge.
>
> $ rpm -qa | grep tightvnc
> tightvnc-server-1.3.9-1.el5.rf
> tightvnc-1.3.9-1.el5.rf
>
> Is anyone else using tightvnc?  Is anyone having any trouble with it?
> Any ideas how to troubleshoot this?
>
> Here are the last few messages from the log file after one of these crashes:
>
> ** (nm-applet:26504): WARNING **:   nma_dbus_init (): 
> nma_dbus_init
> () could not acquire its service.  dbus_bus_acquire_service() says: 
> 'Connection
> ":1.74" is not allowed to own the service 
> "org.freedesktop.NetworkManagerInfo" d
> ue to security policies in the configuration file'
>
> The application 'pam-panel-icon' lost its connection to the display :1.0;
> most likely the X server was shut down or you killed/destroyed
> the application.
> The application 'bt-applet' lost its connection to the display :1.0;
> most likely the X server was shut down or you killed/destroyed
> the application.
> The application 'gnome-session' lost its connection to the display :1.0;
> most likely the X server was shut down or you killed/destroyed
> the application.
> The application 'nautilus' lost its connection to the display :1.0;
> most likely the X server was shut down or you killed/destroyed
> the application.
> The application 'gnome-panel' lost its connection to the display :1.0;
> most likely the X server was shut down or you killed/destroyed
> the application.
> The application 'nm-applet' lost its connection to the display :1.0;
> most likely the X server was shut down or you killed/destroyed
> the application.
> Window manager warning: Lost connection to the display ':1.0';
> most likely the X server was shut down or you killed/destroyed
> the window manager.
> The application 'eggcups' lost its connection to the display :1.0;
> most likely the X server was shut down or you killed/destroyed
> the application.
>
> (gnome-panel:26480): GLib-GObject-CRITICAL **: g_object_run_dispose: 
> assertion `
> G_IS_OBJECT (object)' failed
>
> (gnome-panel:26480): GLib-GObject-CRITICAL **: g_object_run_dispose: 
> assertion `
> G_IS_OBJECT (object)' failed
> gnome-terminal: Fatal IO error 104 (Connection reset by peer) on X server 
> :1.0.

Hmm, does no one run TightVNC?  What about the regular VNC that comes
with CentOS?  I may change back to that and see how it runs.  Any
ideas?

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


Re: [CentOS] resolv.conf question

2008-02-08 Thread Barry Brimer

Hello,

I have a centos 4.6 system acting as a router for my local network.  I
obtain my eth0 IP address automatically via DHCP from my ISP, sc.rr.com.  If
I add 127.0.0.1 to resolv.conf, it won't save it.  I tried adding this to my
dhclient.conf

lease {
   option domain-name-servers 127.0.0.1;
}

The above is the only entry in the file.

Don't know it caused it but my system locked up 3 times since adding this.
Deleted the file and its fine.

Any help would be appreciated.


You could modify your /etc/resolv.conf to your desired settings, 
including your ISP's DNS servers and your own localhost DNS server and 
then add "PEERDNS=no" to your ifcfg-eth0 file.

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


[CentOS] IPtables Possibility

2008-02-08 Thread Jun Salen
Hi,

I just wonder if I can replace PIX firewall with machine having IPTable as my 
firewall. I want to control our firewall but 
due to the lack of knowledge in configuring PIX, i want to replace it with 
Linux or BSD. I do not have the time now to
learn the complexity of PIX and yet I want to know what happening in my 
firewall and control it as much as possible. 
Do you think it is justifiable for me to replace it? Can you please provide me 
your inputs? Thank you very much.
 

junji
aisalen.wordpress.com
Linux Registered User #253162
CentOS User



Send instant messages to your online friends http://uk.messenger.yahoo.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble Ticket System

2008-02-08 Thread Jun Salen
>I would like to recommend a piece of software known as GLPI ... when
>used in conjunction with OCSng, it will track all hardware and software
>installed on each machine, which users use which machines, etc.
>
>It also can use ADS or LDAP for authentication, and there is the ability
>to create FAQs that users can search.
>
>So, the combination can be used as a software/hardware inventory program
>and trouble ticket system.
>
>http://glpi-project.org/?lang=en
>
>http://www.ocsinventory-ng.org/
>
>Thanks,
>Johnny Hughes

Thanks Johnny. I already visit the site and check the screenshots. Looks 
promising, I will try to 
test it my test server. Ocsinventory-ng seems also very useful to me for my 
inventory need. 
Thank you very much.

junji
aisalen.wordpress.com
Linux Registered User #253162
CentOS User



Send instant messages to your online friends http://uk.messenger.yahoo.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.1 Core 2 Duo Install freezes

2008-02-08 Thread John R Pierce

Ken Price wrote:

ICH7R + Intel® 82573

Memory:
Crucial 512Mb, 1Gb, 2Gb modules matched to above MB.


according to Intel, this chipset supports DDR2 667Mhz memory only. if
you're using two dimms they should be matched pairs for dual channel
operation?


Yes.  I'm using matched pairs of DDR2 667Mhz.  Hmmm.  Actually, the 
Celeron's are using DDR2 533Mhz ... according to Crucial these work in 
this MB.  Guess that's one more thing to try with the dual core 
processors.


you might just try running the 667Mhz ram at 533Mhz if there's jumpers 
or a bios setting.  if this works, and htere are fine tuning settings 
for the ram, you might try the original 667 speed only add a clock to 
the CAS precharge (again, ift he BIOS has advanced manual memory timing 
options, some boards do, some don't)


btw, have you tried running memtest86 on these systems ?



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


Re: [CentOS] IPtables Possibility

2008-02-08 Thread nate
Jun Salen wrote:
> Hi,
>
> I just wonder if I can replace PIX firewall with machine having IPTable as
> my firewall. I want to control our firewall but
> due to the lack of knowledge in configuring PIX, i want to replace it with
> Linux or BSD. I do not have the time now to
> learn the complexity of PIX and yet I want to know what happening in my
> firewall and control it as much as possible.
> Do you think it is justifiable for me to replace it? Can you please provide
> me your inputs? Thank you very much.

Personally I'd go with OpenBSD with pf. It's real easy to use,
much more powerful than IP Tables, and, well just better.
I've been running OpenBSD firewalls for a few years now, before
that my favorite was FreeBSD with ipfw(before bridging was common
in linux). All of my BSD firewalls are bridging firewalls.

The most annoying thing about OpenBSD is the partitioning setup
during installation. I can't believe they haven't changed it in
as long as I've been using it(about 7 years now). Despite having
used linux/unix systems for about 13 years I still get confused
when I get to that screen in the installation (I don't install
it very often). I've installed HPUX, AIX, Tru64, Solaris, tons
of Linux distros, FreeBSD,  and OpenBSD, and probably a couple
others I've forgotten, and still that fdisk-type tool that
OpenBSD uses is so confusing.

OpenBSD PF user guide here: http://www.openbsd.org/faq/pf/index.html

nate


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


[CentOS] Create a Yum repository for CentOS 5?

2008-02-08 Thread Niki Kovacs

Hi,

I'm using CentOS 5.1 on both server and desktops. I have a series of 
packages that I either rebuilt from CentOS SRPMS to modify them 
according to my needs (PHP for example), or that I built from Fedora 
Core SRPMS because they're not available on CentOS nor in the RPMForge 
repos (Seamonkey, MPD with libshout support, xmms-wma, ...).


I want to create my own remote Yum repository for these packages, but I 
don't quite know how to achieve that. I've done something similar with 
Slackware and swaret before, though, so I sort of grasp the logic behind it.


Is it possible to do that on a remote server where I only have FTP 
access? E. g. somehow create the repo locally on one build box, copy the 
whole tree over to the remote machine and then add some according 
file/stanza in /etc/yum.repos.d/ ?


cheers,

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


Re: [CentOS] IPtables Possibility

2008-02-08 Thread John R Pierce

nate wrote:

Personally I'd go with OpenBSD with pf. It's real easy to use,
much more powerful than IP Tables, and, well just better.
I've been running OpenBSD firewalls for a few years now, before
that my favorite was FreeBSD with ipfw(before bridging was common
in linux). All of my BSD firewalls are bridging firewalls.

The most annoying thing about OpenBSD is the partitioning setup
during installation


you might check out pfSense, which is a hybrid of freebsd kernel with 
the openbsd pf stuff, and a nice web gui for managing it.   can run on 
very minimal hardware,   booting from a tiny flashcard



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