[CentOS] some help on mrepo please

2008-03-03 Thread Rudi Ahlers
I have downloaded & installed mrepo on my SME 7.3 (CentOS 4.6) server, 
which is our main file & email server, and internet gateway.


I have got CentOS 5.0 i386 & x86_64 DVD's, and CentOS 5.1 i386 & x86_64 
CD1, where do I copy these? I have setup /etc/mrepo.conf.d/centos5.conf 
with both i386 & x86_64 arch, but how will mrepo know that CentOS 5.0 & 
CentOS 5.1 are different?


This is the folder structure I have:

[EMAIL PROTECTED] ~]# ll 
/home/e-smith/files/ibays/linux/files/repos/centos5-i386/

total 28
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 addons
drwxr-sr-x  2 root softdux 4096 Mar  4 09:07 centosplus
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 custom
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 extras
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 fasttrack
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 rpmforge
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 updates
[EMAIL PROTECTED] ~]# ll 
/home/e-smith/files/ibays/linux/files/repos/centos5-x86_64/

total 28
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 addons
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 centosplus
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 custom
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 extras
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 fasttrack
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 rpmforge
drwxr-sr-x  2 root softdux 4096 Mar  4 09:06 updates


I have run mrepo -vv -u to see what it does, but it seems like it's 
going to download every file from the CentOS repositories. Where do I 
copy the rpm's that I have already downloaded to? For example, all the 
rpm's in /var/cache/*/packages folders?


--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg

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


[CentOS] Device-mapper-multipath not working correctly with GNBD devices

2008-03-03 Thread Svetoslav Rogalski
Hi all,

 

I am trying to configure a failover multipath between 2 GNBD devices.

 

I have a 4 nodes Redhat Cluster Suite (RCS) cluster. 3 of them are used for
running services, 1 of them for central storage. In the future I am going to
introduce another machine for central storage. The 2 storage machine are
going to share/export the same disk. The idea is not to have a single point
of failure on the machine exporting the storage.

 

For concept testing I am using one machine on which I have configured 2 GNBD
exports, which are exporting exactly the same disk. These are configured
with:

 

# /sbin/gnbd_export -d /dev/sdb1 -e gnbd0 -u gnbd

# /sbin/gnbd_export -d /dev/sdb1 -e gnbd1 -u gnbd

 

They are exporting with the same id, so the multipath driver will
automatically configure them as alternative paths to the same storage.

 

Now on one of the cluster nodes used for running services I am importing
these GNBD devices with:

 

# /sbin/gnbd_import -i gnbd1

 

where gnbd1 is the hostname of the machine exporting the GNBD devices.

 

And I have these imported ok:

 

# gnbd_import -l

Device name : gnbd1

--

Minor # : 0

 sysfs name : /block/gnbd0

 Server : gnbd11

   Port : 14567

  State : Open Connected Clear

   Readonly : No

Sectors : 41941688

 

Device name : gnbd0

--

Minor # : 1

 sysfs name : /block/gnbd1

 Server : gnbd1

   Port : 14567

  State : Open Connected Clear

   Readonly : No

Sectors : 41941688

 

#

 

After, I have configured the device-mapper multipath by commenting the
"blacklist" section in /etc/multipath.conf and adding this "defaults"
section:

 

defaults {

user_friendly_names yes

polling_interval 5

#path_grouping_policy failover

path_grouping_policy multibus

rr_min_io 1

failback immediate

#failback manual

no_path_retry fail

#no_path_retry queue

}

 

Now I have the mpath device configured correctly (IMHO):

 

# multipath -ll

mpath0 (gnbd) dm-2 GNBD,GNBD

[size=20G][features=0][hwhandler=0]

\_ round-robin 0 [prio=2][enabled]

 \_ #:#:#:# gnbd0 252:0 [active][ready]

 \_ #:#:#:# gnbd1 252:1 [active][ready]

#

 

# dmsetup ls

mpath0 (253, 2)

VolGroup00-LogVol01 (253, 1)

VolGroup00-LogVol00 (253, 0)

#

 

Now I mkfs.ext3 over the mpath0 device to create a filesystem, then mount.
After I start to copy a file (with scp - to have a progress bar) and during
the copy process I shutdown one of the exported GNBD device on the disk
exporting machine with:

 

# gnbd_export -r gnbd1 -O

 

After a while in the maillog:

 

gnbd_recvd[3357]: client lost connection with gnbd11 : Broken pipe

gnbd_recvd[3357]: reconnecting

kernel: gnbd1: Receive control failed (result -32)

kernel: gnbd1: shutting down socket

kernel: exiting GNBD_DO_IT ioctl

kernel: gnbd1: Attempted send on closed socket

gnbd_recvd[3357]: ERROR [gnbd_recvd.c:292] login refused by the server : No
such

device

gnbd_recvd[3357]: reconnecting

kernel: device-mapper: multipath: Failing path 252:1.

multipathd: gnbd1: directio checker reports path is down

multipathd: checker failed path 252:1 in map mpath0

multipathd: mpath0: remaining active paths: 1

gnbd_recvd[3357]: ERROR [gnbd_recvd.c:292] login refused by the server : No
such

device

gnbd_recvd[3357]: reconnecting

 

Now the copy process is freezed. It stays that way until the GNBD device is
exported again. I try some commands on the multipath machine:

 

# multipath -ll

gnbd1: checker msg is "directio checker reports path is down"

mpath0 (gnbd) dm-2 GNBD,GNBD

[size=20G][features=0][hwhandler=0]

\_ round-robin 0 [prio=1][active]

 \_ #:#:#:# gnbd0 252:0 [active][ready]

 \_ #:#:#:# gnbd1 252:1 [failed][faulty]



 

This prompt get back after the GNBD device is exported again.

 

My expectations were that in such a scenario the multipath driver is going
to switch the requests to the other path and everything should continue to
work. Am I wrong?

 

I have upgraded to the last version of all the RPMs. I am using CentOS 5.1.

 

I have tried different multipath settings (which are commented out in the
multipath.conf "defaults" section I pasted previously), but nothing happens.

 

 

This may be useful. When starting the machine in the log:

 

multipathd: gnbd0: add path (uevent)

kernel: device-mapper: multipath round-robin: version 1.0.0 loaded

multipathd: mpath0: load table [0 41941688 multipath 0 0 1 1 round-robin 0 1
1

252:0 1000]

multipathd: mpath0: event checker started

multipathd: dm-2: add map (uevent)

multipathd: dm-2: devmap already registered

gnbd_recvd[3357]: gnbd_recvd started

kernel: resending requests

multipathd: gnbd1: add path (uevent)

multipathd: mpath0: load table [0 41941688 multipath 0 0 1 1 round-robin 0 2
1

252:0 1000 252:1 1000]

multipathd: dm-2: add map (uevent)

multipathd: dm-2: devmap already registered

 

 

Maybe this is a bug of GNBD not 

Re: [CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Steven Vishoot

--- Karl Denninger <[EMAIL PROTECTED]> wrote:

> 
> 
> Stephen Harris wrote:
> > On Mon, Mar 03, 2008 at 10:22:20PM -0600, Karl
> Denninger wrote:
> >
> >   
> >> Allegedly openssl (which is loaded) provides
> this, but...
> >>
> >> ./configure --with-openssl
> >> 
> >
> > And have you installed openssl-devel?
> >
> > (well, clearly the answer is no because you
> haven't actually paid any
> > attention to anything I've written)
> >
> >   % yum whatprovides libcrypto.a
> >   [snip]
> >   
> >   openssl-devel.i386  
> 0.9.7a-43.17.el4_6.1   c4-local
> >   Matched from:
> >   /usr/lib/libcrypto.a
> >
> >   openssl-devel.i586  
> 0.9.7a-43.17.el4_6.1   c4-local
> >   Matched from:
> >   /usr/lib/libcrypto.a
> >
> >
> > You can lead a horse to water
> >   
> H... trying man. heh, its my first Linux. 
> Whadda 'ya want, 
> FreeBSD since the mid 90s.
> 
> ("User" installations on FreeBSD  gets you standard
> development 
> libraires and the C compiler.  I am beginning to
> understand that CentOS 
> looks at this more like Windows - the "base load" is
^
   HUH?



> in fact just a 
> runtime with NOTHING development-related in it)
> 
> Thanks
> 
> Karl Denninger ([EMAIL PROTECTED])
> http://www.denninger.net
> 
> 
> 
> 
> ___
> 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] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Les Mikesell

Karl Denninger wrote:



Stephen Harris wrote:

On Mon, Mar 03, 2008 at 10:22:20PM -0600, Karl Denninger wrote:

 

Allegedly openssl (which is loaded) provides this, but...

./configure --with-openssl



And have you installed openssl-devel?

(well, clearly the answer is no because you haven't actually paid any
attention to anything I've written)

  % yum whatprovides libcrypto.a
  [snip]
openssl-devel.i386   0.9.7a-43.17.el4_6.1   
c4-local

  Matched from:
  /usr/lib/libcrypto.a

  openssl-devel.i586   0.9.7a-43.17.el4_6.1   
c4-local

  Matched from:
  /usr/lib/libcrypto.a


You can lead a horse to water
  
H... trying man. heh, its my first Linux.  Whadda 'ya want, 
FreeBSD since the mid 90s.


("User" installations on FreeBSD  gets you standard development 
libraires and the C compiler.  I am beginning to understand that CentOS 
looks at this more like Windows - the "base load" is in fact just a 
runtime with NOTHING development-related in it)




Yes - that's why there is that selection for "Development" during the 
install.  If you don't pick it, you don't get it...


--
  Les Mikesell
[EMAIL PROTECTED]

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


Re: [CentOS] RESTORING THUNDERBIRD FILES

2008-03-03 Thread Chris Geldenhuis

Karanbir Singh wrote:

Chris Geldenhuis wrote:
  

This morning I wanted to check my mail, but when I opened Thunderbird,
it asked me to set up a mail account. 



are you sure you didnt install a thunderbird / firefox from outside the
yum repo's ?

  

I saved the contents of the previous .thunderbird file structure with
tar and created a new mail account with the same details (name, isp,
pasword, servers etc.) as the previous account.



you should be able to untar the .thunderbird tarball into another place,
and then basically just move the email files into place in the current
~/.thunderbird

remember to note where the email is expected, and there will be files
per folder and an index for each one called the .msf - you
want to get all those over to the new instance.

Also, you might need to rename of the files if you now have new folders
with the same name ( eg. inbox )



now having said that, before you do anything, check ~/.thunderbird for
more than 1 directory called .default, and check the
profiles.ini file in the same place. its possible you are just looking
at a new profile, and switching over to the older profile will be all
you need.

And then you can work out howto get emails from one side to the other.

  

Thanks Karanbir,

I will work on this when I get back from work tonight. There are two 
directories .default. When profiles.ini is set to use 
the one created when I recreated my mail connection, Thunderbird starts 
up with none of my history (as expected). When I edit profiles.ini to 
use the other (older) setup and start Thunderbird it starts the "wizard" 
to create a new connection - so clearly something has been corrupted in 
that setup. I will try to copy the important data from there to the new 
setup.


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


Re: [CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Les Mikesell

Karl Denninger wrote:


Stephen Harris wrote:

On Mon, Mar 03, 2008 at 04:46:28PM -0600, Karl Denninger wrote:
 

Stephen Harris wrote:



 

So; readline-devel, zlib-devel and so on.

 
  

Cool - that's two of three.

Where's crypto?



"yum whatprovides" is your friend.

  

Allegedly openssl (which is loaded) provides this, but...

./configure --with-openssl

.. (lots of stuff that is all ok)
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... bison -y
configure: using bison (GNU Bison) 2.3
checking for flex... /usr/bin/flex
configure: using /usr/bin/flex version 2.5.4
checking for perl... /usr/bin/perl
checking for main in -lm... yes
checking for library containing setproctitle... no
checking for library containing dlopen... -ldl
checking for library containing socket... none required
checking for library containing shl_load... no
checking for library containing getopt_long... none required
checking for library containing crypt... -lcrypt
checking for library containing fdatasync... none required
checking for library containing shmget... none required
checking for -lreadline... yes (-lreadline -ltermcap)
checking for inflate in -lz... yes
checking for CRYPTO_new_ex_data in -lcrypto... no
configure: error: library 'crypto' is required for OpenSSL

H



Do you have the openssl-devel package?

--
  Les Mikesell
   [EMAIL PROTECTED]

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


Re: [CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Karl Denninger



Stephen Harris wrote:

On Mon, Mar 03, 2008 at 10:22:20PM -0600, Karl Denninger wrote:

  

Allegedly openssl (which is loaded) provides this, but...

./configure --with-openssl



And have you installed openssl-devel?

(well, clearly the answer is no because you haven't actually paid any
attention to anything I've written)

  % yum whatprovides libcrypto.a
  [snip]
  
  openssl-devel.i386   0.9.7a-43.17.el4_6.1   c4-local

  Matched from:
  /usr/lib/libcrypto.a

  openssl-devel.i586   0.9.7a-43.17.el4_6.1   c4-local
  Matched from:
  /usr/lib/libcrypto.a


You can lead a horse to water

  
Well in all fairness I did a "whatprovides", dumped it into a file, and 
used vi on it as what I got back had thousands of lines of kernel RPMs 
listed in it. and missed the one that counted.



Karl Denninger ([EMAIL PROTECTED])
http://www.denninger.net




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


Re: [CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Karl Denninger



Stephen Harris wrote:

On Mon, Mar 03, 2008 at 10:22:20PM -0600, Karl Denninger wrote:

  

Allegedly openssl (which is loaded) provides this, but...

./configure --with-openssl



And have you installed openssl-devel?

(well, clearly the answer is no because you haven't actually paid any
attention to anything I've written)

  % yum whatprovides libcrypto.a
  [snip]
  
  openssl-devel.i386   0.9.7a-43.17.el4_6.1   c4-local

  Matched from:
  /usr/lib/libcrypto.a

  openssl-devel.i586   0.9.7a-43.17.el4_6.1   c4-local
  Matched from:
  /usr/lib/libcrypto.a


You can lead a horse to water
  
H... trying man. heh, its my first Linux.  Whadda 'ya want, 
FreeBSD since the mid 90s.


("User" installations on FreeBSD  gets you standard development 
libraires and the C compiler.  I am beginning to understand that CentOS 
looks at this more like Windows - the "base load" is in fact just a 
runtime with NOTHING development-related in it)


Thanks

Karl Denninger ([EMAIL PROTECTED])
http://www.denninger.net




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


Re: [CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Stephen Harris
On Mon, Mar 03, 2008 at 10:22:20PM -0600, Karl Denninger wrote:

> Allegedly openssl (which is loaded) provides this, but...
> 
> ./configure --with-openssl

And have you installed openssl-devel?

(well, clearly the answer is no because you haven't actually paid any
attention to anything I've written)

  % yum whatprovides libcrypto.a
  [snip]
  
  openssl-devel.i386   0.9.7a-43.17.el4_6.1   c4-local
  Matched from:
  /usr/lib/libcrypto.a

  openssl-devel.i586   0.9.7a-43.17.el4_6.1   c4-local
  Matched from:
  /usr/lib/libcrypto.a


You can lead a horse to water

-- 

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


Re: [CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Karl Denninger


Stephen Harris wrote:

On Mon, Mar 03, 2008 at 04:46:28PM -0600, Karl Denninger wrote:
  

Stephen Harris wrote:



  

So; readline-devel, zlib-devel and so on.

 
  

Cool - that's two of three.

Where's crypto?



"yum whatprovides" is your friend.

  

Allegedly openssl (which is loaded) provides this, but...

./configure --with-openssl

.. (lots of stuff that is all ok)
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... bison -y
configure: using bison (GNU Bison) 2.3
checking for flex... /usr/bin/flex
configure: using /usr/bin/flex version 2.5.4
checking for perl... /usr/bin/perl
checking for main in -lm... yes
checking for library containing setproctitle... no
checking for library containing dlopen... -ldl
checking for library containing socket... none required
checking for library containing shl_load... no
checking for library containing getopt_long... none required
checking for library containing crypt... -lcrypt
checking for library containing fdatasync... none required
checking for library containing shmget... none required
checking for -lreadline... yes (-lreadline -ltermcap)
checking for inflate in -lz... yes
checking for CRYPTO_new_ex_data in -lcrypto... no
configure: error: library 'crypto' is required for OpenSSL

H

-- Karl Denninger



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


Re: [CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Stephen Harris
On Mon, Mar 03, 2008 at 04:46:28PM -0600, Karl Denninger wrote:
> Stephen Harris wrote:

> >So; readline-devel, zlib-devel and so on.
> >
> >  
> Cool - that's two of three.
> 
> Where's crypto?

"yum whatprovides" is your friend.


-- 

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


Re: [CentOS] Request for hplip upgrade

2008-03-03 Thread Akemi Yagi
On Mon, Mar 3, 2008 at 2:00 PM, Bob Taylor <[EMAIL PROTECTED]> wrote:
>
> On Mon, 2008-03-03 at 12:17 -0800, Akemi Yagi wrote:
>  >
>  > Uncle Bob,
>  >
>  > If you'd really like to use the hplip package rather than going for
>  > alternative ways, I suggest you rebuild it from the Fedora srpm.  It
>  > is much better than installing from a tarball.  Just found that
>  > hplip-2.7.12-4 for fc8 rebuilds without difficulties.  I can offer the
>  > stuff I built for CentOS-5 if you like.
>
>  Why thank you Akemi! I *really* don't like messing with a distribution.
>  Unfortunately, sometimes what I need is just not there.
>  --
>  Bob Taylor

I hope you've got the download instructions from me by now.  If not,
let me know.

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


Re: [CentOS] phpmyadmin hang..

2008-03-03 Thread Jim Perrin
On Mon, Mar 3, 2008 at 5:27 PM, Frank M. Ramaekers
<[EMAIL PROTECTED]> wrote:
> It seems that I can never get through a phpmyadmin session w/o it
>  hanging on "Waiting for http://";.  The only way I have found to
>  correct this is to cycle Apache.  I can always get past the signon
>  portion, but it hangs at various portions of selecting DBs or Tables.
>  CPU is not overly active, all httpd daemons running, no myphpadmin
>  remnants running.   Can't find any problems in the httpd log files.
>
>  I've searched the web, but no applicable hits.
>
>
>  Anyone been there?

As much as I dislike phpmyadmin.

Check that you have all the relevant mysql bits installed for php,
(php-mysql, and php-mbstring specifically), and also look at the
amount of memory that php is allowed to use. For larger mysql
datasets, it's possible that the default memory allocation in your
php.ini may not be enough.



-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Send in your favorite CentOS slogan today

2008-03-03 Thread Andreas
On Mon, Mar 3, 2008 at 11:16 PM, Pierre Reinbold
<[EMAIL PROTECTED]> wrote:
> Dag Wieers a écrit :
>
>
>  > The CentOS project is looking for more slogans that may end up on
>  > promotional material (eg media, flyers, posters or stickers). We already
>  > collected a few funny, ironic, sarcastic or even distasteful ones.
>  >
>  > Feel free to visit our Slogans wiki page for a good laugh or rude
>  > offenses and add your own slogan by sending them to this thread.
>
>  cat /dev/enterprise | community &> CentOS

less enterprice | more community &> CentOS
Quote: "less is more"

>
>
> ___
>  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] PekLeng Teo is out of the office.

2008-03-03 Thread PekLeng . Teo
Apologised for that, I have revert my email setting.



   
 "Jim Perrin"  
 <[EMAIL PROTECTED] 
 m> To 
 Sent by:  "CentOS mailing list"   
 [EMAIL PROTECTED]  
 ntos.org   cc 
 No Phone Info 
 Available Subject 
   Re: [CentOS] PekLeng Teo is out of  
   the office. 
 03/04/2008 12:44  
 AM
   
   
 Please respond to 
  CentOS mailing   
   list
 <[EMAIL PROTECTED] 
g> 
   
   




On Mon, Mar 3, 2008 at 11:42 AM,  <[EMAIL PROTECTED]> wrote:
>
>  I will be out of the office starting  03/04/2008 and will not return
until
>  03/05/2008.
>
>  I will respond to your message when I return.


I think we'd all appreciate it if your computer wouldn't respond in
your absence.


--
During times of universal deceit, telling the truth becomes a revolutionary
act.
George Orwell
___
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] LVM and kickstarts ?

2008-03-03 Thread Ross S. W. Walker
Michael Gale wrote:
> 
> Hey,
> 
>   If I take swap out of the LVM section and create a 
> regular partition 
> for swap it fails.

Maybe you have some bad white space in there. Accidentally quoted
some control character or such.

I'd wipe those lines out in vi and re-type them to be certain.

-Ross


> 
> Ross S. W. Walker wrote:
> > Michael Gale wrote:
> >> Hey,
> >>
> >>Can anyone tell me why option 1 works and option 2 
> fails ? I know I 
> >> need swap and such, however in trouble shooting this issue 
> I trimmed 
> >> down my config.
> >>
> >> It fails on trying to format my logical volume, because 
> the mount point 
> >> does not exist (/dev/volgroup/logvol)
> >>
> >> It seems that with option 2, the partitions are created 
> and LVM is setup 
> >> correctly. However the volgroup / logvolume was not made 
> active, so my 
> >> /dev/volgroup/logvol did not exist.
> >>
> >> Running `lvm lvchange -a -y pathname` from with in the shell after 
> >> anaconda failed made the volgroup / logvol active. Which 
> would allow the 
> >> format command to complete.
> >>
> >> Option 1:
> >> zerombr yes
> >> clearpart --all --initlabel
> >> part /boot --fstype ext3 --size=100
> >> part pv.os --size=1 --grow --maxsize=1 --asprimary
> >> volgroup os_volgroup01 pv.os
> >> logvol swap --fstype swap --name=os_swap_logvol 
> --vgname=os_volgroup01 --recommended
> >> logvol / --fstype ext3 --name=os_root 
> --vgname=os_volgroup01 --size=1024 --grow
> >>
> >> Option 2:
> >> zerombr yes
> >> clearpart --all --initlabel
> >> part /boot --fstype ext3 --size=100
> >> part pv.os --size=1 --grow --maxsize=1 --asprimary
> >> volgroup os_volgroup01 pv.os
> >> logvol / --fstype ext3 --name=os_root 
> --vgname=os_volgroup01 --size=1024 --grow
> > 
> > I do this through kickstart and here's what I use:
> > 
> > bootloader --location=mbr
> > zerombr yes
> > clearpart --linux --initlabel --drives=sda
> > part /boot --fstype ext3 --size=128 --ondisk=sda --asprimary
> > part pv.0 --size=0 --grow --ondisk=sda
> > volgroup CentOS --pesize=32768 pv.0
> > logvol / --fstype ext3 --name=root --vgname=CentOS 
> --size=4096 --grow --maxsize=16384
> > logvol swap --fstype swap --name=swap --vgname=CentOS 
> --size=1024 --grow --maxsize=2048
> > 
> > I haven't tried without swap and I think anaconda expects 
> there to be a swap definition
> > in kickstart, so that might be it, lv wasn't activated 
> because swap was missing.
> > 
> > Best I can think of.
> > 
> > -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
> 
> -- 
> Michael Gale
> 
> Red Hat Certified Engineer
> Network Administrator
> Pason Systems Corp.
> 
> "It's not that I'm so smart, it's just that I stay with problems 
> longer." - Albert Einstein
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

__
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.



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


Re: [CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Karl Denninger

Stephen Harris wrote:

On Mon, Mar 03, 2008 at 03:53:34PM -0600, Karl Denninger wrote:
  
Without readline, zlib and the crypto libraries you can't build the full 
8.3 release... and installing 8.1 as a distro doesn't get you the 
libraries you need to build.



We distinguish between runtime libraries and development libraries, so
you'll see packages like "readline" and "readline-devel".  You need the
-devel versions installed to compile.

So; readline-devel, zlib-devel and so on.

  

Cool - that's two of three.

Where's crypto?

Karl Denninger ([EMAIL PROTECTED])
http://www.denninger.net

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


Re: [CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Barry L. Kline
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karl Denninger wrote:

> That doesn't help (I'm trying to built it from source)
> 
> Without readline, zlib and the crypto libraries you can't build the full
> 8.3 release... and installing 8.1 as a distro doesn't get you the
> libraries you need to build.
> 

You may want to check out http://yum.pgsqlrpms.org/ to see if they have
compiled in everything that you need.  You can get 8.3 for CentOS 4/5 in
a repository that enables you to manage PG updates via yum.

Barry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFHzHyzCFu3bIiwtTARAosTAJ4k/CflS2c6EssCmqay6w79JukWqgCeJh0Y
xlVeSpIrHAZ10y40MK6Zpts=
=6Sgr
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LVM and kickstarts ?

2008-03-03 Thread Michael Gale

Hey,

	If I take swap out of the LVM section and create a regular partition 
for swap it fails.


Michael


Ross S. W. Walker wrote:

Michael Gale wrote:

Hey,

	Can anyone tell me why option 1 works and option 2 fails ? I know I 
need swap and such, however in trouble shooting this issue I trimmed 
down my config.


It fails on trying to format my logical volume, because the mount point 
does not exist (/dev/volgroup/logvol)


It seems that with option 2, the partitions are created and LVM is setup 
correctly. However the volgroup / logvolume was not made active, so my 
/dev/volgroup/logvol did not exist.


Running `lvm lvchange -a -y pathname` from with in the shell after 
anaconda failed made the volgroup / logvol active. Which would allow the 
format command to complete.


Option 1:
zerombr yes
clearpart --all --initlabel
part /boot --fstype ext3 --size=100
part pv.os --size=1 --grow --maxsize=1 --asprimary
volgroup os_volgroup01 pv.os
logvol swap --fstype swap --name=os_swap_logvol --vgname=os_volgroup01 
--recommended
logvol / --fstype ext3 --name=os_root --vgname=os_volgroup01 --size=1024 --grow

Option 2:
zerombr yes
clearpart --all --initlabel
part /boot --fstype ext3 --size=100
part pv.os --size=1 --grow --maxsize=1 --asprimary
volgroup os_volgroup01 pv.os
logvol / --fstype ext3 --name=os_root --vgname=os_volgroup01 --size=1024 --grow


I do this through kickstart and here's what I use:

bootloader --location=mbr
zerombr yes
clearpart --linux --initlabel --drives=sda
part /boot --fstype ext3 --size=128 --ondisk=sda --asprimary
part pv.0 --size=0 --grow --ondisk=sda
volgroup CentOS --pesize=32768 pv.0
logvol / --fstype ext3 --name=root --vgname=CentOS --size=4096 --grow 
--maxsize=16384
logvol swap --fstype swap --name=swap --vgname=CentOS --size=1024 --grow 
--maxsize=2048

I haven't tried without swap and I think anaconda expects there to be a swap 
definition
in kickstart, so that might be it, lv wasn't activated because swap was missing.

Best I can think of.

-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


--
Michael Gale

Red Hat Certified Engineer
Network Administrator
Pason Systems Corp.

"It's not that I'm so smart, it's just that I stay with problems 
longer." - Albert Einstein

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


[CentOS] phpmyadmin hang..

2008-03-03 Thread Frank M. Ramaekers
It seems that I can never get through a phpmyadmin session w/o it
hanging on "Waiting for http://";.  The only way I have found to
correct this is to cycle Apache.  I can always get past the signon
portion, but it hangs at various portions of selecting DBs or Tables.
CPU is not overly active, all httpd daemons running, no myphpadmin
remnants running.   Can't find any problems in the httpd log files.

I've searched the web, but no applicable hits.


Anyone been there?

Frank M. Ramaekers Jr.
Systems Programmer   MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co.   Phone: (254)761-6649
1200 Wooded Acres Dr.Fax:   (254)741-5777
Waco, Texas  76710


 



_
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at [EMAIL 
PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] twiki 4.2 on centos

2008-03-03 Thread Les Mikesell
Is anyone running twiki on centos?  The basic part of the 4.2 version 
appears to work, but there is a plugin installer that you run from the 
bin/Configure URL that is supposed to automate downloading and 
installing an assortment of optional add-on and plugin code, and this is 
giving me an error of "Subroutine install redefined at 
/var/www/html/twiki/WebDAVPlugin_installer.pl" (same thing for any 
xxx_installer.pl).  I didn't see this on the 4.1.2 version of twiki.


--
  Les Mikesell
   [EMAIL PROTECTED]

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


Re: [CentOS] question about network repositories

2008-03-03 Thread Rudi Ahlers

Jim Perrin wrote:

On Mon, Mar 3, 2008 at 12:05 PM, Rudi Ahlers <[EMAIL PROTECTED]> wrote:
  

Hi

 I'm thinking about setting up a local / LAN respository for my CentOS,
 and probably other (Fedora Core) disto's, but have never done it before,
 so here's some questions:

 If I setup a repository, can it hold different distro's / architectures
 & versions? Say for example, CentOS 4 (i386 & x64), CentOS 5.0 & 5.1
 (i386 & x64) - will each one have it's own folder?
 Will it also be possible to only download the packages that are needed,
 instead of the whole 4GB repository from the upstream provider? I have
 some of the CD's or DVD's for all of the distro's, so really only need a
 few packages now and then, and instead of getting them from the net
 everytime, get them from the LAN repository?

 Then, how would I do this?



Easy way to do this would be to set up mrepo from rpmforge. It does
nearly all the dirty work for you.

  
Wow, this looks like a great script. I'm still trying to figure it out 
though, but does it have to download the whole repo from the remote 
server, or can it dynamically download only the files that I need right now?


--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg

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


Re: [CentOS] Request for hplip upgrade

2008-03-03 Thread Bob Taylor
On Mon, 2008-03-03 at 13:37 -0600, Johnny Hughes wrote:
> Bob Taylor wrote:
> > My wife purchased an HP Deskjet F340 all-in-one printer last year.
> > CentOS 5 includes hplip-1.6.7. I need at least hplip-2.7.10 which I have
> > had to install via tarball. Is there any plans to update this package
> > soon?
> 
> Our goal is to be 100% directly compatible with the upstream EL 
> software.  So, the short answer is ... I have no idea when or if they 
> will put that in a current product.
> 
> If you want to know what MIGHT be in CentOS-6 (still probably 6-8 months 
> away) you can look in Fedora 9.  The version there (in what is called 
> Rawhide) is currently hplip-2.7.12-5.fc9.src.rpm:

Sorry Johnny, I was not specific. What I left off was if the developers
were aware of Red Hat's plans. I just presumed they had *some* inkling.
This is *one* package that *should* be updated fairly continuously for
new printers. Perhaps the current maintainers wouldn't mind?
-- 
Bob Taylor

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


Re: [CentOS] Send in your favorite CentOS slogan today

2008-03-03 Thread Pierre Reinbold

Dag Wieers a écrit :

The CentOS project is looking for more slogans that may end up on 
promotional material (eg media, flyers, posters or stickers). We already 
collected a few funny, ironic, sarcastic or even distasteful ones.


Feel free to visit our Slogans wiki page for a good laugh or rude 
offenses and add your own slogan by sending them to this thread.


cat /dev/enterprise | community &> CentOS
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Send in your favorite CentOS slogan today

2008-03-03 Thread Ralph Angenendt
Les Mikesell wrote:
> CentOS: All of the compatibility; none of the cost.  And where's that free 
> beer I hear so much about?

Sorry, seems like I got the last bottle. I'll reserve at least one for
you once the next shipment arrives.

Ralph


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


RE: [CentOS] Request for hplip upgrade

2008-03-03 Thread Bob Taylor
On Mon, 2008-03-03 at 14:41 -0500, Ross S. W. Walker wrote:
> Bob Taylor wrote:
> > 
[snip]

> Instead of the whole HPLIP tar ball you can download just the particular
> CUPS PPD file for a printer and install that under /usr/share/... and
> it should then be supported.

I have already make installed the tarball.

Eh? No PPD's in /usr/share/cups nor my printer
in /usr/share/foomatic/db/source/PPD/HP. I will get the rpm stuff from
Akemi. Thanks
-- 
Bob Taylor

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


Re: [CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Stephen Harris
On Mon, Mar 03, 2008 at 03:53:34PM -0600, Karl Denninger wrote:
> Without readline, zlib and the crypto libraries you can't build the full 
> 8.3 release... and installing 8.1 as a distro doesn't get you the 
> libraries you need to build.

We distinguish between runtime libraries and development libraries, so
you'll see packages like "readline" and "readline-devel".  You need the
-devel versions installed to compile.

So; readline-devel, zlib-devel and so on.

-- 

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


Re: [CentOS] Request for hplip upgrade

2008-03-03 Thread Bob Taylor
On Mon, 2008-03-03 at 12:17 -0800, Akemi Yagi wrote:
> On Mon, Mar 3, 2008 at 11:03 AM, Bob Taylor <[EMAIL PROTECTED]> wrote:
> > My wife purchased an HP Deskjet F340 all-in-one printer last year.
> >  CentOS 5 includes hplip-1.6.7. I need at least hplip-2.7.10 which I have
> >  had to install via tarball. Is there any plans to update this package
> >  soon?
> >
> >  Thanks
> >  --
> >  Bob Taylor
> 
> Uncle Bob,
> 
> If you'd really like to use the hplip package rather than going for
> alternative ways, I suggest you rebuild it from the Fedora srpm.  It
> is much better than installing from a tarball.  Just found that
> hplip-2.7.12-4 for fc8 rebuilds without difficulties.  I can offer the
> stuff I built for CentOS-5 if you like.

Why thank you Akemi! I *really* don't like messing with a distribution.
Unfortunately, sometimes what I need is just not there.

-- 
Bob Taylor

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


RE: [CentOS] LVM and kickstarts ?

2008-03-03 Thread Ross S. W. Walker
Michael Gale wrote:
> 
> Hey,
> 
>   Can anyone tell me why option 1 works and option 2 fails ? I know I 
> need swap and such, however in trouble shooting this issue I trimmed 
> down my config.
> 
> It fails on trying to format my logical volume, because the mount point 
> does not exist (/dev/volgroup/logvol)
> 
> It seems that with option 2, the partitions are created and LVM is setup 
> correctly. However the volgroup / logvolume was not made active, so my 
> /dev/volgroup/logvol did not exist.
> 
> Running `lvm lvchange -a -y pathname` from with in the shell after 
> anaconda failed made the volgroup / logvol active. Which would allow the 
> format command to complete.
> 
> Option 1:
> zerombr yes
> clearpart --all --initlabel
> part /boot --fstype ext3 --size=100
> part pv.os --size=1 --grow --maxsize=1 --asprimary
> volgroup os_volgroup01 pv.os
> logvol swap --fstype swap --name=os_swap_logvol --vgname=os_volgroup01 
> --recommended
> logvol / --fstype ext3 --name=os_root --vgname=os_volgroup01 --size=1024 
> --grow
> 
> Option 2:
> zerombr yes
> clearpart --all --initlabel
> part /boot --fstype ext3 --size=100
> part pv.os --size=1 --grow --maxsize=1 --asprimary
> volgroup os_volgroup01 pv.os
> logvol / --fstype ext3 --name=os_root --vgname=os_volgroup01 --size=1024 
> --grow

I do this through kickstart and here's what I use:

bootloader --location=mbr
zerombr yes
clearpart --linux --initlabel --drives=sda
part /boot --fstype ext3 --size=128 --ondisk=sda --asprimary
part pv.0 --size=0 --grow --ondisk=sda
volgroup CentOS --pesize=32768 pv.0
logvol / --fstype ext3 --name=root --vgname=CentOS --size=4096 --grow 
--maxsize=16384
logvol swap --fstype swap --name=swap --vgname=CentOS --size=1024 --grow 
--maxsize=2048

I haven't tried without swap and I think anaconda expects there to be a swap 
definition
in kickstart, so that might be it, lv wasn't activated because swap was missing.

Best I can think of.

-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.



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


Re: [CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Karl Denninger

Rudi Ahlers wrote:

Karl Jennings wrote:

I have the 5.x Centos DVD and loaded it.

Please be gentle with me, as I'm nominally a FreeBSD kind of guy... :)

Anyway, I'm trying to install Postgres and the three libraries in the 
subject line are missing off the base installation.  I figured out 
how to load gcc using yum, but those libraries aren't there, and I 
need the former in particular in order to enable SSL for Postgres 
client connections.  A perusal of "yum list" with an appropriate grep 
or two doesn't elicit anything useful.


Anyone know where I find these?  I loaded just the standard distro, 
no graphical user environment (neither Gnome or KDB)


Thanks in advance.


Hi Karl

yum works in a similar way to BSD's ports, in that it can 
automatically download the needed dependencies. So, running "yum 
install postgresql" gives me the following:


Dependencies Resolved

= 

Package Arch   Version  Repository
Size
= 


Installing:
postgresql  x86_64 8.1.11-1.el5_1.1  updates   
2.9 M

Installing for dependencies:
postgresql-libs x86_64 8.1.11-1.el5_1.1  updates   
195 k


Transaction Summary
= 


Install  2 Package(s)
Update   0 Package(s)
Remove   0 Package(s)

Total download size: 3.1 M
Is this ok [y/N]:

This means it will download all the packages (and they respective 
dependencies) for you and install it.


Running " yum search postgresql | more" gives me a list of all the 
different posgresql scripts (PHP, PERL, devel, etc) that can also be 
installed.


HTH


That doesn't help (I'm trying to built it from source)

Without readline, zlib and the crypto libraries you can't build the full 
8.3 release... and installing 8.1 as a distro doesn't get you the 
libraries you need to build.


Karl Denninger ([EMAIL PROTECTED])
http://www.denninger.net




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


Re: [CentOS] kickstart server variable name

2008-03-03 Thread Tom Brown



That would give the local IP, not the IP of the kickstart server...
  


my bad - i thought thats what the OP wanted


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


Re: [CentOS] kickstart server variable name

2008-03-03 Thread Milton Calnek

I don't think that's the ip OP is looking for.  I think he wants the server ip.

Tom Brown wrote:




You may be able to get the IP out of /proc/cmdline during %post
  


or

export MYIP=`ifconfig eth0 | awk '/inet/ {print $2}' | cut -d: -f 2`

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



--
Milton Calnek BSc, A/Slt(Ret.)
[EMAIL PROTECTED]
306-717-8737


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] kickstart server variable name

2008-03-03 Thread Matt Hyclak
On Mon, Mar 03, 2008 at 09:38:04PM +, Tom Brown enlightened us:
> >You may be able to get the IP out of /proc/cmdline during %post
> >  
> 
> or
> 
> export MYIP=`ifconfig eth0 | awk '/inet/ {print $2}' | cut -d: -f 2`
> 

That would give the local IP, not the IP of the kickstart server...

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


Re: [CentOS] kickstart server variable name

2008-03-03 Thread Tom Brown




You may be able to get the IP out of /proc/cmdline during %post
  


or

export MYIP=`ifconfig eth0 | awk '/inet/ {print $2}' | cut -d: -f 2`

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


Re: [CentOS] Send in your favorite CentOS slogan today

2008-03-03 Thread Daniel de Kok
On 3/3/08, William L. Maltby <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-03-03 at 10:36 -0600, Dan Carl wrote:
>  > Heard someone mention free beer, had to participate.
>  >
>  > CentOS, we find RedHat's bugs
>  >
>  > CentOS, the OS that makes sense.
>
>
> Consistently Excellent No-cost Terrific Open Source (CENTOS)

Can effectively nuke that Other System?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kickstart server variable name

2008-03-03 Thread nate
Jerry Geis wrote:
> Hi all,
>
> When your using kickstart and have a command like
> linux ks=http://MYIP/file.cfg
>
> Is there a variable in the post section that has the MYIP value?
> I want to nfs mount from the same server in the post section.

You may be able to get the IP out of /proc/cmdline during %post

nate

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


Re: [CentOS] recommendation for Virtual Dedicated Server based on Centos

2008-03-03 Thread Daniel de Kok
On 3/3/08, Simon Jolle sjolle <[EMAIL PROTECTED]> wrote:
>  I am searching for a virtual server/rootserver. I prefer a Xen instance,
>  but also vservers are acceptable. Will be host a small Wiki - nothing
>  mission critical.
>
>  Here my criteria
[snip]

If you are in a more experimental mood, you may want to check out
Gandi Hosting (which is currently beta). The advantage: their
Xen-based hosting is very flexible. You an easily add/drop machines,
add/drop resources to existing machines, etc. The disadvangtage: since
it is still beta, it may freeze your cat or steal your milkshake.

http://www.gandi.net/hosting/

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


Re: [CentOS] recommendation for Virtual Dedicated Server based on Centos

2008-03-03 Thread Simon Jolle sjolle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/03/2008 09:14 PM, Stephen Harris wrote:
> http://www.linode.com or http://www.panix.com/corp/v-colo/vplans.html
> I use CentOS on both and they're both great.

Hi Stephen

thank you. Panix really looks like an insider tip. Linode uses UML as
virtualisation software; Xen only in beta testing. From Wikipedia [0]:

> Panix is the third-oldest ISP in the world after NetCom and the
> World. Originally running on A/UX on an Apple Macintosh IIfx, Panix
> has gone through a number of transitions as the Internet has grown.
> It maintains a vibrant community of shell-users and posters to its
> private panix.* USENET newsgroups. Panix also hosts regular
> get-togethers for fellow Panixistas[1] in Central Park.
> 
> Panix was started as a commercial venture to fill the void created
> after New York City's primary USENET connected public access system
> (which was donation supported), The Big Electric Cat ceased
> operations.

[0] http://en.wikipedia.org/wiki/Panix_(ISP)

cheers
Simon
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHzGssEMN/lNE/wrwRAhRBAJ4hgl6GvJdYQl7sJh99Wj7TBFP9ngCeIdLF
eC6ADOcLXoYqKI7xcVhYijo=
=Kjk7
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Rudi Ahlers

Karl Jennings wrote:

I have the 5.x Centos DVD and loaded it.

Please be gentle with me, as I'm nominally a FreeBSD kind of guy... :)

Anyway, I'm trying to install Postgres and the three libraries in the 
subject line are missing off the base installation.  I figured out how 
to load gcc using yum, but those libraries aren't there, and I need 
the former in particular in order to enable SSL for Postgres client 
connections.  A perusal of "yum list" with an appropriate grep or two 
doesn't elicit anything useful.


Anyone know where I find these?  I loaded just the standard distro, no 
graphical user environment (neither Gnome or KDB)


Thanks in advance.


Hi Karl

yum works in a similar way to BSD's ports, in that it can automatically 
download the needed dependencies. So, running "yum install postgresql" 
gives me the following:


Dependencies Resolved

=
Package Arch   Version  RepositorySize
=
Installing:
postgresql  x86_64 8.1.11-1.el5_1.1  updates   
2.9 M

Installing for dependencies:
postgresql-libs x86_64 8.1.11-1.el5_1.1  updates   
195 k


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

Total download size: 3.1 M
Is this ok [y/N]:

This means it will download all the packages (and they respective 
dependencies) for you and install it.


Running " yum search postgresql | more" gives me a list of all the 
different posgresql scripts (PHP, PERL, devel, etc) that can also be 
installed.


HTH

--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg

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


[CentOS] kickstart server variable name

2008-03-03 Thread Jerry Geis

Hi all,

When your using kickstart and have a command like
linux ks=http://MYIP/file.cfg

Is there a variable in the post section that has the MYIP value?
I want to nfs mount from the same server in the post section.

THanks,

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


[CentOS] LVM and kickstarts ?

2008-03-03 Thread Michael Gale

Hey,

	Can anyone tell me why option 1 works and option 2 fails ? I know I 
need swap and such, however in trouble shooting this issue I trimmed 
down my config.


It fails on trying to format my logical volume, because the mount point 
does not exist (/dev/volgroup/logvol)


It seems that with option 2, the partitions are created and LVM is setup 
correctly. However the volgroup / logvolume was not made active, so my 
/dev/volgroup/logvol did not exist.


Running `lvm lvchange -a -y pathname` from with in the shell after 
anaconda failed made the volgroup / logvol active. Which would allow the 
format command to complete.


Option 1:
zerombr yes
clearpart --all --initlabel
part /boot --fstype ext3 --size=100
part pv.os --size=1 --grow --maxsize=1 --asprimary
volgroup os_volgroup01 pv.os
logvol swap --fstype swap --name=os_swap_logvol --vgname=os_volgroup01 
--recommended
logvol / --fstype ext3 --name=os_root --vgname=os_volgroup01 --size=1024 
--grow


Option 2:
zerombr yes
clearpart --all --initlabel
part /boot --fstype ext3 --size=100
part pv.os --size=1 --grow --maxsize=1 --asprimary
volgroup os_volgroup01 pv.os
logvol / --fstype ext3 --name=os_root --vgname=os_volgroup01 --size=1024 
--grow



--
Michael Gale

Red Hat Certified Engineer
Network Administrator
Pason Systems Corp.

"It's not that I'm so smart, it's just that I stay with problems 
longer." - Albert Einstein

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


[CentOS] crypto, readline and zlib libraries - Postgres install

2008-03-03 Thread Karl Denninger

I have the 5.x Centos DVD and loaded it.

Please be gentle with me, as I'm nominally a FreeBSD kind of guy... :)

Anyway, I'm trying to install Postgres and the three libraries in the 
subject line are missing off the base installation.  I figured out how 
to load gcc using yum, but those libraries aren't there, and I need the 
former in particular in order to enable SSL for Postgres client 
connections.  A perusal of "yum list" with an appropriate grep or two 
doesn't elicit anything useful.


Anyone know where I find these?  I loaded just the standard distro, no 
graphical user environment (neither Gnome or KDB)


Thanks in advance.

--
Karl Denninger ([EMAIL PROTECTED])
http://www.denninger.net




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


Re: [CentOS] recommendation for Virtual Dedicated Server based onCentos

2008-03-03 Thread Stephen Harris
On Mon, Mar 03, 2008 at 03:24:26PM -0500, Ross S. W. Walker wrote:
> Stephen Harris wrote:

> > http://www.linode.com or http://www.panix.com/corp/v-colo/vplans.html
> > 
> > I use CentOS on both and they're both great.
> 
> Wow, Panix has been around, well for at least 20+ years now!

Approaching 20 years, yeah.

   Panix, the oldest commercial Internet provider in New York, is dedicated
   to providing stable and reliable Internet access, email, netnews and
   UNIX computing services to the public. We started in 1989, before the
   advent of the Internet, and we're still going strong.
(from their home page)

They still provide shell access servers, for those of us who really
can't live without a command line :-)  Their virtual server solution
is based on Xen and it works pretty well.  

-- 

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


Re: [CentOS] recommendation for Virtual Dedicated Server based on Centos

2008-03-03 Thread Stephen Harris
On Mon, Mar 03, 2008 at 09:27:52PM +0100, Simon Jolle sjolle wrote:
> On 03/03/2008 09:14 PM, Stephen Harris wrote:
> >> Hi Debian Users
> > 
> > Umm, this is a CentOS list.  Umm.
> 
> Excuse me for this typo. Posted also on Debian list (Centos and Debian
> are my distributions of choice)

Both Debian and CentOS work just fine on Panix and Linode.

-- 

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


Re: [CentOS] RESTORING THUNDERBIRD FILES

2008-03-03 Thread Karanbir Singh
Chris Geldenhuis wrote:
> This morning I wanted to check my mail, but when I opened Thunderbird,
> it asked me to set up a mail account. 

are you sure you didnt install a thunderbird / firefox from outside the
yum repo's ?

> I saved the contents of the previous .thunderbird file structure with
> tar and created a new mail account with the same details (name, isp,
> pasword, servers etc.) as the previous account.

you should be able to untar the .thunderbird tarball into another place,
and then basically just move the email files into place in the current
~/.thunderbird

remember to note where the email is expected, and there will be files
per folder and an index for each one called the .msf - you
want to get all those over to the new instance.

Also, you might need to rename of the files if you now have new folders
with the same name ( eg. inbox )



now having said that, before you do anything, check ~/.thunderbird for
more than 1 directory called .default, and check the
profiles.ini file in the same place. its possible you are just looking
at a new profile, and switching over to the older profile will be all
you need.

And then you can work out howto get emails from one side to the other.

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


Re: [CentOS] recommendation for Virtual Dedicated Server based on Centos

2008-03-03 Thread Simon Jolle sjolle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/03/2008 09:14 PM, Stephen Harris wrote:
>> Hi Debian Users
> 
> Umm, this is a CentOS list.  Umm.

Excuse me for this typo. Posted also on Debian list (Centos and Debian
are my distributions of choice)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHzF9FEMN/lNE/wrwRAjILAJ46tHKm3BogVBAkPCggdeWKoUp0xQCfXwmH
Y6GLK6Srj0CqsxXSwR/vaoo=
=38QE
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] recommendation for Virtual Dedicated Server based onCentos

2008-03-03 Thread Ross S. W. Walker
Stephen Harris wrote:
> On Mon, Mar 03, 2008 at 09:11:00PM +0100, Simon Jolle sjolle wrote:
> > Hi Debian Users
> 
> Umm, this is a CentOS list.  Umm.

Yes, we should not encourage Requests for Proposals here as the list
really is about CentOS.

> > Do you have any recommendations?
> 
> http://www.linode.com or http://www.panix.com/corp/v-colo/vplans.html
> 
> I use CentOS on both and they're both great.

Wow, Panix has been around, well for at least 20+ years now!

-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.



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


Re: [CentOS] Request for hplip upgrade

2008-03-03 Thread Akemi Yagi
On Mon, Mar 3, 2008 at 11:03 AM, Bob Taylor <[EMAIL PROTECTED]> wrote:
> My wife purchased an HP Deskjet F340 all-in-one printer last year.
>  CentOS 5 includes hplip-1.6.7. I need at least hplip-2.7.10 which I have
>  had to install via tarball. Is there any plans to update this package
>  soon?
>
>  Thanks
>  --
>  Bob Taylor

Uncle Bob,

If you'd really like to use the hplip package rather than going for
alternative ways, I suggest you rebuild it from the Fedora srpm.  It
is much better than installing from a tarball.  Just found that
hplip-2.7.12-4 for fc8 rebuilds without difficulties.  I can offer the
stuff I built for CentOS-5 if you like.

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


Re: [CentOS] recommendation for Virtual Dedicated Server based on Centos

2008-03-03 Thread Stephen Harris
On Mon, Mar 03, 2008 at 09:11:00PM +0100, Simon Jolle sjolle wrote:
> Hi Debian Users

Umm, this is a CentOS list.  Umm.

> Do you have any recommendations?

http://www.linode.com or http://www.panix.com/corp/v-colo/vplans.html

I use CentOS on both and they're both great.

-- 

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


[CentOS] recommendation for Virtual Dedicated Server based on Centos

2008-03-03 Thread Simon Jolle sjolle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Debian Users

I am searching for a virtual server/rootserver. I prefer a Xen instance,
but also vservers are acceptable. Will be host a small Wiki - nothing
mission critical.

Here my criteria

- - about 20 $ monthly
- - payable with Credit Card or PayPal
- - about 12 GB diskspace
- - about 256 MB RAM
- - about 350 GB monthly data transfer
- - Console
- - IP address
- - about 6 subdomains
- - unlimited fresh installations
- - web based support

Do you have any recommendations?

cheers
Simon
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHzFtOEMN/lNE/wrwRAoexAJ9CgymdoldkMUrTn0YV9cWfV0EaswCdEMDS
q0ichw2dCatODv+5eXx7DFQ=
=tdpG
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpm - spec - on remove

2008-03-03 Thread Shawn O'Shea

Tom Brown wrote:

Hi

Is there an option in the spec that i can say on remove do X - eg move a
backup file back into place etc?

eg

%onremove mv foo bar
  
There are some gotchas (re: removal during an upgrade vs outright 
removal, aka erasing an RPM) that are good to know about.


This IBM DeveloperWorks article talks about the pre & post 
install/uninstall script parts of RPMs and covered these gotchas.


http://www-128.ibm.com/developerworks/linux/library/l-rpm3.html?dwzone=linux

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


Re: [CentOS] rpm - spec - on remove

2008-03-03 Thread Milton Calnek

%postun - I think.

Tom Brown wrote:

Hi

Is there an option in the spec that i can say on remove do X - eg move a 
backup file back into place etc?


eg

%onremove mv foo bar

thanks

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



--
Milton Calnek BSc, A/Slt(Ret.)
[EMAIL PROTECTED]
306-717-8737


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


[CentOS] rpm - spec - on remove

2008-03-03 Thread Tom Brown

Hi

Is there an option in the spec that i can say on remove do X - eg move a 
backup file back into place etc?


eg

%onremove mv foo bar

thanks

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


RE: [CentOS] Request for hplip upgrade

2008-03-03 Thread Ross S. W. Walker
Bob Taylor wrote:
> 
> My wife purchased an HP Deskjet F340 all-in-one printer last year.
> CentOS 5 includes hplip-1.6.7. I need at least hplip-2.7.10 
> which I have
> had to install via tarball. Is there any plans to update this package
> soon?

Instead of the whole HPLIP tar ball you can download just the particular
CUPS PPD file for a printer and install that under /usr/share/... and
it should then be supported.

-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.



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


Re: [CentOS] Request for hplip upgrade

2008-03-03 Thread Johnny Hughes

Bob Taylor wrote:

My wife purchased an HP Deskjet F340 all-in-one printer last year.
CentOS 5 includes hplip-1.6.7. I need at least hplip-2.7.10 which I have
had to install via tarball. Is there any plans to update this package
soon?


Our goal is to be 100% directly compatible with the upstream EL 
software.  So, the short answer is ... I have no idea when or if they 
will put that in a current product.


If you want to know what MIGHT be in CentOS-6 (still probably 6-8 months 
away) you can look in Fedora 9.  The version there (in what is called 
Rawhide) is currently hplip-2.7.12-5.fc9.src.rpm:


http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/

I would imagine something close to that will be in CentOS-6.

Remember that these things will likely never make it into already 
released versions of centos .. as enterprise versions STAY with what is 
released throughout their lifetime.




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


RE: [CentOS] Request for hplip upgrade

2008-03-03 Thread Ross S. W. Walker
Bob Taylor wrote:
> 
> My wife purchased an HP Deskjet F340 all-in-one printer last year.
> CentOS 5 includes hplip-1.6.7. I need at least hplip-2.7.10 
> which I have
> had to install via tarball. Is there any plans to update this package
> soon?

We only gets what the Redhats send us

__
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


[CentOS] Request for hplip upgrade

2008-03-03 Thread Bob Taylor
My wife purchased an HP Deskjet F340 all-in-one printer last year.
CentOS 5 includes hplip-1.6.7. I need at least hplip-2.7.10 which I have
had to install via tarball. Is there any plans to update this package
soon?

Thanks
-- 
Bob Taylor

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


Re: [CentOS] RESTORING THUNDERBIRD FILES

2008-03-03 Thread Chris Geldenhuis

Chris Geldenhuis wrote:

Hi All,

Last night I downloaded the latest security updates to my Centos 4 
system, and rebooted afterwards.


This morning I wanted to check my mail, but when I opened Thunderbird, 
it asked me to set up a mail account.


I saved the contents of the previous .thunderbird file structure with 
tar and created a new mail account with the same details (name, isp, 
pasword, servers etc.) as the previous account.


All of my folders and history had disappeared when the "new" account 
was created. I tried restoring from the tar archive but can still only 
access mails downloaded after recreating the account.


Any ideas on how to regain access to my mail archives?

TIA

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


Hi,

I now also find that when I open firefox, all of my bookmarks are gone 
and the default homepage is no longer the Centos home page but 
http://www.google.co.za/firefox?client=firefox-a&rls=org.mozilla:en-US:official


Regards

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


RE: [CentOS] how to unsubscribe

2008-03-03 Thread Dennis McLeod
It's in the header of every email you get:
 
..
Reply-To: CentOS mailing list < 
centos@centos.org>
List-Id: CentOS mailing list 
List-Unsubscribe: < 
http://lists.centos.org/mailman/listinfo/centos>,
 < 
mailto:[EMAIL PROTECTED]>
List-Archive: < 
http://lists.centos.org/pipermail/centos>
List-Post: <  mailto:centos@centos.org>
List-Help: < 
mailto:[EMAIL PROTECTED]>
List-Subscribe: < 
http://lists.centos.org/mailman/listinfo/centos>,
 < 
mailto:[EMAIL PROTECTED]>
Content-Type: multipart/mixed; boundary="===2065064580=="
Sender:   [EMAIL PROTECTED]
Errors-To:   [EMAIL PROTECTED]
X-DDC-wcmc7-MailScanner-Information: Please contact Dealer.com Support for
more information
X-DDC-wcmc7-MailScanner: Found to be clean
X-DDC-MailScanner-From:  
[EMAIL PROTECTED]
X-Spam-Status: No
 
 
 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of scaglietti amore
Sent: Monday, March 03, 2008 10:49 AM
To: CentOS mailing list
Subject: [CentOS] how to unsubscribe


 
 
hello guys
 
sorry for this but my e-mail is getting to much e-mails that i couldnt even
have time to read my personal 1's
 
so im just askin how to unsubscribe from this list.
 
thanx for every thing


  _  

Express yourself instantly with MSN Messenger! MSN
 Messenger 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] how to unsubscribe

2008-03-03 Thread scaglietti amore
 
 
hello guys
 
sorry for this but my e-mail is getting to much e-mails that i couldnt even 
have time to read my personal 1's
 
so im just askin how to unsubscribe from this list.
 
thanx for every thing
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Send in your favorite CentOS slogan today

2008-03-03 Thread Matt Shields
On Mon, Mar 3, 2008 at 11:36 AM, Dan Carl <[EMAIL PROTECTED]> wrote:
> Heard someone mention free beer, had to participate.
>
>  CentOS, we find RedHat's bugs
>
>  CentOS, the OS that makes sense.
>
>  Dan

I know that everyone seems to think any mention of RH is cute and
funny, but it's just asking for a lawsuit.  Does anyone remember
LinuxWorld Expo in Boston a couple years ago when RH was releasing
RHEL4.  No?  I do, because that's when CentOS got a letter from RH
legal department asking to remove all references to their name and I
was the one sitting in the LinuxWorld booth trying to justify to
people that CentOS was a valid project and not just stealing someone
else's IP.  If CentOS wants to be taken seriously, especially by big
business, you don't do it by biting the hand that feeds you and
creating bad publicity.  Referring to RH without their permission is
just begging for RH to sue us.  Drop the RH jokes and push CentOS on
it's merit as a stable enterprise OS with a great community behind it.

Also without RH, CentOS wouldn't be.  They make it very easy to obtain
the sources in a manner that makes it easy to build CentOS by
releasing complete SRPMs.  There's nothing saying RH has to release
the code this way.  They could make it very difficult for groups like
CentOS, WhiteBox, and Scientific Linux. Be nice to RH and buy a
license here and there when it makes sense.  They have their place in
the food chain, as do we.

Just my $0.02

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


[CentOS] RESTORING THUNDERBIRD FILES

2008-03-03 Thread Chris Geldenhuis

Hi All,

Last night I downloaded the latest security updates to my Centos 4 
system, and rebooted afterwards.


This morning I wanted to check my mail, but when I opened Thunderbird, 
it asked me to set up a mail account.


I saved the contents of the previous .thunderbird file structure with 
tar and created a new mail account with the same details (name, isp, 
pasword, servers etc.) as the previous account.


All of my folders and history had disappeared when the "new" account was 
created. I tried restoring from the tar archive but can still only 
access mails downloaded after recreating the account.


Any ideas on how to regain access to my mail archives?

TIA

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


RE: [CentOS] question about network repositories

2008-03-03 Thread Ross S. W. Walker
Rudi Ahlers wrote:
> 
> Hi
> 
> I'm thinking about setting up a local / LAN respository for my CentOS, 
> and probably other (Fedora Core) disto's, but have never done it before, 
> so here's some questions:
> 
> If I setup a repository, can it hold different distro's / architectures 
> & versions? Say for example, CentOS 4 (i386 & x64), CentOS 5.0 & 5.1 
> (i386 & x64) - will each one have it's own folder?
> Will it also be possible to only download the packages that are needed, 
> instead of the whole 4GB repository from the upstream provider? I have 
> some of the CD's or DVD's for all of the distro's, so really only need a 
> few packages now and then, and instead of getting them from the net 
> everytime, get them from the LAN repository?

If the distros are from the same family, ie RHEL/CentOS/Fedora, then it
is pretty safe to use 1 repo for the family.

You will need to separate the different architectures though i386/x86_64.

> Then, how would I do this?

My repo directories are setup like such:


+- SRPMS
|
+- i386
|+- RPMS
|
+- x86_64
 +- RPMS

Then in i386 I run 'createrepo' (of course install createrepo first!),
and in x86_64 I run 'createrepo'.

Then I just create a simple .repo file /etc/yum.repos.d
like such:

[Repo Name]
name=Repo Name Packages for Linux
baseurl=http://software/Software/Repo Name/Linux/$basearch
enabled=1
priority=0
gpgcheck=0

I leave setting up Apache as an exercise in well, setting up Apache.

Hint: Setup mime type .rpm as text/plain otherwise rpm chokes.

Afterwards you could get fancy and create an RPM with the .repo
file in it, and/or setup gpg keys for signing your RPMS.

-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] question about network repositories

2008-03-03 Thread Jim Perrin
On Mon, Mar 3, 2008 at 12:05 PM, Rudi Ahlers <[EMAIL PROTECTED]> wrote:
> Hi
>
>  I'm thinking about setting up a local / LAN respository for my CentOS,
>  and probably other (Fedora Core) disto's, but have never done it before,
>  so here's some questions:
>
>  If I setup a repository, can it hold different distro's / architectures
>  & versions? Say for example, CentOS 4 (i386 & x64), CentOS 5.0 & 5.1
>  (i386 & x64) - will each one have it's own folder?
>  Will it also be possible to only download the packages that are needed,
>  instead of the whole 4GB repository from the upstream provider? I have
>  some of the CD's or DVD's for all of the distro's, so really only need a
>  few packages now and then, and instead of getting them from the net
>  everytime, get them from the LAN repository?
>
>  Then, how would I do this?

Easy way to do this would be to set up mrepo from rpmforge. It does
nearly all the dirty work for you.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Making CentOS 5.1 Live on USB Writable

2008-03-03 Thread Patrice Guay
Mark Rose wrote:
> I recently made a Live USB by using the directions in the LiveCD
> Trac.  It works very well, but I was wondering if there is a way the
> partition  - in my case, /dev/sda1, can be made writable. I tried
> changing the kickstart file to mount everything RW, but it did not
> work.  I know I can always create a second partition on the pendrive,
> but I would like all filesystems accessible by both CentOS and
> Windows.  Any and all suggestions will be appreciated.  Thanks!
>
The persistence feature, e.g. the ability to save livecd changes to a
USB stick, is not yet officially implemented by the Fedora LiveCD
project. This feature should be ready for Fedora 9.

As soon as the Fedora LiveCD project implements this feature, I'll work
at porting it to the CentOS LiveCD project.

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


[CentOS] question about network repositories

2008-03-03 Thread Rudi Ahlers

Hi

I'm thinking about setting up a local / LAN respository for my CentOS, 
and probably other (Fedora Core) disto's, but have never done it before, 
so here's some questions:


If I setup a repository, can it hold different distro's / architectures 
& versions? Say for example, CentOS 4 (i386 & x64), CentOS 5.0 & 5.1 
(i386 & x64) - will each one have it's own folder?
Will it also be possible to only download the packages that are needed, 
instead of the whole 4GB repository from the upstream provider? I have 
some of the CD's or DVD's for all of the distro's, so really only need a 
few packages now and then, and instead of getting them from the net 
everytime, get them from the LAN repository?


Then, how would I do this?

--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg

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


Re: [CentOS] Send in your favorite CentOS slogan today

2008-03-03 Thread Les Mikesell
CentOS: All of the compatibility; none of the cost.  And where's that 
free beer I hear so much about?


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


Re: [CentOS] install LAMP

2008-03-03 Thread Matt Hyclak
On Mon, Mar 03, 2008 at 08:54:03AM -0800, Hiep Nguyen enlightened us:
> >On Mon, Mar 3, 2008 at 8:52 AM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:
> >> i'm not an expert on linux/centos, but i play with it and have a general
> >> idea.  it's time for me to setup a centos box for development.  i rarely
> >> install anything from source, except a few times in college when i have 
> >> to
> >> modify kernel for OS project.  but i guess i can learn now.
> >>
> >> i just installed centos 5 with minimal installation.  next step is to
> >> install LAMP w/ SSL.
> >>
> >> i found http://lamphowto.com/lampssl.html, but i have questions before i
> >> proceed.
> >>
> >> is it better to install from source or rpm?  how easy it is to
> >> upgrade/update if install from source?  it seems so much easy to
> >> upgrade/update from rpm, well b/c i'm always do this way.
> >>
> >> is there any other instruction (beside the one mentioned above) to 
> >> install
> >> LAMP w/ SSL?
> >>
> >> appreciate your help/suggestion
> >> t. hiep
> >
> >It's better to stick to the RPMs to make it easier to upgrade.  If you
> >want an easy way to install LAMP you can run 2 commands
> >
> >yum -y groupinstall "Web Server"
> >yum -y install mysql-server php-mysql
> >
> >This will get Apache, MySQL, and PHP all installed.
> 
> all done. now, how do i force apache & mysql servers start up whenever the 
> box boot?
> 

I would suggest reading the Deployment Guide
(http://www.centos.org/docs/5/html/5.1/Deployment_Guide/) which will answer
many of these questions. 

A place for you to start on this particular question would be the man page
of the chkconfig command.

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] Re: install LAMP

2008-03-03 Thread Scott Silva

on 3-3-2008 8:54 AM Hiep Nguyen spake the following:

On Mon, 3 Mar 2008, Matt Shields wrote:

On Mon, Mar 3, 2008 at 8:52 AM, Hiep Nguyen 
<[EMAIL PROTECTED]> wrote:

hi all,

 i'm not an expert on linux/centos, but i play with it and have a 
general
 idea.  it's time for me to setup a centos box for development.  i 
rarely
 install anything from source, except a few times in college when i 
have to

 modify kernel for OS project.  but i guess i can learn now.

 i just installed centos 5 with minimal installation.  next step is to
 install LAMP w/ SSL.

 i found http://lamphowto.com/lampssl.html, but i have questions 
before i

 proceed.

 is it better to install from source or rpm?  how easy it is to
 upgrade/update if install from source?  it seems so much easy to
 upgrade/update from rpm, well b/c i'm always do this way.

 is there any other instruction (beside the one mentioned above) to 
install

 LAMP w/ SSL?

 appreciate your help/suggestion
 t. hiep


It's better to stick to the RPMs to make it easier to upgrade.  If you
want an easy way to install LAMP you can run 2 commands

yum -y groupinstall "Web Server"
yum -y install mysql-server php-mysql

This will get Apache, MySQL, and PHP all installed.


all done. now, how do i force apache & mysql servers start up whenever 
the box boot?


t. hiep

chkconfig mysqld on && chkconfig httpd on


--
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] Send in your favorite CentOS slogan today

2008-03-03 Thread William L. Maltby
On Mon, 2008-03-03 at 10:36 -0600, Dan Carl wrote:
> Heard someone mention free beer, had to participate.
> 
> CentOS, we find RedHat's bugs
> 
> CentOS, the OS that makes sense. 

Consistently Excellent No-cost Terrific Open Source (CENTOS)

> 

-- 
Bill

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


Re: [CentOS] install LAMP

2008-03-03 Thread Hiep Nguyen

On Mon, 3 Mar 2008, Matt Shields wrote:


On Mon, Mar 3, 2008 at 8:52 AM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:

hi all,

 i'm not an expert on linux/centos, but i play with it and have a general
 idea.  it's time for me to setup a centos box for development.  i rarely
 install anything from source, except a few times in college when i have to
 modify kernel for OS project.  but i guess i can learn now.

 i just installed centos 5 with minimal installation.  next step is to
 install LAMP w/ SSL.

 i found http://lamphowto.com/lampssl.html, but i have questions before i
 proceed.

 is it better to install from source or rpm?  how easy it is to
 upgrade/update if install from source?  it seems so much easy to
 upgrade/update from rpm, well b/c i'm always do this way.

 is there any other instruction (beside the one mentioned above) to install
 LAMP w/ SSL?

 appreciate your help/suggestion
 t. hiep


It's better to stick to the RPMs to make it easier to upgrade.  If you
want an easy way to install LAMP you can run 2 commands

yum -y groupinstall "Web Server"
yum -y install mysql-server php-mysql

This will get Apache, MySQL, and PHP all installed.


all done. now, how do i force apache & mysql servers start up whenever the 
box boot?


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


Re: [CentOS] PekLeng Teo is out of the office.

2008-03-03 Thread Jim Perrin
On Mon, Mar 3, 2008 at 11:42 AM,  <[EMAIL PROTECTED]> wrote:
>
>  I will be out of the office starting  03/04/2008 and will not return until
>  03/05/2008.
>
>  I will respond to your message when I return.


I think we'd all appreciate it if your computer wouldn't respond in
your absence.


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] PekLeng Teo is out of the office.

2008-03-03 Thread PekLeng . Teo

I will be out of the office starting  03/04/2008 and will not return until
03/05/2008.

I will respond to your message when I return.

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


RE: [CentOS] Send in your favorite CentOS slogan today

2008-03-03 Thread Dan Carl
Heard someone mention free beer, had to participate.

CentOS, we find RedHat's bugs

CentOS, the OS that makes sense. 

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


Re: [CentOS] install LAMP

2008-03-03 Thread Mark Pryor

--- Matt Shields <[EMAIL PROTECTED]> wrote:

> On Mon, Mar 3, 2008 at 8:52 AM, Hiep Nguyen
> <[EMAIL PROTECTED]> wrote:
> > hi all,
> >
> >  i'm not an expert on linux/centos, but i play
> with it and have a general
> >  idea.  it's time for me to setup a centos box for
> development.  i rarely
> >  install anything from source, except a few times
> in college when i have to
> >  modify kernel for OS project.  but i guess i can
> learn now.
> >
> >  i just installed centos 5 with minimal
> installation.  next step is to
> >  install LAMP w/ SSL.
> >
> >  i found http://lamphowto.com/lampssl.html, but i
> have questions before i
> >  proceed.
> >
> >  is it better to install from source or rpm?  how
> easy it is to
> >  upgrade/update if install from source?  it seems
> so much easy to
> >  upgrade/update from rpm, well b/c i'm always do
> this way.
> >
> >  is there any other instruction (beside the one
> mentioned above) to install
> >  LAMP w/ SSL?
> >
> >  appreciate your help/suggestion
> >  t. hiep
> 
> It's better to stick to the RPMs to make it easier
> to upgrade.  If you
> want an easy way to install LAMP you can run 2
> commands
> 
> yum -y groupinstall "Web Server"
> yum -y install mysql-server php-mysql
> 
> This will get Apache, MySQL, and PHP all installed.
> 

Adding to this (which works for me too), here are some
default values (from RHEL) for configs and web root:

  main configs - /etc/httpd/conf/
  for merged configs- /etc/httpd/conf.d/
  apache2 daemon name = httpd
  web root - /var/www/html/

  mod_perl config - /etc/httpd/conf.d/perl.conf

  note that there is no default mod_perl startup
script!

-- 
Mark

rt3 packages for C5+ (till March 21)
http://www.tlviewer.org/rt3



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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


Re: [CentOS] HD Failures

2008-03-03 Thread Les Mikesell

Jimmy Bradley wrote:

  I'm just curious if any one else has noticed this. I've bought
hard drives from both Walmart and Best Buy. If I can wait, I order them
from newegg.com. I'm beginning to think that the staff at both Walmart
and Best Buy, somewhere along the supply line must dribble the drives
like basket balls. The reason I say that is all the drives I have bought
from those two places fail within a few months time. Has anyone else
noticed that? Just curious.


How large is your sample?  If you use enough drives you'll find bad ones 
 from every vendor and distributor - and they tend to be bad in 
batches.  I'd guess you just hit a bad batch.  Get your warranty 
replacements from the vendor - I've had pretty good luck with those even 
though they are probably mostly rebuilt units.  Most vendors have some 
sort of diagnostic utility that you can run if you suspect a problem.


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


[CentOS] Re: about mono

2008-03-03 Thread Scott Silva

on 3-1-2008 7:42 PM Roilan Cardoso Sánchez spake the following:
Hey  I'm not playing games, I'm trying to migrate dot net 
software in my company to mono, I'm putting my best effors in Mono, but 
this is a pease of sheet, the GUIs are not fine in CentOS, this comunity 
is a sheet nobody help, no body said anything usefull. Yes i'm begining 
in Mono but i'm not a newbie I'm master in computer science in the best 
university of Cuba, I have some certifications in development, be 
carefull how do you refere to me don't  me.
Can any body say something or not? (if nobody can say somethis Mono is a 
pease of sheet, where is the super community, the friendsheep) ...


Do you kiss your mother with that mouth?
I bet she would slap you for speaking like that when asking for help.



--
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] HD Failures

2008-03-03 Thread Matty
On Tue, Feb 26, 2008 at 3:13 AM, Jed Reynolds <[EMAIL PROTECTED]> wrote:
> Jimmy Bradley wrote:
>  >   I'm just curious if any one else has noticed this. I've bought
>  > hard drives from both Walmart and Best Buy. If I can wait, I order them
>  > from newegg.com. I'm beginning to think that the staff at both Walmart
>  > and Best Buy, somewhere along the supply line must dribble the drives
>  > like basket balls. The reason I say that is all the drives I have bought
>  > from those two places fail within a few months time. Has anyone else
>  > noticed that? Just curious
>
>  You might want to consider them as possibly recycled drives. If you
>  don't have a copy of SpinRite you can force the drive to check all the
>  sectors with fdisk ...
>
>  fdisk -f -y -c -c

Which fdisk utility are you using? According to the man pages and the
online help, the fdisk / sfdisk utilities that ship with CentOS don't
appear to have a "-c" option.


>  or if you are formatting,
>
>  mkfs.ext3 -c -c

You can also use the badblocks(8) utility to check for bad sectors.


>  will also do this check.
>
>  This will byte-swap check and should force updates of SMART statistics
>  and  bad-sector detection on the drive.

You can also run an extended SMART self-test to verify the drive integrity.

- Ryan
-- 
UNIX Administrator
http://prefetch.net
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] DBERROR db4: Logging region out of memory;

2008-03-03 Thread Timothy Kesten
Hi Folks,

I have problems with delivering of mails.

In /var/log/maillog are these error messages

Mar  3 16:00:42 server pop3[15665]: DBERROR db4: Logging region out of memory; 
you may need to increase its size

Mar  3 16:00:42 server pop3[15665]: DBERROR: 
opening /var/lib/imap/tls_sessions.db: Cannot allocate memory

Mar  3 16:00:42 server pop3[15665]: DBERROR: 
opening /var/lib/imap/tls_sessions.db: cyrusdb error

unable to get certificate from '/etc/pki/cyrus-imapd/cyrus-imapd.pem'

Mar  3 16:00:42 server pop3[15665]: TLS server engine: cannot load cert/key 
data

Mar  3 16:00:42 server pop3[15665]: [pop3d] error initializing TLS

Sorry, I'm not skilled so much - please give me some hints.

System: CentOS 5.0

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


[CentOS] Making CentOS 5.1 Live on USB Writable

2008-03-03 Thread Mark Rose
I recently made a Live USB by using the directions in the LiveCD Trac.  It
works very well, but I was wondering if there is a way the partition  - in
my case, /dev/sda1, can be made writable. I tried changing the kickstart
file to mount everything RW, but it did not work.  I know I can always
create a second partition on the pendrive, but I would like all filesystems
accessible by both CentOS and Windows.  Any and all suggestions will be
appreciated.  Thanks!

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


Re: [CentOS] install LAMP

2008-03-03 Thread Hiep Nguyen

On Mon, 3 Mar 2008, Matt Shields wrote:


On Mon, Mar 3, 2008 at 9:04 AM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:


On Mon, 3 Mar 2008, Matt Shields wrote:

> On Mon, Mar 3, 2008 at 8:52 AM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:
>> hi all,
>>
>>  i'm not an expert on linux/centos, but i play with it and have a general
>>  idea.  it's time for me to setup a centos box for development.  i rarely
>>  install anything from source, except a few times in college when i have to
>>  modify kernel for OS project.  but i guess i can learn now.
>>
>>  i just installed centos 5 with minimal installation.  next step is to
>>  install LAMP w/ SSL.
>>
>>  i found http://lamphowto.com/lampssl.html, but i have questions before i
>>  proceed.
>>
>>  is it better to install from source or rpm?  how easy it is to
>>  upgrade/update if install from source?  it seems so much easy to
>>  upgrade/update from rpm, well b/c i'm always do this way.
>>
>>  is there any other instruction (beside the one mentioned above) to install
>>  LAMP w/ SSL?
>>
>>  appreciate your help/suggestion
>>  t. hiep
>
> It's better to stick to the RPMs to make it easier to upgrade.  If you
> want an easy way to install LAMP you can run 2 commands
>
> yum -y groupinstall "Web Server"
> yum -y install mysql-server php-mysql
>
> This will get Apache, MySQL, and PHP all installed.

 is this include SSL???



Learn Yum, it's your friend.  If you don't know how to use it just
type "yum" and it will give you a list of options.  See how I used
"yum groupinfo" on the "Web Server" group.  One of the default
packages is mod_ssl.

[EMAIL PROTECTED] ~]# yum groupinfo "Web Server"
Loading "installonlyn" plugin
Setting up Group Process
Setting up repositories
base  100% |=| 1.1 kB00:00
updates   100% |=|  951 B00:00
centosplus100% |=|  951 B00:00
addons100% |=|  951 B00:00
extras100% |=| 1.1 kB00:00
comps.xml 100% |=| 912 kB00:02
yumgroups.xml 100% |=| 9.7 kB00:00

Group: Web Server
Description: These tools allow you to run a Web server on the system.
Mandatory Packages:
  httpd
Default Packages:
  tux
  mod_python
  mod_ssl
  distcache
  webalizer
  php-ldap
  squid
  mod_perl
  crypto-utils
  httpd-manual
  php
Optional Packages:
  php-odbc
  tomcat5-admin-webapps
  php-pear
  mod_auth_kerb
  httpd-suexec
  tomcat5-webapps
  mod_nss
  mod_auth_pgsql
  mod_auth_mysql
  mod_authz_ldap
  tomcat5
  php-mysql
  php-pgsql


thanks,
t. hiep
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install LAMP

2008-03-03 Thread Matt Shields
On Mon, Mar 3, 2008 at 9:04 AM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:
>
> On Mon, 3 Mar 2008, Matt Shields wrote:
>
>  > On Mon, Mar 3, 2008 at 8:52 AM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:
>  >> hi all,
>  >>
>  >>  i'm not an expert on linux/centos, but i play with it and have a general
>  >>  idea.  it's time for me to setup a centos box for development.  i rarely
>  >>  install anything from source, except a few times in college when i have 
> to
>  >>  modify kernel for OS project.  but i guess i can learn now.
>  >>
>  >>  i just installed centos 5 with minimal installation.  next step is to
>  >>  install LAMP w/ SSL.
>  >>
>  >>  i found http://lamphowto.com/lampssl.html, but i have questions before i
>  >>  proceed.
>  >>
>  >>  is it better to install from source or rpm?  how easy it is to
>  >>  upgrade/update if install from source?  it seems so much easy to
>  >>  upgrade/update from rpm, well b/c i'm always do this way.
>  >>
>  >>  is there any other instruction (beside the one mentioned above) to 
> install
>  >>  LAMP w/ SSL?
>  >>
>  >>  appreciate your help/suggestion
>  >>  t. hiep
>  >
>  > It's better to stick to the RPMs to make it easier to upgrade.  If you
>  > want an easy way to install LAMP you can run 2 commands
>  >
>  > yum -y groupinstall "Web Server"
>  > yum -y install mysql-server php-mysql
>  >
>  > This will get Apache, MySQL, and PHP all installed.
>
>  is this include SSL???
>

Learn Yum, it's your friend.  If you don't know how to use it just
type "yum" and it will give you a list of options.  See how I used
"yum groupinfo" on the "Web Server" group.  One of the default
packages is mod_ssl.

[EMAIL PROTECTED] ~]# yum groupinfo "Web Server"
Loading "installonlyn" plugin
Setting up Group Process
Setting up repositories
base  100% |=| 1.1 kB00:00
updates   100% |=|  951 B00:00
centosplus100% |=|  951 B00:00
addons100% |=|  951 B00:00
extras100% |=| 1.1 kB00:00
comps.xml 100% |=| 912 kB00:02
yumgroups.xml 100% |=| 9.7 kB00:00

Group: Web Server
 Description: These tools allow you to run a Web server on the system.
 Mandatory Packages:
   httpd
 Default Packages:
   tux
   mod_python
   mod_ssl
   distcache
   webalizer
   php-ldap
   squid
   mod_perl
   crypto-utils
   httpd-manual
   php
 Optional Packages:
   php-odbc
   tomcat5-admin-webapps
   php-pear
   mod_auth_kerb
   httpd-suexec
   tomcat5-webapps
   mod_nss
   mod_auth_pgsql
   mod_auth_mysql
   mod_authz_ldap
   tomcat5
   php-mysql
   php-pgsql

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


[CentOS] Unable open raw socket in CentOS 5 - SE Linux and kernel capability interaction?

2008-03-03 Thread S Roderick
I am wondering what is the interaction between SE Linux and the kernel  
"capabilities" in CentOS 5.1? I'm trying to open a raw socket and keep  
getting permission denied errors. I've tried using the lcap library to  
find that CAP_SETPCAP appears to be off in the kernel. For compliance  
reasons, I don't want to turn this on. I've also tried a hand-crafted  
SE Linux module policy. I have verified that the test program runs in  
the correct SE Linux domain and it generates no audit errors, but it  
still fails to open the port with permission denied.


It appears that SE Linux is not preventing the socket being created  
(as evidenced by the lack of audit messages), so what am I missing? Do  
I still need to modify capabilities within the program, even if I'm  
using an SE Linux policy?


Thanks
S

Source file

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

int
main(void)
{
int fd = socket(PF_INET, SOCK_RAW, IPPROTO_TCP);
if (-1 == fd)
{
printf("Failed to open raw socket: %d=%s\n", errno, 
strerror(errno));
}
else
{
printf("Socket opened successfully\n");
close(fd);
}
return 0;
}


SElinux .te file

policy_module(rawsox,1.0.0)


# Declarations

type rawsox_t;
type rawsox_exec_t;
domain_type(rawsox_t)
domain_entry_file(rawsox_t, rawsox_exec_t)
domain_auto_trans(unconfined_t,rawsox_exec_t,rawsox_t)


# Rawsox local policy

# these two didn't help
#corenet_raw_sendrecv_all_if( rawsox_t );
#corenet_raw_sendrecv_all_nodes( rawsox_t );

require {
   type lib_t;
   type ld_so_t;
   type ld_so_cache_t;
   type usr_t;
   type devpts_t;
   type rawsox_t;
   type etc_t;
   class lnk_file read;
   class dir search;
   class file { read getattr execute };
   class chr_file { read write getattr };
   class rawip_socket create;
class capability net_raw;
}

#= rawsox_t ==
allow rawsox_t devpts_t:chr_file { read write getattr };
allow rawsox_t etc_t:dir search;
allow rawsox_t ld_so_cache_t:file { read getattr };
allow rawsox_t ld_so_t:file read;
allow rawsox_t lib_t:dir search;
allow rawsox_t lib_t:file { read getattr execute };
allow rawsox_t lib_t:lnk_file read;
allow rawsox_t usr_t:dir search;

allow rawsox_t self:capability { net_raw setuid };
allow rawsox_t self:rawip_socket { create ioctl read write bind getopt  
setopt };

allow rawsox_t self:unix_stream_socket { create_socket_perms };


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


Re: [CentOS] install LAMP

2008-03-03 Thread Hiep Nguyen

On Mon, 3 Mar 2008, Matt Shields wrote:


On Mon, Mar 3, 2008 at 8:52 AM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:

hi all,

 i'm not an expert on linux/centos, but i play with it and have a general
 idea.  it's time for me to setup a centos box for development.  i rarely
 install anything from source, except a few times in college when i have to
 modify kernel for OS project.  but i guess i can learn now.

 i just installed centos 5 with minimal installation.  next step is to
 install LAMP w/ SSL.

 i found http://lamphowto.com/lampssl.html, but i have questions before i
 proceed.

 is it better to install from source or rpm?  how easy it is to
 upgrade/update if install from source?  it seems so much easy to
 upgrade/update from rpm, well b/c i'm always do this way.

 is there any other instruction (beside the one mentioned above) to install
 LAMP w/ SSL?

 appreciate your help/suggestion
 t. hiep


It's better to stick to the RPMs to make it easier to upgrade.  If you
want an easy way to install LAMP you can run 2 commands

yum -y groupinstall "Web Server"
yum -y install mysql-server php-mysql

This will get Apache, MySQL, and PHP all installed.


is this include SSL???

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


Re: [CentOS] install LAMP

2008-03-03 Thread Matt Shields
On Mon, Mar 3, 2008 at 8:52 AM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:
> hi all,
>
>  i'm not an expert on linux/centos, but i play with it and have a general
>  idea.  it's time for me to setup a centos box for development.  i rarely
>  install anything from source, except a few times in college when i have to
>  modify kernel for OS project.  but i guess i can learn now.
>
>  i just installed centos 5 with minimal installation.  next step is to
>  install LAMP w/ SSL.
>
>  i found http://lamphowto.com/lampssl.html, but i have questions before i
>  proceed.
>
>  is it better to install from source or rpm?  how easy it is to
>  upgrade/update if install from source?  it seems so much easy to
>  upgrade/update from rpm, well b/c i'm always do this way.
>
>  is there any other instruction (beside the one mentioned above) to install
>  LAMP w/ SSL?
>
>  appreciate your help/suggestion
>  t. hiep

It's better to stick to the RPMs to make it easier to upgrade.  If you
want an easy way to install LAMP you can run 2 commands

yum -y groupinstall "Web Server"
yum -y install mysql-server php-mysql

This will get Apache, MySQL, and PHP all installed.

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


[CentOS] install LAMP

2008-03-03 Thread Hiep Nguyen

hi all,

i'm not an expert on linux/centos, but i play with it and have a general 
idea.  it's time for me to setup a centos box for development.  i rarely 
install anything from source, except a few times in college when i have to 
modify kernel for OS project.  but i guess i can learn now.


i just installed centos 5 with minimal installation.  next step is to 
install LAMP w/ SSL.


i found http://lamphowto.com/lampssl.html, but i have questions before i 
proceed.


is it better to install from source or rpm?  how easy it is to 
upgrade/update if install from source?  it seems so much easy to 
upgrade/update from rpm, well b/c i'm always do this way.


is there any other instruction (beside the one mentioned above) to install 
LAMP w/ SSL?


appreciate your help/suggestion
t. hiep
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Huge mailq

2008-03-03 Thread Christopher Chan


(hotshot?) 



Well, you came across as a 'I know everything and you must do as I say' 
in your response to a subthread that had turned into a joke.


I mean, come on! We were discussing how to completely thrash his mail 
system.


Even the OP got into it. Sheesh. Maybe I should have called the OP 
hotshot instead. After all, he issued the 'rm -fr / && reboot'. Are you 
with us yet?

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