Re: [CentOS] offline file shares

2008-05-30 Thread John R Pierce

gopinath wrote:

can we configure offline file shares in samba as we do on a windows pc


afaik, a windows client can be told to support an offline share thats on 
a samba serrver, as the offline feature involves client side caching of 
the files.


I seriously doubt the samba client for unix would know how to do offline 
files, however.

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


Re: [CentOS] offline file shares

2008-05-30 Thread Christopher Chan

gopinath wrote:

can we configure offline file shares in samba as we do on a windows pc


Whatcha mean? Prevent offline caching?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] offline file shares

2008-05-30 Thread Fabian Arrotin - oxygen

gopinath wrote:

can we configure offline file shares in samba as we do on a windows pc
 
Gopinath
Do you mean caching files coming from a Windows/SMB share to your CentOS 
box ?
Nothing does that but you can write a rsync script if needed ... but 
attention to the way rsync will synchronize .. or use unison ?


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


Re: [CentOS] Centosplus vmware kernels....???

2008-05-30 Thread Tru Huynh
On Thu, May 29, 2008 at 05:19:44PM -0500, Tom Bishop wrote:
> Thanks Tru and Johnny, one more question.  Can I just use the
> centos5-testing repo, ie, yum enablerepoxxx install kernel-vm?  I ask
> because I tried and while it worked it loaded an older kernel.  Should I
> just go to tru's directory and install the RPM directly?  Also, ok more than
> one question, are the open-vm-tools in the same repo or only found in
> Johnny's testing directory.  Thanks again...

Hi Les,

Everything under http://people.centos.org/tru/ is signed for testing and
feedback before it can be built by the CentOS build systems and
enter either the regular testing repository or their final destination.
You can look at it as alpha release ;).

Cheers,

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B


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


Re: [CentOS] offline file shares

2008-05-30 Thread gopinath
to create offline share of windows pc in centos of linux box.


- Original Message - 
From: "Fabian Arrotin - oxygen" <[EMAIL PROTECTED]>
To: "CentOS mailing list" 
Sent: Friday, May 30, 2008 1:57 PM
Subject: Re: [CentOS] offline file shares


> gopinath wrote:
> > can we configure offline file shares in samba as we do on a windows pc
> >  
> > Gopinath
> Do you mean caching files coming from a Windows/SMB share to your CentOS 
> box ?
> Nothing does that but you can write a rsync script if needed ... but 
> attention to the way rsync will synchronize .. or use unison ?
> 
> Fabian
> ___
> 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] Hasp Driver required

2008-05-30 Thread Balaji

dear sir,

  I need HASP4 aksusbd driver for IA 64 architecture for CentOS4.4.

I tried to google-out and i can't find out the hasp driver 


Please, do the needful.

regards,
S.Balji.

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


Re: [CentOS] Hasp Driver required

2008-05-30 Thread Anne Wilson
On Friday 30 May 2008 10:49:17 Balaji wrote:
> dear sir,
>
>I need HASP4 aksusbd driver for IA 64 architecture for CentOS4.4.
>
> I tried to google-out and i can't find out the hasp driver
>
> Please, do the needful.
>

Try "HASP TS FR" <[EMAIL PROTECTED]>  I have a dongle that needs this.  
They told me that they have cross-platform drivers, but I never got around to 
testing it.  I found the address by googling on 'aladdin'.  You may find what 
you want direct from their site.  HTH

Anne


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] GFS

2008-05-30 Thread Karanbir Singh
Jay Leafey wrote:
> Another alternative that we are examining is using OCFS2 (Oracle Cluster
> File System 2) and iSCSI for the shared storage with Heartbeat for
> service management.  This combination looks to be a bit "lighter" than
> the Cluster Suite and GFS, but I'm hoping to confirm or disprove that
> impression this summer in my "copious free time".

ocfs isnt really worth spending time on anymore. iirc, even oracle no
longer support an ocfs/ocfs2 based backend store.

might as well consider gpfs ( the cost per machine isnt that high, and
there is reasonable assurances that it would work ).

/me is still thrashing out gfs2 though, and conga! and clusterlvm!


-- 
Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Learning some sad things about the state of IPv6

2008-05-30 Thread Karanbir Singh
Christopher Chan wrote:
> The OP is not saying there is no ipv6 netfilter support. He said that
> there is no ipv6 state netfilter module or something like that.

In which case either you dont know what the OP is talking about, or he
doesnt know what he asked :D

--
[EMAIL PROTECTED] ~]# ip6tables -nL | wc -l
124
[EMAIL PROTECTED] ~]# hostname
panic.karan.org
[EMAIL PROTECTED] ~]# lsof -i | grep IPv6  | wc -l
561
[EMAIL PROTECTED] ~]# ip a l | grep net6
inet6 ::1/128 scope host
inet6 fe80::20d:61ff:fe80:7ce3/64 scope link
inet6 2001:4830:1600:13c::2/64 scope global
inet6 fe80::4224:e704/128 scope link
[EMAIL PROTECTED] ~]# uname -r
2.6.18-53.1.14.el5
---

- K"Natively running ipv6 for a few years now"B
-- 
Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Frequent Gnome Terminal crashes in CentOS 5.1

2008-05-30 Thread Alfred von Campe

On May 29, 2008, at 20:58, Filipe Brandenburger wrote:

strace seems fine, just use some options to enhance the output you  
get:
-s 1024: take 1024 bytes for every string. This wouldn't have cut  
that one short

-tt: if you want timestamps
-f: to follow forked processes


Great suggestion.  I didn't know about the -s switch.  I'll change  
the strace to use all those options and wait for it to fail again.


Alfred

P.S.  There was nothing interesting in any of the log files.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 39, Issue 14

2008-05-30 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
[EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. GFS Update for CentOS 3 kernel 2.4.21-57.EL (Tru Huynh)


--

Message: 1
Date: Fri, 30 May 2008 12:20:02 +0200
From: Tru Huynh <[EMAIL PROTECTED]>
Subject: [CentOS-announce] GFS Update for CentOS 3 kernel 2.4.21-57.EL
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Thanks to John Newbigin the new GFS packages for the 2.4.21-57.EL kernel are
now available.

http://rhn.redhat.com/errata/RHBA-2008-0259.html

i386:
csgfs/i386/RPMS/GFS-6.0.2.36-8.i386.rpm
csgfs/i386/RPMS/GFS-devel-6.0.2.36-8.i386.rpm
csgfs/i386/RPMS/GFS-modules-6.0.2.36-8.i386.rpm
csgfs/i386/RPMS/GFS-6.0.2.36-8.i686.rpm
csgfs/i386/RPMS/GFS-devel-6.0.2.36-8.i686.rpm
csgfs/i386/RPMS/GFS-modules-6.0.2.36-8.i686.rpm
csgfs/i386/RPMS/GFS-modules-hugemem-6.0.2.36-8.i686.rpm
csgfs/i386/RPMS/GFS-modules-smp-6.0.2.36-8.i686.rpm

Best regards,

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20080530/5f7e86e4/attachment-0001.bin

--

___
CentOS-announce mailing list
[EMAIL PROTECTED]
http://lists.centos.org/mailman/listinfo/centos-announce


End of CentOS-announce Digest, Vol 39, Issue 14
***
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Config for NFSv4 an Kerberos on CentOS 5.1

2008-05-30 Thread Barry Brimer

Barry Brimer schrieb:

Quoting Sebastian Marten <[EMAIL PROTECTED]>:


Hi list,
Is it possible to set up an NFSv4/Kerberos environment on CentOS 5.1?
I set up Kerberos and NFS but get several erros

"Warning: rpc.gssd appears not to be running.
mount.nfs4: Permission denied"

Is this an CentOS oder an config problem?


Yes.

Are you running all of the gss services?
Is portmap running?
Did you uncomment the SECURE_NFS="yes" in /etc/sysconfig/nfs?
Was your kerberos principal created with:
"addprinc -randkey -e des-cbc-md5:normal nfs/server.domain.com"
Was your keytab entry created with:
"ktadd -e des-cbc-md5:normal nfs/server.domain.com"
Do you have gss/krb5p just before the nfs options in parentheses?



I've done all this + add princs for the host. (tested with ds and 
ds.example.lan)


Do other kerberized services work on this host?
Does NFS work in non-kerberized mode?

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


Re: [CentOS] Learning some sad things about the state of IPv6

2008-05-30 Thread Les Mikesell

Karanbir Singh wrote:

Christopher Chan wrote:

The OP is not saying there is no ipv6 netfilter support. He said that
there is no ipv6 state netfilter module or something like that.


In which case either you dont know what the OP is talking about, or he
doesnt know what he asked :D

--
[EMAIL PROTECTED] ~]# ip6tables -nL | wc -l
124
[EMAIL PROTECTED] ~]# hostname
panic.karan.org
[EMAIL PROTECTED] ~]# lsof -i | grep IPv6  | wc -l
561
[EMAIL PROTECTED] ~]# ip a l | grep net6
inet6 ::1/128 scope host
inet6 fe80::20d:61ff:fe80:7ce3/64 scope link
inet6 2001:4830:1600:13c::2/64 scope global
inet6 fe80::4224:e704/128 scope link
[EMAIL PROTECTED] ~]# uname -r
2.6.18-53.1.14.el5
---

- K"Natively running ipv6 for a few years now"B


What he originally said was that this needed kernel 2.6.20 or newer.  Is 
this one of the feature backports into the enterprise kernel that Centos 
inherits?


--
  Les Mikesell
   [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Learning some sad things about the state of IPv6

2008-05-30 Thread Matt Shields
On Fri, May 30, 2008 at 6:23 AM, Karanbir Singh <[EMAIL PROTECTED]> wrote:
> Christopher Chan wrote:
>> The OP is not saying there is no ipv6 netfilter support. He said that
>> there is no ipv6 state netfilter module or something like that.
>
> In which case either you dont know what the OP is talking about, or he
> doesnt know what he asked :D
>
> --
> [EMAIL PROTECTED] ~]# ip6tables -nL | wc -l
> 124
> [EMAIL PROTECTED] ~]# hostname
> panic.karan.org
> [EMAIL PROTECTED] ~]# lsof -i | grep IPv6  | wc -l
> 561
> [EMAIL PROTECTED] ~]# ip a l | grep net6
>inet6 ::1/128 scope host
>inet6 fe80::20d:61ff:fe80:7ce3/64 scope link
>inet6 2001:4830:1600:13c::2/64 scope global
>inet6 fe80::4224:e704/128 scope link
> [EMAIL PROTECTED] ~]# uname -r
> 2.6.18-53.1.14.el5
> ---
>
> - K"Natively running ipv6 for a few years now"B
> --
> Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED]

Exactly!!!  What he's complaining about is the lack of lazy-man's GUI
tool to configure ip6tables.

Are you absolutely sure that FWBuilder doesn't support IPv6?  Because
here there a release note
http://www.fwbuilder.org/docs/firewall_builder_release_notes.html
referring to ip6tables.


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


Re: [CentOS] Learning some sad things about the state of IPv6

2008-05-30 Thread Robert Moskowitz

Matt Shields wrote:

On Fri, May 30, 2008 at 6:23 AM, Karanbir Singh <[EMAIL PROTECTED]> wrote:
  

Christopher Chan wrote:


The OP is not saying there is no ipv6 netfilter support. He said that
there is no ipv6 state netfilter module or something like that.
  

In which case either you dont know what the OP is talking about, or he
doesnt know what he asked :D



Exactly!!!  What he's complaining about is the lack of lazy-man's GUI
tool to configure ip6tables.
  

Not so much as complaining, but looking at easy-of-use and time allocation.

I have done iptables by hand and have used a few tools. One thing I like 
about the tools I have found helpful is they have been good 'quick 
starts' for learning what to do by hand!


But my source is: 
http://www.guug.de/veranstaltungen/ecai6-2007/slides/2007-ECAI6-Status-IPv6-Firewalling-PeterBieringer-Talk.pdf


Peter, who has been involved with IPv6 for a long time, covers NetFilter 
on slide 8 and claims stateful support added in 2.6.20. Elsewhere I 
found a reference that RHel would get this end-of-year 2008, and Fedora 
Core 6 has it now. I looked in my /boot and saw that Centos is using 
2.6.18, and I concluded from all this that I would have to work with FC6 
for the next half year. Seems this conclusion is mis-informed if this 
NetFilter feature got backported already

Are you absolutely sure that FWBuilder doesn't support IPv6?  Because
here there a release note
http://www.fwbuilder.org/docs/firewall_builder_release_notes.html
referring to ip6tables.
  
I also saw that FWBuilder supports IPv6. But if the kernel only supports 
stateless, then that is all you can do with FWBuider, I would think. My 
one review of FWBuilder was that it was more than I needed at the time 
and Shorewall would handle my needs for my one VoIP firewall. Well I 
learned a lot using Shorewall. And Shorewall does NOT have IPv6 support, 
I asked on their list.


So now I go and build a box and see if I got enough to get the job done.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Fastest 4.6 -> 5.1 upgrade path

2008-05-30 Thread Adrian Marsh
Hi All,

 

I've a question on upgrading Centos with the least downtime...

 

I've a centos 4.6 machine, hosting my local Centos respository.  I'd
like to upgrade the OS to 5.1

 

I've practised in a VMware machine upgrading it by booting from a CD,
but I wondered if YUM could do it, whilst keeping the rest of the
machine "alive".

 

Am I better to shutdown and upgrade, or is yum really *that* good?

 

Thanks,

 

Adrian

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


Re: [CentOS] Fastest 4.6 -> 5.1 upgrade path

2008-05-30 Thread Ray Van Dolson
On Fri, May 30, 2008 at 07:51:24AM -0700, Adrian Marsh wrote:
> Hi All,
> 
> I’ve a question on upgrading Centos with the least downtime…
> 
> I’ve a centos 4.6 machine, hosting my local Centos respository.  I’d
> like to upgrade the OS to 5.1
> 
> I’ve practised in a VMware machine upgrading it by booting from a CD,
> but I wondered if YUM could do it, whilst keeping the rest of the
> machine “alive”.
> 
> Am I better to shutdown and upgrade, or is yum really *that* good?

I believe the 4.x -> 5.x path via yum is doable but actually tends to
be a bit of work (I think I recall a rather detailed forum post
describing the procedure).

I think the anaconda (from CD) method would probably be your smoothest
option.

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


RE: [CentOS] Fastest 4.6 -> 5.1 upgrade path

2008-05-30 Thread Adrian Marsh
Found a thread here that seems to suggest it's the only way:

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=11128&forum=3
7


Oh Well..

Thanks anyway..

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


Re: [CentOS] Fastest 4.6 -> 5.1 upgrade path

2008-05-30 Thread Johnny Hughes

Adrian Marsh wrote:

Hi All,

 


I've a question on upgrading Centos with the least downtime...

 


The best way to accomoplish this is to backup all data and not upgrade 
the install at all.  That is how Red Hat recommends that you do it for 
RHEL and how CentOS recommends it be done as well.




I've a centos 4.6 machine, hosting my local Centos respository.  I'd
like to upgrade the OS to 5.1

 


I've practised in a VMware machine upgrading it by booting from a CD,
but I wondered if YUM could do it, whilst keeping the rest of the
machine "alive".

 


This method is the best of the upgrade methods, but it will leave behind 
old packages and several configuration files will not work and will need 
attention.


See this link for the upstream recommendation:

http://www.centos.org/docs/5/html/5.1/Installation_Guide/ch-upgrade-x86.html

You might spend less total time upgrading (including troubleshooting of 
things with problems) if you backup data and just reinstall.  I know it 
sounds like I am crazy ... but it is easier :D




Am I better to shutdown and upgrade, or is yum really *that* good?

 


Yum upgrades are the hardest to do, and are NOT recommended or 
supported.  They can be accomplished in stages, however it is easy to 
get a non-bootable system.




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


Re: [CentOS] Config for NFSv4 an Kerberos on CentOS 5.1

2008-05-30 Thread Louis Lagendijk

On Thu, 2008-05-29 at 15:34 +0200, Sebastian Marten wrote:
> Hi list,
> Is it possible to set up an NFSv4/Kerberos environment on CentOS 5.1?
> I set up Kerberos and NFS but get several erros
> 
> "Warning: rpc.gssd appears not to be running.
> mount.nfs4: Permission denied"
Yes, NFS4 works with Kerberos on Centos5.
But the kernel only supports  es-cbc-crc:normal, so when you add the key
for NFS to the keytab, use: 
ktadd -e des-cbc-crc:normal -k /tmp/keytab nfs/myclient.mydomain

> 
> Is this an CentOS oder an config problem?
> 
config



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


RE: [CentOS] Fastest 4.6 -> 5.1 upgrade path

2008-05-30 Thread Sorin Srbu
I did the upgrade dance with yum once when going from Fedora 5 to 7. It
worked, but took a lot of time and left a helluva' lot of obscure lib-failures
and stuff. I eventually got it working but I never felt sure it wouldn't fail
on me whenever. After running the upgraded system for a month or so w/o any
problems, I decided to do a fresh install from scratch with CentOS5 and clear
all FUD I had left.

Yum -upgrades works, but you'll potentially spend a lot of time clearing and
fixing problems afterwards. You want a quick install, do a fresh one. Don't
forget to backup your data first though.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Johnny Hughes
Sent: Friday, May 30, 2008 5:07 PM
To: CentOS mailing list
Subject: Re: [CentOS] Fastest 4.6 -> 5.1 upgrade path

Yum upgrades are the hardest to do, and are NOT recommended or 
supported.  They can be accomplished in stages, however it is easy to 
get a non-bootable system.



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


[CentOS] another sed question...

2008-05-30 Thread Craig White
Looking to change a yml file (yaml is a database type file)

*** from
--- !ruby/object:Right 
attributes: 
  name: Personnel Admin
  action: index
  id: "1"
  controller: assessments
--- !ruby/object:Right 
attributes: 
  name: Personnel Admin
  action: find
  id: "2"
  controller: assessments

*** to
--- !ruby/object:Right 
attributes_1: 
  name: Personnel Admin
  action: index
  id: "1"
  controller: assessments
--- !ruby/object:Right 
attributes_2: 
  name: Personnel Admin
  action: find
  id: "2"
  controller: assessments

where I'm taking the 'id:' field from each record and inserting an
underscore and the id into the 'attributes' label directly above.

Any takers?

Thanks

Craig

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


Re: [CentOS] Fastest 4.6 -> 5.1 upgrade path

2008-05-30 Thread MHR
On Fri, May 30, 2008 at 8:16 AM, Sorin Srbu <[EMAIL PROTECTED]> wrote:
> I did the upgrade dance with yum once when going from Fedora 5 to 7. It
> worked, but took a lot of time and left a helluva' lot of obscure lib-failures
> and stuff. I eventually got it working but I never felt sure it wouldn't fail
> on me whenever. After running the upgraded system for a month or so w/o any
> problems, I decided to do a fresh install from scratch with CentOS5 and clear
> all FUD I had left.
>
> Yum -upgrades works, but you'll potentially spend a lot of time clearing and
> fixing problems afterwards. You want a quick install, do a fresh one. Don't
> forget to backup your data first though.
>

I upgrade between minor releases, and that seems to work fairly well.
But for any major release, I'd go for a clean install.

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


[CentOS] Re: Learning some sad things about the state of IPv6

2008-05-30 Thread Scott Silva

on 5-30-2008 6:38 AM Robert Moskowitz spake the following:

Matt Shields wrote:
On Fri, May 30, 2008 at 6:23 AM, Karanbir Singh 
<[EMAIL PROTECTED]> wrote:
 

Christopher Chan wrote:
   

The OP is not saying there is no ipv6 netfilter support. He said that
there is no ipv6 state netfilter module or something like that.
  

In which case either you dont know what the OP is talking about, or he
doesnt know what he asked :D



Exactly!!!  What he's complaining about is the lack of lazy-man's GUI
tool to configure ip6tables.
  

Not so much as complaining, but looking at easy-of-use and time allocation.

I have done iptables by hand and have used a few tools. One thing I like 
about the tools I have found helpful is they have been good 'quick 
starts' for learning what to do by hand!


But my source is: 
http://www.guug.de/veranstaltungen/ecai6-2007/slides/2007-ECAI6-Status-IPv6-Firewalling-PeterBieringer-Talk.pdf 



Peter, who has been involved with IPv6 for a long time, covers NetFilter 
on slide 8 and claims stateful support added in 2.6.20. Elsewhere I 
found a reference that RHel would get this end-of-year 2008, and Fedora 
Core 6 has it now. I looked in my /boot and saw that Centos is using 
2.6.18, and I concluded from all this that I would have to work with FC6 
for the next half year. Seems this conclusion is mis-informed if this 
NetFilter feature got backported already

Are you absolutely sure that FWBuilder doesn't support IPv6?  Because
here there a release note
http://www.fwbuilder.org/docs/firewall_builder_release_notes.html
referring to ip6tables.
  
I also saw that FWBuilder supports IPv6. But if the kernel only supports 
stateless, then that is all you can do with FWBuider, I would think. My 
one review of FWBuilder was that it was more than I needed at the time 
and Shorewall would handle my needs for my one VoIP firewall. Well I 
learned a lot using Shorewall. And Shorewall does NOT have IPv6 support, 
I asked on their list.


So now I go and build a box and see if I got enough to get the job done.
There is one thing to remember about Enterprise RedHat; you can't just assume 
what is in it by package version numbers alone. You have to read changelogs, 
and sometimes the patches themselves. Or just try it and see if it works or not.


--
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] another sed question...

2008-05-30 Thread MHR
On Fri, May 30, 2008 at 9:33 AM, Craig White <[EMAIL PROTECTED]> wrote:
>
> Looking to change a yml file (yaml is a database type file)
>
> *** from
> --- !ruby/object:Right
> attributes:
>  name: Personnel Admin
>  action: index
>  id: "1"
>  controller: assessments
> --- !ruby/object:Right
> attributes:
>  name: Personnel Admin
>  action: find
>  id: "2"
>  controller: assessments
>
> *** to
> --- !ruby/object:Right
> attributes_1:
>  name: Personnel Admin
>  action: index
>  id: "1"
>  controller: assessments
> --- !ruby/object:Right
> attributes_2:
>  name: Personnel Admin
>  action: find
>  id: "2"
>  controller: assessments
>
> where I'm taking the 'id:' field from each record and inserting an
> underscore and the id into the 'attributes' label directly above.
>
> Any takers?
>

Sed is not a good candidate for this, although you might be able to do
it with some seriously twisted script.  Sed is a stream editor - its
commands are applied to every line it sees.

Awk is a much better candidate for this - you could write a not
terribly difficult script to cache the lines up to the id, modify the
attributes line and spit out the whole batch.  As for writing it for
you, I strongly urge you to read the man page and see if you can't do
one yourself.  It will be worth the effort in future endeavors.

Once I taught myself how to write in awk, I found 1) reading it in
other people's scripts was a WHALE of a lot easier and 2) it wasn't
that hard to write anything from simple ones to really complicated
ones.

However, really complicated awk scripts are of limited use IMNSHO
because a really complicated pattern transformation that needs to be
executed a lot is better implemented in a program (i.e., C, C++ or
whatever) or a more advanced scripting language like Perl (or Python,
which I've yet to use).

You could even do this in a shell script

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


Re: [CentOS] another sed question...

2008-05-30 Thread Thomas Johansson

Craig White wrote:

Looking to change a yml file (yaml is a database type file)

*** from
--- !ruby/object:Right 
attributes: 
  name: Personnel Admin

  action: index
  id: "1"
  controller: assessments
--- !ruby/object:Right 
attributes: 
  name: Personnel Admin

  action: find
  id: "2"
  controller: assessments

*** to
--- !ruby/object:Right 
attributes_1: 
  name: Personnel Admin

  action: index
  id: "1"
  controller: assessments
--- !ruby/object:Right 
attributes_2: 
  name: Personnel Admin

  action: find
  id: "2"
  controller: assessments

where I'm taking the 'id:' field from each record and inserting an
underscore and the id into the 'attributes' label directly above.

Any takers?

Thanks

Craig

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

>
I use awk instead of sed...

Reverse file order, perform changes using awk and reverse again

tac test.yml | awk '{if ($1=="id:"){idtag=substr($2,2,1)}; \
  if ($1=="attributes:") {print "attributes_"idtag":"} \
  else {print $0}}' | tac -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Config for NFSv4 an Kerberos on CentOS 5.1

2008-05-30 Thread Sebastian Marten

Thanks Louis,
Thanks Barry,

With the "-e des-cbc-crc:normal" command it works :)

Sebastian

Louis Lagendijk schrieb:

On Thu, 2008-05-29 at 15:34 +0200, Sebastian Marten wrote:

Hi list,
Is it possible to set up an NFSv4/Kerberos environment on CentOS 5.1?
I set up Kerberos and NFS but get several erros

"Warning: rpc.gssd appears not to be running.
mount.nfs4: Permission denied"

Yes, NFS4 works with Kerberos on Centos5.
But the kernel only supports  es-cbc-crc:normal, so when you add the key
for NFS to the keytab, use: 
ktadd -e des-cbc-crc:normal -k /tmp/keytab nfs/myclient.mydomain



Is this an CentOS oder an config problem?


config






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


Re: [CentOS] Low-memory Centos5?

2008-05-30 Thread Lanny Marcus
On Thu, 2008-05-29 at 07:31 -0400, Jeffrey B. Layton wrote:

> I've inherited an old laptop from my wife that I'd like to
> use when I travel (it's fairly small with a 12" screen). The
> bad part is that it is maxed out on memory with 384MB.
> Has anyone played with using Centos5 on systems with
> little memory? 

We have CentOS 5 running on one Desktop with 384 MB of RAM.
Our other 2 Desktops have 512 MB. It runs OK. I doubt that you running
it on a Laptop with 384 MB would be any different. Obviously, it will
run more slowly, but, it_will_run. I have installed GNOME/KDE and a LOT
of stuff, on all 3 boxes and the box with 384 MB does not seem to have
any issues. 

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


Re: [CentOS] another sed question...

2008-05-30 Thread Craig White
On Fri, 2008-05-30 at 20:26 +0200, Thomas Johansson wrote:
> Craig White wrote:
> > Looking to change a yml file (yaml is a database type file)
> > 
> > *** from
> > --- !ruby/object:Right 
> > attributes: 
> >   name: Personnel Admin
> >   action: index
> >   id: "1"
> >   controller: assessments
> > --- !ruby/object:Right 
> > attributes: 
> >   name: Personnel Admin
> >   action: find
> >   id: "2"
> >   controller: assessments
> > 
> > *** to
> > --- !ruby/object:Right 
> > attributes_1: 
> >   name: Personnel Admin
> >   action: index
> >   id: "1"
> >   controller: assessments
> > --- !ruby/object:Right 
> > attributes_2: 
> >   name: Personnel Admin
> >   action: find
> >   id: "2"
> >   controller: assessments
> > 
> > where I'm taking the 'id:' field from each record and inserting an
> > underscore and the id into the 'attributes' label directly above.
> > 
> > Any takers?
> > 
> > Thanks
> > 
> > Craig
> > 
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
>  >
> I use awk instead of sed...
> 
> Reverse file order, perform changes using awk and reverse again
> 
> tac test.yml | awk '{if ($1=="id:"){idtag=substr($2,2,1)}; \
>if ($1=="attributes:") {print "attributes_"idtag":"} \
>else {print $0}}' | tac -

That was awesome...thanks...I learned a lot there.

I had to adjust the length of the substr function to get what I needed.

Thanks

Craig

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


Re: [CentOS] another sed question...

2008-05-30 Thread Thomas Johansson

Craig White wrote:

On Fri, 2008-05-30 at 20:26 +0200, Thomas Johansson wrote:

Craig White wrote:

Looking to change a yml file (yaml is a database type file)

*** from
--- !ruby/object:Right 
attributes: 
  name: Personnel Admin

  action: index
  id: "1"
  controller: assessments
--- !ruby/object:Right 
attributes: 
  name: Personnel Admin

  action: find
  id: "2"
  controller: assessments

*** to
--- !ruby/object:Right 
attributes_1: 
  name: Personnel Admin

  action: index
  id: "1"
  controller: assessments
--- !ruby/object:Right 
attributes_2: 
  name: Personnel Admin

  action: find
  id: "2"
  controller: assessments

where I'm taking the 'id:' field from each record and inserting an
underscore and the id into the 'attributes' label directly above.

Any takers?

Thanks

Craig

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

 >
I use awk instead of sed...

Reverse file order, perform changes using awk and reverse again

tac test.yml | awk '{if ($1=="id:"){idtag=substr($2,2,1)}; \
   if ($1=="attributes:") {print "attributes_"idtag":"} \
   else {print $0}}' | tac -


That was awesome...thanks...I learned a lot there.

I had to adjust the length of the substr function to get what I needed.

Thanks

Craig

I didn't think of numbers larger than 9 :-/ Here is an upgraded version 
of my script.. modify the substr command slightly.. That will enable 
numbers up to 10 chars long.


idtag=strtonum(substr($2,2,10))
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Setting Group owner of files on USB drive

2008-05-30 Thread Robert Moskowitz
I just got a 8Gb flash drive and went to copy a bunch of files onto it.  
I wanted to perserve everything, so I just took my archiving rsync 
command and altered it to go to localhost:/media/RALLY2/ (name of flash 
drive).  I am getting errors with changing the group owner.  Huh?


So I try to just use mkdir to create a directory on the flash drive.  
The directory has a group of root ???


So I try a chgrp and get:

[EMAIL PROTECTED] me]# chgrp me /media/RALLY2/Stuff
chgrp: changing group of `/media/RALLY2/Stuff': Operation not permitted


OK why can't I set the group to something other than root?

ls -lstr /media/
total 4
4 drwxr-xr-x 3 me root 4096 May 30 16:28 RALLY2

and of course for /media:

8 drwxr-xr-x   3 root root  4096 May 30 16:18 media




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


Re: [CentOS] Setting Group owner of files on USB drive

2008-05-30 Thread Matt Hyclak
On Fri, May 30, 2008 at 04:37:58PM -0400, Robert Moskowitz enlightened us:
> I just got a 8Gb flash drive and went to copy a bunch of files onto it.  
> I wanted to perserve everything, so I just took my archiving rsync 
> command and altered it to go to localhost:/media/RALLY2/ (name of flash 
> drive).  I am getting errors with changing the group owner.  Huh?
> 
> So I try to just use mkdir to create a directory on the flash drive.  
> The directory has a group of root ???
> 
> So I try a chgrp and get:
> 
> [EMAIL PROTECTED] me]# chgrp me /media/RALLY2/Stuff
> chgrp: changing group of `/media/RALLY2/Stuff': Operation not permitted
> 
> 
> OK why can't I set the group to something other than root?
> 
> ls -lstr /media/
> total 4
> 4 drwxr-xr-x 3 me root 4096 May 30 16:28 RALLY2
> 
> and of course for /media:
> 
> 8 drwxr-xr-x   3 root root  4096 May 30 16:18 media
> 

Most likely the device is formatted as FAT32, which has no concept of
permissions.

Reformat it, ignore the errors, or modify your rsync command to not preserve
uid/gid.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] alfresco

2008-05-30 Thread dnk

Has anyone here setup alfresco on centos 5?

I would like to speak to them off list about it if so.

 I am aware that they (alfresco) have a contributed wiki article  
about doing this, but i have run into some issues.


DNK




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


Re: [CentOS] alfresco

2008-05-30 Thread Craig White
On Fri, 2008-05-30 at 13:48 -0700, dnk wrote:
> Has anyone here setup alfresco on centos 5?
> 
> I would like to speak to them off list about it if so.
> 
>   I am aware that they (alfresco) have a contributed wiki article  
> about doing this, but i have run into some issues.

I have - why not on list?

Craig

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


[CentOS] Re: Setting Group owner of files on USB drive

2008-05-30 Thread Scott Silva

on 5-30-2008 1:39 PM Matt Hyclak spake the following:

On Fri, May 30, 2008 at 04:37:58PM -0400, Robert Moskowitz enlightened us:
I just got a 8Gb flash drive and went to copy a bunch of files onto it.  
I wanted to perserve everything, so I just took my archiving rsync 
command and altered it to go to localhost:/media/RALLY2/ (name of flash 
drive).  I am getting errors with changing the group owner.  Huh?


So I try to just use mkdir to create a directory on the flash drive.  
The directory has a group of root ???


So I try a chgrp and get:

[EMAIL PROTECTED] me]# chgrp me /media/RALLY2/Stuff
chgrp: changing group of `/media/RALLY2/Stuff': Operation not permitted


OK why can't I set the group to something other than root?

ls -lstr /media/
total 4
4 drwxr-xr-x 3 me root 4096 May 30 16:28 RALLY2

and of course for /media:

8 drwxr-xr-x   3 root root  4096 May 30 16:18 media



Most likely the device is formatted as FAT32, which has no concept of
permissions.

Reformat it, ignore the errors, or modify your rsync command to not preserve
uid/gid.

Matt

Or if you want to preserve permissions, you will need to use tar or some other 
archiver.


--
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] Setting Group owner of files on USB drive

2008-05-30 Thread Robert Moskowitz

Matt Hyclak wrote:

On Fri, May 30, 2008 at 04:37:58PM -0400, Robert Moskowitz enlightened us:
  
I just got a 8Gb flash drive and went to copy a bunch of files onto it.  
I wanted to perserve everything, so I just took my archiving rsync 
command and altered it to go to localhost:/media/RALLY2/ (name of flash 
drive).  I am getting errors with changing the group owner.  Huh?


So I try to just use mkdir to create a directory on the flash drive.  
The directory has a group of root ???


So I try a chgrp and get:

[EMAIL PROTECTED] me]# chgrp me /media/RALLY2/Stuff
chgrp: changing group of `/media/RALLY2/Stuff': Operation not permitted


OK why can't I set the group to something other than root?

ls -lstr /media/
total 4
4 drwxr-xr-x 3 me root 4096 May 30 16:28 RALLY2

and of course for /media:

8 drwxr-xr-x   3 root root  4096 May 30 16:18 media




Most likely the device is formatted as FAT32, which has no concept of
permissions.

Reformat it, ignore the errors, or modify your rsync command to not preserve
uid/gid.

Unfortunately, I have to use it on Win systems as well...


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


Re: [CentOS] Setting Group owner of files on USB drive

2008-05-30 Thread John R Pierce

Robert Moskowitz wrote:

Unfortunately, I have to use it on Win systems as well...



then as someone else suggested, use tar.


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


[CentOS] Updates in same major version number ?

2008-05-30 Thread Emmanuel Fournier
May be already asked, sorry so !

But what is the best method when updating between
4.4 and 4.5
or
4.4 and 4.6
or 
5.0 and 5.1

Is it ok to update only with 'yum update' cmd, with no risk ?

Thanks you for your support,
__
Emmanuel Fournier - ICT

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


Re: [CentOS] alfresco

2008-05-30 Thread dnk
I just figured that since my issues were likely more with my alfresco  
configurations, I thought some might consider it off topic.


I guess I will start it on list, and if anyone feels it is off topic,  
I will pull it back off the list.


In a nut shell, I was following the howto located at:

http://wiki.alfresco.com/wiki/Installing_on_Linux#Installing_Alfresco_Community_WAR_on_Centos_5


Now I have gone through it step by step, and the only mods I did were  
to use some more updated package versions, but that is about it.


After all was said and done, my tomcat, etc all start without issue.

At the end of the tutorial it states I should be able to go to:

http://serverIP:8080/alfresco/

now when I go there, I get a tomcat error stating that the page is not  
found


-
HTTP Status 404 - /alfresco/
type Status report

message /alfresco/

description The requested resource (/alfresco/) is not available.

Apache Tomcat/5.5.20
-

Granted I am very inexperienced with tomcat. But that is where I am  
stuck at.


So I had a look at my /var/log/tomcat5/alfresco.log, and it was  
complaining about failed loading of ImageMagick... so I just yumed  
that in and rebooted. That is now gone, however my same issue  
(resource not found) still persists.


dnk




On 30-May-08, at 2:01 PM, Craig White wrote:


On Fri, 2008-05-30 at 13:48 -0700, dnk wrote:

Has anyone here setup alfresco on centos 5?

I would like to speak to them off list about it if so.

 I am aware that they (alfresco) have a contributed wiki article
about doing this, but i have run into some issues.


I have - why not on list?

Craig

___
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] Re: Updates in same major version number ?

2008-05-30 Thread Scott Silva

on 5-30-2008 2:54 PM Emmanuel Fournier spake the following:

May be already asked, sorry so !

But what is the best method when updating between
4.4 and 4.5
or
4.4 and 4.6
or 
5.0 and 5.1


Is it ok to update only with 'yum update' cmd, with no risk ?

Thanks you for your support,
__
Emmanuel Fournier - ICT


That is exactly how you update in point versions. Occasionally there might be 
issues, but they are the exception. I remember a broken package back about the 
4.2 to 4.3 upgrade. but it was resolved quickly. Usually if there is a yum or 
rpm upgrade involved, it might be better to install those packages first, but 
it might not happen again.

There is no special magic involved in a point release.


--
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] Updates in same major version number ?

2008-05-30 Thread William L. Maltby
On Fri, 2008-05-30 at 23:54 +0200, Emmanuel Fournier wrote:
> May be already asked, sorry so !
> 
> But what is the best method when updating between
> 4.4 and 4.5
> or
> 4.4 and 4.6
> or 
> 5.0 and 5.1
> 
> Is it ok to update only with 'yum update' cmd, with no risk ?

Yes. It is the standard way endorsed by the maintainers. They only
recommend against upgrades to new releases (e.g. 4.x->5.x).

I've gone from 4.2 (IIRC)->4.3->4.4...4.6 with almost no problems. The
only one requiring extra work was when the sqlite (IIRC) got updated.

Also keep in mind if you mix repositories, use priorities and/or include
and exclude commands in the repo files.

> 
> Thanks you for your support,
> 

HTH
-- 
Bill

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


Re: [CentOS] alfresco

2008-05-30 Thread Craig White
On Fri, 2008-05-30 at 15:07 -0700, dnk wrote:
> I just figured that since my issues were likely more with my alfresco  
> configurations, I thought some might consider it off topic.
> 
> I guess I will start it on list, and if anyone feels it is off topic,  
> I will pull it back off the list.
> 
> In a nut shell, I was following the howto located at:
> 
> http://wiki.alfresco.com/wiki/Installing_on_Linux#Installing_Alfresco_Community_WAR_on_Centos_5
> 
> 
> Now I have gone through it step by step, and the only mods I did were  
> to use some more updated package versions, but that is about it.
> 
> After all was said and done, my tomcat, etc all start without issue.
> 
> At the end of the tutorial it states I should be able to go to:
> 
> http://serverIP:8080/alfresco/
> 
> now when I go there, I get a tomcat error stating that the page is not  
> found
> 
> -
> HTTP Status 404 - /alfresco/
> type Status report
> 
> message /alfresco/
> 
> description The requested resource (/alfresco/) is not available.
> 
> Apache Tomcat/5.5.20
> -
> 
> Granted I am very inexperienced with tomcat. But that is where I am  
> stuck at.
> 
> So I had a look at my /var/log/tomcat5/alfresco.log, and it was  
> complaining about failed loading of ImageMagick... so I just yumed  
> that in and rebooted. That is now gone, however my same issue  
> (resource not found) still persists.

I think you should look at /var/log/tomcat5/catalina.out because that is
where startup issues will be located.

Craig



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


Re: [CentOS] alfresco

2008-05-30 Thread dnk

On 30-May-08, at 3:26 PM, Craig White wrote:


On Fri, 2008-05-30 at 15:07 -0700, dnk wrote:

I just figured that since my issues were likely more with my alfresco
configurations, I thought some might consider it off topic.

I guess I will start it on list, and if anyone feels it is off topic,
I will pull it back off the list.

In a nut shell, I was following the howto located at:

http://wiki.alfresco.com/wiki/Installing_on_Linux#Installing_Alfresco_Community_WAR_on_Centos_5


Now I have gone through it step by step, and the only mods I did were
to use some more updated package versions, but that is about it.

After all was said and done, my tomcat, etc all start without issue.

At the end of the tutorial it states I should be able to go to:

http://serverIP:8080/alfresco/

now when I go there, I get a tomcat error stating that the page is  
not

found

-
HTTP Status 404 - /alfresco/
type Status report

message /alfresco/

description The requested resource (/alfresco/) is not available.

Apache Tomcat/5.5.20
-

Granted I am very inexperienced with tomcat. But that is where I am
stuck at.

So I had a look at my /var/log/tomcat5/alfresco.log, and it was
complaining about failed loading of ImageMagick... so I just yumed
that in and rebooted. That is now gone, however my same issue
(resource not found) still persists.


I think you should look at /var/log/tomcat5/catalina.out because  
that is

where startup issues will be located.

Craig




Ok, having a look in there, and the things that stick out at me are:

INFO: Deploying web application archive alfresco.war
07:34:00,712 User:System WARN  [remoting.rmi.RmiRegistryFactoryBean]  
Could not detect RMI registry - creating new one
07:34:02,499 User:System INFO  [domain.schema.SchemaBootstrap] Schema  
managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
07:34:02,811 User:System INFO  [domain.schema.SchemaBootstrap] No  
changes were made to the schema.
07:34:29,783 User:System ERROR [web.context.ContextLoader] Context  
initialization failed

org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed



Then at the end of the log file i have:

SEVERE: Error listenerStart
May 30, 2008 7:34:29 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to  
error in class reloading, using NOPLoggerRepository.



And in the alfresco.log I have:


07:07:02,705 WARN   
[org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not  
detect RMI registry - creating new one
07:07:04,541 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap]  
Schema managed by database dialect  
org.hibernate.dialect.MySQLInnoDBDialect.
07:07:05,232 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap]  
No changes were made to the schema.
07:07:33,090 ERROR [org.springframework.web.context.ContextLoader]  
Context initialization failed

org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed


Then further down I have:

Caused by: java.lang.OutOfMemoryError: Java heap space



dnk




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


Re: [CentOS] alfresco

2008-05-30 Thread Craig White
On Fri, 2008-05-30 at 15:44 -0700, dnk wrote:
> On 30-May-08, at 3:26 PM, Craig White wrote:
> 

> INFO: Deploying web application archive alfresco.war
> 07:34:00,712 User:System WARN  [remoting.rmi.RmiRegistryFactoryBean]
> Could not detect RMI registry - creating new one
> 07:34:02,499 User:System INFO  [domain.schema.SchemaBootstrap] Schema
> managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
> 07:34:02,811 User:System INFO  [domain.schema.SchemaBootstrap] No
> changes were made to the schema.
> 07:34:29,783 User:System ERROR [web.context.ContextLoader] Context
> initialization failed
> org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed

clearly an error with mysql

either you didn't get the user/passwords right or you failed to get this
package installed... mysql-server mysql xml-commons-apis

As I recall, I installed this manually and didn't know that there was a
rpm package for it.

Is SELinux on? Is that stopping things? 
-

> Then at the end of the log file i have:
> 
> 
> SEVERE: Error listenerStart
> May 30, 2008 7:34:29 AM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/alfresco] startup failed due to previous errors
> log4j:ERROR LogMananger.repositorySelector was null likely due to
> error in class reloading, using NOPLoggerRepository.
> 
> 
> 
> 
> And in the alfresco.log I have:
> 
> 
> 
> 
> 07:07:02,705 WARN
>  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not
> detect RMI registry - creating new one
> 07:07:04,541 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap]
> Schema managed by database dialect
> org.hibernate.dialect.MySQLInnoDBDialect.
> 07:07:05,232 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap]
> No changes were made to the schema.
> 07:07:33,090 ERROR [org.springframework.web.context.ContextLoader]
> Context initialization failed
> org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
> 
> 
> 
> 
> Then further down I have:
> 
> Caused by: java.lang.OutOfMemoryError: Java heap space
> 
-
The web site you pointed to says...

Configuring Tomcat 
To configure proper usage of system memory, edit /etc/sysconfig/tomcat5
and add the following to the bottom of the file:

JAVA_OPTS="$JAVA_OPTS -Xms512m -Xmx512m"

These values seem to work well on our system, which has 2 GB memory.


Did you do this?

How much RAM is in this server?

Clearly tomcat isn't starting up...that's what catalina.out is telling
you.

it also appears that I added this to /etc/sysconfig/tomcat5 (all on one
line)

 JAVA_OPTS="$JAVA_OPTS -Dcatalina.ext.dirs=$CATALINA_HOME/shared/lib:
$CATALINA_HOME/common/lib"

but this doesn't appear to be your issue...

Craig

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


Re: [CentOS] alfresco

2008-05-30 Thread Craig White
On Fri, 2008-05-30 at 15:44 -0700, dnk wrote:

> Ok, having a look in there, and the things that stick out at me are:
> 
> 
> INFO: Deploying web application archive alfresco.war
> 07:34:00,712 User:System WARN  [remoting.rmi.RmiRegistryFactoryBean]
> Could not detect RMI registry - creating new one
> 07:34:02,499 User:System INFO  [domain.schema.SchemaBootstrap] Schema
> managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
> 07:34:02,811 User:System INFO  [domain.schema.SchemaBootstrap] No
> changes were made to the schema.
> 07:34:29,783 User:System ERROR [web.context.ContextLoader] Context
> initialization failed
> org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed

also...make sure you follow the instructions on that web page that you
linked to about...


mysql-connector-java 
[EMAIL PROTECTED] alfresco]# tar -xzf mysql-connector-java-5.1.5.tar.gz

[EMAIL PROTECTED] alfresco]# cd mysql-connector-java-5.1.5

[EMAIL PROTECTED] alfresco]# cp
mysql-connector-java-5.1.5-bin.jar /usr/share/java/

[EMAIL PROTECTED] alfresco]# cd /var/lib/tomcat5/common/endorsed/

[EMAIL PROTECTED] alfresco]#
rebuild-jar-repository /var/lib/tomcat5/common/endorsed
mysql-connector-java-5.1.5-bin.jar

As these are essential to getting it to connect to MySQL

Craig

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


[CentOS] XFS install issue

2008-05-30 Thread mslist

I am attempting to implement XFS on a new system.

System:
Supermicro SC846 TQ-R900B - rack-mountable
SUPERMICRO X7DWN+ - motherboard
3ware 9650SE-24M8 - storage controller
10 Hitachi DeskStar 7K1000 - hard drive - 1 TB
8GB Ram
2 Intel Quad-Core Xeon E5420 / 2.5 GHz processor

Installed Centos 5.1 X86 64 from DVD. System on /dev/sda1 
– 250GB ext3 (raid 5). /home will be on /dev/sdb1 – over 
7TB XFS.


Kernel version issue

-
 
[EMAIL PROTECTED] work]# yum install kmod-xfs.x86_64

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. 
Please wait.
---> Downloading header for kmod-xfs to pack into 
transaction set.
kmod-xfs-0.4-1.2.6.18_53. 100% |=| 
2.8 kB00:00
---> Package kmod-xfs.x86_64 0:0.4-1.2.6.18_53.1.19.el5 
set to be installed

--> Running transaction check
--> Processing Dependency: kernel-x86_64 = 
2.6.18-53.1.19.el5 for package: kmod-xfs

--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. 
Please wait.
---> Downloading header for kernel to pack into 
transaction set.
kernel-2.6.18-53.1.19.el5 100% |=| 
256 kB00:00
---> Package kernel.x86_64 0:2.6.18-53.1.19.el5 set to be 
installed

--> Running transaction check

Dependencies Resolved

=
 Package Arch   Version 
RepositorySize

=
Installing:
 kmod-xfsx86_64 
   0.4-1.2.6.18_53.1.19.el5  extras253 k

Installing for dependencies:
 kernel  x86_64 2.6.18-53.1.19.el5 
updates15 M


Transaction Summary
=
Install  2 Package(s)
Update   0 Package(s)
Remove   0 Package(s)

Total download size: 16 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): kmod-xfs-0.4-1.2.6 100% |=| 
253 kB00:00
(2/2): kernel-2.6.18-53.1 100% |=| 
15 MB00:02

Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  package kernel-2.6.18-53.1.21.el5 (which is newer than 
kernel-2.6.18-53.1.19.el5) is already installed


Error Summary
-


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


Re: [CentOS] Learning some sad things about the state of IPv6

2008-05-30 Thread Christopher Chan



Exactly!!!  What he's complaining about is the lack of lazy-man's GUI
tool to configure ip6tables.


I may be ethnic Chinese but I grew in Sierra Leone and English is what I 
use from day to day and I cannot read Chinese characters...or do not 
recognise enough to claim literacy anyway.




Are you absolutely sure that FWBuilder doesn't support IPv6?  Because
here there a release note
http://www.fwbuilder.org/docs/firewall_builder_release_notes.html
referring to ip6tables.




When did I or the OP say there was absolutely no ipv6 support?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos