[CentOS] OT: errors building packages from src.rpm (trying to rebuild RHELIPA)
Hi all, I am trying to rebuild RHELIPA packages downloaded from ftp.redhat.com. All goes ok except from python-psycopg2 package. When I try to rebuild, gives me these errors: + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python-psycopg2 = 2.0.6-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/python-psycopg2-2.0.6-1-root-carlos RPM build errors: user brewbuilder does not exist - using root group brewbuilder does not exist - using root user brewbuilder does not exist - using root group brewbuilder does not exist - using root File not found by glob: /var/tmp/python-psycopg2-2.0.6-1-root-carlos/usr/lib64/python2.4/site-packages/psycopg2/*.pyc File not found by glob: /var/tmp/python-psycopg2-2.0.6-1-root-carlos/usr/lib64/python2.4/site-packages/psycopg2/*.pyo If I go to /var/tmp/python-psycopg2-2.0.6-1-root-carlos/usr/lib64/python2.4/site-packages/psycopg2/ directory, it is right: there isn't exists any *.pyc or .pyo file ... Maybe be the problem is in .spec file?? somebody have this problem?? -- CL Martinez carlopmart {at} gmail {d0t} com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: errors building packages from src.rpm (trying to rebuild RHELIPA)
I suspect it is a problem with the spec file under the %files section. On 06 Jul 2009, at 10:59 AM, C. L. Martinez wrote: Hi all, I am trying to rebuild RHELIPA packages downloaded from ftp.redhat.com . All goes ok except from python-psycopg2 package. When I try to rebuild, gives me these errors: + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python-psycopg2 = 2.0.6-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/ python-psycopg2-2.0.6-1-root-carlos RPM build errors: user brewbuilder does not exist - using root group brewbuilder does not exist - using root user brewbuilder does not exist - using root group brewbuilder does not exist - using root File not found by glob: /var/tmp/python-psycopg2-2.0.6-1-root- carlos/usr/lib64/python2.4/site-packages/psycopg2/*.pyc File not found by glob: /var/tmp/python-psycopg2-2.0.6-1-root- carlos/usr/lib64/python2.4/site-packages/psycopg2/*.pyo If I go to /var/tmp/python-psycopg2-2.0.6-1-root-carlos/usr/lib64/ python2.4/site-packages/psycopg2/ directory, it is right: there isn't exists any *.pyc or .pyo file ... Maybe be the problem is in .spec file?? somebody have this problem?? -- CL Martinez carlopmart {at} gmail {d0t} com ___ 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] modern motherboard for centos-5
I think these drivers were merged into a the kernel a bit later in the kernel than CentOS uses, although am a bit surprised upstream didn't backport. Before I set the machine up for proper, I tried a live Ubuntu disk which recognised the ethernet no problem, which lead me to figuring out what to do next for CentOS. Before I bought this board, I must admit I tried to find a suitable modern board myself and didn't come up with much in the way of resources... I thought it ought to be documented in a wiki or something. I ended up doing some guesswork and taking pot-luck... From: Robert Heller To: CentOS mailing list Cc: CentOS mailing list Sent: Monday, 6 July, 2009 2:46:10 Subject: Re: [CentOS] modern motherboard for centos-5 > Pardon my ignorance, but what's "forcedeth"? On board Ethernet, part of the nVidia GForce chipset. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: errors building packages from src.rpm (trying to rebuild RHELIPA)
On Mon, Jul 6, 2009 at 4:59 AM, C. L. Martinez wrote: > Hi all, > > I am trying to rebuild RHELIPA packages downloaded from ftp.redhat.com. All > goes ok except from python-psycopg2 package. When I try to rebuild, gives me > these errors: Translated: > RPM build errors: > user brewbuilder does not exist - using root > group brewbuilder does not exist - using root The user 'brewbuilder' is redhat's internal build user account. It's not on your machine, so the system is assigning the build to a different account. It's not really an error, so much as a legacy warning. Why rpm even cares who created a src.rpm is something I don't know. > File not found by glob: > /var/tmp/python-psycopg2-2.0.6-1-root-carlos/usr/lib64/python2.4/site-packages/psycopg2/*.pyc > File not found by glob: > /var/tmp/python-psycopg2-2.0.6-1-root-carlos/usr/lib64/python2.4/site-packages/psycopg2/*.pyo The %files section of the spec file likely names these two files or the directory specifically. Your build can't find these files. There may be other errors causing them to not be built, or the spec file erroneously wants them. > If I go to > /var/tmp/python-psycopg2-2.0.6-1-root-carlos/usr/lib64/python2.4/site-packages/psycopg2/ > directory, it is right: there isn't exists any *.pyc or .pyo file ... Maybe > be the problem is in .spec file?? somebody have this problem?? See above. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ffmpeg and zoneminder install problems
From: Gregory P. Ennis > svn checkout -r 11879 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg > cd ffmpeg/ > ./configure > make > When I execute the make command I get the following that results in an Error > message. If you use svn, it is always a good idea to do a 'make distclean' between the checkout and the configure, just in case... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Trouble running 'alsamixer' as normal user on headless box with minimal system
Hi, I just transformed an old Pentium III 500 into a headless jukebox. It's installed in the basement, near the stereo. There's only a base CentOS system on it (GNOME unchecked, package customization checked and then everything unchecked). From there on, I just installed the ALSA utils, and vorbis-tools. The machine is only supposed to do one thing (and to do it well, UNIX philosophy :oD): fetch an audio stream (produced by MPD/Icecast upstairs on a big PC) and then output it from the soundcard to the AUX IN from the stereo. I have a partial - and near-total - success, in that everything runs fine... as root user. Whenever I try to run alsamixer as a normal user on that box, I get the following error message: [kikino...@jukebox ~]$ alsamixer alsamixer: function snd_ctl_open failed for default: No such file or directory Something similar happens with ogg123, which runs fine as root, but produces the following error message as plain user: [kikino...@jukebox ~]$ ogg123 http://babasse:8000/jukebox.ogg ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: Aucun fichier ou répertoire de ce type ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: Aucun fichier ou répertoire de ce type ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: Aucun fichier ou répertoire de ce type ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: Aucun fichier ou répertoire de ce type ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM default === Impossible de charger le pilote par défaut, et aucun autre pilote n'est indiqué dans le fichier de configuration. Terminaison. Now I guess there must be something missing, because on my other machines (with a full-blown desktop installed), alsamixer runs fine as normal user. Any idea what could be wrong here? Cheers from the hot south of France, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Trouble running 'alsamixer' as normal user on headless box with minimal system
On Mon, Jul 6, 2009 at 2:24 PM, Niki Kovacs wrote: > Hi, > > I just transformed an old Pentium III 500 into a headless jukebox. It's > installed in the basement, near the stereo. There's only a base CentOS > system on it (GNOME unchecked, package customization checked and then > everything unchecked). From there on, I just installed the ALSA utils, > and vorbis-tools. The machine is only supposed to do one thing (and to > do it well, UNIX philosophy :oD): fetch an audio stream (produced by > MPD/Icecast upstairs on a big PC) and then output it from the soundcard > to the AUX IN from the stereo. > > I have a partial - and near-total - success, in that everything runs > fine... as root user. Whenever I try to run alsamixer as a normal user > on that box, I get the following error message: > > [kikino...@jukebox ~]$ alsamixer > > alsamixer: function snd_ctl_open failed for default: No such file or > directory > > Something similar happens with ogg123, which runs fine as root, but > produces the following error message as plain user: > > [kikino...@jukebox ~]$ ogg123 http://babasse:8000/jukebox.ogg > ALSA lib confmisc.c:768:(parse_card) cannot find card '0' > ALSA lib conf.c:3513:(_snd_config_evaluate) function > snd_func_card_driver returned error: Aucun fichier ou répertoire de ce type > ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings > ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat > returned error: Aucun fichier ou répertoire de ce type > ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name > ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer > returned error: Aucun fichier ou répertoire de ce type > ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: Aucun fichier > ou répertoire de ce type > ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM default > === Impossible de charger le pilote par défaut, et aucun autre pilote > n'est indiqué dans le fichier de configuration. Terminaison. > > > Now I guess there must be something missing, because on my other > machines (with a full-blown desktop installed), alsamixer runs fine as > normal user. > > Any idea what could be wrong here? > > Cheers from the hot south of France, > > Niki > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ls -al /dev/{dsp,audio} ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Trouble running 'alsamixer' as normal user on headless box with minimal system
luc...@lastdot.org a écrit : > > ls -al /dev/{dsp,audio} ? On my laptop: [kikino...@lifebook ~]$ ls -al /dev/{dsp,audio} crw--- 1 kikinovak root 14, 4 jui 6 07:32 /dev/audio crw--- 1 kikinovak root 14, 3 jui 6 07:32 /dev/dsp And on the jukebox: [kikino...@jukebox ~]$ ls -al /dev/{dsp,audio} crw--- 1 root root 14, 4 jui 6 15:23 /dev/audio crw--- 1 root root 14, 3 jui 6 15:23 /dev/dsp Uh oh. So here's the core of the problem. Now as far as I understand, it's useless to change the owner of these with a simple chown, as the device nodes get dynamically created by udev (correct me if I'm wrong). I *think* I have to edit some udev rule file to change this, but this is as far as my knowledge goes. (This is strange... I can't remember doing anything like this to the device files... how comes the ownership is different on a standard desktop system?) Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How best to allow users to change Samba passwords?
I know this is a late reply, but I've only just got round to things. pgina works absolutely fine, thanks for that. It also allows fallback to local users for our laptop wielding brethren. All I need to do now is work out how to use the Centos/redhat/fedora directory server. On 01/07/2009 16:38, Alexander Georgiev wrote: > 2009/7/1 Kevin Thorpe: > >> On 01/07/2009 14:29, Jason Pyeron wrote: >> >> We're missing some bits on this. We don't run Windows servers at all so the >> Exchange route is out. Also most of our >> workstations are only windows Home, not Professional so we can't use a >> domain or the ctrl-alt-del approach. I think >> I'm going to have to use openLDAP to do this, but it seems overly hard to >> set up. It will however work for Samba, >> Scalix and our website (Drupal) so I think it's the way to go. >> > > I have successfully used http://www.pgina.org to authenticate Windows > Home users against a Samba domain. Pgina has plugins for different > authentication providers, so openLDAP should work. > > Of course you should ensure user and password synchronization between > the 2 servers as a first step. OpenLDAP will work. I have used > http://sourceforge.net/projects/smbldap-tools/ to store samba account > database in openldap. > > The real challenge for me 7 years ago, was password expiration. I > believe this requirement will sooner or later come to you. Users tend > to use the same password for years. Therefore a mechanism of password > expiration must be enforced to make sure those passwords will be > changed, also the mechanism observes that passwords are strong and not > rotated. > > When I was using a Windows NT4 domain there was a mechanism which > would observe the password expiration of domain users and would > trigger via RPC a password change request on the user workstation. > Upon login, the user would not be granted login until the password is > changed. > > I could not reproduce this behavior using samba 2.2.xxx and have not > tried since then. > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Trouble running 'alsamixer' as normal user on headless box with minimal system
On Mon, Jul 6, 2009 at 2:42 PM, Niki Kovacs wrote: > luc...@lastdot.org a écrit : >> >> ls -al /dev/{dsp,audio} ? > > On my laptop: > > [kikino...@lifebook ~]$ ls -al /dev/{dsp,audio} > crw--- 1 kikinovak root 14, 4 jui 6 07:32 /dev/audio > crw--- 1 kikinovak root 14, 3 jui 6 07:32 /dev/dsp > > And on the jukebox: > > [kikino...@jukebox ~]$ ls -al /dev/{dsp,audio} > crw--- 1 root root 14, 4 jui 6 15:23 /dev/audio > crw--- 1 root root 14, 3 jui 6 15:23 /dev/dsp > > Uh oh. So here's the core of the problem. > > Now as far as I understand, it's useless to change the owner of these > with a simple chown, as the device nodes get dynamically created by udev > (correct me if I'm wrong). I *think* I have to edit some udev rule file > to change this, but this is as far as my knowledge goes. > > (This is strange... I can't remember doing anything like this to the > device files... how comes the ownership is different on a standard > desktop system?) > > Niki > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > Yeah, unfortunatelly I don't know either. Never used systems for such thing, it's probably a udev issue. Easy solution is to chown user /dev/dsp and then add this command to rc.local. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Trouble running 'alsamixer' as normal user on headless box with minimal system
luc...@lastdot.org a écrit : > Yeah, unfortunatelly I don't know either. Never used systems for such > thing, it's probably a udev issue. Easy solution is to chown user > /dev/dsp and then add this command to rc.local. OK, I followed your quick & dirty hack. I have to be root to set the volume level, but I can read OGG streams with ogg123 as user OK. I still get the series of strange error messages on startup, but at least, it works. Thanks ! Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Trouble running 'alsamixer' as normal user on headless box with minimal system
On Mon, Jul 6, 2009 at 3:41 PM, Niki Kovacs wrote: > luc...@lastdot.org a écrit : > >> Yeah, unfortunatelly I don't know either. Never used systems for such >> thing, it's probably a udev issue. Easy solution is to chown user >> /dev/dsp and then add this command to rc.local. > > OK, I followed your quick & dirty hack. I have to be root to set the > volume level, but I can read OGG streams with ogg123 as user OK. I still > get the series of strange error messages on startup, but at least, it > works. > > Thanks ! > > Niki > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > Great. Sorry I couldn't come with a more elegant solution. Maybe some of the more hardcore users on this list can advise better. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading drives in raid 1
On 07/02/2009 09:52 AM, Bob Hoffman wrote: > > I am thinking I would next forget about md0 (the boot part) and concentrate > on the md1, where the whole system lies. Don't completely forget about it. You'll probably need to reinstall grub when you replace each disk. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] what would be happen if swap partition is not?
On 07/03/2009 05:46 AM, MontyRee wrote: > > But, if there is no swap partion at system, what would be happen? > that makes the system unstable or not? That depends on what you're running. As people point out, you can usually get along without one, but doing so is a bad idea in some configurations. If you run a server that's dedicated to any single large application (like dedicated tomcat or database server), then you should have swap at least as large as RAM. Even when you configure the system so that applications stay within the bounds of RAM, fork() will fail in your application if it doesn't have room for a complete second copy of itself in memory. The space won't normally be used, since Linux uses a copy-on-write technique for fork(), but it still requires the space before it will allow fork() to succeed. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Memory reporting...
Hi, I have a little question about memory usage... When I do a free, I get: total used free sharedbuffers cached Mem: 18482800 18030668 452132 0 6830689426792 -/+ buffers/cache:7920808 10561992 But, when I do a ps, mysql is the only process that takes noticable memory; and it is far from 7.9GBs... USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND mysql28346 36.0 15.6 3241196 2884692 ? Sl Jul04 981:19 \_ /usr/libexec/mysqld --basedir=/usr --datadir=/IOL/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/IOL/mysql/mysql.sock Once you removed the buffers and the cached memory from the total used memory... what is left? Looks like I have "something" (that is not buffers/cached) that takes more than 4GB... Could it be disk cache or is it included in the cached value? Any idea? Thx, JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Memory reporting...
John Doe wrote: > > Hi, > > I have a little question about memory usage... > > When I do a free, I get: I calculate system memory usage by (total memory) - (free memory) - (cached memory) - (buffers memory) The "free" memory reported by free/top/other tools is very misleading, and is the topic of many questions over the years because of it. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Memory reporting...
On Monday 06 July 2009, John Doe wrote: > Hi, > > I have a little question about memory usage... > > When I do a free, I get: /proc/meminfo may give you a more detailed summary. /Peter > total used free sharedbuffers cached > Mem: 18482800 18030668 452132 0 6830689426792 > -/+ buffers/cache:7920808 10561992 > > But, when I do a ps, mysql is the only process that takes noticable memory; > and it is far from 7.9GBs... > > USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND > mysql28346 36.0 15.6 3241196 2884692 ? Sl Jul04 981:19 \_ > /usr/libexec/mysqld --basedir=/usr --datadir=/IOL/mysql --user=mysql > --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 > --socket=/IOL/mysql/mysql.sock > > Once you removed the buffers and the cached memory from the total used > memory... what is left? Looks like I have "something" (that is not > buffers/cached) that takes more than 4GB... Could it be disk cache or is it > included in the cached value? > Any idea? > > Thx, > JD signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Network Utilization
I'm attempting to create a script that will indicate the % utilization of a network interface. I need this to export a one shot output that can be called by nagios. I've tried the following tools but I was unable to find a way to output just the utilization, and just one time: bmon, iftop, ifstat, bwm, dstat, rrdtool, iptraf. Any ideas? Thanks, Scott ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] User Management
I am just wondering how other people are doing their user management for multiple servers that not in any type of directory. Do anyone use any application that query each server for users or keep a database of users that's on each server? I would like to get feedback on what others use... Thanks Justin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Network Utilization
> I'm attempting to create a script that will indicate the % utilization > of a network interface. I need this to export a one shot output that can > be called by nagios. > > I've tried the following tools but I was unable to find a way to output > just the utilization, and just one time: bmon, iftop, ifstat, bwm, > dstat, rrdtool, iptraf. > > ntop ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Network Utilization
Parsons, Scott wrote: > I'm attempting to create a script that will indicate the % utilization > of a network interface. I need this to export a one shot output that can > be called by nagios. > > I've tried the following tools but I was unable to find a way to output > just the utilization, and just one time: bmon, iftop, ifstat, bwm, > dstat, rrdtool, iptraf. Get the interface counters for the interface, sleep 5 seconds(or more), get them again, calculate the difference taking into account interface speed and you can determine the % utilization that way. I use SNMP and use these OIDs: .1.3.6.1.2.1.2.2.1.10.2 = IF-MIB::ifInOctets.2 .1.3.6.1.2.1.2.2.1.16.2 = IF-MIB::ifOutOctets.2 .1.3.6.1.2.1.2.2.1.10.3 = IF-MIB::ifInOctets.3 .1.3.6.1.2.1.2.2.1.16.3 = IF-MIB::ifOutOctets.3 nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] User Management
Justin Lim wrote: > I am just wondering how other people are doing their user management for > multiple servers that not in any type of directory. > > Do anyone use any application that query each server for users or keep a > database of users that's on each server? > > I would like to get feedback on what others use... For my ~400 systems I use a custom script setup that I wrote and tie it into cfengine. Basically it generates dynamic passwd/shadow/group files for several different 'classes' of systems. Very few accounts have passwords, 99%+ of logins are done via ssh key based authentication which is managed by another script which dynamically creates ssh authorized_keys files for at least the shared accounts. Key files for both shared accounts and user accounts are managed by cfengine and populated by me. Key files and passwd/shadow/group files are inspected hourly and replaced if they were somehow changed from the master. The person who was in my role before me tried to setup LDAP and it didn't work out too well. I learned at a while back that in this type of environment anyways LDAP is just another layer, and remains complicated even today(I've been managing LDAP systems off and on for about 8 years now). The system I use today I wrote a couple of years ago and has proven to be very robust and reliable since each & every server has everything it needs to authenticate users. Both scripts show me detailed information of the changes I make before they are committed, and make automatic backups for easy rollback. Home directories on some internal servers are centrally hosed by an NFS cluster, though most home directories are just skeletons that are not shared/replicated in any way. CFengine automatically creates home directories that do not exist by means of another script a co-worker of mine wrote a few years ago. There's very few services other than ssh that we need authentication for, those typically have their own user databases. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] GUI Front End for OpenLDAP admin (users & groups)
Miguel Medalha píše v Ne 05. 07. 2009 v 22:26 +0100: > > > Does there exist a GUI Front End for OpenLDAP admin for CentOS 5 (RHEL > > 5)? > > > > From a Windows client you can see and manage your LDAP directory with > the free > LDAP Admin: > > http://ldapadmin.sourceforge.net/ > > Under Linux, Luma > http://luma.sourceforge.net/ > > You can also manage your directory with a browser using the following > (among others): > > phpLDAPadmin > http://phpldapadmin.sourceforge.net/wiki/index.php/Main_Page > > LDAP Account Manager > http://lam.sourceforge.net/ > > Webmin (general system administration, including LDAP) > http://www.webmin.com > I use gq on fedora and I think it is the best gnome client. You can try compile it on CentOS from src.rpm Pavel ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Trouble running 'alsamixer' as normal user on headless box with minimal system
On Mon, 06 Jul 2009 15:24:41 +0200 Niki Kovacs wrote: > fetch an audio stream (produced by > MPD/Icecast upstairs on a big PC) Answering your question with one of my own, what's the "big PC" running? I was under the impression that Icecast didn't currently get along well with Centos 5. (The reason that I'm asking is becasue I may be setting up an Icecast server at some point -- project approval still hasn't showed up -- and would prefer to do it on Centos if I can.) -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] module-info vs pci.ids
nate wrote: > Hello - > > It's been so long since I've tried hacking the kickstart > media to include an updated driver but I guess that time has > come again for me at least, getting an updated "igb" driver > into the CentOS 5.2 installation for a HP DL165G5p(I'm not > ready yet for CentOS 5.3). Ok I think I figured it out module-info seems not to be the file I thought I needed to modify, I've been screwing with this all morning without good results until I discovered I was naming the new initrd the wrong file name..doh.. Anyways I think I resolved it by adding the new entries to modules.alias, the driver loads no problem now. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] hardware requirements for Centos 2
Hi. Could you please give me advice about issue described below. My friends have to use a PC with old hardware for a few months. They've got 128MB of RAM, 20 GB hard drive; Pentium 3 processor. At the moment they have windows xp running on it, but it's very slow. What are the system requirements for CentOS 2 or any other version of this OS that may be suitable? Can you recommend any other Linux distro that would be easy to install and to use? Thanks in advance for any input. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] hardware requirements for Centos 2
The RAM is a little on the low side, 512M is the recommended to run a GUI at the moment I think but 128M is all that's required for Command line, and GUI would probably run but might be a little slow to respond. But otherwise this machine should do run Centos 5 fine. The CPU and HD are more then adequate Ubuntu is the anther distro to play with if you want to play with a non-RPM based distro. With all the distro's I've played with Centos 5 and the current Ubuntu 9 (http://www.ubuntu.com/ ) are about the easiest to get up and running. Both of these distro's have a nice constant stream of free software updates/upgrades being feed into them so having an network connection available helps. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Dmitry Sent: Monday, July 06, 2009 11:45 AM To: CentOS mailing list Subject: [CentOS] hardware requirements for Centos 2 Hi. Could you please give me advice about issue described below. My friends have to use a PC with old hardware for a few months. They've got 128MB of RAM, 20 GB hard drive; Pentium 3 processor. At the moment they have windows xp running on it, but it's very slow. What are the system requirements for CentOS 2 or any other version of this OS that may be suitable? Can you recommend any other Linux distro that would be easy to install and to use? Thanks in advance for any input. ___ 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] hardware requirements for Centos 2
On Mon, Jul 6, 2009 at 8:01 PM, wrote: > The RAM is a little on the low side, 512M is the recommended to run a > GUI at the moment I think but 128M is all that's required for Command > line, and GUI would probably run but might be a little slow to respond. > But otherwise this machine should do run Centos 5 fine. The CPU and HD > are more then adequate > > Ubuntu is the anther distro to play with if you want to play with a > non-RPM based distro. With all the distro's I've played with Centos 5 > and the current Ubuntu 9 (http://www.ubuntu.com/ ) are about the easiest > to get up and running. > > Both of these distro's have a nice constant stream of free software > updates/upgrades being feed into them so having an network connection > available helps. > > > > -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of Dmitry > Sent: Monday, July 06, 2009 11:45 AM > To: CentOS mailing list > Subject: [CentOS] hardware requirements for Centos 2 > > Hi. > > Could you please give me advice about issue described below. > > My friends have to use a PC with old hardware for a few months. They've > got 128MB of RAM, 20 GB hard drive; Pentium 3 processor. > > At the moment they have windows xp running on it, but it's very slow. > > What are the system requirements for CentOS 2 or any other version of > this OS that may be suitable? > > Can you recommend any other Linux distro that would be easy to install > and to use? > > Thanks in advance for any input. > ___ > 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 > I can smell a flame startin' Under no circumstances should you install Ubuntu on that PC, it'll work slower than a snail. I used to have a similar PC (also with 128 ram), and the fastest distros that run on it were Slackware and VectorLinux (without heavy DE's like KDE or Xfce). Even so, 128 ram was painful, 256 was quite almost enjoyable so I realy recommend to make an effort to buy some more ram. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CPU utils almost 100%-- solved
Dear Guys Thanks and apprecite your quick replies By the way i had stated solving the problem of almost 100% CPU utulization starting everyday at 4 am and ending at 10 am in a very crude way top was reporting 95% wa i started to check the crontab file and noticed that the cron.daily entry in the file sarts at 4 am and in the directory i found -rwxr-xr-x 1 root root 133 Jul 6 16:59 00webalizer -rwxr-xr-x 1 root root 379 Jul 6 17:02 0anacron lrwxrwxrwx 1 root root39 Nov 9 2008 0logwatch -> /usr/share/logwatch/scripts/logwatch.pl drwxr-xr-x 2 root root 4096 Jul 5 21:25 backup -rw-r--r-- 1 root root62 Jul 6 17:37 clamav -rwxr-xr-x 1 root root 118 Jul 6 17:00 cups -rwxr-xr-x 1 root root 456 Nov 3 2008 freshclam -rwxr-xr-x 1 root root26 Jul 6 17:00 havp -rwxr-xr-x 1 root root 180 Dec 2 2007 logrotate -rwxr-xr-x 1 root root 418 Jan 6 2007 makewhatis.cron -rwxr-xr-x 1 root root 137 Jul 6 17:23 mlocate.cron -rwxr-xr-x 1 root root 2181 Jun 21 2006 prelink -rwxr-xr-x 1 root root 114 Jul 6 17:01 rpm -rwxr-xr-x 1 root root 290 Jul 5 21:24 tmpwatch i started movies some of thes files to difereent directory and finally found that it was the below file that was the culprit -rwxr-xr-x 1 root root 290 Jul 5 21:24 tmpwatch --- the contents of the file was /usr/sbin/tmpwatch -x /tmp/.X11-unix -x /tmp/.XIM-unix -x /tmp/.font-unix \ -x /tmp/.ICE-unix -x /tmp/.Test-unix 240 /tmp /usr/sbin/tmpwatch 720 /var/tmp for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do if [ -d "$d" ]; then /usr/sbin/tmpwatch -f 720 "$d" fi done now everything works fine without this file in the /etc/cron.daily directory so the tmpwatch was the culprit cause the CPU wait state to almost 99 % for almost 6 hrs but jus would like to know if this particular script has any signifance or any perfomance issue and my system will run perfect without the file apprecite you help regards Fabian > fabian wrote: >>> 2009/7/5 fabian >>> i notced recently that the cpu utilization peaks to abt 100 % at 4 am every day and becomes normall at 10 am cpu 4.5%us 2.3% sy 0.0%ni 2% id 95% wa notice the 95% wa >>> It looks like you might be misreading the idle % for CPU activity. A >>> 95% >>> idle shows the system is not doing much. >>> >> >> so sorry abouyt my typing >> >> its cpu==>4.5%us >> sy==> 2.3% >> ni==> 0.0% >> id==> 2 % >> wa==> 95% >> >> >> so the wa=95 % >> >> this starts about 4 am and stops about 10 am >> then the CPU idle time is always between 90% to 99% > > Wait means the kernel is waiting for some device i/o command(s) to > complete. > The CPU is idle but can't do anything useful without the results from the > device, probably disk or network. Starting at 4 am makes the > 'updatedb'run that > builds the database for the locate command a likely culprit. Do you have > a lot > of files, slow disks, or perhaps some network mounts that are included? > > -- >Les Mikesell > lesmikes...@gmail.com > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > -- 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] CPU utils almost 100%-- solved
fabian wrote: Dear Guys Thanks and apprecite your quick replies By the way i had stated solving the problem of almost 100% CPU utulization starting everyday at 4 am and ending at 10 am in a very crude way top was reporting 95% wa i started to check the crontab file and noticed that the cron.daily entry in the file sarts at 4 am and in the directory i found -rwxr-xr-x 1 root root 133 Jul 6 16:59 00webalizer -rwxr-xr-x 1 root root 379 Jul 6 17:02 0anacron lrwxrwxrwx 1 root root39 Nov 9 2008 0logwatch -> /usr/share/logwatch/scripts/logwatch.pl drwxr-xr-x 2 root root 4096 Jul 5 21:25 backup -rw-r--r-- 1 root root62 Jul 6 17:37 clamav -rwxr-xr-x 1 root root 118 Jul 6 17:00 cups -rwxr-xr-x 1 root root 456 Nov 3 2008 freshclam -rwxr-xr-x 1 root root26 Jul 6 17:00 havp -rwxr-xr-x 1 root root 180 Dec 2 2007 logrotate -rwxr-xr-x 1 root root 418 Jan 6 2007 makewhatis.cron -rwxr-xr-x 1 root root 137 Jul 6 17:23 mlocate.cron -rwxr-xr-x 1 root root 2181 Jun 21 2006 prelink -rwxr-xr-x 1 root root 114 Jul 6 17:01 rpm -rwxr-xr-x 1 root root 290 Jul 5 21:24 tmpwatch i started movies some of thes files to difereent directory and finally found that it was the below file that was the culprit -rwxr-xr-x 1 root root 290 Jul 5 21:24 tmpwatch --- the contents of the file was /usr/sbin/tmpwatch -x /tmp/.X11-unix -x /tmp/.XIM-unix -x /tmp/.font-unix \ -x /tmp/.ICE-unix -x /tmp/.Test-unix 240 /tmp /usr/sbin/tmpwatch 720 /var/tmp for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do if [ -d "$d" ]; then /usr/sbin/tmpwatch -f 720 "$d" fi done now everything works fine without this file in the /etc/cron.daily directory so the tmpwatch was the culprit cause the CPU wait state to almost 99 % for almost 6 hrs but jus would like to know if this particular script has any signifance or any perfomance issue and my system will run perfect without the file apprecite you help regards Fabian man tmpwatch shows that this is designed to cleanup tmp directories - you may want to see why your tmp files are either very many or have some other issues HTH Rob begin:vcard fn:Rob Kampen n:Kampen;Rob email;internet:r...@kampensonline.net tel;cell:407-341-3815 version:2.1 end:vcard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CPU utils almost 100%-- solved
On Monday 06 July 2009, "fabian" wrote: > now everything works fine without this file in the /etc/cron.daily > directory so the tmpwatch was the culprit cause the CPU wait state to > almost 99 % for almost 6 hrs > but jus would like to know if this particular script has any signifance > or any perfomance issue and my system will run perfect without the file If that script is running for more than a few seconds you must have a lot of stuff in your tmp directory. You should probably fix that problem instead of disabling the script. All it does is cleanup cruft in temporary directories. -- Anyone who believes exponential growth can go on forever in a finite world, is either a madman or an economist. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] hardware requirements for Centos 2
Dmitry a écrit : > Hi. > > Could you please give me advice about issue described below. > > My friends have to use a PC with old hardware for a few months. They've > got 128MB of RAM, 20 GB hard drive; Pentium 3 processor. > > At the moment they have windows xp running on it, but it's very slow. > > What are the system requirements for CentOS 2 or any other version of > this OS that may be suitable? > > Can you recommend any other Linux distro that would be easy to install > and to use? Yes. CentOS 5. Start with a minimal install (base system). Install and configure X. Only install packages you really need, be sure to deactivate all unnecessary services. Go for XFCE, IceWM, Fluxbox or some other lighter window manager. This sort of configuration is running in my neighbour's home, I installed it for them on their old PIII-500 with 128 MB RAM. Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] hardware requirements for Centos 2
2009/7/6 Dmitry : > Hi. > > Could you please give me advice about issue described below. > My friends have to use a PC with old hardware for a few months. They've > got 128MB of RAM, 20 GB hard drive; Pentium 3 processor. > At the moment they have windows xp running on it, but it's very slow. Just upgrade to 256MB, Windows XP will work like charm. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] yum install hangs
Howdy, The yum install hangs in between. This happened few days as well, but just after doing Ctrl+C it reported error with mirror and switched to another one. Today, however, it is not responding to Ctrl+C and kill or kill -9 command is also not working. Any clues? Thanks, CS. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] hardware requirements for Centos 2
Niki Kovacs wrote: > Dmitry a écrit : >> Hi. >> >> Could you please give me advice about issue described below. >> >> My friends have to use a PC with old hardware for a few months. They've >> got 128MB of RAM, 20 GB hard drive; Pentium 3 processor. >> >> At the moment they have windows xp running on it, but it's very slow. >> >> What are the system requirements for CentOS 2 or any other version of >> this OS that may be suitable? >> >> Can you recommend any other Linux distro that would be easy to install >> and to use? > > Yes. CentOS 5. Start with a minimal install (base system). Install and > configure X. Only install packages you really need, be sure to > deactivate all unnecessary services. Go for XFCE, IceWM, Fluxbox or some > other lighter window manager. This sort of configuration is running in > my neighbour's home, I installed it for them on their old PIII-500 with > 128 MB RAM. > To add - I run CentOS 5 just fine on an IBM Thinkpad T20 (700MHz PIII when plugged in, 550MHz on battery) with 384MB of ram. I ran it just fine on 256MB until one of the ram modules died. I then ran it on 128MB painfully while waiting for the replacement (256MB) chip to arrive. Note though that I'm running the full gnome GUI. Disable JavaScript except when you absolutely must have it, browsing with JS / flash enabled crashes low memory machines. Don't use OpenOffice - AbiWord an Gnumeric both do well on low memory machines. For that matter, so does LaTeX as it just uses a text editor until you are ready to compile your document, but LaTeX has quite a learning curve. If the 20GB HD is a 5400RPM (probably is) try to get a 7200RPM drive - that's what I did in my old laptop and the difference was night and day. If it is a desktop, and you do replace the drive with faster spinning, if there's room to continue using the older drive - you can use the older drive as dedicated swap, which will help a lot. You don't need 20GB of swap, you can partition it, but don't use the non swap for anything much other than storage of stuff you don't need to access often. This, btw, is what I love about Linux. Old hardware stays useful for much longer, reducing waste in the land fills. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install hangs
Carlos Santana a écrit : > Howdy, > > The yum install hangs in between. This happened few days as > well, but just after doing Ctrl+C it reported error with mirror and > switched to another one. Today, however, it is not responding to > Ctrl+C and kill or kill -9 command is also not working. Any clues? Yes. From time to time, do the following: # yum clean all Cheers, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install hangs
Thanks Niki. More specifically it hangs after: Downloading Packages: Running rpm_check_debug Running Transaction Test If I did yum clean all while app. is running then I get following message: [r...@localhost ~]# yum clean all Existing lock /var/run/yum.pid: another copy is running as pid 17097. Another app is currently holding the yum lock; waiting for it to exit... If pid file is removed then I can do clean all, however the processes still exist: [r...@localhost ~]# rm /var/run/yum.pid rm: remove regular file `/var/run/yum.pid'? y [r...@localhost ~]# yum clean all Cleaning up Everything [r...@localhost ~]# ps ax | grep -i yum* 16794 ?S 0:05 /usr/bin/python /usr/bin/yum install lsof 17097 pts/1S+ 0:04 /usr/bin/python /usr/bin/yum install lsof 17137 pts/2S+ 0:00 grep -i yum* Any clues? - CS On Mon, Jul 6, 2009 at 5:01 PM, Niki Kovacs wrote: > Carlos Santana a écrit : >> Howdy, >> >> The yum install hangs in between. This happened few days as >> well, but just after doing Ctrl+C it reported error with mirror and >> switched to another one. Today, however, it is not responding to >> Ctrl+C and kill or kill -9 command is also not working. Any clues? > > Yes. From time to time, do the following: > > # yum clean all > > Cheers, > > Niki > ___ > 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] yum install hangs
Carlos Santana wrote: > Any clues? kill the processes nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install hangs
Carlos Santana a écrit : > Thanks Niki. > > More specifically it hangs after: > Downloading Packages: > Running rpm_check_debug > Running Transaction Test > > If I did yum clean all while app. is running then I get following message: > [r...@localhost ~]# yum clean all > Existing lock /var/run/yum.pid: another copy is running as pid 17097. In that case, I bet this is your yum-updatesd daemon interfering. Try this: # service yum-updatesd stop And then: # chkconfig yum-updatesd off Basically, you can't have two instances of Yum running at the same time. Up to CentOS 5.2, yum-updatesd defaulted to on, but I understand since 5.3 it defaults to off. Cheers, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] User Management
On Jul 6, 2009, at 12:15 PM, "Justin Lim" wrote: > I am just wondering how other people are doing their user management > for > multiple servers that not in any type of directory. > > Do anyone use any application that query each server for users or > keep a > database of users that's on each server? > > I would like to get feedback on what others use... I use active directory since I am platform agnostic. If you want directory service quick 'n dirty go with NIS+Kerberos, then you can look at LDAP as an addition or replacement for NIS later after things are working. NIS will allow anyone on the network to query it, so don't put passwords in it, just usernames, full name, uid/gid, home, shell. Create Kerberos principals for each user and for each computer and each computer/service (that supports Kerberos SSO that is). Then use pam_krb5 for authentication while adding NIS support in nsswitch. You can migrate the users to LDAP later if need be. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] csgfs repo for CentOS 4
on 6-26-2009 1:27 PM Bowie Bailey spake the following: > Akemi Yagi wrote: >> On Fri, Jun 26, 2009 at 11:22 AM, Bowie >> Bailey wrote: >> >>> Is there any update on the csgfs packages for CentOS 4? The current >>> rpms are 10 months old unless I'm looking at the wrong mirror. >>> >>> -- >>> Bowie >>> >> You may want to join in / watch this CentOS bug report: >> >> http://bugs.centos.org/view.php?id=3659 >> > > Ah, so there will be an update along with the 4.8 release... > > Which, of course, leads into the next question: Is there an ETA on 4.8? :) > All together now. When its done! ;-P signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install hangs
- Process are not getting killed - I do not have yum-updatesd service running, status returns unrecognized service Any help? - CS. On Mon, Jul 6, 2009 at 5:39 PM, Niki Kovacs wrote: > Carlos Santana a écrit : >> Thanks Niki. >> >> More specifically it hangs after: >> Downloading Packages: >> Running rpm_check_debug >> Running Transaction Test >> >> If I did yum clean all while app. is running then I get following message: >> [r...@localhost ~]# yum clean all >> Existing lock /var/run/yum.pid: another copy is running as pid 17097. > > In that case, I bet this is your yum-updatesd daemon interfering. Try this: > > # service yum-updatesd stop > > And then: > > # chkconfig yum-updatesd off > > Basically, you can't have two instances of Yum running at the same time. > Up to CentOS 5.2, yum-updatesd defaulted to on, but I understand since > 5.3 it defaults to off. > > Cheers, > > Niki > ___ > 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] yum install hangs
Carlos Santana wrote: > - Process are not getting killed > - I do not have yum-updatesd service running, status returns > unrecognized service > > Any help? kill -9 ? since the processes are sleeping kill -9 should work fine nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install hangs
As specified in my first message, I have tried that. Its not working.. :( - CS. On Mon, Jul 6, 2009 at 6:41 PM, nate wrote: > Carlos Santana wrote: >> - Process are not getting killed >> - I do not have yum-updatesd service running, status returns >> unrecognized service >> >> Any help? > > kill -9 ? > > since the processes are sleeping kill -9 should work fine > > nate > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install hangs
> > kill -9 ? > As specified in my first message, I have tried that. Its not > working.. :( What about rebooting the machine? Neil -- Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com Will your e-commerce site go offline if you have a DB server failure, fiber cut, flood, or other disaster? If so, ask me about our geographically redudant database system. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install hangs
Carlos Santana wrote: > As specified in my first message, I have tried that. Its not working.. :( You've specifically tried kill -9 ? That just doesn't make sense, I have never seen a process in a "S" state that did not die as a result of a kill -9. "D" state yes, "Z" state yes, "T" state maybe, but never ever "S" (or any variant of S). kill and kill -9 are not the same thing(sorry if it's obvious I don't know your level of expertise). nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install hangs
Nope.. don't want to do that. It will screw up some of the other things/processes I want to remain active. CS. On Mon, Jul 6, 2009 at 7:39 PM, Neil Aggarwal wrote: >> > kill -9 ? >> As specified in my first message, I have tried that. Its not >> working.. :( > > What about rebooting the machine? > > Neil > > > -- > Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com > Will your e-commerce site go offline if you have > a DB server failure, fiber cut, flood, or other disaster? > If so, ask me about our geographically redudant database system. > > ___ > 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] yum install hangs
I am newbie, but I know diff in kill and kill -9. Heres my o/p: [r...@localhost ~]# ps ax | grep yum 16794 ?S 0:05 /usr/bin/python /usr/bin/yum install lsof 17097 pts/1S+ 0:04 /usr/bin/python /usr/bin/yum install lsof 18082 pts/3S+ 0:00 grep yum [r...@localhost ~]# kill -9 16794 17097 [r...@localhost ~]# ps ax | grep yum 16794 ?S 0:05 /usr/bin/python /usr/bin/yum install lsof 17097 pts/1S+ 0:04 /usr/bin/python /usr/bin/yum install lsof 18084 pts/3S+ 0:00 grep yum [r...@localhost ~]# killall -9 yum [r...@localhost ~]# ps ax | grep yum 16794 ?S 0:05 /usr/bin/python /usr/bin/yum install lsof 17097 pts/1S+ 0:04 /usr/bin/python /usr/bin/yum install lsof 18087 pts/3S+ 0:00 grep yum The /var/run/yum.pid does not exist (removed when I followed steps in my 2'nd msg). - CS. On Mon, Jul 6, 2009 at 7:47 PM, nate wrote: > Carlos Santana wrote: >> As specified in my first message, I have tried that. Its not working.. :( > > You've specifically tried kill -9 ? That just doesn't make sense, > I have never seen a process in a "S" state that did not die as > a result of a kill -9. "D" state yes, "Z" state yes, "T" state maybe, > but never ever "S" (or any variant of S). > > kill and kill -9 are not the same thing(sorry if it's obvious I > don't know your level of expertise). > > nate > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install hangs
Carlos: What about kill -15? Neil -- Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com Will your e-commerce site go offline if you have a DB server failure, fiber cut, flood, or other disaster? If so, ask me about our geographically redudant database system. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum install hangs
Carlos: There are several other signals you can try listed on this page: http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_12_01.html If none of those work, I don't think there is anything else you can do besides reboot. Neil -- Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com Will your e-commerce site go offline if you have a DB server failure, fiber cut, flood, or other disaster? If so, ask me about our geographically redudant database system. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Formatting print with awk and ORS
I have a command I execute: awk 'BEGIN { ORS=" " } { print "\"" $1 "\"" }' input_file which gives me exactly what I need, all field one's in quotes on one line each separated by one space. I now need to print a single quote around all of this, but the ORS flag is screwing me up, it's causing every attempt I try to repeat for every record. Anyone got a pointer how to do this? Thanks! jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos