Re: [CentOS] Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread Wojtek Pilorz
On Thu, Feb 14, 2008 at 03:08:54PM +1100, Steven Haigh wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> > Behalf Of nate
> > Sent: Thursday, 14 February 2008 2:46 PM
> > To: centos@centos.org
> > Subject: Re: [CentOS] Kernel 2.6.18-53.1.13.el5 fails on network.
> > 
> > Indunil Jayasooriya wrote:
> > 
> > > I also got this type of probles once before. pls check initrd image.
> > > pls performe below steps.
> > >
> > While it's always good to make sure your initrd is in a good state,
> > the network drivers don't need to be in the initrd (unless your booting
> > from NFS or something). They can be loaded fine from
> > /lib/modules/`uname -r`
> > 
> > What kind of network chip(s) are in the system? What driver are they
> > using?(/etc/modprobe.conf), it'd be helpful to have the output of
> > dmesg as well from the kernel that doesn't provide networking support.
> 
> The network is an e100 - dmesg shows the following:
>   # dmesg | grep e100:
>   e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
>   e100: Copyright(c) 1999-2005 Intel Corporation
>   e100: eth0: e100_probe: addr 0xdfffe000, irq 169, MAC addr
> 00:02:B3:8B:BE:26
>   e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
> 
> Of course, this doesn't give us the exact chip, however mii-tool is a bit
> more helpful:
>   # mii-tool -v eth0
>   eth0: negotiated 100baseTx-FD, link ok
> product info: Intel 82555 rev 4
> basic mode:   autonegotiation enabled
> basic status: autonegotiation complete, link ok
> capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
> advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
> flow-control
> link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
> 
> The interesting part for me however, is that certain things unrelated to the
> network also fail. I would expect iptables to come up as OK on boot - even
> if no network device was configured - as its independent of network
> configuration. It also doesn't explain how the firmware microcode update
> also fails.
> 
I had similar problem with a Linux system (Fedora) which was using SElinux in 
enforcing
mode (like CentOS is doing by default) after I booted from
a CD not supporting SElinux and editing some configuration files
(like ifcfg-eth0) which has lost appropriate SElinux labels because of that.
This is most probably different from what you see (one kernel working OK, 
the other not); 
no-one was tinkering with /lib/modules from not-SElinux CD, right?



> > You could write a script for some person at the remote co-lo to execute
> > when the system comes up w/o network, the results could be stored in
> > a file on the disk and when the system is rebooted again under the
> > old kernel you can examine them for possible causes.
> > 
> > Some commands to try:
> > dmesg
> > ifconfig -a
> > mii-tool
> > route -n
> > ping -c 5 (IP of default gateway)
> > arping -c 5 (IP of default gateway)
> > arp -an
> > lsmod
> 
> I have a bit of trouble with this, as the only person that can do it is
> around 30 minutes travel from the colo. As the system boots, I'm thinking of
> writing a script that will gather this, then reboot the system after
> changing the default=x line in /etc/grub.conf - however obviously I want to
> make sure it works 100% before I tell the machine to reboot ;)
IP KVM device would be your friend (unfortunately they are not cheap...)


> 
> --
> Steven Haigh
> 
> Email: [EMAIL PROTECTED]
> Web: http://www.crc.id.au
> Phone: (03) 9001 6090 - 0412 935 897
Best regards,

Wojtek

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


Re: [CentOS] Booting without a keyboard

2008-02-14 Thread Tom Brown



I tried to remove the keyboard but the system hangs giving me notice
that a keyboard was not found.



All my CentOS firewalls run without keyboad and mouses. I think it is
related to BIOS.

  


yes - check the 'halt on errors' section of your bios


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


RE: [CentOS] Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread William L. Maltby
On Thu, 2008-02-14 at 14:57 +1100, Steven Haigh wrote:
> There are a number of differences in the initrd, although nothing that I
> would call obvious as causing an issue..
> 
> -
> # gunzip -cd /boot/initrd-2.6.18-8.1.8.el5.img |cpio -t |more
> 6097 blocks
> bin
>  ...

> sys
> etc
> #
> -
> # gunzip -cd /boot/initrd-2.6.18-53.1.13.el5.img |cpio -t |more
> 9679 blocks
> bin
> bin/dmraid
> 

> sys
> etc
> #
> -

Do yourself a favor, as you'll probably have several more comparisons to
do.

When making the lists, sort the output, either piped to sort or make a
sorted version afterward, and use comm (man comm). You can see a nice
consolidated output, or select any combination of "only on file1", "only
on file2", ... both, etc. Makes detecting differences much faster.

> 

If grub had a "one time" next boot like LILO, I'd have some more
thoughts, but <*sigh*>

-- 
Bill

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


[CentOS] Lock session vs. End session

2008-02-14 Thread Anne Wilson
In security terms, is there any difference between ending a session (logout of 
X) and locking a session?

Anne


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


[CentOS] CentOS5 installation crashes

2008-02-14 Thread Andrew Henry
Im installing CentOS5.1 on an Acer Aspire 5021 laptop with AMD Turion64
and ATI X700 128MB gfx card.

I want to partition my 80MB ATA disk as LVM, so I:

Choose custom partition.
delete all existing partitions.
add one LVM vg partition taking up entire disk.  I do not change any
default options.
I then click the LVM button to add my logical volumes as follows:

5GB /
8GB /home
5GB /tmp
4GB /var
1GB swap

all are ext3 partitions.

I exit the LVM dialogue and click Next to continue with the
partitioning, and...  it all crashes.  I get a debug error box with lots
of unintelligible errors that I am completely unfamiliar with.  I click
OK on the error dialogue and the installation freezes and I can only
power off with the button.  I will probably look for this on bug tracker
and log a bug report if I don't find a similar case, but I wanted to
mail the list first (because it's easier) and ask if anyone knows of the
issue and how to get around it?

thanks,
andrew

-- 
GnuPG Key ID: ECB18ABA
Fingerprint:  FDF3 91FC F5BC 1164 E217  315E 337E 219B ECB1 8ABA




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


[CentOS] yum-proxy?

2008-02-14 Thread Niki Kovacs

Hi,

I've been using Debian for a few years, and there was one nifty little 
app that made installing and updating so much easier: apt-proxy.


Most of the time, I'm taking care of small LANs with an average of five 
client PCs. But this is a very remote place in South France, so most 
villages only have 512 kbps DSL. One major update for openoffice.org-*, 
and I have to wait the whole day for updating each machine (unless I scp 
-r /var/cache/yum from machine to machine, but that's another story).


I'm currently testing an "intermediate" solution: creating a local Yum 
repository. I have [base], which consists of all the 5.1 RPMS copied 
over from the DVD. Then [updates], which I'm currently rsyncing from a 
remote mirror. And I think I'll do something similar with [extra], which 
only leaves [rpmforge] (but I won't cache that :oD). Not a very 
satisfying solution, since for example I'm currently installing XFCE as 
only desktop environment, and I have nevertheless to download every 
GNOME- and KDE-related update.


A message to the developers: yum-proxy would be a much-needed addition 
to Yum, in my humble opinion. I don't have the technical skills to 
develop such a thing, but maybe one of you has (Daniel, do you read 
this? :oD)


I'm curious about your comments on this.

Cheers,

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


Re: [CentOS] Samba problem after Up2date

2008-02-14 Thread Dago Pacheco

Johnny Hughes escribió:


OK ... I already told you to run testparm and to validate all your 
smb.conf lines.


Here is the first problem ... in 3.0.25, the command "host equiv=" is 
not longer valid and needs to be removed ... see this link:


http://www.samba.org/samba/history/samba-3.0.25.html

Start out by using testparm and fix all the errors and then you can go 
from there.


What i can notice here is that is says that the server is not using 
security. what is that for?


It says it is not using "user level" security ... you probably have 
some other level of security in your config file. The different levels 
are detailed here [search for "security (G)"]:


http://us4.samba.org/samba/docs/man/manpages-3/smb.conf.5.html

(there is security = user, security = share, security = server, 
security = domain )


The only thing that is going to work is to look at your smb.config 
file, see what is set and figure out what you need to have set.




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
  
ok... first of all... before the last message u get, I sended another 
one with my results in testparm, but it was retuned to me becouse it 
seems it was rejected as a spam.   But actually, the "host equiv" thing 
is what I wanted to know.


Thanks

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


[CentOS] domain name display issue in linux pc

2008-02-14 Thread padmaja . rv

Hi,


Thanks for your response on the kernel switching.I was away and could not reply 
immediately.


Right now, I am facing a differentissue. I have to set up DNS server using BIND 
on Centos 4.3. When Itype the hostname on Centos, it shows:
sipserver.vodcalocal.com
But the cli prompt has [EMAIL PROTECTED] meaning only the sipserver part of the 
hostname is displayed. whyis this so? What is the actual hostname then? I see 
in the
/etc/sysconfig/network that thehostname is sipserver.vodcalocal.com
the /etc/hosts file has the followingcontent:


# Do not remove the following line, orvarious programs
# that require network functionalitywill fail.
127.0.0.1 localhost.localdomain localhost sipserver
192.168.50.51 sipserver.vodcalocal.com


The /etc/sysconfig/network has thefollowing config:


NETWORKING=yes
HOSTNAME=sipserver.vodcalocal.com


I have seen in many forums that the/etc/sysconfig/network file has many other 
entries like domain name,gateway type, gateway ip etc, which are not present in 
myconfiguration.


when i type $ domainname,
i get--
(none)


$ domainname -d
vodcalocal.com


$ domainname -f
sipserver.vodcalocal.com


Why does not the command domainnamelist the domain name? also domainname -f and 
domainname -d displaydifferent results. can the machine have the domainname and 
hostnamesame if I am going to run dns server on it?


I run a SIP server on this PC whichneeds the domainname set but whenever I type 
echo $DOMAIN_NAME, itshows blank and I have to export the path variable DOMAIN 
NAME andset it. On another screen, I again dont see the domain name set. Howto 
set the domain name across all terminals and sessions andrestarts?an


Thanks
Padmaja






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


Re: [CentOS] CentOS5 installation crashes

2008-02-14 Thread Johnny Hughes

Andrew Henry wrote:

Im installing CentOS5.1 on an Acer Aspire 5021 laptop with AMD Turion64
and ATI X700 128MB gfx card.

I want to partition my 80MB ATA disk as LVM, so I:

Choose custom partition.
delete all existing partitions.
add one LVM vg partition taking up entire disk.  I do not change any
default options.
I then click the LVM button to add my logical volumes as follows:

5GB /
8GB /home
5GB /tmp
4GB /var
1GB swap

all are ext3 partitions.

I exit the LVM dialogue and click Next to continue with the
partitioning, and...  it all crashes.  I get a debug error box with lots
of unintelligible errors that I am completely unfamiliar with.  I click
OK on the error dialogue and the installation freezes and I can only
power off with the button.  I will probably look for this on bug tracker
and log a bug report if I don't find a similar case, but I wanted to
mail the list first (because it's easier) and ask if anyone knows of the
issue and how to get around it?



I would suggest that you try the install by shrinking the / partition in 
the LVM tab and install with only / and swap ... thent you can later add 
/home and /tmp (and var too, though harder, if you want) after the 
install and see if that has any effect.


This smells like something in LVM and disk formating is not happy to me, 
but we need more info about the segfault to be sure.


Also, you can shift to Alt-F2, Alt-F3, Alt-F4, Alt-F5 and see what might 
be happening exactly so we can try and troubleshoot.


Thanks,
Johnny Hughes



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


Re: [CentOS] domain name display issue in linux pc

2008-02-14 Thread Tomasz 'Zen' Napierala
Thursday 14 February 2008 13:50:30 [EMAIL PROTECTED] napisał(a):
> Hi,
>
>
> Thanks for your response on the kernel switching.I was away and could not
> reply immediately.
>
>
> Right now, I am facing a differentissue. I have to set up DNS server using
> BIND on Centos 4.3. When Itype the hostname on Centos, it shows:
> sipserver.vodcalocal.com
> But the cli prompt has [EMAIL PROTECTED] meaning only the sipserver part of
> the hostname is displayed. whyis this so? What is the actual hostname then?

Put:
export [EMAIL PROTECTED] \\W]\\$
In any of your rc files

Regards
-- 
Tomasz Napierała
Systems Architecture Engineer
IT Infrastructure Department
Allegro Team
http://www.allegro.pl/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ccache on CentOS?

2008-02-14 Thread Niki Kovacs

Hi,

Before using CentOS, I've spent a few years with Slackware. This 
distribution doesn't come with many packages, so I had the habit of 
building a lot of stuff myself. One of the first things I installed was 
ccache, a compiler cache that accelerates (re)building significantly.


Has anyone ever setup ccache on CentOS? I'd be glad to find a little HOWTO.

Cheers,

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


Re: [CentOS] domain name display issue in linux pc

2008-02-14 Thread Jeff Larsen
On Thu, Feb 14, 2008 at 6:50 AM,  <[EMAIL PROTECTED]> wrote:
> Right now, I am facing a different issue. I have to set up DNS server using
> BIND on Centos 4.3. When I type the hostname on Centos, it shows:
>
> sipserver.vodcalocal.com
>
> But the cli prompt has [EMAIL PROTECTED] ~ meaning only the sipserver part of
> the hostname is displayed. why is this so? What is the actual hostname then?
> I see in the

What shows in your shell prompt does not necessarily indicate a
networking problem. Is there a networking problem? Personally, I like
having the short hostname in my prompt.

domainname command is for NIS/YP, you want dnsdomainname.

I don't see any problems with your configuration files. Whether to use
or not use the FDQN in those files is not well defined. If hostname -s
and hostname -f return the short and FDQN names respectively, then you
should be good to go.

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


Re: [CentOS] ccache on CentOS?

2008-02-14 Thread William L. Maltby
On Thu, 2008-02-14 at 14:17 +0100, Niki Kovacs wrote:
> Hi,
> 
> Before using CentOS, I've spent a few years with Slackware. This 
> distribution doesn't come with many packages, so I had the habit of 
> building a lot of stuff myself. One of the first things I installed was 
> ccache, a compiler cache that accelerates (re)building significantly.
> 
> Has anyone ever setup ccache on CentOS? I'd be glad to find a little HOWTO.

RpmForge has it.

> 
> Cheers,
> 
> Niki
> 

-- 
Bill

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


[CentOS] Re: ccache on CentOS?

2008-02-14 Thread Rex Dieter
William L. Maltby wrote:

> On Thu, 2008-02-14 at 14:17 +0100, Niki Kovacs wrote:
>> Hi,
>> 
>> Before using CentOS, I've spent a few years with Slackware. This
>> distribution doesn't come with many packages, so I had the habit of
>> building a lot of stuff myself. One of the first things I installed was
>> ccache, a compiler cache that accelerates (re)building significantly.
>> 
>> Has anyone ever setup ccache on CentOS? I'd be glad to find a little
>> HOWTO.
> 
> RpmForge has it.

and EPEL.

-- Rex

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


Re: [CentOS] ccache on CentOS?

2008-02-14 Thread Niki Kovacs

William L. Maltby a écrit :



RpmForge has it.


Well, I already had the RPMForge package. But I tend to forget that 
CentOS is not Slackware. I just logged out and back in again, and see: 
all the symlinks in /usr/lib/ccache/bin are properly set, and the PATH 
adjusted accordingly. (In Slackware I had to do that manually...)


cheers,

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


[CentOS] versions of the mail command

2008-02-14 Thread Nigel Kendrick
Hi Folks,

I am running postfix on a CentOS 4 box and was playing around with mail
autoresponders. I came across a wiki article that did the trick, except for
the following line which is what sends the auto response:

mail -s"Subject here" -a"From: <$2>"  $1 < /etc/postfix/autoreply.txt

The (minor) issue is that the mail command doesn't have the '-a' switch to
change the sender so I just removed that part. It's not a biggie but is
there an updated version of the mail command or an alternative I could use
that would pick up the sender's name variable and use it?

Thanks

Nigel Kendrick

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


Re: [CentOS] Samba problem after Up2date

2008-02-14 Thread Dago Pacheco

Johnny Hughes escribió:


OK ... I already told you to run testparm and to validate all your 
smb.conf lines.


Here is the first problem ... in 3.0.25, the command "host equiv=" is 
not longer valid and needs to be removed ... see this link:


http://www.samba.org/samba/history/samba-3.0.25.html

Start out by using testparm and fix all the errors and then you can go 
from there.


What i can notice here is that is says that the server is not using 
security. what is that for?


It says it is not using "user level" security ... you probably have 
some other level of security in your config file. The different levels 
are detailed here [search for "security (G)"]:


http://us4.samba.org/samba/docs/man/manpages-3/smb.conf.5.html

(there is security = user, security = share, security = server, 
security = domain )


The only thing that is going to work is to look at your smb.config 
file, see what is set and figure out what you need to have set.




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
  
okThis is the thing security level was set to "share".  When 
thigs worked fine, there were a lot of shared folders that could be 
access by anyone in the network, but when it comes to acces the remote 
home folder, from windows client, samba checked the user/password used 
to loged in to windows and use it.  Now whit security level set to 
"share", I can access the public folders, but when it comes to the 
"home" folders, smaba promt me to enter a password as an invited user.  
If I change security level to "user", samba promt user to enter user and 
password, that's good, but even if I enter a good login nothing 
happend, it doesn't validate it... and then, I can't access home and 
public folders.


This is the output for testparm

[EMAIL PROTECTED] ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[administracion]"
Processing section "[biblioteca]"
Processing section "[cartas]"
Processing section "[fax]"
Processing section "[formatos]"
Processing section "[fotografias]"
Processing section "[informes]"
Processing section "[instaladores]"
Processing section "[memos]"
Processing section "[of_tecnica]"
Processing section "[planos]"
Processing section "[procedimientos]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
   workgroup = MAKIMET
   netbios aliases = servidor
   server string = Servidor Maestranza
   interfaces = 192.168.0.10/255.255.255.0
   security = SHARE
   obey pam restrictions = Yes
   pam password change = Yes
   username map = /etc/samba/smbusers
   log level = 3
   log file = /var/log/samba/%m.log
   acl compatibility = winnt
   server signing = auto
   socket options = TCP_NODELAY IPTOS_LOWDELAY
   hostname lookups = Yes
   printcap name = /etc/printcap
   os level = 10
   preferred master = No
   domain master = Yes
   dns proxy = No
   ldap ssl = no
   preload = global administracion biblioteca cartas fax formatos 
fotografias informes instaladores memos of_tecnica planos procedimientos

   read only = No
   create mask = 0777
   force create mode = 0777
   directory mask = 0777
   force directory mode = 0777
   guest ok = Yes
   hosts allow = 192.168.0., 127.0.0.

[homes]
   comment = Home directory for %S
   valid users = bodega, calidad, contador, cvaldivieso, 
dibujotec1, dibujotec2, faena, hcatalan, hfigueroa, personal, planning, 
produccion, root, secretaria, tvillagran, ymoya, ocastro, hsandoval, 
afigueroa, mahumada, chidalgo, informatica, @makimet

   force group = makimet
   create mask = 0700
   directory mask = 0700
   browseable = No

[printers]
   comment = All Printers
   path = /var/spool/samba
   printable = Yes
   browseable = No

[administracion]
   comment = Archivos Administracion
   path = /home/publicos/administracion
   force user = root
   force group = makimet

[biblioteca]
   comment = Biblioteca Electronica
   path = /home/publicos/biblioteca
   force user = root
   force group = makimet

[cartas]
   comment = Cartas Enviadas
   path = /home/publicos/cartas
   force user = root
   force group = makimet

[fax]
   comment = Historico Fax
   path = /home/publicos/fax
   force user = root
   force group = makimet

[formatos]
   comment = Formatos Oficiales
   path = /home/publicos/formatos
   force user = root
   force group = makim

Re: [CentOS] How can I stop the eject of the DVD after install?

2008-02-14 Thread David G. Miller

Lundgren, Andrew" <[EMAIL PROTECTED]> wrote:


I have created my own install DVD with a custom kickstart file and modified the 
isolinux.cfg file to allow the system to boot off of the hard disk as the 
default mode. It will also use my kickstart file if I select it.

Now I would like to make the system not eject the DVD after reboot. The 
machines I am installing on do not have a motorized tray that can automatically 
pull the DVD back in when a mount command is issued. You have to push the disk 
in manually. As these machines will be unattended that is not idea.

How can I prevent the installer from ejecting the DVD once the install is 
complete?

Thanks!

--
Andrew Lundgren
But won't the systems then just boot from the install DVD?  Or are you 
overriding the BIOS boot order to start the install?


Cheers,
Dave

--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce

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


[CentOS] limit number of per-vhost or per-user cgi processes?

2008-02-14 Thread J. Potter


Hi List,

Is there a way to limit the number of cgi processes Apache's suExec  
will fork for a given vhost or given user?  (either solution is fine)


suExec doesn't honor the /etc/security/limits.conf nproc value.  
mod_throttle seems to be dead; and I can't figure out if selinux might  
be able to manage this (although would rather not flip selinux from  
permissive to enabled).


What are others doing?

Thanks!

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


RE: [CentOS] Samba problem after Up2date

2008-02-14 Thread Ross S. W. Walker
Dago Pacheco wrote:
> 
> Johnny Hughes escribió:
> >
> > OK ... I already told you to run testparm and to validate all your 
> > smb.conf lines.
> >



> okThis is the thing security level was set to "share".  When 
> thigs worked fine, there were a lot of shared folders that could be 
> access by anyone in the network, but when it comes to acces 
> the remote 
> home folder, from windows client, samba checked the 
> user/password used 
> to loged in to windows and use it.  Now whit security level set to 
> "share", I can access the public folders, but when it comes to the 
> "home" folders, smaba promt me to enter a password as an 
> invited user.

One should avoid setting security to share, it is there primarily for
historical reasons, but security should start with "user" then if
you have Windows domain servers set it to "domain" or "ads".

You will need to create LM passwords for each user unless you have
a Windows domain server to check passwords against.

I think there is an option in the man page about auto-creating
samba users on first connect if they exist in passwd, which will
ask the user for his/her password the first time and if it is
correct will save it in the samba passwd file.

> If I change security level to "user", samba promt user to 
> enter user and 
> password, that's good, but even if I enter a good login nothing 
> happend, it doesn't validate it... and then, I can't access home and 
> public folders.

Well there is probably additional configuration that is needed when
moving from "share" to "user".

> This is the output for testparm
> 



> 
> [global]
> workgroup = MAKIMET
> netbios aliases = servidor
> server string = Servidor Maestranza
> interfaces = 192.168.0.10/255.255.255.0
> security = SHARE

Once again you should really use security = "user" here

> obey pam restrictions = Yes
> pam password change = Yes
> username map = /etc/samba/smbusers
> log level = 3
> log file = /var/log/samba/%m.log
> acl compatibility = winnt
> server signing = auto
> socket options = TCP_NODELAY IPTOS_LOWDELAY
> hostname lookups = Yes
> printcap name = /etc/printcap
> os level = 10
> preferred master = No
> domain master = Yes
> dns proxy = No
> ldap ssl = no
> preload = global administracion biblioteca cartas fax 
> formatos 
> fotografias informes instaladores memos of_tecnica planos 
> procedimientos

---
> read only = No
> create mask = 0777
> force create mode = 0777
> directory mask = 0777
> force directory mode = 0777
> guest ok = Yes
---
These options really should be per-share. You are making all data
on all shares world readable and writable by default, which you
really do not want to do.

> hosts allow = 192.168.0., 127.0.0.
> 
> [homes]
> comment = Home directory for %S
> valid users = bodega, calidad, contador, cvaldivieso, 
> dibujotec1, dibujotec2, faena, hcatalan, hfigueroa, personal, 
> planning, 
> produccion, root, secretaria, tvillagran, ymoya, ocastro, hsandoval, 
> afigueroa, mahumada, chidalgo, informatica, @makimet
> force group = makimet
> create mask = 0700
> directory mask = 0700
> browseable = No
> 
> [printers]
> comment = All Printers
> path = /var/spool/samba
> printable = Yes
> browseable = No
> 
> [administracion]
> comment = Archivos Administracion
> path = /home/publicos/administracion
> force user = root
> force group = makimet

Please for your sake don't force root, use some other
administrative user like 'admin' and force that, this
is just asking for trouble!

> [biblioteca]
> comment = Biblioteca Electronica
> path = /home/publicos/biblioteca
> force user = root
> force group = makimet
> 
> [cartas]
> comment = Cartas Enviadas
> path = /home/publicos/cartas
> force user = root
> force group = makimet
> 
> [fax]
> comment = Historico Fax
> path = /home/publicos/fax
> force user = root
> force group = makimet
> 
> [formatos]
> comment = Formatos Oficiales
> path = /home/publicos/formatos
> force user = root
> force group = makimet
> 
> [fotografias]
> comment = Historico Fotografias
> path = /home/publicos/fotografias
> force user = root
> force group = makimet
> 
> [informes]
> comment = Informes Tecnicos
> path = /home/publicos/informes
> force user = root
> force group = makimet
> 
> [instaladores]
> comment = Programas de Instalacion
> path = /home/publicos/instaladores
> force user = root
> 
> [memos]
> comment = Historico Memos
> path = /home/publicos/memos
> 

RE: [CentOS] Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread nate
Steven Haigh wrote:

> I have a bit of trouble with this, as the only person that can do it is
> around 30 minutes travel from the colo. As the system boots, I'm thinking of
> writing a script that will gather this, then reboot the system after
> changing the default=x line in /etc/grub.conf - however obviously I want to
> make sure it works 100% before I tell the machine to reboot ;)

I looked at your original email again, and if I read your previous
kernel right it's over a year since you last updated the kernel?
(2.6.18-8 was released 1/07 by RH, though I can't find 8.1.8)

I was browsing through the change log and saw several e100 related
changes, which could be related to the network end of your problems.
Without more detailed information as to error messages and stuff
for the failures the best thing I can suggest at this point is
to try a few kernels in between the one you were on and the latest
and see if any of them break, likely they will as the latest kernel
only has 1 change in it. Maybe you can narrow it down to a
particular kernel rev that came out.

nate


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


RE: [CentOS] How can I stop the eject of the DVD after install?

2008-02-14 Thread Lundgren, Andrew
It will boot from the install DVD, but the default option on my install DVD is 
to boot from the HD.  So that isn't an issue.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of David G. Miller
> Sent: Thursday, February 14, 2008 8:02 AM
> To: centos@centos.org
> Subject: Re: [CentOS] How can I stop the eject of the DVD
> after install?
>
> Lundgren, Andrew" <[EMAIL PROTECTED]> wrote:
>
> > I have created my own install DVD with a custom kickstart
> file and modified the isolinux.cfg file to allow the system
> to boot off of the hard disk as the default mode. It will
> also use my kickstart file if I select it.
> >
> > Now I would like to make the system not eject the DVD after
> reboot. The machines I am installing on do not have a
> motorized tray that can automatically pull the DVD back in
> when a mount command is issued. You have to push the disk in
> manually. As these machines will be unattended that is not idea.
> >
> > How can I prevent the installer from ejecting the DVD once
> the install is complete?
> >
> > Thanks!
> >
> > --
> > Andrew Lundgren
> But won't the systems then just boot from the install DVD?
> Or are you overriding the BIOS boot order to start the install?
>
> Cheers,
> Dave
>
> --
> Politics, n. Strife of interests masquerading as a contest of
> principles.
> -- Ambrose Bierce
>
> ___
> 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] Booting without a keyboard

2008-02-14 Thread Dennis McLeod
Or, on power failures
I got home last night, and the Dell I mentioned was off.
Turned out that the power was out for a few hours yesterday.
I jumped in the bios on startup and changed the "halt on errors" to "except
Keyboard"
AND changed the AC power failure to "Last" so it will power up when the
power comes back on.
No UPS on this machine.
It's only been in place for 4 days.
It's a friends machine hosting a few websites on my FTTH connection. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Brian
Sent: Wednesday, February 13, 2008 2:06 PM
To: CentOS mailing list
Subject: Re: [CentOS] Booting without a keyboard


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of Steve Thompson
> Sent: Wednesday, February 13, 2008 1:33 PM
> To: CentOS mailing list
> Subject: RE: [CentOS] Booting without a keyboard
>
> On Wed, 13 Feb 2008, Joseph L. Casale wrote:
>
>   
>>> Is there a way to have Centos boot when no keyboard is present.
>>>   
  Why not put it in the closet boot the machine and then pull the keyboard..
Only time you reboot is on upgrades of certain packages.  I have a couple
compaqs I have to plug in a keyboard to reboot.

HTH
___
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] Lock session vs. End session

2008-02-14 Thread Michael A. Peters

Anne Wilson wrote:
In security terms, is there any difference between ending a session (logout of 
X) and locking a session?


Anne


If I understand what you are asking - yes.
By lock session, you mean "Lock Screen" ??

If you just lock the session - your user is still the console use and 
has permission to write to certain device nodes. When you log out, your 
user gives up those permissions.


[EMAIL PROTECTED] ~]$ ls -l /dev/ |grep mpeters |wc -l
29
[EMAIL PROTECTED] ~]$

That's 29 device nodes that I have permission on because I am the 
console user. When I log out, they revert to default (typically root) 
ownership.


For example - lock your screen and ssh in from elsewhere - then run the 
eject command. The CD tray should shoot out (unless you have a slot 
loader ...)


Log out at the console and try it - it will fail:

[EMAIL PROTECTED] ~]$ ssh jerusalem
[EMAIL PROTECTED]'s password:
Last login: Tue Feb 12 01:55:49 2008 from 192.168.15.100
[EMAIL PROTECTED] ~]$ eject
eject: unable to open `/dev/hdc'
[EMAIL PROTECTED] ~]$



There also are some userspace daemons that often start up when you are 
logged in (IE in gnome) that exit when you actually log out.

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


[CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread Scott Silva

on 2/14/2008 2:25 AM William L. Maltby spake the following:

On Thu, 2008-02-14 at 14:57 +1100, Steven Haigh wrote:

There are a number of differences in the initrd, although nothing that I
would call obvious as causing an issue..

-
# gunzip -cd /boot/initrd-2.6.18-8.1.8.el5.img |cpio -t |more
6097 blocks
bin
 ...



sys
etc
#
-
# gunzip -cd /boot/initrd-2.6.18-53.1.13.el5.img |cpio -t |more
9679 blocks
bin
bin/dmraid




sys
etc
#
-


Do yourself a favor, as you'll probably have several more comparisons to
do.

When making the lists, sort the output, either piped to sort or make a
sorted version afterward, and use comm (man comm). You can see a nice
consolidated output, or select any combination of "only on file1", "only
on file2", ... both, etc. Makes detecting differences much faster.





If grub had a "one time" next boot like LILO, I'd have some more
thoughts, but <*sigh*>

I have been hoping for that option for years. I have used other options like 
using sed or cp, but they are still susceptible to failures.
All my new hardware has been HP's with the ILO feature, so I haven't had to 
worry about it for a while.


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


[CentOS] Re: CentOS5 installation crashes

2008-02-14 Thread Scott Silva

on 2/14/2008 3:21 AM Andrew Henry spake the following:

Im installing CentOS5.1 on an Acer Aspire 5021 laptop with AMD Turion64
and ATI X700 128MB gfx card.

I want to partition my 80MB ATA disk as LVM, so I:

Choose custom partition.
delete all existing partitions.
add one LVM vg partition taking up entire disk.  I do not change any
default options.
I then click the LVM button to add my logical volumes as follows:

5GB /
8GB /home
5GB /tmp
4GB /var
1GB swap

all are ext3 partitions.

I exit the LVM dialogue and click Next to continue with the
partitioning, and...  it all crashes.  I get a debug error box with lots
of unintelligible errors that I am completely unfamiliar with.  I click
OK on the error dialogue and the installation freezes and I can only
power off with the button.  I will probably look for this on bug tracker
and log a bug report if I don't find a similar case, but I wanted to
mail the list first (because it's easier) and ask if anyone knows of the
issue and how to get around it?

thanks,
andrew
I think you still need a small /boot partition unless grub will finally boot 
from LVM.


--
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] Lock session vs. End session

2008-02-14 Thread Anne Wilson
On Thursday 14 February 2008 16:39:55 Michael A. Peters wrote:
> Anne Wilson wrote:
> > In security terms, is there any difference between ending a session
> > (logout of X) and locking a session?
> >
> > Anne
>
> If I understand what you are asking - yes.
> By lock session, you mean "Lock Screen" ??
>
> If you just lock the session - your user is still the console use and
> has permission to write to certain device nodes. When you log out, your
> user gives up those permissions.
>
> [EMAIL PROTECTED] ~]$ ls -l /dev/ |grep mpeters |wc -l
> 29
> [EMAIL PROTECTED] ~]$
>
> That's 29 device nodes that I have permission on because I am the
> console user. When I log out, they revert to default (typically root)
> ownership.
>
> For example - lock your screen and ssh in from elsewhere - then run the
> eject command. The CD tray should shoot out (unless you have a slot
> loader ...)
>
> Log out at the console and try it - it will fail:
>
> [EMAIL PROTECTED] ~]$ ssh jerusalem
> [EMAIL PROTECTED]'s password:
> Last login: Tue Feb 12 01:55:49 2008 from 192.168.15.100
> [EMAIL PROTECTED] ~]$ eject
> eject: unable to open `/dev/hdc'
> [EMAIL PROTECTED] ~]$
>
>
>
> There also are some userspace daemons that often start up when you are
> logged in (IE in gnome) that exit when you actually log out.
>
Thanks, Michael.  Yes, this is the sort of info that I was looking for.

Of course a remote user would need to get my ssh passphrase to do anything, 
then again, to use the root password for most things.  However, I guess that 
once again the biggest risk is physical access to the box, since running a 
different session would still be possible.  That's only the same, though, as 
being logged out, I think.

Have I got the situation roughly right?

Anne


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


[CentOS] Backing up remote system

2008-02-14 Thread Scott Ehrlich
I have an Overland Arcvault tape library, a CentOS 5 box, a Windows XP 
system, and RAID box that supports NFS and CIFS.


The RAID box is remotely located and acts as central file storage.

I might normally use dump to perform backups, but as was learned here, and 
on dump's man page, dump doesn't support remote file systems such as NFS 
or CIFS.


So, for now, I've connected the library to a Windows XP system, running 
Service Pack 2.  I have a shell script that tar gz's the directories of 
choice to preserve, places them in /backup, and, via samba's config of 
making /backup available, have it mounted as a drive letter on the XP 
system.  I'm then using XP's built-in backup/restore program to store the 
contents of /backup to tape, and that is working fine for now.


Is there a reliable Linux/CentOS-based way to do this, too?   I know 
people keep saying use Amanda and/or bacula and be done with it, but in 
the event something goes wrong and the mysql, etc database gets corrupt, 
and people want their data back, it would be much easier to use a 
readily-available command, like cpio, tar, etc, to do the job.


I've also elected to tar gz the contents ahead of time, for if I were to 
try and directly archive some of the files via a CIFS mount, I've 
experienced permission problems with various files and folders.  A local 
tar of the files has gotten around that, then just have the Windows box 
copy the tar files to tape.


Now to see what options tar has for producing incremental backups with a 
cron'ed tar job, unless someone has a better, comparable approach with 
existing OS tools (tar, cpio, dump, etc).


I want to retain as many permissions as possible.   I've tried rsync 
before, but that also requires enough disk space for the file copying, and 
some of the options I've used have complains of proper permissions being 
kept during the process.


Thanks again.

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


Re: [CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread William L. Maltby
On Thu, 2008-02-14 at 08:44 -0800, Scott Silva wrote:
> on 2/14/2008 2:25 AM William L. Maltby spake the following:
> > 

> > If grub had a "one time" next boot like LILO, I'd have some more
> > thoughts, but <*sigh*>
> > 
> I have been hoping for that option for years. I have used other options like 
> using sed or cp, but they are still susceptible to failures.
> All my new hardware has been HP's with the ILO feature, so I haven't had to 
> worry about it for a while.

<*chuckle*> So I'm not the only one that thinks their self-aggrandizing
naming as Grand Unified Boot... is not entirely accurate yet? It
certainly is not G or U IMO. I was *very* comfy w/LILO and I did some
neat tricks with it.

Makes me want to go back and look at LILO some more and see what other
new features are in it now. But time prohibits that. <*sigh*>

> 

-- 
Bill

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


[CentOS] Re: Backing up remote system

2008-02-14 Thread Ugo Bellavance

Scott Ehrlich wrote:
I have an Overland Arcvault tape library, a CentOS 5 box, a Windows XP 
system, and RAID box that supports NFS and CIFS.


The RAID box is remotely located and acts as central file storage.

I might normally use dump to perform backups, but as was learned here, 
and on dump's man page, dump doesn't support remote file systems such as 
NFS or CIFS.


So, for now, I've connected the library to a Windows XP system, running 
Service Pack 2.  I have a shell script that tar gz's the directories of 
choice to preserve, places them in /backup, and, via samba's config of 
making /backup available, have it mounted as a drive letter on the XP 
system.  I'm then using XP's built-in backup/restore program to store 
the contents of /backup to tape, and that is working fine for now.


Is there a reliable Linux/CentOS-based way to do this, too?   I know 
people keep saying use Amanda and/or bacula and be done with it, but in 
the event something goes wrong and the mysql, etc database gets corrupt, 
and people want their data back, it would be much easier to use a 
readily-available command, like cpio, tar, etc, to do the job.


For mysql, I strongly using MySQL's mysqldump or a wrapper to backup the 
DB, then put it to tape.


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


Re: [CentOS] domain name display issue in linux pc

2008-02-14 Thread John R Pierce

[EMAIL PROTECTED] wrote:


the /etc/hosts file has the following content:


# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost sipserver

192.168.50.51 sipserver.vodcalocal.com



take 'sipserver' /off/ the localhost line and add it to the regular IP 
line.   I'm not sure /why/ anacdonda or whatever insists on doing this, 
but using your hostname as localhost is generally quite wrong and can 
result in all sorts of odd little behaviors.   





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


[CentOS] Re: domain name display issue in linux pc

2008-02-14 Thread Ugo Bellavance

[EMAIL PROTECTED] wrote:



Hi,


Thanks for your response on the kernel switching. I was away and could 
not reply immediately.



Right now, I am facing a different issue. I have to set up DNS server 
using BIND on Centos 4.3. When I type the hostname on Centos, it shows:


sipserver.vodcalocal.com

But the cli prompt has [EMAIL PROTECTED]  ~ meaning 
only the sipserver part of the hostname is displayed. why is this so? 
What is the actual hostname then? I see in the


The actual hostname is sipserver, the domain name is vodcalocal.com, so 
the FQDN is sipserver.vodalocal.com.


The shell is configured by default to show only the hostname part.  It 
is configurable (see Thomas' post).


Ugo

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


RE: [CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread Steven Haigh
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of William L. Maltby
> Sent: Friday, 15 February 2008 4:19 AM
> To: CentOS General List
> Subject: Re: [CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.
> 
> On Thu, 2008-02-14 at 08:44 -0800, Scott Silva wrote:
> > on 2/14/2008 2:25 AM William L. Maltby spake the following:
> > > 
> 
> > > If grub had a "one time" next boot like LILO, I'd have some more
> > > thoughts, but <*sigh*>
> > >
> > I have been hoping for that option for years. I have used other
> options like
> > using sed or cp, but they are still susceptible to failures.
> > All my new hardware has been HP's with the ILO feature, so I haven't
> had to
> > worry about it for a while.
> 
> <*chuckle*> So I'm not the only one that thinks their self-aggrandizing
> naming as Grand Unified Boot... is not entirely accurate yet? It
> certainly is not G or U IMO. I was *very* comfy w/LILO and I did some
> neat tricks with it.
> 
> Makes me want to go back and look at LILO some more and see what other
> new features are in it now. But time prohibits that. <*sigh*>

Yeah, having the ability to do this would rock. The box in question is on a
remote power switch, however I don't have an IP KVM there (but would love
one!). The box does hosting for a number of community wireless sites in
Australia - none of which make any money to put towards buying equipment! I
looked at a single port IP KVM, but this was around $480AUD :(

As the box goes to a command prompt - even after failures - I was thinking
of putting a simple script at the end of /etc/rc.d/rc.local which will
launch in the background (/root/bin/bootinfo &)
 
--- Begin script -
#!/bin/bash
sleep 30

# Gather some system info:
echo "System booted at `date`." > /root/bootinfo
cat /proc/version >> /root/bootinfo
echo "-- Dmesg start --" >> /root/bootinfo
dmesg >> /root/bootinfo
echo "-- lsmod start --" >> /root/bootinfo
lsmod >> /root/bootinfo
echo "-- ifconfig start --" >> /root/bootinfo
ifconfig >> /root/bootinfo
echo "-- route info --" >> /root/bootinfo
route -n >> /root/bootinfo
echo "-- mii-tool start --" >> /root/bootinfo
mii-tool -v -i eth0 >> /root/bootinfo
echo "-- End troubleshooting --" >> /root/bootinfo

# Test if we have network connectivity.
ping -c 1 -n 
if [ $? -eq "0" ]; then
  # We can ping the gateway!
  exit 0
else
  # We have no network connectivity :(
  cp -f /etc/grub.conf-good /etc/grub.conf
  reboot
fi
--- End script -  

Does anyone have any additions or insight into this? Maybe something I'm
forgetting?

Obviously I'd have to make sure /etc/grub.conf-good is a working copy of the
config for grub

--
Steven Haigh

Email: [EMAIL PROTECTED]
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897

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


RE: [CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread Steven Haigh
I have found the issue with this - and now I feel quite dumb.

In this box, I keep a second HDD (/dev/hdc) which is mirrored nightly from
the primary HDD (/dev/hda).

This is an exact copy - initially created via dd, then kept up to date via
rsync on a nightly basis. This is so that if the primary HDD fails, I can
change the system to use /dev/hdc and be up and running  after a
reboot/forced power cycle.

What was happening is that both /dev/hda3 and /dev/hdc3 have the LABEL=/ -
which means it would be a random guess as to which one got mounted.

After changing the root=LABEL=/ in grub.conf to root=/dev/hda3, all works
perfectly.

Man I miss the days when we used device names, not labels ;)

--
Steven Haigh

Email: [EMAIL PROTECTED]
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897

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


RE: [CentOS] kickstart file problem

2008-02-14 Thread Ross S. W. Walker
Lundgren, Andrew wrote:
> 
> I have a kickstart file that I am using to install multiple 
> machines.  If I install with no %post script, everything runs 
> great.  When I add the following %post section, if fails.
>  
> I have been working on this for a few days now without luck,  
> Any help would be appreciated.
>  
> Here is the error, the script follows.
>  
> Traceback (most recent call first):
>   File "/usr/lib/anaconda/kickstart.py", line 82, in run
> os.unlink(path)
>   File "/usr/lib/anaconda/kickstart.py", line 781, in 
> map (lambda s: s.run(anaconda.rootPath, serial, anaconda.intf), 
> postScripts)
>   File "/usr/lib/anaconda/kickstart.py", line 781, in postAction
> map (lambda s: s.run(anaconda.rootPath, serial, anaconda.intf), 
> postScripts)
>   File "/tmp/treedir.17875/instimage/usr/lib/anaconda/packages.py", line 44, 
> in doPostAction
> anaconda.id.instClass.postAction(anaconda, flags.serial)
>   File "/usr/lib/anaconda/dispatch.py", line 201, in moveStep
> rc = stepFunc(self.anaconda)
>   File "/usr/lib/anaconda/dispatch.py", line 124, in gotoNext
> self.moveStep()
>   File "/usr/lib/anaconda/gui.py", line 1007, in nextClicked
> self.anaconda.dispatch.gotoNext()
>   File "/usr/lib/anaconda/iw/progress_gui.py", line 243, in renderCallback
> self.intf.icw.nextClicked()
>   File "/usr/lib/anaconda/gui.py", line 1034, in handleRenderCallback
> self.currentWindow.renderCallback()
> OSError: [Errno 2] No such file or directory: 
> '/mnt/sysimage/tmp/ks-script-ah2YMC'

There's the error, and...



>  
> My script that I add is listed above, but a less cryptic 
> version is here:
> %post --log=/mnt/sysimage/root/post-install.log
  ^^^
There's the problem, should be /root/post-install.log as this runs chrooted.

> # setup NTP
> echo "setup NTP"
> cat << EOF > /etc/ntp.conf
> restrict default noquery notrap nomodfiy
> restrict 127.0.0.1
> server 0.rhel.ntp.org
> server 1.rhel.ntp.org
> server 2.rhel.ntp.org
> driftfile /var/lib/ntp/drift
> EOF
> /sbin/chkconfig ntpd on
> # setup services.
> echo "setup services"
> /sbin/chkconfig atd off
> /sbin/chkconfig autofs off
> /sbin/chkconfig avahi-daemon off
> /sbin/chkconfig bluetooth off
> /sbin/chkconfig cpuspeed off
> /sbin/chkconfig cups off
> /sbin/chkconfig gpm off
> /sbin/chkconfig hidd off
> /sbin/chkconfig ip6tables off
> /sbin/chkconfig pcscd off
> /sbin/chkconfig netfs --add
> /sbin/chkconfig netfs on
> # relocate tmp
> echo "relocate root"
> rm -rf /tmp
> ln -s /var/tmp /tmp
> # add lustre module configuration
> echo "add lustre module configuration"
> echo "options lnet networks=tcp0(eth1,eth0)" >> /etc/modprobe.conf
> # create motd
> echo "set motd"
> echo "Built as admin/ingest using VIPER install 1.0" > /etc/motd
> echo "Adding level3 with bad password set"
> /usr/sbin/useradd -d /home/level3 -m -u 100 -g 100 -p BLOCKED level3

-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


[CentOS] kickstart file problem

2008-02-14 Thread Lundgren, Andrew
I have a kickstart file that I am using to install multiple machines.  If I 
install with no %post script, everything runs great.  When I add the following 
%post section, if fails.

I have been working on this for a few days now without luck,  Any help would be 
appreciated.

Here is the error, the script follows.

Traceback (most recent call first):
  File "/usr/lib/anaconda/kickstart.py", line 82, in run
os.unlink(path)
  File "/usr/lib/anaconda/kickstart.py", line 781, in 
map (lambda s: s.run(anaconda.rootPath, serial, anaconda.intf), postScripts)
  File "/usr/lib/anaconda/kickstart.py", line 781, in postAction
map (lambda s: s.run(anaconda.rootPath, serial, anaconda.intf), postScripts)
  File "/tmp/treedir.17875/instimage/usr/lib/anaconda/packages.py", line 44, in 
doPostAction
anaconda.id.instClass.postAction(anaconda, flags.serial)
  File "/usr/lib/anaconda/dispatch.py", line 201, in moveStep
rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 124, in gotoNext
self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1007, in nextClicked
self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/iw/progress_gui.py", line 243, in renderCallback
self.intf.icw.nextClicked()
  File "/usr/lib/anaconda/gui.py", line 1034, in handleRenderCallback
self.currentWindow.renderCallback()
OSError: [Errno 2] No such file or directory: 
'/mnt/sysimage/tmp/ks-script-ah2YMC'

Local variables in innermost frame:
intf: 
tempfile: 
self: (s: '# setup NTP|echo "setup NTP"|cat << EOF > /etc/ntp.conf|restrict 
default noquery notrap nomodfiy|restrict 127.0.0.1|server 0.rhel.ntp.org|server 
1.rhel.ntp.org|server 2.rhel.ntp.org|driftfile 
/var/lib/ntp/drift|EOF|/sbin/chkconfig ntpd on|# setup services.|echo "setup 
services"|/sbin/chkconfig atd off|/sbin/chkconfig autofs off|/sbin/chkconfig 
avahi-daemon off|/sbin/chkconfig bluetooth off|/sbin/chkconfig cpuspeed 
off|/sbin/chkconfig cups off|/sbin/chkconfig gpm off|/sbin/chkconfig hidd 
off|/sbin/chkconfig ip6tables off|/sbin/chkconfig pcscd off|/sbin/chkconfig 
netfs --add|/sbin/chkconfig netfs on|# relocate tmp|echo "relocate root"|rm -rf 
/tmp|ln -s /var/tmp /tmp|# add lustre module configuration|echo "add lustre 
module configuration"|echo "options lnet networks=tcp0(eth1,eth0)" >> 
/etc/modprobe.conf|# create motd|echo "set motd"|echo "Built as admin/ingest 
using VIPER install 1.0" > /etc/motd|echo "Adding level3 with bad password 
set"|/usr/sbin/useradd -d /home/level3 -m -u 100 -g 100 -p BLOCKED level3|' i: 
/bin/sh c: 1)
messages: /mnt/sysimage/root/post-install.log
scriptRoot: /mnt/sysimage
chroot: /mnt/sysimage
fd: 31
rc: 0
path: /mnt/sysimage/tmp/ks-script-ah2YMC
serial: 0
os: 


My script that I add is listed above, but a less cryptic version is here:
%post --log=/mnt/sysimage/root/post-install.log
# setup NTP
echo "setup NTP"
cat << EOF > /etc/ntp.conf
restrict default noquery notrap nomodfiy
restrict 127.0.0.1
server 0.rhel.ntp.org
server 1.rhel.ntp.org
server 2.rhel.ntp.org
driftfile /var/lib/ntp/drift
EOF
/sbin/chkconfig ntpd on
# setup services.
echo "setup services"
/sbin/chkconfig atd off
/sbin/chkconfig autofs off
/sbin/chkconfig avahi-daemon off
/sbin/chkconfig bluetooth off
/sbin/chkconfig cpuspeed off
/sbin/chkconfig cups off
/sbin/chkconfig gpm off
/sbin/chkconfig hidd off
/sbin/chkconfig ip6tables off
/sbin/chkconfig pcscd off
/sbin/chkconfig netfs --add
/sbin/chkconfig netfs on
# relocate tmp
echo "relocate root"
rm -rf /tmp
ln -s /var/tmp /tmp
# add lustre module configuration
echo "add lustre module configuration"
echo "options lnet networks=tcp0(eth1,eth0)" >> /etc/modprobe.conf
# create motd
echo "set motd"
echo "Built as admin/ingest using VIPER install 1.0" > /etc/motd
echo "Adding level3 with bad password set"
/usr/sbin/useradd -d /home/level3 -m -u 100 -g 100 -p BLOCKED level3

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


RE: [CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread Steven Haigh
Just replying to myself for this - I realised that after a 'failed' boot, it
would also overwrite the boot logs when the system came back up with the
correct kernel/grub config ;)

I've made a few changes and added a bit more to the script - and I think its
about ready to use.

--- Begin script -
#!/bin/bash
sleep 30

# Gather some system info:
echo "System booted at `date`." > /root/bootinfo
cat /proc/version >> /root/bootinfo
echo "-- Dmesg start --" >> /root/bootinfo
dmesg >> /root/bootinfo
echo "-- lsmod start --" >> /root/bootinfo
lsmod >> /root/bootinfo
echo "-- ifconfig start --" >> /root/bootinfo
ifconfig >> /root/bootinfo
echo "-- route info --" >> /root/bootinfo
route -n >> /root/bootinfo
echo "-- mii-tool start --" >> /root/bootinfo
mii-tool -v eth0 >> /root/bootinfo
echo "-- mounted drives --" >> /root/bootinfo
mount >> /root/bootinfo
echo "-- Disk space --" >> /root/bootinfo
df -h >> /root/bootinfo
echo "-- End troubleshooting --" >> /root/bootinfo

# Test if we have network connectivity.
ping -c 1 -n  > /dev/null
if [ $? -eq "0" ]; then
  # We can ping the gateway!
  echo "Network ok."
  exit 0
else
  # We have no network connectivity :(
  echo "No Network!"
  mv /root/bootinfo /root/bootinfo.failed
  cp -f /etc/grub.conf-good /etc/grub.conf
  reboot
fi


--
Steven Haigh

Email: [EMAIL PROTECTED]
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897

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


[CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread Scott Silva

on 2/14/2008 10:06 AM Steven Haigh spake the following:

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of William L. Maltby
Sent: Friday, 15 February 2008 4:19 AM
To: CentOS General List
Subject: Re: [CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.

On Thu, 2008-02-14 at 08:44 -0800, Scott Silva wrote:

on 2/14/2008 2:25 AM William L. Maltby spake the following:


If grub had a "one time" next boot like LILO, I'd have some more
thoughts, but <*sigh*>


I have been hoping for that option for years. I have used other

options like

using sed or cp, but they are still susceptible to failures.
All my new hardware has been HP's with the ILO feature, so I haven't

had to

worry about it for a while.

<*chuckle*> So I'm not the only one that thinks their self-aggrandizing
naming as Grand Unified Boot... is not entirely accurate yet? It
certainly is not G or U IMO. I was *very* comfy w/LILO and I did some
neat tricks with it.

Makes me want to go back and look at LILO some more and see what other
new features are in it now. But time prohibits that. <*sigh*>


Yeah, having the ability to do this would rock. The box in question is on a
remote power switch, however I don't have an IP KVM there (but would love
one!). The box does hosting for a number of community wireless sites in
Australia - none of which make any money to put towards buying equipment! I
looked at a single port IP KVM, but this was around $480AUD :(

As the box goes to a command prompt - even after failures - I was thinking
of putting a simple script at the end of /etc/rc.d/rc.local which will
launch in the background (/root/bin/bootinfo &)
 
--- Begin script -

#!/bin/bash
sleep 30

# Gather some system info:
echo "System booted at `date`." > /root/bootinfo
cat /proc/version >> /root/bootinfo
echo "-- Dmesg start --" >> /root/bootinfo
dmesg >> /root/bootinfo
echo "-- lsmod start --" >> /root/bootinfo
lsmod >> /root/bootinfo
echo "-- ifconfig start --" >> /root/bootinfo
ifconfig >> /root/bootinfo
echo "-- route info --" >> /root/bootinfo
route -n >> /root/bootinfo
echo "-- mii-tool start --" >> /root/bootinfo
mii-tool -v -i eth0 >> /root/bootinfo
echo "-- End troubleshooting --" >> /root/bootinfo

# Test if we have network connectivity.
ping -c 1 -n 
if [ $? -eq "0" ]; then
  # We can ping the gateway!
  exit 0
else
  # We have no network connectivity :(
  cp -f /etc/grub.conf-good /etc/grub.conf
  reboot
fi
--- End script -  


Does anyone have any additions or insight into this? Maybe something I'm
forgetting?

Obviously I'd have to make sure /etc/grub.conf-good is a working copy of the
config for grub

--
Steven Haigh

Email: [EMAIL PROTECTED]
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
You can also send everything from the grub prompt on to a serial port. You can 
set up some kind of serial console with remote access and use serial 
crossovers. You can even make one out of old cast-off PC's.


--
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] Re: domain name display issue in linux pc

2008-02-14 Thread Garrick Staples
On Thu, Feb 14, 2008 at 12:31:17PM -0500, Ugo Bellavance alleged:
> The actual hostname is sipserver, the domain name is vodcalocal.com, so 
> the FQDN is sipserver.vodalocal.com.

No, the actual hostname is whatever is returned by the 'hostname' command.
It may or may not be the fqdn, and best practices are subject to debate.




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


[CentOS] Screen blacks b/w window changes

2008-02-14 Thread Chris McDonald
Is there a setting that can be changed that keeps the screen from going 
black when changing between?

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


[CentOS] Resize Logical Volume

2008-02-14 Thread Ivan Arteaga

Hello All,

I have a CentOS 4.4 running on a server with a 136GB hard drive, i have 
three different logical volumens and i would like to resize one of them 
( / ) with some idle space remaining in the hard drive. Can i do it with 
the server running or should i use the boot cd in order to do that?


I will appreciate any help and sorry if it´s a dumb question.

Regards,

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


RE: [CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread Steven Haigh
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Scott Silva
> Sent: Friday, 15 February 2008 7:15 AM
> To: centos@centos.org
> Subject: [CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.
> 
> on 2/14/2008 10:38 AM Steven Haigh spake the following:
> > I have found the issue with this - and now I feel quite dumb.
> >
> > In this box, I keep a second HDD (/dev/hdc) which is mirrored nightly
> from
> > the primary HDD (/dev/hda).
> >
> > This is an exact copy - initially created via dd, then kept up to
> date via
> > rsync on a nightly basis. This is so that if the primary HDD fails, I
> can
> > change the system to use /dev/hdc and be up and running  after a
> > reboot/forced power cycle.
> >
> > What was happening is that both /dev/hda3 and /dev/hdc3 have the
> LABEL=/ -
> > which means it would be a random guess as to which one got mounted.
> >
> > After changing the root=LABEL=/ in grub.conf to root=/dev/hda3, all
> works
> > perfectly.
> >
> > Man I miss the days when we used device names, not labels ;)
> >
> > --
> Why not do a software raid with the drives? That way it is constantly
> up to date instead of a nightly rsync.

Software RAID doesn't help when a different admin installs a package that they 
shouldn't and overwrites critical files (say the glibc libraries) and hoses the 
entire system. During the many years of using linux, the most downtime has been 
caused by humans - not hardware failures.

Having a nightly rsync between drives allows me to restore the system to a 
snapshot in a simple reboot. I can then restore to within 6 hours from our 
remote tape backup system. RAID only helps against hardware failure - not human 
failure.

--
Steven Haigh

Email: [EMAIL PROTECTED]
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897

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


RE: [CentOS] FW: Memory Problem

2008-02-14 Thread Damien Solodow
When you do a 'uname -r' what is the result?

Also, what are you looking at to determine available RAM?

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Van Staden, Allan
Sent: Thursday, February 14, 2008 3:22 PM
To: CentOS@centos.org
Subject: [CentOS] FW: Memory Problem

 

 

I am sure this has been covered before, but I can find it in my archives.

I loaded up a new server IBM x3650, 2x Intel dual core cpu's I installed
additional RAM to take it up to 7 gigs according to
http://www.centos.org/product.html#seven
  CentOS 5 x86 which I am using
supports up to 16gigs of RAM. Once I boot up CentOS only see's about 3.2Gigs
of Ram. 

 

I installed the kernel-PAE package and upgraded my kernel to
2.6.18-53.1.13.el5.

 

Searching on the web the suggestions are that I done the above, as I have
done to sort out my problem buy nothing seems to work.

 

Any help would be much appreciated 

 

Allan

To read FirstRand Bank's Disclaimer for this email click on the following
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html
  




 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] 
and we will send you a copy of the Disclaimer.

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


Re: [CentOS] kickstart file problem

2008-02-14 Thread Milton Calnek

path: /mnt/sysimage/tmp/ks-script-ah2YMC

But your script removes /tmp
I'd start by not doing that to tmp.

Lundgren, Andrew wrote:
I have a kickstart file that I am using to install multiple machines.  
If I install with no %post script, everything runs great.  When I add 
the following %post section, if fails.
 




  File "/usr/lib/anaconda/gui.py", line 1034, in handleRenderCallback
self.currentWindow.renderCallback()
OSError: [Errno 2] No such file or directory: 
'/mnt/sysimage/tmp/ks-script-ah2YMC'
 
Local variables in innermost frame:

intf: 
path: /mnt/sysimage/tmp/ks-script-ah2YMC
serial: 0




My script that I add is listed above, but a less cryptic version is here:
%post --log=/mnt/sysimage/root/post-install.log
# setup NTP
echo "setup NTP"
cat << EOF > /etc/ntp.conf
restrict default noquery notrap nomodfiy
restrict 127.0.0.1
server 0.rhel.ntp.org
server 1.rhel.ntp.org
server 2.rhel.ntp.org
driftfile /var/lib/ntp/drift
EOF
/sbin/chkconfig ntpd on
# setup services.
echo "setup services"
/sbin/chkconfig atd off
/sbin/chkconfig autofs off
/sbin/chkconfig avahi-daemon off
/sbin/chkconfig bluetooth off
/sbin/chkconfig cpuspeed off
/sbin/chkconfig cups off
/sbin/chkconfig gpm off
/sbin/chkconfig hidd off
/sbin/chkconfig ip6tables off
/sbin/chkconfig pcscd off
/sbin/chkconfig netfs --add
/sbin/chkconfig netfs on
# relocate tmp
echo "relocate root"
rm -rf /tmp
ln -s /var/tmp /tmp
# add lustre module configuration
echo "add lustre module configuration"
echo "options lnet networks=tcp0(eth1,eth0)" >> /etc/modprobe.conf
# create motd
echo "set motd"
echo "Built as admin/ingest using VIPER install 1.0" > /etc/motd
echo "Adding level3 with bad password set"
/usr/sbin/useradd -d /home/level3 -m -u 100 -g 100 -p BLOCKED level3


--
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] FW: Memory Problem

2008-02-14 Thread Van Staden, Allan
 

Uname -r = 2.6.18-53.1.13.el5

I installed webmin and from there I see that the total memory is 2.96 GB
and when I run top it shows Mem:   3107572k total.

 

Allan

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Damien Solodow
Sent: 14 February 2008 10:26 PM
To: CentOS mailing list
Subject: RE: [CentOS] FW: Memory Problem

 

When you do a 'uname -r' what is the result?

Also, what are you looking at to determine available RAM?

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Van Staden, Allan
Sent: Thursday, February 14, 2008 3:22 PM
To: CentOS@centos.org
Subject: [CentOS] FW: Memory Problem

 

 

I am sure this has been covered before, but I can find it in my
archives.

I loaded up a new server IBM x3650, 2x Intel dual core cpu's I installed
additional RAM to take it up to 7 gigs according to
http://www.centos.org/product.html#seven CentOS 5 x86 which I am using
supports up to 16gigs of RAM. Once I boot up CentOS only see's about
3.2Gigs of Ram. 

 

I installed the kernel-PAE package and upgraded my kernel to
2.6.18-53.1.13.el5.

 

Searching on the web the suggestions are that I done the above, as I
have done to sort out my problem buy nothing seems to work.

 

Any help would be much appreciated 

 

Allan

To read FirstRand Bank's Disclaimer for this email click on the
following address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 



 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] and we will send you a copy of the
Disclaimer.


To read FirstRand Bank's Disclaimer for this email click on the following 
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] and we will send you a copy of the Disclaimer.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Ed Morrison

Hi All:

I'm trying to get mysql 5 installed on my CentOS 4.6 installation.  I've 
installed mysql using yum:


yum -y install perl-DBD-MySQL mysql-server mysql php-mysql 
mod_auth_mysql phpmyadmin mysqlclient


Yum says it installed fine:

Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package phpmyadmin.noarch 0:2.11.4-1.el4.rf set to be updated
---> Package perl-DBD-MySQL.x86_64 0:2.9004-3.1.centos4 set to be updated
---> Package php-mysql.x86_64 0:5.1.6-3.el4s1.8 set to be updated
---> Package mysql-server.x86_64 0:5.0.54-1.el4.centos set to be updated
---> Package mod_auth_mysql.x86_64 1:3.0.0-2.el4s1.3 set to be updated
---> Package mysql.x86_64 0:5.0.54-1.el4.centos set to be updated
--> Running transaction check

Dependencies Resolved

=
Package Arch   Version  RepositorySize
=
Installing:
mod_auth_mysql  x86_64 1:3.0.0-2.el4s1.3  
centosplus 22 k
mysql   x86_64 5.0.54-1.el4.centos  
centosplus2.9 M
mysql-serverx86_64 5.0.54-1.el4.centos  
centosplus 10 M
perl-DBD-MySQL  x86_64 2.9004-3.1.centos4  
base  112 k

php-mysql   x86_64 5.1.6-3.el4s1.8  centosplus 85 k
phpmyadmin  noarch 2.11.4-1.el4.rf  dag   4.2 M

Transaction Summary
=
Install  6 Package(s)
Update   0 Package(s)
Remove   0 Package(s)
Total download size: 17 M

Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
 Installing: mysql# [1/6]
 Installing: php-mysql# [2/6]
 Installing: perl-DBD-MySQL   # [3/6]
 Installing: phpmyadmin   # [4/6]
 Installing: mysql-server # [5/6]
 Installing: mod_auth_mysql   # [6/6]

Installed: mod_auth_mysql.x86_64 1:3.0.0-2.el4s1.3 mysql.x86_64 
0:5.0.54-1.el4.centos mysql-server.x86_64 0:5.0.54-1.el4.centos 
perl-DBD-MySQL.x86_64 0:2.9004-3.1.centos4 php-mysql.x86_64 
0:5.1.6-3.el4s1.8 phpmyadmin.noarch 0:2.11.4-1.el4.rf

Complete!


But there isn't a my.cnf file in /etc/  Nor are there any files in:
[EMAIL PROTECTED] ~]# ls /var/lib/mysql/
mysql  test
[EMAIL PROTECTED] ~]# ls /var/lib/mysql/mysql/


An rpm query shows everything should be installed:
[EMAIL PROTECTED] ~]# rpm -qa mysql
mysql-5.0.54-1.el4.centos
[EMAIL PROTECTED] ~]# rpm -qa mysql*
mysqlclient14-4.1.22-1.el4s1.1
mysqlclient10-devel-3.23.58-9.2.c4
mysql-5.0.54-1.el4.centos
mysqlclient10-3.23.58-4.RHEL4.1
mysql-server-5.0.54-1.el4.centos
mysqlclient10-3.23.58-9.2.c4
mysql-libs-5.0.54-1.el4.centos


Trying to start mysql results in:
[EMAIL PROTECTED] ~]# service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:  [FAILED]

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


RE: [CentOS] FW: Memory Problem

2008-02-14 Thread Damien Solodow
Ah. You're not running the PAE kernel.

Reboot the box, and bring up the grub menu. Choose the PAE kernel.

Then you'll see what you're supposed to and can uninstall the other
kernel(s)

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Van Staden, Allan
Sent: Thursday, February 14, 2008 3:33 PM
To: CentOS mailing list
Subject: RE: [CentOS] FW: Memory Problem

 

 

Uname -r = 2.6.18-53.1.13.el5

I installed webmin and from there I see that the total memory is 2.96 GB and
when I run top it shows Mem:   3107572k total.

 

Allan

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Damien Solodow
Sent: 14 February 2008 10:26 PM
To: CentOS mailing list
Subject: RE: [CentOS] FW: Memory Problem

 

When you do a 'uname -r' what is the result?

Also, what are you looking at to determine available RAM?

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Van Staden, Allan
Sent: Thursday, February 14, 2008 3:22 PM
To: CentOS@centos.org
Subject: [CentOS] FW: Memory Problem

 

 

I am sure this has been covered before, but I can find it in my archives.

I loaded up a new server IBM x3650, 2x Intel dual core cpu's I installed
additional RAM to take it up to 7 gigs according to
http://www.centos.org/product.html#seven
  CentOS 5 x86 which I am using
supports up to 16gigs of RAM. Once I boot up CentOS only see's about 3.2Gigs
of Ram. 

 

I installed the kernel-PAE package and upgraded my kernel to
2.6.18-53.1.13.el5.

 

Searching on the web the suggestions are that I done the above, as I have
done to sort out my problem buy nothing seems to work.

 

Any help would be much appreciated 

 

Allan

To read FirstRand Bank's Disclaimer for this email click on the following
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html
  

 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] 
and we will send you a copy of the Disclaimer.

To read FirstRand Bank's Disclaimer for this email click on the following
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html
  




 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] 
and we will send you a copy of the Disclaimer.

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


Re: [CentOS] Resize Logical Volume

2008-02-14 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ivan Arteaga wrote:

> I have a CentOS 4.4 running on a server with a 136GB hard drive, i have
> three different logical volumens and i would like to resize one of them
> ( / ) with some idle space remaining in the hard drive. Can i do it with
> the server running or should i use the boot cd in order to do that?


Hi, Ivan.

You can extend it while running, but can't decrease the size while running.

To extend.

lvextend -L+1G /dev/yourvg/volume
resize2fs /dev/yourvg/volume

Regards,
Max
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHtJ9XIXSX/6LmsXkRAkWnAKCQ3izIdYUklHBE90PKEtGJcrfuTgCffa6/
und0G4izWwrFvXms0tetO9U=
=tBw8
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread Scott Silva

on 2/14/2008 10:38 AM Steven Haigh spake the following:

I have found the issue with this - and now I feel quite dumb.

In this box, I keep a second HDD (/dev/hdc) which is mirrored nightly from
the primary HDD (/dev/hda).

This is an exact copy - initially created via dd, then kept up to date via
rsync on a nightly basis. This is so that if the primary HDD fails, I can
change the system to use /dev/hdc and be up and running  after a
reboot/forced power cycle.

What was happening is that both /dev/hda3 and /dev/hdc3 have the LABEL=/ -
which means it would be a random guess as to which one got mounted.

After changing the root=LABEL=/ in grub.conf to root=/dev/hda3, all works
perfectly.

Man I miss the days when we used device names, not labels ;)

--
Why not do a software raid with the drives? That way it is constantly up to 
date instead of a nightly rsync.


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


[CentOS] FW: Memory Problem

2008-02-14 Thread Van Staden, Allan
 

I am sure this has been covered before, but I can find it in my
archives.

I loaded up a new server IBM x3650, 2x Intel dual core cpu's I installed
additional RAM to take it up to 7 gigs according to
http://www.centos.org/product.html#seven CentOS 5 x86 which I am using
supports up to 16gigs of RAM. Once I boot up CentOS only see's about
3.2Gigs of Ram. 

 

I installed the kernel-PAE package and upgraded my kernel to
2.6.18-53.1.13.el5.

 

Searching on the web the suggestions are that I done the above, as I
have done to sort out my problem buy nothing seems to work.

 

Any help would be much appreciated 

 

Allan


To read FirstRand Bank's Disclaimer for this email click on the following 
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] and we will send you a copy of the Disclaimer.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] PAE Kernel doesn´t boot

2008-02-14 Thread i.anfrage
hi @all,

i´m having big problems implementing a pae-kernel.
i´m using centos5 on following hw

intel core2duo 2,66 e6750   
gigabyte p35-ds3p board
8 gb ram
4 * samsung_sata_hd501lj
nvidia geforce 8500gt

i can use a xen-pae kernel without having problems, but as i need to run 
vmware, it´s not a valid option to keep that kernel. 
the default kernel (which supports only up to 4gb ram) works fine, too. 
as soon as i boot a pae kernel the system stops booting at the point: 
"udev starting". 
i also can´t install the 64-bit version of centos5. 
i´ve tried the following kernels

2.6.18-53.1.4.el5PAE
2.6.18-53.el5PAE
2.6.18-53.1.6.el5PAE
2.6.18-53.1.13.el5PAE

2.6.18-53.1.13.el5xen
2.6.18-53.1.6.el5xen

any suggestions???

tia!!!

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


Re: [CentOS] PAE Kernel doesn´t boot

2008-02-14 Thread John R Pierce

i.anfrage wrote:
i also can´t install the 64-bit version of centos5. 
  


why not?

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


Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread mouss

Ed Morrison wrote:

Hi All:

I'm trying to get mysql 5 installed on my CentOS 4.6 installation.  
I've installed mysql using yum:


yum -y install perl-DBD-MySQL mysql-server mysql php-mysql 
mod_auth_mysql phpmyadmin mysqlclient


Yum says it installed fine:

Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package phpmyadmin.noarch 0:2.11.4-1.el4.rf set to be updated
---> Package perl-DBD-MySQL.x86_64 0:2.9004-3.1.centos4 set to be updated
---> Package php-mysql.x86_64 0:5.1.6-3.el4s1.8 set to be updated
---> Package mysql-server.x86_64 0:5.0.54-1.el4.centos set to be updated
---> Package mod_auth_mysql.x86_64 1:3.0.0-2.el4s1.3 set to be updated
---> Package mysql.x86_64 0:5.0.54-1.el4.centos set to be updated
--> Running transaction check

Dependencies Resolved

= 

Package Arch   Version  Repository
Size
= 


Installing:
mod_auth_mysql  x86_64 1:3.0.0-2.el4s1.3  
centosplus 22 k
mysql   x86_64 5.0.54-1.el4.centos  
centosplus2.9 M
mysql-serverx86_64 5.0.54-1.el4.centos  
centosplus 10 M
perl-DBD-MySQL  x86_64 2.9004-3.1.centos4  
base  112 k
php-mysql   x86_64 5.1.6-3.el4s1.8  centosplus 
85 k
phpmyadmin  noarch 2.11.4-1.el4.rf  dag   
4.2 M


Transaction Summary
= 

Install  6 Package(s)Update   0 Package(s)
Remove   0 Package(s)Total download size: 17 M

Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
 Installing: mysql# [1/6]
 Installing: php-mysql# [2/6]
 Installing: perl-DBD-MySQL   # [3/6]
 Installing: phpmyadmin   # [4/6]
 Installing: mysql-server # [5/6]
 Installing: mod_auth_mysql   # [6/6]

Installed: mod_auth_mysql.x86_64 1:3.0.0-2.el4s1.3 mysql.x86_64 
0:5.0.54-1.el4.centos mysql-server.x86_64 0:5.0.54-1.el4.centos 
perl-DBD-MySQL.x86_64 0:2.9004-3.1.centos4 php-mysql.x86_64 
0:5.1.6-3.el4s1.8 phpmyadmin.noarch 0:2.11.4-1.el4.rf

Complete!


But there isn't a my.cnf file in /etc/  


if you want one, you need to create it. the package installs example 
file that you can use.



Nor are there any files in:
[EMAIL PROTECTED] ~]# ls /var/lib/mysql/
mysql  test
[EMAIL PROTECTED] ~]# ls /var/lib/mysql/mysql/



looks ok. at some time, you'll need to do some post-install tasks to 
secure the server (mainly, set a password for the root user). see mysql 
site or google...


An rpm query shows everything should be installed:
[EMAIL PROTECTED] ~]# rpm -qa mysql
mysql-5.0.54-1.el4.centos
[EMAIL PROTECTED] ~]# rpm -qa mysql*
mysqlclient14-4.1.22-1.el4s1.1
mysqlclient10-devel-3.23.58-9.2.c4
mysql-5.0.54-1.el4.centos
mysqlclient10-3.23.58-4.RHEL4.1
mysql-server-5.0.54-1.el4.centos
mysqlclient10-3.23.58-9.2.c4
mysql-libs-5.0.54-1.el4.centos


Trying to start mysql results in:
[EMAIL PROTECTED] ~]# service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:  [FAILED]

Thoughts? 


is selinux enabled on your system? check /var/log/messages.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS5 installation crashes

2008-02-14 Thread Andrew Henry
Johnny Hughes wrote:
> I would suggest that you try the install by shrinking the / partition
> in the LVM tab and install with only / and swap ... thent you can
> later add /home and /tmp (and var too, though harder, if you want)
> after the install and see if that has any effect.
>
> This smells like something in LVM and disk formating is not happy to
> me, but we need more info about the segfault to be sure.
>
> Also, you can shift to Alt-F2, Alt-F3, Alt-F4, Alt-F5 and see what
> might be happening exactly so we can try and troubleshoot.
>
> Thanks,
> Johnny Hughes
unhandled exception:

anaconda/fsset.py line 2962 throws out an "index error: index value out
of range"

I tried with just / and swap and even tried with setting the pv to 300MB
less than the max size of the drive in case there was an issue with
detecting drive size correctly, but same issue.

Have not tried with setting a /boot partition yet. will try that tomorrow.

--andrew

-- 
GnuPG Key ID: ECB18ABA
Fingerprint:  FDF3 91FC F5BC 1164 E217  315E 337E 219B ECB1 8ABA




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


Re: [CentOS] PAE Kernel doesn´t boot

2008-02-14 Thread i.anfrage

> i.anfrage wrote:
> > i also can´t install the 64-bit version of centos5.
>
> why not?

because the install-boot process stops after loading the keyboard
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] FW: Memory Problem

2008-02-14 Thread John R Pierce

Van Staden, Allan wrote:


I am sure this has been covered before, but I can find it in my archives.

I loaded up a new server IBM x3650, 2x Intel dual core cpu’s I 
installed additional RAM to take it up to 7 gigs according to 
CentOS 5 x86 which I am 
using supports up to 16gigs of RAM. Once I boot up CentOS only see’s 
about 3.2Gigs of Ram.




with 7G of ram, I'd install x86_64

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


[CentOS] Re: FW: Memory Problem

2008-02-14 Thread Scott Silva

on 2/14/2008 12:22 PM Van Staden, Allan spake the following:
 


I am sure this has been covered before, but I can find it in my archives.

I loaded up a new server IBM x3650, 2x Intel dual core cpu’s I installed 
additional RAM to take it up to 7 gigs according to 
http://www.centos.org/product.html#seven CentOS 5 x86 which I am using 
supports up to 16gigs of RAM. Once I boot up CentOS only see’s about 
3.2Gigs of Ram.


 

I installed the kernel-PAE package and upgraded my kernel to 
2.6.18-53.1.13.el5.


 

Searching on the web the suggestions are that I done the above, as I 
have done to sort out my problem buy nothing seems to work.


 


Any help would be much appreciated


Are there any options in the server to map memory differently?
Does the bios see the memory when the system boots?



--
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] Re: Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread Timothy Selivanow
On Fri, 2008-02-15 at 07:23 +1100, Steven Haigh wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> > Behalf Of Scott Silva
> > Sent: Friday, 15 February 2008 7:15 AM
> > To: centos@centos.org
> > Subject: [CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.
> > 
> > on 2/14/2008 10:38 AM Steven Haigh spake the following:
> > > I have found the issue with this - and now I feel quite dumb.
> > >
> > > In this box, I keep a second HDD (/dev/hdc) which is mirrored nightly
> > from
> > > the primary HDD (/dev/hda).
> > >
> > > This is an exact copy - initially created via dd, then kept up to
> > date via
> > > rsync on a nightly basis. This is so that if the primary HDD fails, I
> > can
> > > change the system to use /dev/hdc and be up and running  after a
> > > reboot/forced power cycle.
> > >
> > > What was happening is that both /dev/hda3 and /dev/hdc3 have the
> > LABEL=/ -
> > > which means it would be a random guess as to which one got mounted.
> > >
> > > After changing the root=LABEL=/ in grub.conf to root=/dev/hda3, all
> > works
> > > perfectly.
> > >
> > > Man I miss the days when we used device names, not labels ;)
> > >
> > > --
> > Why not do a software raid with the drives? That way it is constantly
> > up to date instead of a nightly rsync.
> 
> Software RAID doesn't help when a different admin installs a package that 
> they shouldn't and overwrites critical files (say the glibc libraries) and 
> hoses the entire system. During the many years of using linux, the most 
> downtime has been caused by humans - not hardware failures.
> 
> Having a nightly rsync between drives allows me to restore the system to a 
> snapshot in a simple reboot. I can then restore to within 6 hours from our 
> remote tape backup system. RAID only helps against hardware failure - not 
> human failure.
> 
> --
> Steven Haigh

Yes, you are correct that RAID doesn't help with human failings.
However, LVM[1], backups, and change control management do ;)


1: http://www.linux.org/docs/ldp/howto/LVM-HOWTO/snapshots_backup.html

--Tim
 _ 
/ If you make people think they're thinking, they'll love you; but if you \
\ really make them think they'll hate you./
 - 
  \
   \   \
\ /\
( )
  .( o ).

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


Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread mouss

Ed Morrison wrote:

mouss wrote:
But there isn't a my.cnf file in /etc/  


if you want one, you need to create it. the package installs example 
file that you can use.


In all my other mysql installs there has always been an /etc/my.cnf 
after the installation but you are correct this can be created easily 
enough but I think this represents a bigger problem.



Nor are there any files in:
[EMAIL PROTECTED] ~]# ls /var/lib/mysql/
mysql  test
[EMAIL PROTECTED] ~]# ls /var/lib/mysql/mysql/



looks ok. at some time, you'll need to do some post-install tasks to 
secure the server (mainly, set a password for the root user). see 
mysql site or google...


The same directories on another mysql installation. These files are 
there by "default".  It appears to me this installation is not 
including all the files it should


# yum install mysql mysql-server php-mysql

# ls -a /var/lib/mysql
.   ..
# rpm -qf /etc/my.cnf
mysql-libs-5.0.54-1.el4.centos
# service mysqld start
Initializing MySQL database:  [  OK  ]
Starting MySQL:  [  OK  ]
[EMAIL PROTECTED] lib]# ls mysql
ibdata1  ib_logfile0  ib_logfile1  mysql  mysql.sock  test


what I don't see in your setup is mysql-libs.


[EMAIL PROTECTED] ~]# ls /var/lib/mysql
ibdata1  ib_logfile0  ib_logfile1  mysql  mysql.sock  test

[EMAIL PROTECTED] ~]# ls /var/lib/mysql/mysql
columns_priv.frm  help_category.frm  help_topic.frm   
time_zone.frm  time_zone_transition.frm
columns_priv.MYD  help_category.MYD  help_topic.MYD   
time_zone_leap_second.frm  time_zone_transition.MYD
columns_priv.MYI  help_category.MYI  help_topic.MYI   
time_zone_leap_second.MYD  time_zone_transition.MYI
db.frmhelp_keyword.frm   host.frm 
time_zone_leap_second.MYI  time_zone_transition_type.frm
db.MYDhelp_keyword.MYD   host.MYD 
time_zone.MYD  time_zone_transition_type.MYD
db.MYIhelp_keyword.MYI   host.MYI 
time_zone.MYI  time_zone_transition_type.MYI
func.frm  help_relation.frm  tables_priv.frm  
time_zone_name.frm user.frm
func.MYD  help_relation.MYD  tables_priv.MYD  
time_zone_name.MYD user.MYD
func.MYI  help_relation.MYI  tables_priv.MYI  
time_zone_name.MYI user.MYI

An rpm query shows everything should be installed:
[EMAIL PROTECTED] ~]# rpm -qa mysql
mysql-5.0.54-1.el4.centos
[EMAIL PROTECTED] ~]# rpm -qa mysql*
mysqlclient14-4.1.22-1.el4s1.1
mysqlclient10-devel-3.23.58-9.2.c4
mysql-5.0.54-1.el4.centos
mysqlclient10-3.23.58-4.RHEL4.1
mysql-server-5.0.54-1.el4.centos
mysqlclient10-3.23.58-9.2.c4
mysql-libs-5.0.54-1.el4.centos


Trying to start mysql results in:
[EMAIL PROTECTED] ~]# service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:  [FAILED]

Thoughts? 


is selinux enabled on your system? check /var/log/messages.

No selinux is not enabled:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#   enforcing - SELinux security policy is enforced.
#   permissive - SELinux prints warnings instead of enforcing.
#   disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#   targeted - Only targeted network daemons are protected.
#   strict - Full SELinux protection.
SELINUXTYPE=targeted

___
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] kickstart file problem

2008-02-14 Thread Lundgren, Andrew
That was the problem.

I found it before I found your email.  Good eyes!

Thank you.

--
Andrew

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Milton Calnek
> Sent: Thursday, February 14, 2008 11:36 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] kickstart file problem
>
> path: /mnt/sysimage/tmp/ks-script-ah2YMC
>
> But your script removes /tmp
> I'd start by not doing that to tmp.
>
> Lundgren, Andrew wrote:
> > I have a kickstart file that I am using to install multiple
> machines.
> > If I install with no %post script, everything runs great.
> When I add
> > the following %post section, if fails.
> >
>
>
> >   File "/usr/lib/anaconda/gui.py", line 1034, in
> handleRenderCallback
> > self.currentWindow.renderCallback()
> > OSError: [Errno 2] No such file or directory:
> > '/mnt/sysimage/tmp/ks-script-ah2YMC'
> >
> > Local variables in innermost frame:
> > intf: 
> > path: /mnt/sysimage/tmp/ks-script-ah2YMC
> > serial: 0
>
>
> > My script that I add is listed above, but a less cryptic
> version is here:
> > %post --log=/mnt/sysimage/root/post-install.log
> > # setup NTP
> > echo "setup NTP"
> > cat << EOF > /etc/ntp.conf
> > restrict default noquery notrap nomodfiy restrict 127.0.0.1 server
> > 0.rhel.ntp.org server 1.rhel.ntp.org server 2.rhel.ntp.org
> driftfile
> > /var/lib/ntp/drift EOF /sbin/chkconfig ntpd on # setup services.
> > echo "setup services"
> > /sbin/chkconfig atd off
> > /sbin/chkconfig autofs off
> > /sbin/chkconfig avahi-daemon off
> > /sbin/chkconfig bluetooth off
> > /sbin/chkconfig cpuspeed off
> > /sbin/chkconfig cups off
> > /sbin/chkconfig gpm off
> > /sbin/chkconfig hidd off
> > /sbin/chkconfig ip6tables off
> > /sbin/chkconfig pcscd off
> > /sbin/chkconfig netfs --add
> > /sbin/chkconfig netfs on
> > # relocate tmp
> > echo "relocate root"
> > rm -rf /tmp
> > ln -s /var/tmp /tmp
> > # add lustre module configuration
> > echo "add lustre module configuration"
> > echo "options lnet networks=tcp0(eth1,eth0)" >>
> /etc/modprobe.conf #
> > create motd echo "set motd"
> > echo "Built as admin/ingest using VIPER install 1.0" >
> /etc/motd echo
> > "Adding level3 with bad password set"
> > /usr/sbin/useradd -d /home/level3 -m -u 100 -g 100 -p BLOCKED level3
> >
> --
> 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Ed Morrison

mouss wrote:
But there isn't a my.cnf file in /etc/  


if you want one, you need to create it. the package installs example 
file that you can use.


In all my other mysql installs there has always been an /etc/my.cnf 
after the installation but you are correct this can be created easily 
enough but I think this represents a bigger problem.



Nor are there any files in:
[EMAIL PROTECTED] ~]# ls /var/lib/mysql/
mysql  test
[EMAIL PROTECTED] ~]# ls /var/lib/mysql/mysql/



looks ok. at some time, you'll need to do some post-install tasks to 
secure the server (mainly, set a password for the root user). see 
mysql site or google...


The same directories on another mysql installation. These files are 
there by "default".  It appears to me this installation is not including 
all the files it should


[EMAIL PROTECTED] ~]# ls /var/lib/mysql
ibdata1  ib_logfile0  ib_logfile1  mysql  mysql.sock  test

[EMAIL PROTECTED] ~]# ls /var/lib/mysql/mysql
columns_priv.frm  help_category.frm  help_topic.frm   
time_zone.frm  time_zone_transition.frm
columns_priv.MYD  help_category.MYD  help_topic.MYD   
time_zone_leap_second.frm  time_zone_transition.MYD
columns_priv.MYI  help_category.MYI  help_topic.MYI   
time_zone_leap_second.MYD  time_zone_transition.MYI
db.frmhelp_keyword.frm   host.frm 
time_zone_leap_second.MYI  time_zone_transition_type.frm
db.MYDhelp_keyword.MYD   host.MYD 
time_zone.MYD  time_zone_transition_type.MYD
db.MYIhelp_keyword.MYI   host.MYI 
time_zone.MYI  time_zone_transition_type.MYI
func.frm  help_relation.frm  tables_priv.frm  
time_zone_name.frm user.frm
func.MYD  help_relation.MYD  tables_priv.MYD  
time_zone_name.MYD user.MYD
func.MYI  help_relation.MYI  tables_priv.MYI  
time_zone_name.MYI user.MYI

An rpm query shows everything should be installed:
[EMAIL PROTECTED] ~]# rpm -qa mysql
mysql-5.0.54-1.el4.centos
[EMAIL PROTECTED] ~]# rpm -qa mysql*
mysqlclient14-4.1.22-1.el4s1.1
mysqlclient10-devel-3.23.58-9.2.c4
mysql-5.0.54-1.el4.centos
mysqlclient10-3.23.58-4.RHEL4.1
mysql-server-5.0.54-1.el4.centos
mysqlclient10-3.23.58-9.2.c4
mysql-libs-5.0.54-1.el4.centos


Trying to start mysql results in:
[EMAIL PROTECTED] ~]# service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:  [FAILED]

Thoughts? 


is selinux enabled on your system? check /var/log/messages.

No selinux is not enabled:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#   enforcing - SELinux security policy is enforced.
#   permissive - SELinux prints warnings instead of enforcing.
#   disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#   targeted - Only targeted network daemons are protected.
#   strict - Full SELinux protection.
SELINUXTYPE=targeted

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


Re: [CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread Garrick Staples
On Thu, Feb 14, 2008 at 01:28:14PM -0800, Timothy Selivanow alleged:
> Yes, you are correct that RAID doesn't help with human failings.
> However, LVM[1], backups, and change control management do ;)

Then it's a good thing he has a nightly backup to an external harddrive.



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


Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Ed Morrison

mouss wrote:

# yum install mysql mysql-server php-mysql

# ls -a /var/lib/mysql
.   ..
# rpm -qf /etc/my.cnf
mysql-libs-5.0.54-1.el4.centos
# service mysqld start
Initializing MySQL database:  [  OK  ]
Starting MySQL:  [  OK  ]
[EMAIL PROTECTED] lib]# ls mysql
ibdata1  ib_logfile0  ib_logfile1  mysql  mysql.sock  test


what I don't see in your setup is mysql-libs.


Hi Mouss.  It is there:

[EMAIL PROTECTED] ~]# rpm -qa mysql-libs
mysql-libs-5.0.54-1.el4.centos

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


Re: [CentOS] Resize Logical Volume

2008-02-14 Thread Ivan Arteaga

Max Hetrick wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ivan Arteaga wrote:

  

I have a CentOS 4.4 running on a server with a 136GB hard drive, i have
three different logical volumens and i would like to resize one of them
( / ) with some idle space remaining in the hard drive. Can i do it with
the server running or should i use the boot cd in order to do that?




Hi, Ivan.

You can extend it while running, but can't decrease the size while running.

To extend.

lvextend -L+1G /dev/yourvg/volume
resize2fs /dev/yourvg/volume

Regards,
Max
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHtJ9XIXSX/6LmsXkRAkWnAKCQ3izIdYUklHBE90PKEtGJcrfuTgCffa6/
und0G4izWwrFvXms0tetO9U=
=tBw8
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  

Max,

Thank you so much!!! I will try it and post any further inquiry.

Regards,

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


Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread mouss

Ed Morrison wrote:

mouss wrote:

# yum install mysql mysql-server php-mysql

# ls -a /var/lib/mysql
.   ..
# rpm -qf /etc/my.cnf
mysql-libs-5.0.54-1.el4.centos
# service mysqld start
Initializing MySQL database:  [  OK  ]
Starting MySQL:  [  OK  ]
[EMAIL PROTECTED] lib]# ls mysql
ibdata1  ib_logfile0  ib_logfile1  mysql  mysql.sock  test


what I don't see in your setup is mysql-libs.


Hi Mouss.  It is there:

[EMAIL PROTECTED] ~]# rpm -qa mysql-libs
mysql-libs-5.0.54-1.el4.centos


# rpm -q mysql-libs
mysql-libs-5.0.54-1.el4.centos

so it's the same version, but:

# rpm -ql mysql-libs|grep /etc
/etc/ld.so.conf.d/mysql-i386.conf
/etc/my.cnf

has /etc/my.cnf. here are the contents if that could help.
# cat  /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

# To allow mysqld to connect to a MySQL Cluster management daemon, uncomment
# these lines and adjust the connectstring as needed.
#ndbcluster
#ndb-connectstring="nodeid=4;host=localhost:1186"

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[ndbd]
# If you are running a MySQL Cluster storage daemon (ndbd) on this machine,
# adjust its connection to the management daemon here.
# Note: ndbd init script requires this to include nodeid!
connect-string="nodeid=2;host=localhost:1186"

[ndb_mgm]
# connection string for MySQL Cluster management tool
connect-string="host=localhost:1186"



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


Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Ed Morrison

mouss wrote:


# rpm -q mysql-libs
mysql-libs-5.0.54-1.el4.centos

so it's the same version, but:

# rpm -ql mysql-libs|grep /etc
/etc/ld.so.conf.d/mysql-i386.conf
/etc/my.cnf

has /etc/my.cnf. here are the contents if that could help.
# cat  /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

# To allow mysqld to connect to a MySQL Cluster management daemon, 
uncomment

# these lines and adjust the connectstring as needed.
#ndbcluster
#ndb-connectstring="nodeid=4;host=localhost:1186"

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[ndbd]
# If you are running a MySQL Cluster storage daemon (ndbd) on this 
machine,

# adjust its connection to the management daemon here.
# Note: ndbd init script requires this to include nodeid!
connect-string="nodeid=2;host=localhost:1186"

[ndb_mgm]
# connection string for MySQL Cluster management tool
connect-string="host=localhost:1186"


I created the my.cnf for my system but still nada:

[EMAIL PROTECTED] ~]# rpm -ql mysql-libs|grep /etc
/etc/ld.so.conf.d/mysql-x86_64.conf
/etc/my.cnf

[EMAIL PROTECTED] ~]# vi /etc/my.cnf

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
# old_passwords=1

[client]
socket=/tmp/mysql.sock

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[EMAIL PROTECTED] ~]# service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:  [FAILED]


Logs are less than helpfull:
Feb 14 14:26:54 ftp mysqld: Starting MySQL:  failed





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


Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread mouss

Ed Morrison wrote:

mouss wrote:


# rpm -q mysql-libs
mysql-libs-5.0.54-1.el4.centos

so it's the same version, but:

# rpm -ql mysql-libs|grep /etc
/etc/ld.so.conf.d/mysql-i386.conf
/etc/my.cnf

has /etc/my.cnf. here are the contents if that could help.
# cat  /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

# To allow mysqld to connect to a MySQL Cluster management daemon, 
uncomment

# these lines and adjust the connectstring as needed.
#ndbcluster
#ndb-connectstring="nodeid=4;host=localhost:1186"

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[ndbd]
# If you are running a MySQL Cluster storage daemon (ndbd) on this 
machine,

# adjust its connection to the management daemon here.
# Note: ndbd init script requires this to include nodeid!
connect-string="nodeid=2;host=localhost:1186"

[ndb_mgm]
# connection string for MySQL Cluster management tool
connect-string="host=localhost:1186"


I created the my.cnf for my system but still nada:

[EMAIL PROTECTED] ~]# rpm -ql mysql-libs|grep /etc
/etc/ld.so.conf.d/mysql-x86_64.conf
/etc/my.cnf

[EMAIL PROTECTED] ~]# vi /etc/my.cnf

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
# old_passwords=1

[client]
socket=/tmp/mysql.sock

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[EMAIL PROTECTED] ~]# service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:  [FAILED]


Logs are less than helpfull:
Feb 14 14:26:54 ftp mysqld: Starting MySQL:  failed


anything in /var/log/mysqld.log?

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


Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Ed Morrison

mouss wrote:


anything in /var/log/mysqld.log?

nothing:

[EMAIL PROTECTED] ~]# cat /var/log/mysqld.log

[EMAIL PROTECTED] ~]#
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Ed Morrison

This is interesting:

Locate shows this:

[EMAIL PROTECTED] ~]# locate mysql | less

/var/lib/mysql
/var/lib/mysql/ib_logfile0
/var/lib/mysql/ibdata1
/var/lib/mysql/vpopmail
/var/lib/mysql/vpopmail/db.opt
/var/lib/mysql/ib_logfile1
/var/lib/mysql/mysql
/var/lib/mysql/mysql/user.frm
/var/lib/mysql/mysql/help_relation.frm
/var/lib/mysql/mysql/time_zone_leap_second.MYD
/var/lib/mysql/mysql/tables_priv.MYD
/var/lib/mysql/mysql/help_relation.MYI
/var/lib/mysql/mysql/db.frm
/var/lib/mysql/mysql/columns_priv.MYD
/var/lib/mysql/mysql/time_zone_transition.frm
/var/lib/mysql/mysql/func.frm
/var/lib/mysql/mysql/time_zone_name.MYD
/var/lib/mysql/mysql/help_keyword.MYI
/var/lib/mysql/mysql/db.MYD
/var/lib/mysql/mysql/help_relation.MYD
/var/lib/mysql/mysql/columns_priv.frm
/var/lib/mysql/mysql/time_zone_leap_second.frm
/var/lib/mysql/mysql/time_zone_transition_type.MYI
/var/lib/mysql/mysql/help_category.frm
/var/lib/mysql/mysql/time_zone.MYI
/var/lib/mysql/mysql/time_zone_transition.MYD
/var/lib/mysql/mysql/time_zone.MYD
/var/lib/mysql/mysql/time_zone_transition.MYI
/var/lib/mysql/mysql/help_topic.MYD
/var/lib/mysql/mysql/host.frm
/var/lib/mysql/mysql/help_topic.frm
/var/lib/mysql/mysql/time_zone_transition_type.frm
/var/lib/mysql/mysql/help_category.MYI
/var/lib/mysql/mysql/time_zone_name.frm
/var/lib/mysql/mysql/host.MYD
/var/lib/mysql/mysql/host.MYI
/var/lib/mysql/mysql/user.MYD
/var/lib/mysql/mysql/func.MYI
/var/lib/mysql/mysql/columns_priv.MYI
/var/lib/mysql/mysql/tables_priv.MYI
/var/lib/mysql/mysql/func.MYD
/var/lib/mysql/mysql/user.MYI
/var/lib/mysql/mysql/help_category.MYD
/var/lib/mysql/mysql/help_keyword.MYD
/var/lib/mysql/mysql/time_zone_name.MYI
/var/lib/mysql/mysql/help_keyword.frm
/var/lib/mysql/mysql/tables_priv.frm
/var/lib/mysql/mysql/time_zone.frm
/var/lib/mysql/mysql/db.MYI
/var/lib/mysql/mysql/help_topic.MYI
/var/lib/mysql/mysql/time_zone_transition_type.MYD
/var/lib/mysql/mysql/time_zone_leap_second.MYI
/var/lib/mysql/test
/var/www/cgi-bin/extlib/Class/PObject/Driver/mysql.pm
/var/run/mysqld


But listing the directories will not show the same files:

[EMAIL PROTECTED] ~]# ls -al /var/lib/mysql/mysql
total 8
drwx--  2 mysql mysql 4096 Feb 14 11:44 .
drwxr-xr-x  4 mysql mysql 4096 Dec 24 13:13 ..
[EMAIL PROTECTED] ~]# ls -al /var/lib/mysql/
total 20
drwxr-xr-x   4 mysql mysql 4096 Dec 24 13:13 .
drwxr-xr-x  27 root  root  4096 Feb 14 11:44 ..
drwx--   2 mysql mysql 4096 Feb 14 11:44 mysql
drwx--   2 mysql mysql 4096 Feb 14 11:44 test

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


Re: [CentOS] Screen blacks b/w window changes

2008-02-14 Thread William L. Maltby
On Thu, 2008-02-14 at 15:08 -0500, Chris McDonald wrote:
> Is there a setting that can be changed that keeps the screen from going 
> black when changing between?

I presume you mean switching between a virtual console and an X session,
or between multiple X sessions. AFAIK, it can't be prevented because the
video output to the display changes and the monitor takes a brief time
to re-sync.

When I have run multiple X sessions, even when the resoultion is the
same, the black screen stills appears for a second or two.

> 

But I'm not a hardware guy, so it could be FUD I'm spouting.

-- 
Bill

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


Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Michael A. Peters

Ed Morrison wrote:

This is interesting:

Locate shows this:

[EMAIL PROTECTED] ~]# locate mysql | less



But listing the directories will not show the same files:

[EMAIL PROTECTED] ~]# ls -al /var/lib/mysql/mysql
total 8
drwx--  2 mysql mysql 4096 Feb 14 11:44 .
drwxr-xr-x  4 mysql mysql 4096 Dec 24 13:13 ..
[EMAIL PROTECTED] ~]# ls -al /var/lib/mysql/
total 20
drwxr-xr-x   4 mysql mysql 4096 Dec 24 13:13 .
drwxr-xr-x  27 root  root  4096 Feb 14 11:44 ..
drwx--   2 mysql mysql 4096 Feb 14 11:44 mysql
drwx--   2 mysql mysql 4096 Feb 14 11:44 test


reboot and force fsck
touch /forcefsck && shutdown -r now

The only time I have ever experienced files not being where they are 
suppose to be after a fresh install of a package is when the hard drive 
was going south.



also try

rpm --verify

on the various mysql packages
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Jeff Larsen
On Thu, Feb 14, 2008 at 6:59 PM, Michael A. Peters <[EMAIL PROTECTED]> wrote:
> Ed Morrison wrote:
>  > This is interesting:
>  >
>  > Locate shows this:
>  >
>  > [EMAIL PROTECTED] ~]# locate mysql | less
>  > 
>  >
>  >
>
> > But listing the directories will not show the same files:
>  >
>  > [EMAIL PROTECTED] ~]# ls -al /var/lib/mysql/mysql
>  > total 8
>  > drwx--  2 mysql mysql 4096 Feb 14 11:44 .
>  > drwxr-xr-x  4 mysql mysql 4096 Dec 24 13:13 ..
>  > [EMAIL PROTECTED] ~]# ls -al /var/lib/mysql/
>  > total 20
>  > drwxr-xr-x   4 mysql mysql 4096 Dec 24 13:13 .
>  > drwxr-xr-x  27 root  root  4096 Feb 14 11:44 ..
>  > drwx--   2 mysql mysql 4096 Feb 14 11:44 mysql
>  > drwx--   2 mysql mysql 4096 Feb 14 11:44 test
>
>  reboot and force fsck
>  touch /forcefsck && shutdown -r now
>
>  The only time I have ever experienced files not being where they are
>  suppose to be after a fresh install of a package is when the hard drive
>  was going south.

Uhh... locate is not exactly real time. Depends on updatedb which is
daily by cron if at all. Though it will warn if the database is over 8
days old...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PAE Kernel doesn´t boot

2008-02-14 Thread neptuno

How can i mount a nfs share with user and password

thanks
Roilan

- Original Message - 
From: "i.anfrage" <[EMAIL PROTECTED]>

To: "CentOS mailing list" 
Sent: Thursday, February 14, 2008 04:04 PM
Subject: Re: [CentOS] PAE Kernel doesn´t boot




i.anfrage wrote:
> i also can´t install the 64-bit version of centos5.

why not?


because the install-boot process stops after loading the keyboard
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.20/1260 - Release Date: 2/5/2008 
9:44 AM





__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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


Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Michael A. Peters

Jeff Larsen wrote:



Uhh... locate is not exactly real time. Depends on updatedb which is
daily by cron if at all. Though it will warn if the database is over 8
days old...


True - but that doesn't explain why my.cnf is missing when the rpm 
installs it, or why mysql databases show up in locate but don't show up 
in ls. Upgrading MySQL would not have nuked them.

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


[CentOS] NFS mount

2008-02-14 Thread neptuno

How can i mount a nfs share with user and password

thanks
Roilan




__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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


[CentOS] Apache2 crashes, MySQL uses upto 90% CPU

2008-02-14 Thread Devraj Mukherjee
Hi everyone,

I am running CentOS 4.6 and use the centosplus repo. Apache version
2.0.59 and MySQL 5.0.54 and for the past few days Apache 2 has been
crashing randomly. The CPU usage has been maxing out (The machine has
2 x Xeon processors, with 4Gb RAM) and there are many httpd processes
that appear to be defunct.

I read around and found that logrotate may be crashing Apache if it
doesn't quit in time. I have performance tuned MySQL to cache queries,
modified php.ini not to use too many persistent connections,
restricted the number of connections that Apache will answer to.

Top says:
8136 mysql 16   0  202  51:55.73  5.7  680m 225m 5352 S mysqld

Is there anyone else experiencing similar things? Any suggestions?

Thanks for your time.



-- 
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Error adding printer

2008-02-14 Thread neptuno
When I try to add a new printer in the "configure - KDE control module" it 
throw the following error:
Unable ro create printer. Error message received from manager: 
client-error-bad request 






__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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


[CentOS] Error adding printer

2008-02-14 Thread neptuno
When i try to add a printer using GUI configuration it throw the following 
error:
Unable to create printer. Error message receibed from manager: 
client-error-bad-request


please anybody can help me?

regards Roilan 




__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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


Re: [CentOS] PAE Kernel doesn´t boot

2008-02-14 Thread info anfrage
that´s a strange response to my question.


 Original-Nachricht 
> Datum: Thu, 14 Feb 2008 17:27:21 -0500
> Von: "neptuno" <[EMAIL PROTECTED]>
> An: "CentOS mailing list" 
> Betreff: Re: [CentOS] PAE Kernel doesn´t boot

> How can i mount a nfs share with user and password
> 
> thanks
> Roilan
> 
> - Original Message - 
> From: "i.anfrage" <[EMAIL PROTECTED]>
> To: "CentOS mailing list" 
> Sent: Thursday, February 14, 2008 04:04 PM
> Subject: Re: [CentOS] PAE Kernel doesn´t boot
> 
> 
> 
> > i.anfrage wrote:
> > > i also can´t install the 64-bit version of centos5.
> >
> > why not?
> 
> because the install-boot process stops after loading the keyboard
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
> 
> -- 
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.19.20/1260 - Release Date: 2/5/2008
> 9:44 AM
> 
> 
> 
>   
> __ 
> LLama Gratis a cualquier PC del Mundo. 
> Llamadas a fijos y móviles desde 1 céntimo por minuto. 
> http://es.voice.yahoo.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos