Re: [CentOS] yum yum or not?
On 26/04/2012 22:08, Ljubomir Ljubojevic wrote: (snip) > yum history list > yum history info > > and > yum history undo > yum history redo, > ... > ... > Well this is it. I've used both 'remove' and 'history undo' and had better success (system not having something important removed) with the latter. .. and so I was wondering whether it's advised to use this form rather than yum remove, and to find out why 'remove' is less successful (or if it's just me!). Another example I had recently was when I installed Networkmanager-openswan and then after installing realised that it didn't support L2TP/IPSec VPNs so I uninstalled it, again with 'yum remove'. It removed the WiFi applet from the Gnome panel, which wasn't what I was expecting. I had to reinstall networkmanager to get it back. It just seems I should probably be more cautious of inspecting proposed system changes when doing 'yum remove' but just wanted to make sure that I wasn't doing something wrong. There is a nice sheet on the differences between apt and yum on distrowatch's website which I've RTFM'd obviously :) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LibreOffice rpm's vs Centos testing repo
On 27.04.2012 07:32, Johan Vermeulen wrote: > This time in the "normal" repo or also in testing? > Greetings, j. Johan, I don't think this repo will be related to the CentOS project, so it'll only live on my server. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OT: Rewrite part of a message with rsyslog
Hi all, Sorry for the off-topic, but I have not found how to do this. I have installed a centos6 server to act as a syslog receiver. I need to rewrite all messages that comes from one server. For example a part of the message is: "27April2012 10:33:44 172.1.2.2 data >". Sometimes between 27April2012 and 10:33:44 comes with one white space, sometimes with two, etc. I need to normalize this log to use only one white space between all fileds until ">" character. Somebody knows how can I do this?? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UC OT: Rewrite part of a message with rsyslog
Use AWK: { print $1, $2, $3, $4, substr($0, index( $0, ">") } Explanation: AWK will split the line up on white space, so printing $1, $2, $3, $4 will give you "27April2012 10:33:44 172.1.2.2 data" single spaced. The substr expression will return the rest of the input line ($0) unchanged from the right arrow. Martin Rushton HPC System Manager, Weapons Technologies Tel: 01959 514777, Mobile: 07939 219057 email: jmrush...@qinetiq.com www.QinetiQ.com QinetiQ - Delivering customer-focused solutions Please consider the environment before printing this email. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of C. L. Martinez Sent: 27 April 2012 11:39 To: CentOS mailing list Subject: [CentOS] OT: Rewrite part of a message with rsyslog Hi all, Sorry for the off-topic, but I have not found how to do this. I have installed a centos6 server to act as a syslog receiver. I need to rewrite all messages that comes from one server. For example a part of the message is: "27April2012 10:33:44 172.1.2.2 data >". Sometimes between 27April2012 and 10:33:44 comes with one white space, sometimes with two, etc. I need to normalize this log to use only one white space between all fileds until ">" character. Somebody knows how can I do this?? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. QinetiQ may monitor email traffic data and also the content of email for the purposes of security. QinetiQ Limited (Registered in England & Wales: Company Number: 3796233) Registered office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 0LX http://www.qinetiq.com. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UC OT: Rewrite part of a message with rsyslog
Thanks Rushton, but where I put this sentence?? I need to do this action before rsyslog sends message to another syslog server ... On Fri, Apr 27, 2012 at 12:54 PM, Rushton Martin wrote: > Use AWK: > > { print $1, $2, $3, $4, substr($0, index( $0, ">") } > > Explanation: > AWK will split the line up on white space, so printing $1, $2, $3, $4 > will give you > "27April2012 10:33:44 172.1.2.2 data" single spaced. The substr > expression will > return the rest of the input line ($0) unchanged from the right arrow. > > Martin Rushton > HPC System Manager, Weapons Technologies > Tel: 01959 514777, Mobile: 07939 219057 > email: jmrush...@qinetiq.com > www.QinetiQ.com > QinetiQ - Delivering customer-focused solutions > > Please consider the environment before printing this email. > -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of C. L. Martinez > Sent: 27 April 2012 11:39 > To: CentOS mailing list > Subject: [CentOS] OT: Rewrite part of a message with rsyslog > > Hi all, > > Sorry for the off-topic, but I have not found how to do this. I have > installed a centos6 server to act as a syslog receiver. I need to > rewrite all messages that comes from one server. For example a part of > the message is: > > "27April2012 10:33:44 172.1.2.2 data >". Sometimes between 27April2012 > and 10:33:44 comes with one white space, sometimes with two, etc. I need > to normalize this log to use only one white space between all fileds > until ">" character. > > Somebody knows how can I do this?? > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > This email and any attachments to it may be confidential and are > intended solely for the use of the individual to whom it is > addressed. If you are not the intended recipient of this email, > you must neither take any action based upon its contents, nor > copy or show it to anyone. Please contact the sender if you > believe you have received this email in error. QinetiQ may > monitor email traffic data and also the content of email for > the purposes of security. QinetiQ Limited (Registered in England > & Wales: Company Number: 3796233) Registered office: Cody Technology > Park, Ively Road, Farnborough, Hampshire, GU14 0LX http://www.qinetiq.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] UC UC OT: Rewrite part of a message with rsyslog
You need to set up the AWK script as part of a pipeline: ... | awk '{ print $1, $2, $3, $4, substr($0, index( $0, ">")) }' | ... By the way, if you are not familiar with AWK: 1) The outer brackets are curly brackets 2) The inner two sets are parenthesis 3) There should be no space between "substr" and the left parenthesis or between "index" and its parenthesis. man awk will give you lots of information! Martin Rushton HPC System Manager, Weapons Technologies Tel: 01959 514777, Mobile: 07939 219057 email: jmrush...@qinetiq.com www.QinetiQ.com QinetiQ - Delivering customer-focused solutions Please consider the environment before printing this email. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of C. L. Martinez Sent: 27 April 2012 11:55 To: CentOS mailing list Subject: Re: [CentOS] UC OT: Rewrite part of a message with rsyslog Thanks Rushton, but where I put this sentence?? I need to do this action before rsyslog sends message to another syslog server ... On Fri, Apr 27, 2012 at 12:54 PM, Rushton Martin wrote: > Use AWK: > > { print $1, $2, $3, $4, substr($0, index( $0, ">") } > > Explanation: > AWK will split the line up on white space, so printing $1, $2, $3, $4 > will give you > "27April2012 10:33:44 172.1.2.2 data" single spaced. The substr > expression will return the rest of the input line ($0) unchanged from > the right arrow. > > Martin Rushton > HPC System Manager, Weapons Technologies > Tel: 01959 514777, Mobile: 07939 219057 > email: jmrush...@qinetiq.com > www.QinetiQ.com > QinetiQ - Delivering customer-focused solutions > > Please consider the environment before printing this email. > -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of C. L. Martinez > Sent: 27 April 2012 11:39 > To: CentOS mailing list > Subject: [CentOS] OT: Rewrite part of a message with rsyslog > > Hi all, > > Sorry for the off-topic, but I have not found how to do this. I have > installed a centos6 server to act as a syslog receiver. I need to > rewrite all messages that comes from one server. For example a part of > the message is: > > "27April2012 10:33:44 172.1.2.2 data >". Sometimes between 27April2012 > and 10:33:44 comes with one white space, sometimes with two, etc. I > need to normalize this log to use only one white space between all > fileds until ">" character. > > Somebody knows how can I do this?? > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > This email and any attachments to it may be confidential and are > intended solely for the use of the individual to whom it is addressed. > If you are not the intended recipient of this email, you must neither > take any action based upon its contents, nor copy or show it to > anyone. Please contact the sender if you believe you have received > this email in error. QinetiQ may monitor email traffic data and also > the content of email for the purposes of security. QinetiQ Limited > (Registered in England & Wales: Company Number: 3796233) Registered > office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 > 0LX http://www.qinetiq.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 The QinetiQ e-mail privacy policy and company information is detailed elsewhere in the body of this email. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UC UC OT: Rewrite part of a message with rsyslog
Thanks Rushton. But I am not asking about how to use awk. Awk can not be used inside rsyslog configuration, afaik. On Fri, Apr 27, 2012 at 1:05 PM, Rushton Martin wrote: > You need to set up the AWK script as part of a pipeline: > > ... | awk '{ print $1, $2, $3, $4, substr($0, index( $0, ">")) }' | ... > > By the way, if you are not familiar with AWK: > 1) The outer brackets are curly brackets > 2) The inner two sets are parenthesis > 3) There should be no space between "substr" and the left parenthesis > or between "index" and its parenthesis. > > man awk will give you lots of information! > > > Martin Rushton > HPC System Manager, Weapons Technologies > Tel: 01959 514777, Mobile: 07939 219057 > email: jmrush...@qinetiq.com > www.QinetiQ.com > QinetiQ - Delivering customer-focused solutions > > Please consider the environment before printing this email. > -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf > Of C. L. Martinez > Sent: 27 April 2012 11:55 > To: CentOS mailing list > Subject: Re: [CentOS] UC OT: Rewrite part of a message with rsyslog > > Thanks Rushton, but where I put this sentence?? I need to do this action > before rsyslog sends message to another syslog server ... > > > On Fri, Apr 27, 2012 at 12:54 PM, Rushton Martin > wrote: >> Use AWK: >> >> { print $1, $2, $3, $4, substr($0, index( $0, ">") } >> >> Explanation: >> AWK will split the line up on white space, so printing $1, $2, $3, $4 >> will give you >> "27April2012 10:33:44 172.1.2.2 data" single spaced. The substr >> expression will return the rest of the input line ($0) unchanged from >> the right arrow. >> >> Martin Rushton >> HPC System Manager, Weapons Technologies >> Tel: 01959 514777, Mobile: 07939 219057 >> email: jmrush...@qinetiq.com >> www.QinetiQ.com >> QinetiQ - Delivering customer-focused solutions >> >> Please consider the environment before printing this email. >> -Original Message- >> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On >> Behalf Of C. L. Martinez >> Sent: 27 April 2012 11:39 >> To: CentOS mailing list >> Subject: [CentOS] OT: Rewrite part of a message with rsyslog >> >> Hi all, >> >> Sorry for the off-topic, but I have not found how to do this. I have >> installed a centos6 server to act as a syslog receiver. I need to >> rewrite all messages that comes from one server. For example a part of >> the message is: >> >> "27April2012 10:33:44 172.1.2.2 data >". Sometimes between 27April2012 >> and 10:33:44 comes with one white space, sometimes with two, etc. I >> need to normalize this log to use only one white space between all >> fileds until ">" character. >> >> Somebody knows how can I do this?? >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >> This email and any attachments to it may be confidential and are >> intended solely for the use of the individual to whom it is addressed. >> If you are not the intended recipient of this email, you must neither >> take any action based upon its contents, nor copy or show it to >> anyone. Please contact the sender if you believe you have received >> this email in error. QinetiQ may monitor email traffic data and also >> the content of email for the purposes of security. QinetiQ Limited >> (Registered in England & Wales: Company Number: 3796233) Registered >> office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 >> 0LX http://www.qinetiq.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 > The QinetiQ e-mail privacy policy and company information is detailed > elsewhere in the body of this email. > ___ > 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] High load averages copying USB
On 27/04/2012 02:18, Lists wrote: > Problem isn't so much actual "speed" but causing network monitors to > freak out due to "high" load average > when performing backups. I can make exceptions for servers doing > backups, but then I don't get notifications when > the load is legitimately high. I can make exceptions only during backup > times, but that increases complexity. > When using nagios or zabbix you're better off working out what the average load is over a large period of time (say, day, or week) and then comparing the load over the last 15 miuntes, say, to the average load. This should even out spikes, and also be comparing to a good base level load. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] High load
On 25/04/2012 07:09, Kaushal Shriyan wrote: > Hi > > Is there a way to nail down the issue of high load on a server basically > trying to understand the reason behind high load at a specific time period. > I use top command but it does not have history. > > Nagios reports saying "*[04-25-2012 10:11:00] SERVICE ALERT: > dev;LOAD;WARNING;HARD;3;WARNING - load average: 6.88, 6.36, 5.71"* When this happens and you get an alert login to the box and take a look. vmstat, top, iostat, iotop ... all good commands to see what's going on. Of course if you can't or don't want to login then you can always get nagios to email you what's currently going on by writing your own custom plugin via nrpe. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum yum or not?
> -Original Message- > From: Shaun > Sent: Friday, April 27, 2012 4:15 > > On 26/04/2012 22:08, Ljubomir Ljubojevic wrote: > (snip) > > yum history list > > yum history info > > > > and > > yum history undo > > yum history redo, > > ... > > ... > > > > > Well this is it. I've used both 'remove' and 'history undo' > and had better success (system not having something important > removed) with the latter. > > .. and so I was wondering whether it's advised to use this > form rather than yum remove, and to find out why 'remove' is > less successful (or if it's just me!). Again, it is not yum's fault of which packages are being removed. It is the dependencies listed by each installed application in the original rpm file. If you post specifics this can be addressed. > > Another example I had recently was when I installed > Networkmanager-openswan and then after installing realised > that it didn't support L2TP/IPSec VPNs so I uninstalled it, > again with 'yum remove'. It removed the WiFi applet from the Are you saying that you had the applet in the gnome panel prior to installing the network manager rpm and then when you removed the network manager rpm (via yum) it yanked the applet too? If so which version of Centos and which version of network manager was it? > Gnome panel, which wasn't what I was expecting. I had to > reinstall networkmanager to get it back. > > It just seems I should probably be more cautious of > inspecting proposed system changes when doing 'yum remove' > but just wanted to make sure that I wasn't doing something wrong. > > There is a nice sheet on the differences between apt and yum > on distrowatch's website which I've RTFM'd obviously :) Googling found many here is one: https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux/RedHatEnterpriseLi nuxAndFedora -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Libreoffice.org "official" RPMs in yum friendly format
I thought I "spammed" here as well last night when I sent to the SL list, but appears not. Sorry for the noise. Anyway, for those of you interested to run the RPMs from the libreoffice.org tarball instead of the stock packages, I put them all in a repo. More on this here http://www.nux.ro/archive/2012/04/LibreOffice_org_RPMs_in_a_yum_friendly_format.html Thanks to Ljubomir, Philippe, Jake and all the other persons who came with suggestions and ideas on this list. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] fail2ban logrotate failure
I got the fail2ban from epel. There were a number of issues relating to using a log file... logwatch was looking for both fail2ban and fail2ban.log logrotate file fail2ban added looked for fail2ban.log and then reset itself to syslog fail2ban itself went to syslog, over riding its fail2ban.log. took a while, but I use /var/log/fail2ban now, that finally worked through logrotates and logwatch. Problem with centos variant of fail2ban: logrotate causes all 'ban' actions to stop happening. I am pretty sure it stops reading the logs but still functions. Unban actions still keep showing up in the log, but the 'ban' actions just stop. Program is running, but no longer working. Long searches online show a million others with the same issue. Only way to prevent it seems to be to add a reload or restart in the syslog file. This is undesired due to losing all banned ips listed. It happens as part of the logrotate. The logrotate file I have changed a few times and recently tried this postrotate /usr/bin/fail2ban-client set logtarget /var/log/fail2ban 1>/dev/null || true endscript setting the logtarget, which the original called for changing it to syslog and 2>dev/null || true so what would you do? I imagine when logrotate happens and syslog restarts something is causing fail2ban to stop working properly, but still timing 'unbans'. This is apparently a bug/problem for almost everyone of all distros. Other than just uninstalling, the only way to make it work would be a restart around 4 every morning, making any long term bans useless. My last thought is to just throw the /var/log/fail2ban to be rotated by syslog like maillog and the others..and not doing anything special. Maybe it would just work. I write here because I know there are hundreds of you and someone must have figured out how to make fail2ban work for more than 24 hours without a restart ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] fail2ban logrotate failure
https://github.com/fail2ban/fail2ban/issues/44 2012/4/27 Bob Hoffman : > I got the fail2ban from epel. > There were a number of issues relating to using a log file... > logwatch was looking for both fail2ban and fail2ban.log > logrotate file fail2ban added looked for fail2ban.log and then reset > itself to syslog > fail2ban itself went to syslog, over riding its fail2ban.log. > > took a while, but I use /var/log/fail2ban now, that finally worked > through logrotates and logwatch. > > Problem with centos variant of fail2ban: > > logrotate causes all 'ban' actions to stop happening. I am pretty sure > it stops reading the logs but still functions. > Unban actions still keep showing up in the log, but the 'ban' actions > just stop. Program is running, but no longer working. > > Long searches online show a million others with the same issue. Only way > to prevent it seems to be to add a reload or restart in the syslog file. > This is undesired due to losing all banned ips listed. > > It happens as part of the logrotate. The logrotate file I have changed a > few times and recently tried this > postrotate > /usr/bin/fail2ban-client set logtarget /var/log/fail2ban > 1>/dev/null || true > endscript > > setting the logtarget, which the original called for changing it to > syslog and 2>dev/null || true > > > so what would you do? I imagine when logrotate happens and syslog > restarts something is causing fail2ban to stop working properly, but > still timing 'unbans'. > > This is apparently a bug/problem for almost everyone of all distros. > Other than just uninstalling, the only way to make it work would be a > restart around 4 every morning, making any long term bans useless. > > My last thought is to just throw the /var/log/fail2ban to be rotated by > syslog like maillog and the others..and not doing anything special. > Maybe it would just work. > > I write here because I know there are hundreds of you and someone must > have figured out how to make fail2ban work for more than 24 hours > without a restart > ___ > 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 yum or not?
On 27/04/2012 12:24, Jason Pyeron wrote: > Are you saying that you had the applet in the gnome panel prior to installing > the network manager rpm and then when you removed the network manager rpm (via > yum) it yanked the applet too? If so which version of Centos and which version > of network manager was it? This is precisely what I'm saying. And this to me is unexpected behaviour. Centos 6.2 and the networkmanager package that's in base. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum yum or not?
On Fri, Apr 27, 2012 at 7:44 AM, Shaun wrote: > On 27/04/2012 12:24, Jason Pyeron wrote: >> Are you saying that you had the applet in the gnome panel prior to installing >> the network manager rpm and then when you removed the network manager rpm >> (via >> yum) it yanked the applet too? If so which version of Centos and which >> version >> of network manager was it? > > This is precisely what I'm saying. And this to me is unexpected behaviour. What did you expect: Removing for dependencies: NetworkManager-gnome meant before you confirmed the yum action? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] fail2ban logrotate failure
On 4/27/2012 8:41 AM, Maxim Shpakov wrote: > https://github.com/fail2ban/fail2ban/issues/44 > > I played with the gamin, but will give it one more try with just adding the log file to the logrotate.d/syslog file instead of its own...and then wait til tomorrow for the full logrotate (since I cannot force a real logrotate even with 'force'..lol) the other issue was the failures at restart..got the restart failures to stop in the code, but the stop ones still pop up, but seem to not be an issue. thanks for pointing at this, will try it and see. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum yum or not?
On 27/04/2012 14:05, Les Mikesell wrote: > What did you expect: > > Removing for dependencies: >NetworkManager-gnome > > meant before you confirmed the yum action? > Well if that was what was presented to me as an action then I obviously need to be more vigilant! :) In fact I had similar issues in Fedora and weird things happening adding/removing packages. But then the reason why I didn't pay as much attention in the first place is because I *assumed that only that removed-pacakage and dependencies brought in by it at the install-time would be removed via a yum remove. Maybe there are differences in the dependency management that I need to go read about..? Thanks. * assumption being the mother of .. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] iptables drop on virtual host
Does this work? adding DROP to iptables on the virtual host's iptables, before the phys bridgewill it prevent those ips from getting to the bridged part of iptables? Or would a different syntax be used? -A INPUT -s 66.77.65.128/26 -j DROP -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT -A INPUT -j REJECT --reject-with icmp-host-prohibited -A FORWARD -j REJECT --reject-with icmp-host-prohibited COMMIT ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum yum or not?
On 04/27/2012 08:26 AM, Shaun wrote: > On 27/04/2012 14:05, Les Mikesell wrote: >> What did you expect: >> >> Removing for dependencies: >>NetworkManager-gnome >> >> meant before you confirmed the yum action? >> > Well if that was what was presented to me as an action then I obviously > need to be more vigilant! :) In fact I had similar issues in Fedora and > weird things happening adding/removing packages. > > But then the reason why I didn't pay as much attention in the first > place is because I *assumed that only that removed-pacakage and > dependencies brought in by it at the install-time would be removed via a > yum remove. > > Maybe there are differences in the dependency management that I need to > go read about..? Yum is great for adding packages. I never use it to remove packages. I might use it to give me a list of packages to remove and then modify that list and then do: rpm -e $(cat list.txt) If I do use yum to remove a package group, then I would install "X Window System", "Desktop" and any other things that might be impacted. Yum always has, IMHO, removed too many things when using it to uninstall. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum yum or not?
27.4.2012 16:26, Shaun kirjoitti: > > But then the reason why I didn't pay as much attention in the first > place is because I *assumed that only that removed-pacakage and > dependencies brought in by it at the install-time would be removed via a > yum remove. So the real problem is that you don't understand the directionality of dependencies. "yum install packagename" installs packagename + anything that packagename requires. "yum remove packagename" removes packagename + anything that requires packagename. The set of packages required by packagename and the set of packages that require packagename are two entirely different things. For example, let's have three packages A, B, and C where B requires A and C requires B: A<-B<-C "yum install C" will install all three packages. "yum remove C" would remove only C. "yum remove B" would remove B and C. "yum remove A" would remove all three packages -- Markku Kolkka markku.kol...@iki.fi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum yum or not?
Markku Kolkka wrote: > 27.4.2012 16:26, Shaun kirjoitti: >> >> But then the reason why I didn't pay as much attention in the first >> place is because I *assumed that only that removed-pacakage and >> dependencies brought in by it at the install-time would be removed via a >> yum remove. > > So the real problem is that you don't understand the directionality of > dependencies. "yum install packagename" installs packagename + anything > that packagename requires. "yum remove packagename" removes packagename > + anything that requires packagename. The set of packages required by > packagename and the set of packages that require packagename are two > entirely different things. > > For example, let's have three packages A, B, and C where B requires A > and C requires B: > A<-B<-C > "yum install C" will install all three packages. "yum remove C" would > remove only C. "yum remove B" would remove B and C. "yum remove A" would > remove all three packages Ok, so deepen my understanding of yum: what about where package A requires B and C, and package D also requires B. If I yum uninstall A, what happens to B? Obviously, if it goes away, then D is broken mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] More on the ATA sense error
AFAIK, no one's responded to me about whether I should just turn off smartd. At any rate, here's more info: this server only started spitting Apr 25 07:47:50 kernel: sda: Current [descriptor]: sense key: Recovered Err ror Apr 25 07:47:50 kernel: Add. Sense: ATA pass through information availl able Apr 25 07:47:50 kernel: Apr 25 07:47:50 kernel: Descriptor sense data with sense descriptors (in hh ex): Apr 25 07:47:50 kernel: 72 01 00 1d 00 00 00 0e 09 0c 00 00 00 00 00 00 Apr 25 07:47:50 kernel: 00 4f 00 c2 40 50 for every drive - and it has four - right after updated to the most current kernel 2.6.18-308.4.1.el5 #1 SMP and rebooted. So one question becomes three: a) should I turn off smartd? b) should I reboot to the previous kernel, and see if it keeps up? c) is this a known bug? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum yum or not?
On 04/27/2012 09:03 AM, m.r...@5-cent.us wrote: > Markku Kolkka wrote: >> 27.4.2012 16:26, Shaun kirjoitti: >>> But then the reason why I didn't pay as much attention in the first >>> place is because I *assumed that only that removed-pacakage and >>> dependencies brought in by it at the install-time would be removed via a >>> yum remove. >> So the real problem is that you don't understand the directionality of >> dependencies. "yum install packagename" installs packagename + anything >> that packagename requires. "yum remove packagename" removes packagename >> + anything that requires packagename. The set of packages required by >> packagename and the set of packages that require packagename are two >> entirely different things. >> >> For example, let's have three packages A, B, and C where B requires A >> and C requires B: >> A<-B<-C >> "yum install C" will install all three packages. "yum remove C" would >> remove only C. "yum remove B" would remove B and C. "yum remove A" would >> remove all three packages > Ok, so deepen my understanding of yum: what about where package A requires > B and C, and package D also requires B. If I yum uninstall A, what happens > to B? Obviously, if it goes away, then D is broken > > mark It also recommends removing D Yum will remove too much. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Centos 6 - Create raid 1 + LVM during gui install
Hi all, Does any one know of a how to for creating raid 1 + LVMs during install for Centos 6? Do I create the physical LVM first and then raid or vise versa? Its seems diff then doing it for Centos 5. - aurf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum yum or not?
On 27/04/2012 14:56, Markku Kolkka wrote: > So the real problem is that you don't understand the directionality of > dependencies. Almost certainly :) > "yum install packagename" installs packagename + anything > that packagename requires. "yum remove packagename" removes packagename > + anything that requires packagename. The set of packages required by > packagename and the set of packages that require packagename are two > entirely different things. Yes, I thought "yum remove packagename" would remove the packagename plus any dependencies that were INSTALLED by the "yum install packagename" action. That is, I expected it to NOT remove dependency packages that were already present when "yum install packagename" was performed. So a misunderstanding on my part. I just need to be really careful about the remove command in future. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Create raid 1 + LVM during gui install
On 4/27/2012 10:35 AM, aurfalien wrote: > Hi all, > > Does any one know of a how to for creating raid 1 + LVMs during install for > Centos 6? > > Do I create the physical LVM first and then raid or vise versa? > > Its seems diff then doing it for Centos 5. > > - aurf > The way I did it was one drive at a time. I did two, one for boot, the second was the OS boot- add a raid partition, did it for each drive, then make a raid device and select all both drives, /boot for mount point OS- added a raid partition for each drive, then when you make the raid device select physical volume as the file system type and both raid partitions you made for the OS. then you hit create again and select volume group, select the raid device you want to play with. you add mount points, these are your logical volumes... /swap / /var etc etc etc you cannot clone like you did in centos 5, so you must make the raid devices on each drivea lot of deselecting and repetition to add a slave, you need to go through the motions, then edit your physical volume raid deviceit will then allow you to make one a spare...until then the spare selection is greyed out... hope this helps. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OT Open Cobol
Hi, Has anyone on this list had any success with installing and using Open Cobol on RH or CentOS? Any pointers would be very welcome. I have Googled and am working with Vince on the Open Cobol mailing list to try to resolve installation problems. ChrisG ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Help with software raid + LVM on Centos 6
Hi all, Please excuse the many posts. Wondering if any one can help me with the the setup. I have 2x2TBdisks. I would like to mirror them. I would like to create two LVMs so that I can snap shot from one to the other. During Centos 6 install, how would I go about this as its confusing? So far I am here; 1) Created the following raid devices; md0 500MB (use it for /boot) md1 4000MB (use it for swap) md2 All remaining space (use it for /) 2) Created two physical LVMs, one on md0, the other on md1. 3) ? This is were I am confused, do I create two LVM volume groups? I was thinking that my primary LVM can be ~1TB and that my other LVM which I snapshot to can also be ~1TB. Anyways, I am very green on this topic as I usually do hardware raids but I don't have that option. Thanks in advance, - aurf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Help with software raid + LVM on Centos 6
On 4/27/2012 10:52 AM, aurfalien wrote: > Hi all, > > Please excuse the many posts. > > Wondering if any one can help me with the the setup. > > I have 2x2TBdisks. > I would like to mirror them. > I would like to create two LVMs so that I can snap shot from one to the other. > > During Centos 6 install, how would I go about this as its confusing? > > So far I am here; > > 1) Created the following raid devices; > md0 500MB (use it for /boot) > md1 4000MB (use it for swap) > md2 All remaining space (use it for /) > > 2) Created two physical LVMs, one on md0, the other on md1. > > 3) ? > This is were I am confused, do I create two LVM volume groups? > > I was thinking that my primary LVM can be ~1TB and that my other LVM which I > snapshot to can also be ~1TB. > > Anyways, I am very green on this topic as I usually do hardware raids but I > don't have that option. > > Thanks in advance, > - aurf > md0, your boot, cannot be a physical volum...so don't add things to it... md1 and md2 can be merged, make instead md1 with all remaining space. create a raid partition on each drive with 'remaining space' (making sure both are the same size) then create a physical volume raid device and select each drive that has the big raid partition then select create volume group... add /swap and '/' to as mount points, these will be volume groups. there is a drop down when adding a mount point that determines file type, one is 'swap' you only need one group.. the physical volume holds the logical group, which holds the logical volumes. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum yum or not?
Johnny Hughes wrote: > On 04/27/2012 09:03 AM, m.r...@5-cent.us wrote: >> Markku Kolkka wrote: >>> For example, let's have three packages A, B, and C where B requires A >>> and C requires B: A<-B<-C >>> "yum install C" will install all three packages. "yum remove C" would >>> remove only C. "yum remove B" would remove B and C. "yum remove A" >>> would remove all three packages >> Ok, so deepen my understanding of yum: what about where package A >> requires B and C, and package D also requires B. If I yum uninstall A, what >> happens to B? Obviously, if it goes away, then D is broken > > It also recommends removing D > > Yum will remove too much. Oy. Thanks, Johnny. I'll watch out for that in the future mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT Open Cobol
Chris Geldenhuis wrote: > > Has anyone on this list had any success with installing and using Open > Cobol on RH or CentOS? > > Any pointers would be very welcome. > > I have Googled and am working with Vince on the Open Cobol mailing list > to try to resolve installation problems. *sigh* ObAdmission: I wrote *way* too much COBOL a long time ago, in a galaxy far away It really is past time to migrate to another language, y'know. You could probably move it to something like perl fairly easily, or even *bleah* java. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Create raid 1 + LVM during gui install
On Apr 27, 2012, at 10:51 AM, Bob Hoffman wrote: > On 4/27/2012 10:35 AM, aurfalien wrote: >> Hi all, >> >> Does any one know of a how to for creating raid 1 + LVMs during install for >> Centos 6? >> >> Do I create the physical LVM first and then raid or vise versa? >> >> Its seems diff then doing it for Centos 5. >> >> - aurf >> > > The way I did it was one drive at a time. > > > I did two, one for boot, the second was the OS Hi Bob, So far swap, are you doing a file? I was also thinking this route. > boot- > add a raid partition, did it for each drive, then make a raid device and > select all both drives, /boot for mount point > > OS- > added a raid partition for each drive, then when you make the raid > device select physical volume as the file system type and both raid > partitions you made for the OS. So if I wanted 2 partitions, one for OS and the other as a snapshot target, do I create them here as physical volumes or below as logical volumes? > then you hit create again and select volume group, select the raid > device you want to play with. > you add mount points, these are your logical volumes... > /swap > / > /var > etc etc etc Thanks in advance, - aurf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT Open Cobol
Yes, lets move millions of lines of tested business code to Perl... and what testing? we don't need to test it. S On Fri, Apr 27, 2012 at 11:04, wrote: > Chris Geldenhuis wrote: > > > > Has anyone on this list had any success with installing and using Open > > Cobol on RH or CentOS? > > > > Any pointers would be very welcome. > > > > I have Googled and am working with Vince on the Open Cobol mailing list > > to try to resolve installation problems. > > *sigh* > > ObAdmission: I wrote *way* too much COBOL a long time ago, in a galaxy far > away > > It really is past time to migrate to another language, y'know. You could > probably move it to something like perl fairly easily, or even *bleah* > java. > > mark > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- -- Attending Collaborate12 Apr 22-26? Catch Pythian’s stellar roster of speakers presenting on a wide array of hot Oracle technology topics. More at pythian.com/news ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT Open Cobol
Please don't top post. Singer X.J. Wang wrote: > On Fri, Apr 27, 2012 at 11:04, wrote: >> Chris Geldenhuis wrote: >> > >> > Has anyone on this list had any success with installing and using Open >> > Cobol on RH or CentOS? >> > >> > Any pointers would be very welcome. >> > >> > I have Googled and am working with Vince on the Open Cobol mailing >> list >> > to try to resolve installation problems. >> >> *sigh* >> >> ObAdmission: I wrote *way* too much COBOL a long time ago, in a galaxy >> far >> away >> >> It really is past time to migrate to another language, y'know. You could >> probably move it to something like perl fairly easily, or even *bleah* >> java. > Yes, lets move millions of lines of tested business code to Perl... and > what testing? we don't need to test it. Why on *earth* would you think I would suggest not testing? Rather, if it were up to me, I'd run them in parallel for a year (so as to include year-end closing). Among the reasons I suggest it is to a) get rid of the tested spaghetti code (and yes, I've maintained crap like that, though not in a lot of years, thankfully); b) structure it using control structures that all modern language have (as opposed to, say, PERFORM 1500-DUMMY-PARAGRAPH THROUGH 1500-DUMMY-PARAGRAPH-EXIT VARYING I FROM 1 WHILE I < 200, which yes, I left a lot of behind me, faking for/next loops that way), and, finally, c) it's getting harder and harder to find anyone who knows COBOL, since it's not a required course, and hasn't been for a lot of years mark mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT Open Cobol
Hi Chris, In CentOS 6.2: yum install gmp gmp-devel libtool ncurses ncurses-devel ncurses-libs yum install libdbi libdbi-devel libtool-ltdl libtool-ltdl-devel db4 db4-devel (I think I had all but db4-devel pre-installed, not sure now) cd /opt wget http://www.sim-basis.de/open-cobol-1.1.tar.gz tar -xzvf open-cobol-1.1.tar.gz cd open-cobol-1.1 ./configure make make check make install I have not tested past this; if you send me a small program I could try to run it. regards, Jesus On Fri, Apr 27, 2012 at 5:26 PM, wrote: > Please don't top post. > > Singer X.J. Wang wrote: >> On Fri, Apr 27, 2012 at 11:04, wrote: >>> Chris Geldenhuis wrote: >>> > >>> > Has anyone on this list had any success with installing and using Open >>> > Cobol on RH or CentOS? >>> > >>> > Any pointers would be very welcome. >>> > >>> > I have Googled and am working with Vince on the Open Cobol mailing >>> list >>> > to try to resolve installation problems. >>> >>> *sigh* >>> >>> ObAdmission: I wrote *way* too much COBOL a long time ago, in a galaxy >>> far >>> away >>> >>> It really is past time to migrate to another language, y'know. You could >>> probably move it to something like perl fairly easily, or even *bleah* >>> java. > >> Yes, lets move millions of lines of tested business code to Perl... and >> what testing? we don't need to test it. > > Why on *earth* would you think I would suggest not testing? Rather, if it > were up to me, I'd run them in parallel for a year (so as to include > year-end closing). > > Among the reasons I suggest it is to > a) get rid of the tested spaghetti code (and yes, I've maintained crap > like that, though not in a lot of years, thankfully); > b) structure it using control structures that all modern language have > (as opposed to, say, > PERFORM 1500-DUMMY-PARAGRAPH THROUGH 1500-DUMMY-PARAGRAPH-EXIT VARYING I > FROM 1 WHILE I < 200, which yes, I left a lot of behind me, faking > for/next loops that way), and, finally, > c) it's getting harder and harder to find anyone who knows COBOL, since > it's not a required course, and hasn't been for a lot of years > > mark > mark > > ___ > 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] OT Open Cobol
On Fri, 2012-04-27 at 16:53 +0200, Chris Geldenhuis wrote: > Has anyone on this list had any success with installing and using Open > Cobol on RH or CentOS? > Any pointers would be very welcome. I played with it once years ago; it seemed to work Ok. Sadly, COBOL is not COBOL and ISAM is not ISAM, so code portability isn't likely and the Open COBOL application possibly won't be able to access the files from an RM or Acu COBOL application [some things never change]. So you'd at least have to export / import any data between COBOL compilers. At least COBOL had a relatively simple and reliable way to produce CRUD screens; which just about every other environment *still* lacks - at least the Open Source onces. Oh well. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT Open Cobol
On 04/27/2012 06:09 PM, Jesus del Valle wrote: > Hi Chris, > > In CentOS 6.2: > > yum install gmp gmp-devel libtool ncurses ncurses-devel ncurses-libs > > yum install libdbi libdbi-devel libtool-ltdl libtool-ltdl-devel db4 db4-devel > > (I think I had all but db4-devel pre-installed, not sure now) > Hi Jesus, Thanks very much, I removed all of the stuff that I had manually downloaded and followed your instructions and the "make check" completed all tests without errors. ChrisG ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT Open Cobol
> -Original Message- > From: Chris Geldenhuis > Sent: Friday, April 27, 2012 13:02 > To: centos@centos.org > Subject: Re: [CentOS] OT Open Cobol > > On 04/27/2012 06:09 PM, Jesus del Valle wrote: > > Hi Chris, > > > > In CentOS 6.2: > > > > yum install gmp gmp-devel libtool ncurses ncurses-devel ncurses-libs > > > > yum install libdbi libdbi-devel libtool-ltdl libtool-ltdl-devel db4 > > db4-devel > > > > (I think I had all but db4-devel pre-installed, not sure now) > > > Hi Jesus, > > Thanks very much, I removed all of the stuff that I had > manually downloaded and followed your instructions and the > "make check" completed all tests without errors. Making rpm of it right now -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT Open Cobol
--On Friday, April 27, 2012 12:54:33 PM -0400 Adam Tauno Williams wrote: > At least COBOL had a relatively simple and reliable way to produce CRUD > screens; which just about every other environment *still* lacks - at > least the Open Source onces. Oh well. The Seam guys have put work into this area to make it a lot less painless to do basic CRUD. - Devin (who is still a fan of Spring) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum yum or not?
On Fri, April 27, 2012 04:15, Shaun wrote: > Well this is it. I've used both 'remove' and 'history undo' and had > better success (system not having something important removed) with > the latter. I have only this suspicion. It may be that yum history undo only rolls back the changes actually made by the previous yum update/install since it 'knows' that the system environment has not changed in the interim. Whereas yum history remove, since it has to cherry-pick packages from a possibly changed environment, instead removes rpm dependencies based on the package specs of the items directly added by the original yum command, whether these were installed in that transaction or not. But, this is only a guess. -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT Open Cobol
Just in case, it also compiles in CentOS 5.8; ncurses-libs is missing in yum there though. Maybe it is not needed at all. On Fri, Apr 27, 2012 at 7:13 PM, Jason Pyeron wrote: > >> -Original Message- >> From: Chris Geldenhuis >> Sent: Friday, April 27, 2012 13:02 >> To: centos@centos.org >> Subject: Re: [CentOS] OT Open Cobol >> >> On 04/27/2012 06:09 PM, Jesus del Valle wrote: >> > Hi Chris, >> > >> > In CentOS 6.2: >> > >> > yum install gmp gmp-devel libtool ncurses ncurses-devel ncurses-libs >> > >> > yum install libdbi libdbi-devel libtool-ltdl libtool-ltdl-devel db4 >> > db4-devel >> > >> > (I think I had all but db4-devel pre-installed, not sure now) >> > >> Hi Jesus, >> >> Thanks very much, I removed all of the stuff that I had >> manually downloaded and followed your instructions and the >> "make check" completed all tests without errors. > > Making rpm of it right now > > > -- > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > - - > - Jason Pyeron PD Inc. http://www.pdinc.us - > - Principal Consultant 10 West 24th Street #100 - > - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - > - - > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > This message is copyright PD Inc, subject to license 20080407P00. > > ___ > 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] NTLMv2 compatibility in Samba 3.0.33 standard packages
On 04/24/2012 07:01 PM, Andrew Reis wrote: > > > Good afternoon/morning/evening everyone, > > I've been running into > the problem of clients using Windows 7 with CentOS 5.X and file/printer > sharing. Correct me if I'm wrong, but the stand samba-3.0.33-x.x.x > packages DO NOT provide compatibility with Windows Vista/7. I've had to > manually compile samba from source or use the samba3x packages to fix > the problem. Just wondering if we're ever going to have the NTLMv2 > subroutines compiled into the update/centosplus repo packages. > > Thanks, > > Hi Andrew, According to the Samba website, Samba version support Windows 7 Domain Logons started with Samba 3.2.12. FYI ---snip Samba versions supporting Windows7 Domain Logon Support for Windows 7 and Windows Server 2008 R2 using Samba Domain Controllers has been added to the following versions: Samba 3.4 or later Samba 3.3.5 or later Samba 3.3.2, 3.3.3 and 3.3.4 (with NOTES) Samba 3.2.12 or later We successfully tested Windows 7 Ultimate (Build 2600) with Samba 3.4.0, Samba 3.3.7, Samba 3.3.5, Samba 3.3.2, Samba 3.2.15, Samba 3.2.12 and other versions. Also tested Windows Server 2008 R2 Enterprise with Samba 3.5.6. If you use older versions, Windows 7 box still can join the Samba Domain but after rebooting, you will receive an error message: "the trust relation between this workstation and the primary domain failed" and no one can logon as any domain user. -- Monyo 16:22, 5 June 2011 (UTC) [0] - http://wiki.samba.org/index.php/Windows7 -snip Regards, Paul ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Help with software raid + LVM on Centos 6
On Apr 27, 2012, at 10:58 AM, Bob Hoffman wrote: > On 4/27/2012 10:52 AM, aurfalien wrote: >> Hi all, >> >> Please excuse the many posts. >> >> Wondering if any one can help me with the the setup. >> >> I have 2x2TBdisks. >> I would like to mirror them. >> I would like to create two LVMs so that I can snap shot from one to the >> other. >> >> During Centos 6 install, how would I go about this as its confusing? >> >> So far I am here; >> >> 1) Created the following raid devices; >> md0 500MB (use it for /boot) >> md1 4000MB (use it for swap) >> md2 All remaining space (use it for /) >> >> 2) Created two physical LVMs, one on md0, the other on md1. >> >> 3) ? >> This is were I am confused, do I create two LVM volume groups? >> >> I was thinking that my primary LVM can be ~1TB and that my other LVM which I >> snapshot to can also be ~1TB. >> >> Anyways, I am very green on this topic as I usually do hardware raids but I >> don't have that option. >> >> Thanks in advance, >> - aurf >> > md0, your boot, cannot be a physical volum...so don't add things to it... > md1 and md2 can be merged, make instead md1 with all remaining space. > create a raid partition on each drive with 'remaining space' (making > sure both are the same size) > then create a physical volume raid device and select each drive that has > the big raid partition > > then select create volume group... > add /swap and '/' to as mount points, these will be volume groups. > there is a drop down when adding a mount point that determines file > type, one is 'swap' > > you only need one group.. > > the physical volume holds the logical group, which holds the logical > volumes. Wow, I think I did it. Re read your reply a few times and yea, nice man. Thanks much for the reply. Did three LVMs; / ~1TB swap~4GB /snapshot ~900GB Very very cool. - aurf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT Open Cobol
> -Original Message- > From: Jesus del Valle > Sent: Friday, April 27, 2012 13:29 > Subject: Re: [CentOS] OT Open Cobol > > Just in case, it also compiles in CentOS 5.8; ncurses-libs is > missing in yum there though. Maybe it is not needed at all. Please do not top post. Thanks for checking. Links to the rpms are below. > > On Fri, Apr 27, 2012 at 7:13 PM, Jason Pyeron > wrote: > > > >> -Original Message- > >> From: Chris Geldenhuis > >> Sent: Friday, April 27, 2012 13:02 > >> To: centos@centos.org > >> Subject: Re: [CentOS] OT Open Cobol > >> > >> On 04/27/2012 06:09 PM, Jesus del Valle wrote: > >> > Hi Chris, > >> > > >> > In CentOS 6.2: > >> > > >> > yum install gmp gmp-devel libtool ncurses ncurses-devel > >> > ncurses-libs > >> > > >> > yum install libdbi libdbi-devel libtool-ltdl > libtool-ltdl-devel db4 > >> > db4-devel > >> > > >> > (I think I had all but db4-devel pre-installed, not sure now) > >> > > >> Hi Jesus, > >> > >> Thanks very much, I removed all of the stuff that I had manually > >> downloaded and followed your instructions and the "make check" > >> completed all tests without errors. > > > > Making rpm of it right now http://client.pdinc.us/open-cobol-1.1-1.src.rpm http://client.pdinc.us/open-cobol-1.1-1.x86_64.rpm http://client.pdinc.us/open-cobol-1.1-1.i386.rpm -Jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Virt-manager requires stdin to run?
Anyone have any ideas on this? $ ssh root@x.y.z.a virt-manager & $ Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding. [2]+ Stopped ssh root@x.y.z.a virt-manager $ bg [2]+ ssh root@x.y.z.a virt-manager & $ [2]+ Stopped ssh root@x.y.z.a virt-manager -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] imagemagick convert/display eps file no decode delegate
I am finding on all my CentOS 5.8 systems (all fully updated but a variety of package mixes) that the display or convert commands from ImageMagick are unable to handle eps files. I get error output as follows, curious if anyone else sees this $ convert rna.eps rna.epi convert rna.eps rna.epi Error: /undefinedfilename in (72x72) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push Dictionary stack: --dict:1154/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)-- Current allocation mode is local Last OS error: 2 GPL Ghostscript 8.70: Unrecoverable error, exit code 1 Error: /undefinedfilename in (72x72) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push Dictionary stack: --dict:1154/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)-- Current allocation mode is local Last OS error: 2 GPL Ghostscript 8.70: Unrecoverable error, exit code 1 convert: no decode delegate for this image format `rna.eps'. convert: Postscript delegate failed `rna.eps'. convert: missing an image filename `rna.epi'. ImageMagick 5.2.8.0-12.el5 ghostcript-8.0-14.el5 the equivalent GraphicsMagick command gm convert does work This is a recent development, but I can't say how recent Tony Schreiner ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] iptables drop on virtual host
On 4/27/2012 9:36 AM, Bob Hoffman wrote: > Does this work? > > adding DROP to iptables on the virtual host's iptables, before the phys > bridgewill it prevent those ips from getting to the bridged part of > iptables? Or would a different syntax be used? > > > -A INPUT -s 66.77.65.128/26 -j DROP > -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT > -A INPUT -j REJECT --reject-with icmp-host-prohibited > -A FORWARD -j REJECT --reject-with icmp-host-prohibited > COMMIT > > > would something like this work -A PREROUTING -s 66.77.65.128/26 -j DROP or would my server die upon testing it...lol ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] iptables drop on virtual host
On 4/27/2012 5:05 PM, Bob Hoffman wrote: > dropping IPs by host machine, protecting the vms. > would something like this work > > -A PREROUTING -s 66.77.65.128/26 -j DROP > > > or would my server die upon testing it...lol > ___ > okay, after about 400 atempts and some hour or so of reading, I find that red hat auto disables the ability to use the host iptables rules to protect the virtual machines. # Disable netfilter on bridges. net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 0 net.bridge.bridge-nf-call-arptables = 0 not sure which would be turned on, bottom two or just the middle net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 1 net.bridge.bridge-nf-call-arptables = 1 There is a lot of talk about making this change but no real talk of any security or performance issue. I imagine with multiple bridges this could be an issue, but my machine is just a host with one bridge going to all the VMs... but is it safe to change this? It seems like until rhel 6 it was set on by default. anyone got a clue on dangers or issues of this? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum yum or not?
On 04/27/2012 04:49 PM, Shaun wrote: > On 27/04/2012 14:56, Markku Kolkka wrote: >> So the real problem is that you don't understand the directionality of >> dependencies. > > Almost certainly :) > >> "yum install packagename" installs packagename + anything >> that packagename requires. "yum remove packagename" removes packagename >> + anything that requires packagename. The set of packages required by >> packagename and the set of packages that require packagename are two >> entirely different things. > > Yes, I thought "yum remove packagename" would remove the packagename > plus any dependencies that were INSTALLED by the "yum install > packagename" action. That is, I expected it to NOT remove dependency > packages that were already present when "yum install packagename" was > performed. > > So a misunderstanding on my part. > > I just need to be really careful about the remove command in future. > Give us the history listing (from info) and let us se what was done to it. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos