Re: [CentOS] IBM buying RedHat

2018-10-29 Thread Hakan Koseoglu
On Sun, 28 Oct 2018 at 23:23, Valeri Galtsev 
wrote:

>
> 2. Does anybody still remember OS/2 which lost userbase to MS Windows for
> workgroups, but IBM still supported it for quite long period of time. And
> OS/2 was much better IMHO.
>
>
As a long-time OS/2 user, I do remember, and damn what a miserable life
that was. As soon as I had wound my BBS down (which was running on Maximus
on OS/2), I had switched my home server around to Linux since I preferred
it way way more. Using any new hardware, or a decent graphics card was a
constant struggle and IBM wouldn't care much.

Support as in life support is as good as none.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Backup PC or other solution

2015-05-06 Thread Hakan Koseoglu
On 6 May 2015 at 22:49, J Martin Rushton martinrushto...@btinternet.com wrote:
 Don't dismiss Amanda it works well in a disk based setup.  I don't
 bother with the spooling disk though.  I back up to virtual tape slots
 on an external disk and rotate three external disks; two are in the
 firesafe at work, one is on top of my PC.

I can say the same about Bacula, just spooling to virtual tape slots
on external disks work just fine here, it has worked more than a
decade w/o a hitch and I'm not changing it for the sake of having a
change any time soon (originally was backing to an external SCSI tape
using DDS2 media virtually using the same config files but rotating
multi-TB external disks is cheaper  easier).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Random Disk I/O Tests

2014-08-28 Thread Hakan Koseoglu
On 28 August 2014 19:22, Matt matt.mailingli...@gmail.com wrote:
 750GB 2.5 SATA drives in hardware RAID6.  I want to figure out which
 one has better random I/O performance to host a busy container.  The
IOZone is your friend. It can generate all sorts of I/O patterns and
then create you some pretty graphs.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Tshirt ideas

2014-01-10 Thread Hakan Koseoglu
On 9 January 2014 23:07, Karanbir Singh mail-li...@karan.org wrote:
 hi,

 We have, like in the years past, a table at Fosdem and I'd like to get
 some tshirts printed to hand out. In the past, the Linux Ninja's and
 Beards ones got quite a bit of attention ( and both were not brand
 spammy, which is always nice ).
Since I can't make to Fosdem and being an owner of the two Linux Ninja
versions, I'd be delighted to see them on the online shop again :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RHEL 6.4 == FC?

2013-02-22 Thread Hakan Koseoglu
On 21 February 2013 22:31, Robert Moskowitz r...@htt-consult.com wrote:
 I have pretty much gotten use to Gnome 3 on my F17 notebooks.  With the
 right extensions it actually kind of works.
That can be said for Windows as well. Why use something that's broken
to start with?
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
What part of 'ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn'
don't you understand?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Issue installing Centos server on Vmware Fusion/Server

2012-10-29 Thread Hakan Koseoglu
On 28 October 2012 15:36, Madhurranjan Mohaan moha...@thoughtworks.com wrote:
 I've had issues over the last few days trying to create a Centos server
 image . I've tried with Vmware fusion and Vmware server and it skips
 directly to the default desktop install and doesn't give me the option to
 run the linux server. I am not sure if you've seen this earlier. I've tried
 with Centos 5.8 and 6.0 but the installer seems to work in that manner .
When creating the VM, do not mark it as RHEL/CentOS, just create a
standard VM and then install it via the ISO. VMWare Player and
now-no-longer-supported Server etc. have some user-friendly features
which assumes things which you don't need.

Once the OS is installed, install the VMware tools separately.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VLC Equivalent for CentOS 6.3 (SOLVED)

2012-09-11 Thread Hakan Koseoglu
On 11 September 2012 00:39, Mark LaPierre marklap...@aol.com wrote:
 Linux users too often flaunt the law by using patented software
 illegally.  By doing so we refuse to support those who invest their
 funds and blood to produce compatible software.  Then we complain about
 companies not supporting Linux.  I wonder who is at fault for that. ;-)
Unless they are not breaking any law since the software patent is not
recognized in their jurisdiction. The world does not end at the
borders of USA.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Oracle tries to capture CentOS users

2012-07-22 Thread Hakan Koseoglu
On 22 July 2012 20:02, Gordon Messmer yiny...@eburg.com wrote:
 On 07/20/2012 08:12 AM, m.r...@5-cent.us wrote:
 And I*love*  the chart... never mind that RH changed the build structure
 to give Oracle pain, and it hurt us
 That change affects Oracle because they update and modify the kernel.
 Since it's not pristine + patches like other SRPMs, Oracle has a moving
 target and may need to manually fix each of the patches that they apply.
As I understand, that's not exactly true. They have two kernels, UEK
which is not even the same version as the upstream and the one that's
identical to the upstream. They don't have to follow every single
upstream patch and apply to theirs. I have the impression they have a
completely separate bunch working on their own kernel  modifications.
I might be mistaken...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Oracle tries to capture CentOS users

2012-07-20 Thread Hakan Koseoglu
On 20 July 2012 15:19, Chris xchris...@googlemail.com wrote:
 http://linux.oracle.com/switch/centos/
I found the update delay graph laughable. They're comparing
themselves to a bunch of volunteers and then say we beat people work
for free and for the love of it Right... IMHO, I'd rather go for
RHEL if I'm paying. (Unfortunately I don't make that decision,
customers do, disclaimer, $dayjob has OEL customers too).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Request for CentOS stats

2012-05-30 Thread Hakan Koseoglu
On 30 May 2012 22:00, Max Pyziur p...@brama.com wrote:
 Yes, lol ...
lol on.


 I know enough about mailman that it's a cinch for the list administrator
 to get the headline number of subscribers.

 So,  johnny at centos.org, z00dax at centos.org, ralph at centos.org,
 herrold at centos.org should be able to tell us. No?
I trust the administrators of the centos.org mailing lists not to give
out any information on my subscription(s) to anyone, even including a
count of it.

We run a couple of hundred or so CentOS VMs, increasing daily.
Probably more, I've lost the count ages ago and no one else is
counting. Why would anyone else care. It's not any of your business.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
What part of 'ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn'
don't you understand?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Request for CentOS stats

2012-05-30 Thread Hakan Koseoglu
On 30 May 2012 23:36, Bob Hoffman wrote:
 On 5/30/2012 5:50 PM, Hakan Koseoglu wrote:
 I trust the administrators of the centos.org mailing lists not to give
 out any information on my subscription(s) to anyone, even including a
 count of it.
 Actually, I would really like them to clean up our email addresses from
 the archives.
Fair comment but I see a distinction between sending a mail out and
exposing myself and a site administrator distributing that information
w/o my knowledge unless I sign to an agreement with that provider.
Obviously so far Centos.org admins have been good on that aspect.

It's not only the emails that can be read by the web users really, any
email replies tend to have email addresses splattered. Gmail just did
for yours (and I deleted it). Anyway, now I'm definitely off-topic
(even though the topic itself appears to be rubbish).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] High load

2012-04-25 Thread Hakan Koseoglu
On 25 April 2012 07:09, Kaushal Shriyan kaushalshri...@gmail.com wrote:
 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.
Among many other solutions, my favourite is nmon with a reasonably
aggressive data collection which can be turned into a pretty
spreadsheet.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Promo Store is now open

2012-02-20 Thread Hakan Koseoglu
On 20 February 2012 20:53, Karanbir Singh mail-li...@karan.org wrote:
 On 02/20/2012 07:09 PM, Karanbir Singh wrote:
 system is available at http://promo.centos.org/
 I apologise for this - but the hosting company where this is located
 decided now would be a great time to suspend and cancel our account.

Good thing I ordered mine first thing in the morning!
Thanks Karanbir, I hope you guys manage to get some revenue via the donations.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
What part of 'ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn'
don't you understand?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bug submission justified for distribution of obsolete java software?

2012-01-10 Thread Hakan Koseoglu
On 10 January 2012 13:04, e-letter inp...@gmail.com wrote:
 Readers,

 Would someone advise whether the distribution of an obsolete version
 of java should be reported as a bug;
 http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=827
Why is this a bug? The bug comments mention that the latest CentOS 6
has 1.10.4 which is supported by the Icedtea people. I quote from the
comments:

---8
The newest version of IcedTea in CentOS6 (6.2) is 1.10.4:

http://mirrors.kernel.org/centos/6.2/os/i386/Packages/java-1.6.0-openjdk-1.6.0.0-1.41.1.10.4.el6.i686.rpm
---8

Thus ypgrade your CentOS to the latest point release as a minimum as
suggested in the issue you raised. Again from the issue raised, the
following link is pretty enlightening:

http://wiki.centos.org/FAQ/General#head-6e2c3746ec45ac3142917466760321e868f43c0e
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.X compatible to ORACLE DB verssion????

2012-01-05 Thread Hakan Koseoglu
On 5 January 2012 22:11, Pasi Kärkkäinen pa...@iki.fi wrote:
 http://en.community.dell.com/techcenter/b/techcenter/archive/2012/01/03/dell-engineering-preview-oracle-11gr2-rac-on-rhel6.aspx
 http://en.community.dell.com/techcenter/enterprise-solutions/w/oracle_solutions/3336.aspx
And?

First paragraph from the first link clearly states, I quote from it:
DISCLAIMER: The following is Engineering Documentation provided by
Dell and is a technology preview only. At this time the following
configuration is not supported by Dell, Red Hat, or Oracle. The
contents of this article should be only viewed as an engineering
demonstration.

What's the point? There is no justification for having RHEL/CentOS or
even OEL6 and running a production Oracle instance on it. Months after
RH's certification submission, Oracle still refuses to certify these
platforms, even its own OEL6. If you are shelling out thousands, tens
of thousands, hundreds of thousands (or millions according to a
suggested architecture I reviewed today) for a customer, go and get a
supported OS.

If you have the time to tinker with it to get it working, excellent,
I'm sure plenty of lessons learned - I had it running on single DB
RHEL6 ages ago and it works fine. Will I suggest to a customer? No.
Will I risk any development on it? No. Will I recommend it to anyone?
No. I am running Oracle 11gR2 on my Kubuntu 11.10 work laptop and it
runs fine but the same applies - no recommendation to a customer, no
production instance, no test instance, no certification from Oracle
hence no support expected from them.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.X compatible to ORACLE DB verssion????

2012-01-05 Thread Hakan Koseoglu
On 5 January 2012 22:47, Craig White craig.wh...@ttiltd.com wrote:
 seems to me that the sanity issue was forefront at the point before when they 
 chose to use Oracle in the first place but Larry loves you.

There are plenty of good reasons for using Oracle DB products - it's
definitely one of the best out there - but I'm not sure I can say the
same about the price tag.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.X compatible to ORACLE DB verssion????

2012-01-05 Thread Hakan Koseoglu
On 5 January 2012 22:26, John R Pierce pie...@hogranch.com wrote:
 this doesn't mean it won't work, but what it does mean is that if
 something goes sideways on you, oracle won't help you one bit, and since
 you pay a substantial chunk of money annually for that precious support,
 its insane NOT to use a supported platform.
I guess it depends on their mood. In various cases we raised with them
on behalf of the customers, they never said get lost after we
replicated it on a CentOS 5 running on VMWare in house - in both cases
they have rights to say get lost. In case of CentOS , as discussed
endlessly, it is not certified. For any non-Oracle-owned
virtualization solution they reserve the right to say replicate on
physical hardware first. On the other hand, I can't recall a case we
had which had a cause originating from the OS itself on Linux at least
(AIX is a different story, there are a couple of those).

On the other hand the first nasty one will be the one you will
remember! All of our Linux customers use RHEL or OEL. When they ask
about CentOS, I always explain the Oracle's stand and clearly state
any CentOS instance would not be supported by Oracle even though we
have almost all of our in-house development instances running on it
and never had a problem that didn't also happen on a RHEL environment.
Once they start calculating the support costs against risk, they
realize that having a valid support agreement with Oracle and RHEL
actually makes sense. After you count for the Oracle licencing costs,
the RHEL support becomes peanuts and since it could invalidate Oracle
support, you are actually not saving any money. When the instance is
just a playpen, I definitely recommend CentOS.

Still, none of this matters for v6, I think we will have to wait for
Oracle 12c to come out to get OEL6 support, I am not sure about RHEL,
at least w/o so-called Unbreakable Kernel malarkey.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.X compatible to ORACLE DB verssion????

2012-01-04 Thread Hakan Koseoglu
2012/1/5 An Yang an.eurof...@gmail.com:
 Greate!
 end vendor people said, Consequently, we confidently recommend the
 deployment of Oracle 11gR2 in Red Hat Enterprise Linux 6 production
 environments today.
Your database support agreement is not with the end vendor but the
database software supplier and as far as they are concerned, it is not
certified and they are under no obligation to support you.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.X compatible to ORACLE DB verssion????

2012-01-02 Thread Hakan Koseoglu
On 2 January 2012 15:46, Johnny Hughes joh...@centos.org wrote:
 And my point is, right now Oracle can say that they have not certified
 their own OEL6 either ... therefore, one can not expect RHEL6 to be
 certified either.  If they certify OEL6 for a version of Oracle
 Database, it would be difficult for them to tell Red Hat that they can
 not certify RHEL6 or that there are issues with that version of their
 Oracle Database.
It is their software, I am sure they can certify against any arbitrary
OS as they like. I don't believe they have any agreement with anyone
for any future support. They have been de-supporting other platforms
at will (well, no one is going to cry after loss of Titanic support, I
am sure about that). Worse, they can say 'RHEL only with Unbreakable
Kernel' which they have already started to state for various
technologies (i.e., ASMLib). (Now I am way off topic here) It is
obvious that their whole plan is to somehow get RedHat bankrupt so
that they can buy it cheap. There's no other explanation about their
OEL support policy  prices.I admit all they to is within GPL
therefore legal but just not nice. I don't have to like it.
Unfortunately at work for various reason I am using more and more OEL
than RHEL.

More than once I had trouble with differences between OEL Ubreakable
Kernel and std. upstream/Centos kernels. As far as I can see, pretty
soon I cannot treat OEL as an identical platform (like CentOS) to
upstream and expect things just work,
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.X compatible to ORACLE DB verssion????

2011-12-29 Thread Hakan Koseoglu
On 29 December 2011 12:30, mcclnx mcc mcc...@yahoo.com.tw wrote:
 Does anyone know CENTOS/Redhat 6.X compatible to ORACLE software (X86 and 
 X86_64) version like 9.X, 10GR2, 11G and 11GR2.
It is not.

 Any official document say that?
See Metalink 1304727.1.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.X compatible to ORACLE DB verssion????

2011-12-29 Thread Hakan Koseoglu
On 29 December 2011 12:42, John Broome jbro...@gmail.com wrote:
 OEL6 is rebuilt RHEL6. CentOS 6 is rebuilt RHEL6.
Funnily enough, OEL6 is excluded from the certified list of Linux
distributions hence no, it is not a good idea to install it and then
expect Oracle to support it even though RedHat has submitted it for
certification in August 2011. It looks like Oracle has no incentive to
get on with the certification. RHEL/OEL 6 has been out for ages now,
the only obvious thing is merge with Sun must have given them an other
OS to push instead of Oracle. Baffles me.

11.2
OS versions and minimum levels:
Asianux 3 SP2 and higher
Oracle Linux 4 Update 7 and higher
Oracle Linux 5 Update 2 and higher
Red Hat Enterprise 4 Update 7 and higher
Red Hat Enterprise 5 Update 2 and higher
SLES 10 SP2 and higher
SLES 11
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.X compatible to ORACLE DB verssion????

2011-12-29 Thread Hakan Koseoglu
On 29 December 2011 19:01, John Broome jbro...@gmail.com wrote:
 So if oracle isn't certified to run on OEL 6, did oracle roll it out
 just for shits and giggles?
coughsolariscough
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.X compatible to ORACLE DB verssion????

2011-12-29 Thread Hakan Koseoglu
On 29 December 2011 19:31,  m.r...@5-cent.us wrote:
 As I said, there are many, many more RHEL installations, and most of them
 will want to go to RHEL6 within the coming year. And, of course, some of
 those installations are LARGE$$$ customers of Oracle (for example, I
 have personal knowledge that ATT uses RHEL extensively). When they lean,
 Oracle will fall all over themselves, if only to make more money.
I suspect we will see RHEL/OEL6 officially supported when they decide
to release Oracle 12, since they have already released the new grid
manager (12c for cloud, unfortunately not for Cthulhu, now that'd be
really awesome!)...

OEM 12c is certified for RHEL/OEL 6.1. It looks like 11g will not be
ever certified.

If anyone knows when DB 12c is expected...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What CentOS means?

2011-12-12 Thread Hakan Koseoglu
On 12 December 2011 11:36, LinuxIsOne reall...@hmamail.com wrote:
 I was thinking from where the word 'centos' came and what it means?
 How they choose this word?
In Swahili it means don't ask questions before at least running a
google query.

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


Re: [CentOS] What CentOS means?

2011-12-12 Thread Hakan Koseoglu
On 12 December 2011 11:42, LinuxIsOne reall...@hmamail.com wrote:
 On Mon, Dec 12, 2011 at 6:41 AM, Hakan Koseoglu ha...@koseoglu.org wrote:
 http://en.wikipedia.org/wiki/CentOS
 Oh I read this.
And you missed the first paragraph where it is explained?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] When will 6.2 be released.

2011-12-10 Thread Hakan Koseoglu
On 10/12/11 03:36, An Yang wrote:
 I think all the blocks were removed, and 6.2 will be released very soon.
Unless it was parked on a hill backwards and now rolling down the hill!

Congratulations to the CentOS team again!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upstream 6.2

2011-12-06 Thread Hakan Koseoglu
On 6 December 2011 15:40, Eero Volotinen eero.voloti...@iki.fi wrote:
 2011/12/6 Lamar Owen lo...@pari.edu:
 As much as I hate to be the bearer of news, I saw over 400 updates this 
 morning on my upstream 6.1 box checking the upstream website, yeah, 
 EL6.2 is out, at least for updates.  I didn't see ISO's in my subscribed 
 channel yet, though.

 access.redhat.com shows also rhel 6.2 images to my account at least.
Also congratulations to the CentOS team with 6.1 ISO releases (I think
I saw it on the twitter a couple of hours ago).

Alas, neither are much use to me (grr Oracle, see Metalink, sorry,
MySupport ID 1304727.1). Still stuck at 5. I'd have to ask what's the
point of OEL6 then but that'd be OT.

Thus I was quite happy when CentOS 5.7 came out! :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update fails / problem

2011-11-18 Thread Hakan Koseoglu
2011/11/18 Götz Reinicke goetz.reini...@filmakademie.de:
 As we do have an educational subscription, there is no technicla support
 included. Thats why I'm asking a free list 
Try
General Red Hat Linux discussion list redhat-l...@redhat.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS versus Scientific

2011-11-14 Thread Hakan Koseoglu
On 14 November 2011 20:31, Alan McKay alan.mc...@gmail.com wrote:
 Hey folks,

 I was just reminded of the Scientific distro, which on the surface
 appears to be quite similar to CentOS even when the developers over
 there are rather coy about which Enterprise Linux distro they base
 theirs on.
http://en.wikipedia.org/wiki/Scientific_Linux

It is an other repackaging of the Upstream, with different goals in mind.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Running Apache sites as separate users

2011-09-30 Thread Hakan Koseoglu
On 30 September 2011 02:22, Trey Dockendorf treyd...@gmail.com wrote:
 I had a recent request to improve security on my web servers by having each
 website use a different user to run the hosting service.  So
 example1.comhas it's own Apache instance running as apache1 and then
 example2.com has its own instance of Apache as apache2.  Is this even
 possible or realistic?  I understand the idea of how that would be secure,
Easily doable with an other instance of Apache acting as the proxy.
This Apache can be yet an other can't do anything-style locked-down
instance which only proxies virtual hosts to separate Apache
instances.

You can set up as many Apaches running on separate internal ports
(i.e. 127.0.0.1:8881, 127.0.0.1:8882 etc). and then use proxypass to
forward virtual servers. I use a similar setup at home where
locked-down virtual machines run all by themselves and the
front-facing Apache simply matches the VirtualHost name and passes it
down. The only thing I can't do is using a separate certificate for
HTTPS for every one of them.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] add on sata card relabeling drives, installation

2011-09-30 Thread Hakan Koseoglu
On 29/09/11 22:19, m.r...@5-cent.us wrote:
 When I build, our PXEboot ks partitions and labels the partitions. When I
 add or replace, I make the partition, the fs, and e2label them. I've
 gotten to really appreciate labeling. I hate the UUIDs - they're
 ludicrously too long, and bear no relationship to what device they are, or
 where they go.
Although I'm a fan of labelling, for some weird reason I had seriously 
weird issues with multipath SAN setups in the last couple of months. I'm 
on holiday at the moment so I can't the logs up but more than once, with 
multipath, labels have caused me too much headache than their worth. In 
one instance the label would latch to one of the individual paths, not 
the multipath and then all hell would break loose. Any suggestions on 
the list are much welcome.

I haven't found a new good practice yet, UUIDs are pretty unwieldly and 
no one can expect to remember one whereas a label of database or 
redo1 or redo2 are just meaningful and can be parsed by a normal 
human! :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] add on sata card relabeling drives, installation

2011-09-30 Thread Hakan Koseoglu
Hi Les,
On 29/09/11 22:25, Les Mikesell wrote:
 On Thu, Sep 29, 2011 at 4:19 PM,m.r...@5-cent.us  wrote:
 When I build, our PXEboot ks partitions and labels the partitions. When I
 add or replace, I make the partition, the fs, and e2label them. I've
 gotten to really appreciate labeling. I hate the UUIDs - they're
 ludicrously too long, and bear no relationship to what device they are, or
 where they go.

 What happens when you move the disks around among machines?  Or don't
 you ever do that after they contain data?
Why would you move disks around machines unless you're recovering them 
after a failure? Then just make sure they don't exist on the recovery 
server.

Maybe it's the way the machines I get involved are used, they're mostly 
database servers and their lifetime are measured in 3-5 years so once 
they're up and running, not a lot of people touches them. If a disk is 
being moved around, it gets decomissioned and wiped out first, not after.

Also if you stick to more descriptive labels I think you'd be safe over 
the long run. Just don't call all of them data. :-)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hello from RAQport Please remove this post

2011-09-26 Thread Hakan Koseoglu
On 26 September 2011 11:02, John Hodrien j.h.hodr...@leeds.ac.uk wrote:
 I highly recommend raking up four year old poor feedback on your business,
 it's a surefire way to get ahead of your competition.
Considering that they only managed to complain about this after four
years shows an interesting take on speedy response to customers I
wonder Maybe they really misunderstood Streisand effect? :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with Intel Ethernet and module e1000e

2011-09-26 Thread Hakan Koseoglu
On 26 September 2011 13:54, Patrick Lists centos-l...@puzzled.xs4all.nl wrote:
 On 09/23/2011 12:54 PM, Volker Poplawski wrote:
 Hi all,

 I'm facing a serious problem with the e100e kernel module for Intel
 82574L gigabit nics on Centos 6.

 I have also had problems with an Intel Gbit nic in a Dell Optiplex 760
 using the e1000 module. If it would come up it would come up at 100Mbit
 speed. Only unplugging the LAN cable en reinserting it in the switch
 would sometimes result in the proper 1Gb speed. After replacing the 3Com
 Gbit switch with a DLink Gbit switch things started to work ok.
The fact that once you had changed to an other switch it had started
to work points the blame to the 3Com switch. Funnily enough, about 10
years ago I would get the same kind of issues with 3Com network cards
and switches talking to each other (on 100Mbit!). Disabling the
auto-handshake and forcing the link to a particular speed would fix
the problem.

Try forcing the link speed with ethtool or similar utilities.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
What part of 'ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn'
don't you understand?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mounting an ext3 filesystem -o ro

2011-08-29 Thread Hakan Koseoglu
On 29 August 2011 15:18, Philippe Naudin
philippe.nau...@supagro.inra.fr wrote:
 Hi,

 I want to do something *bad* : to mount an already mounted ext3
 partition.
Use a clustering file system (i.e., ocfs2) instead.

 This recovery is probably triggered by the file /.autofsck, but I
 have not found how to get rid of this feature. Is there a way to
 read an ext3 filesystem, completely disabling recovery and any
 write operation ?
Mounting in ext2 will ignore the journalling but not recommended. In
any case you won't be able to mount a dirty ext3 filesystem as ext2.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.5 mmap.c and mmap hints

2011-05-15 Thread Hakan Koseoglu
On 15 May 2011 12:45, Frank Chang frank_chan...@hotmail.com wrote:
  In order to understand mmap better, we decided to try to find the
 Centos 5.5 source code for mmap.c. We already installed the kernel source
You should be looking at glibc source code.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.5 mmap.c and mmap hints

2011-05-15 Thread Hakan Koseoglu
On 15 May 2011 12:58, Hakan Koseoglu
 You should be looking at glibc source code.
Scratch that, i'm talking rubbish
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos friends?

2011-05-06 Thread Hakan Koseoglu
On 6 May 2011 00:04, Karanbir Singh mail-li...@karan.org wrote:
 One of the tasks on the table for this summer is to setup a mechanism to
 accept financial donations / contributions from people. If you want to
 contribute towards specific people's efforts - I am sure most of the
 guys have amazon wish lists etc in place.
What about mercenary? Desperate to have a CentOS t-shirt here. :)

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh in while in fsck

2011-04-27 Thread Hakan Koseoglu
On 27/04/11 21:28, m.r...@5-cent.us wrote:
 Hmm, now *that's* an interesting thought: with, say, DRAC, could you ssh
 into a management server, then go to a booting system?
It is usually web (and Java) based, running on a different IP address 
through the DRAC/ILO port.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to limit ftp users to just view their directory

2011-03-25 Thread Hakan Koseoglu
On 25 March 2011 19:09, Todd Cary t...@aristesoftware.com wrote:
 I am in the process of bring up Centos 5.5.  My ftp server is
 vsftp.  When I add a user (e.g. brian), the brian directory is
 owned by brian and is in the brian group with 700
 permissions.  However, using a FTP client, the user brian can
 view all of the directories.  I do not see any directive in
 vsftpd.conf to limit this.  What have I missed?
You missed the chroot options.
chroot_local_user should be set to yes. If you want only certain users
to be chrooted, then use chroot_list_enable and add the users to the
list file. What this file does changes depending on the value of the
chroot_local_user so please read the manual for the exact explanation.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CUPS / printer problems

2011-02-25 Thread Hakan Koseoglu
Hi Timothy,

The following steps were nicked from the upstream's knowledge base DOC-41012:

On 25 February 2011 09:08, Timothy Kesten centos-...@gmx.de wrote:
 BTW: How can I install a new hplib  (3.10) .

 Found some rpms but installation  results in dependencies errors

Note : Test the steps in non-production environment first.

1. The hplip, hpijs-1.6.7-4.1.el5 and libsane-hpaio-1.6.7-4.1.el5 will
throw the conflict error. If you don't have following devices you may
remove these packages.

The  hpijs is a collection of optimized drivers for HP printers. hpijs
 supports the DeskJet 350C, 600C, 600C Photo, 630C, Apollo 2000,
Apollo 2100, Apollo 2560, DeskJet 800C, DeskJet 825, DeskJet 900,
PhotoSmart, DeskJet 990C, and PhotoSmart 100 series.

The  libsane-hpaio has SANE driver for scanners in HP's multi-function
 devices (from HPOJ). If you don't have any other devices from list
please remove these packages to install hplip.

# rpm -e --nodeps hplip

# rpm -e --nodeps hpijs

# rpm -e --nodeps libsane-hpaio


2. Install the following package from RHN to satisfy dependencies for
hiplip-3.10.6_rhel-5.0 :

# yum install net-snmp-libs

# yum install sane-backends-libs

3.  Install the latest hplip package.

# rpm -ivh hplip-3.10.6_rhel-5.0.x86_64.rpm

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cloning a server

2011-01-20 Thread Hakan Koseoglu
Hi Paul,
On 20 January 2011 20:47, PA ra...@meganet.net wrote:
 Hi, I have a centos 5 (current) mail server that I have compiled
 dovecot/postfix and installed some packages like mysql etc. These packages
 have been configured and changed to my liking. How can I now save all this
 and install it on another server without having to do all the work of
 compiling installing and configuring the same applications. Is it possible
 to burn this server image into multiple DVD’s make it bootable and then
 install on another server.
We use Mondo for cold-iron recoveries  cloning. It works for us.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] not able to check in all code into svn which creates problem in deployment

2011-01-19 Thread Hakan Koseoglu
On 19 January 2011 06:09, Agnello George agnello.dso...@gmail.com wrote:
 is there a way i can verify or write a script to check each file that is in
 the SVN  is same as that in the dev environment .
find . -type f | grep -v .svn | xargs md5sum

then diff the output from each server.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] not able to check in all code into svn which creates problem in deployment

2011-01-19 Thread Hakan Koseoglu
 On 19 January 2011 06:09, Agnello George agnello.dso...@gmail.com wrote:
 is there a way i can verify or write a script to check each file that is in
 the SVN  is same as that in the dev environment .
 find . -type f | grep -v .svn | xargs md5sum
Obviously the above will compare the export vs. your dev env. The SVN
will always have the correct version, otherwise you have a much
serious problem than you think you have. Check the export branch and
the dev branch, I wonder if you are working against the same branch.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Troubles for an non-IT beginner

2011-01-19 Thread Hakan Koseoglu
Parshwa,

On 16 January 2011 20:45, Parshwa Murdia b330...@gmail.com wrote:
 Another option, if you are concerned about the short life cycle of
 Fedora, would be to look at Ubuntu 10.04 LTS. The 'LTS' means Long Term
 Support and will be supported for a fairly long time. 10.04 was
 released last April, so it will be quite up to date.
 Okay, as seem Ubuntu is supposed to have a longer life.
Ubuntu LTS has a 3 year life cycle overall for desktops, 5 year for servers.

 Okay, but my meaning to say was that it has an end of life every six months.
Ubuntu and Fedora have a new release approx every 6 months but their
end of life is 18 months. (https://wiki.ubuntu.com/LTS and
http://fedoraproject.org/wiki/LifeCycle#End_of_Life_.28EOL.29)

I personally would recommend Ubuntu LTS for family members. CentOS is
geared for technical people.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cloud demographics

2010-12-21 Thread Hakan Koseoglu
On 21 December 2010 16:32, Rob Del Vecchio rob.delvecc...@gmail.com wrote:
 http://thecloudmarket.com/stats#/by_platform_definition
 snip
 Not sure I understand it... esp. since it lists linux as less than
 ubuntu, and more than CentOS
 I'm guessing linux is an average of all of the flavors there so you
 can compare linux with something like windows.
Surely that should have been total instead of average to do any
comparisons. I guess it's any installation that's the total of
customized enough or marked as other distributions. I guess if
Google's stats were available, their servers would come up as Linux
kernel-running machines but not any known distribution.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS vs. RHEL vs. Oracle Linux ?

2010-11-24 Thread Hakan Koseoglu
On 24 November 2010 11:57, Scott Robbins scot...@nyc.rr.com wrote:
 Well, it's pretty similar.  I'm not sure if I messed up the installation
It's almost identical. Oracle kernel parameters  dependencies can be
automatically installed during installation albeit later on Oracle
RDBMS installation gives you warnings since it doesn't like the
default values in /etc/sysctl.conf as populated by OEL.

The rest? Almost completely identical to upstream.

 I didn't find a samba package, but as this was for one oracle developer
 to transfer files, we just used winscp.  (I also didn't look hard for a
 samba package, at present, this is just a test.)
Are you sure?

[r...@fubar ~]# rpm -qf /usr/sbin/smbd
samba-3.0.33-3.7.el5

 Disk naming seems slightly different--we went with more standard
 partitions rather than LVM, and rather than /dev/sda and so on, it was
 /dev---arrgh, I'm not at work, and my mind just went blank--errm, xda
 and xdb?  At any rate, it will be fairly obvious.
Nope, all comes as sda/sdb etc. if you don't use LVM unless your
external storage is funky.

 assume (but note, that's an assumption, not knowledge), one could call
 and ask things like, Where can I find samba?
Erm, maybe one of these should contain it? (It is pretty visible
during the installation).

[r...@hobbit Oracle Unbreakable Linux]# mount -o loop -t iso9660
Enterprise-R5-U5-Server-x86_64-dvd.iso /mnt/mnt1
[r...@hobbit Oracle Unbreakable Linux]# cd /mnt/mnt1
[r...@hobbit Oracle Unbreakable Linux]# find /mnt/mnt1 -iname samba*
/mnt/mnt1/Server/samba-3.0.33-3.28.el5.x86_64.rpm
/mnt/mnt1/Server/samba-client-3.0.33-3.28.el5.x86_64.rpm
/mnt/mnt1/Server/samba-common-3.0.33-3.28.el5.i386.rpm
/mnt/mnt1/Server/samba-common-3.0.33-3.28.el5.x86_64.rpm
/mnt/mnt1/Server/samba-swat-3.0.33-3.28.el5.x86_64.rpm
/mnt/mnt1/Server/samba3x-3.3.8-0.51.el5.x86_64.rpm
/mnt/mnt1/Server/samba3x-client-3.3.8-0.51.el5.x86_64.rpm
/mnt/mnt1/Server/samba3x-common-3.3.8-0.51.el5.x86_64.rpm
/mnt/mnt1/Server/samba3x-doc-3.3.8-0.51.el5.x86_64.rpm
/mnt/mnt1/Server/samba3x-domainjoin-gui-3.3.8-0.51.el5.x86_64.rpm
/mnt/mnt1/Server/samba3x-swat-3.3.8-0.51.el5.x86_64.rpm
/mnt/mnt1/Server/samba3x-winbind-3.3.8-0.51.el5.i386.rpm
/mnt/mnt1/Server/samba3x-winbind-devel-3.3.8-0.51.el5.i386.rpm
/mnt/mnt1/Server/samba3x-winbind-devel-3.3.8-0.51.el5.x86_64.rpm
/mnt/mnt1/Server/samba3x-winbind-3.3.8-0.51.el5.x86_64.rpm

 (Samba client and samba common was available, but no smbd.  Again, I did
 NO googling on this, just did yum provides */smbd, got no results, and
 then used WinSCP.)
It appears you didn't even look for it. :)

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] slow network throughput, how to improve?

2010-11-24 Thread Hakan Koseoglu
On 24 November 2010 08:51, Rudi Ahlers r...@softdux.com wrote:
 Yes, I used scp as a quick simple test. What would give me better
 performance though?
netcat, ftp. Anything that has low overhead (unlike encryption on a
single thread)
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] best way to start and shutdown programs in CentOS?

2010-11-24 Thread Hakan Koseoglu
On 24 November 2010 14:20, killscript killscr...@gmail.com wrote:
 Les Mikesell wrote:
 The RedHat/Centos way of doing things is to have init scripts in
 /etc/rc.d/init.d that take at least start, stop, and restart as arguments for
 each program that should start automatically.  Then for the runlevels where 
 you
 want them to start you have a symlink where the name starts with S and the 
 rest
 is a number to make it sort alphabetically into the order that things should
 start in /etc/rc?.d (where the ? is the runlevel).  Likewise add links 
 starting
 with 'K' in the levels where the process should be stopped.    There is a
 convention for comments in the scripts so that 'checkconfig program on' can 
 make
 the links for you.  Look through some of the other scripts to see how they 
 work.

 Sorry for the stupid question here, but does the /etc/initd./scriptname
 file know about these symlinks because of a particular comment in there?
Copied from the man file for chkconfig:

RUNLEVEL FILES
   Each service which should be manageable by chkconfig needs two
or more commented lines added to its  init.d  script.  The  first
   line  tells chkconfig what runlevels the service should be
started in by default, as well as the start and stop priority levels.
   If the service should not, by default, be started in any
runlevels, a - should be used in place of the runlevels list.  The
sec-
   ond line contains a description for the service, and may be
extended across multiple lines with backslash continuation.

   For example, random.init has these three lines:
   # chkconfig: 2345 20 80
   # description: Saves and restores system entropy pool for \
   #  higher quality random number generation.
   This  says that the random script should be started in levels
2, 3, 4, and 5, that its start priority should be 20, and that its
   stop priority should be 80.  You should be able to figure out
what the description says; the \ causes the line to be  continued.
   The extra space in front of the line is ignored.

Basically, create your file by taking one of the files as a sample and
place it in /etc/init.d.
For example, I've copied /etc/init.d/vncserver to /etc/init.d/sample and ran
[r...@hakan init.d]# chkconfig --add sample
[r...@hakan init.d]# chkconfig --list|grep sample
sample  0:off   1:off   2:off   3:off   4:off   5:off   6:off

Now my sample is there but won't run at all but it's all there.
[r...@hakan init.d]# chkconfig sample on
[r...@hakan init.d]# chkconfig --list|grep sample
sample  0:off   1:off   2:on3:on4:on5:on6:off

Now it's on for all of the levels in the comment included in the file.
Nevertheless, I could have overriden that with the ckconfig --level
levels name on command options to run on other levels.

[r...@hakan etc]# find rc* -iname *sample*|sort
rc.d/init.d/sample
rc.d/rc0.d/K35sample
rc.d/rc1.d/K35sample
rc.d/rc2.d/S91sample
rc.d/rc3.d/S91sample
rc.d/rc4.d/S91sample
rc.d/rc5.d/S91sample
rc.d/rc6.d/K35sample

and the file comment looks like below which matches the above, startup
priority is 91, kill priority is 35. It will run on all normal levels
since it's not defined, excluding 1 (single user), 0 (shutdown) and 6
(reboot).

# chkconfig: - 91 35

I better remove this sample from my startup :)
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS vs. RHEL vs. Oracle Linux ?

2010-11-24 Thread Hakan Koseoglu
On 24 November 2010 15:13, Scott Robbins scot...@nyc.rr.com wrote:
 Nope, all comes as sda/sdb etc. if you don't use LVM unless your
 external storage is funky.
 Hrrm.  Ok, this is installation on a VMware esx server, using, when
 asked to choose guest, an oracle machine.  Devices are xvda and xvdb.
Aaah, that's interesting. I've done it on an ESX 4.x server but got
none of those. On the other hand, I didn't say it was an Oracle
machine, just a RHEL one (didn't found it necessary to distinguish one
from other, we tend to deploy CentOS on our ESX server for test/dev
environments but we have a couple of RHEL and OEL ones as well.
That's worth trying again. :)

 Along with, I'm sure, the OP, I want to thank you for this post, it
 makes me realize that if we definitely do this for real, there are
 obviously some things I missed.
OEL is a funny one. The only reason it exists is to destroy the
upstream. They're completely unlike CentOS in mentality. Their main
reason of existence is cutting RHEL from support revenue. Our PHBs
decided to use OEL for customers since we're an Oracle shop at work so
getting all licences  support from a single source makes accounting
easier. In any case, after a typical Oracle Enterprise licence
calculation RHEL or OEL seems like peanuts. What worries me is with
OEL eating the support revenue from RHEL and simultaneously being
dependent on RHEL for upstream dev  patches, it's not a long-term
viable situation, it's not even a partnership.

There are other little things why we would go for OEL, one being the
OCFS2 when we do shared-storage clusters. Reading the small pring
gives you the impression that Oracle won't support OCFS2 unless it's
OEL. I'm not sure that's true but hey, that's what's been decided at
work.

As I mentioned, the other funny thing is if you choose
Oracle-validated package, it stuffs your sysconf.ctl with values. Then
try installing Oracle 11g (R1 or R2) on it, the installer barfs up
warnings about various kernel parameters being wrong.

There's a public yum repo but as Alexander has mentioned, not much of a use.

I'm not a big fan of OEL. I'd rather use upstream with paying
customers and CentOS internally. Unfortunately this decision is out of
my hands.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New list ?

2010-11-24 Thread Hakan Koseoglu
On 24 November 2010 16:42, Mathieu Baudier mbaud...@argeo.org wrote:
 My personal opinion is that it's not a big deal.  As with other mailing 
 lists,
 stuff I'm not interested in I simply ignore.
 +1
+1, this is not a high volume list, we can just ignore threads we're
not interested by skipping them. :)

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New list ?

2010-11-24 Thread Hakan Koseoglu
On 24 November 2010 17:06, Karanbir Singh mail-li...@karan.org wrote:
 On 11/24/2010 05:04 PM, Hakan Koseoglu wrote:
 Are you saying that having focus and topic specific lists are not
 something you agree with ? Because thats what it sounds like!

OK, instead of quoting other people: I think for a list with such a
low volume (comparable to some other Linux-related mailing lists),
having separate mailing lists (apart from announcements) is not
necessary.

In higher volume and lower SNR lists (can you hear me ubuntu-users
mailing list! Oh no, you can't because I've unsub'd a while ago, thx
to the SNR of zero. No signal, all noise), that's positively
beneficial.

OTOH, it's only my take on it and I'm nothing but a user of mailing
lists. In the end if there are more than one list, I'll end up
subscribing the lot so not a lot will change in my mailbox! :)
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CENTOS 5.5 X86 continue get out of memory error?????

2010-11-24 Thread Hakan Koseoglu
On 25 November 2010 00:23, mcclnx mcc mcc...@yahoo.com.tw wrote:
 We can NOT use X86_64 due to application NOT support 64 bits.
Unless you can't use virtualisation, you can run any 32 bit app on 64
bit platform provided that you have the 32 bit dependencies installed.
The other way around is not possible. if you are compiling it from
source, 32 bit and 64 bit libraries install in separate directories
and thus you can point to the correct path in any configure script. I
regularly compile Apache  PHP for 32 bit on CentOS, thanks to 32 bit
binary modules only available on that platform.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Addressing outgoing connections to a specific interface

2010-11-08 Thread Hakan Koseoglu
On 8 November 2010 09:34, Dotan Cohen dotanco...@gmail.com wrote:
 Both those conditions are met in this use case, however the machine in
 question is on two networks:

 |--Network1--|--Network2--|
 A            C            B

 A: router on the wireless network
 B: router on the wired network
 C: CentOS laptop
Dotan, CentOS, Ubuntu or Windows, it does not matter. You cannot
access both networks at the same time unless you bridge them and even
then you can only have the machines with unique addresses.

You did say that you're not interested in one of the networks when
accessing the other one. Simply pull down your wifi network (ifconfig
wlan down), delete the arp entry (see arp -d), and then try accessing
the 2nd IP again.

This is how TCP/IP works, it's composed of networks and within a
network you can only have a machine with a unique IP address.

NAT hides the 2nd network and you can set up forward rules to access
behind the NAT. That's why we have been mentioning NAT.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Addressing outgoing connections to a specific interface

2010-11-06 Thread Hakan Koseoglu
Dotan,
On 6 November 2010 13:04, Dotan Cohen dotanco...@gmail.com wrote:
 Although I need to stay connected to the wireless router, can I still
 access the address 192.168.0.1 on the wired interface? Some googling
 led me to the keyword loopback but I am at a loss as how to
 configure it, or if this is even the right idea. If there is a
 specific page that I should be reading in the fine manual then please
 do RTFM me, as I myself failed to find the proper page.
I think I need to drink more coffee because I'm failing to understand
what you're trying to achieve.

If wlan and eth0 are connected to the same network with different IPs
and you want to use the eth0's IP address on wlan0 when eth0 is not
connected, you use ifconfig with wlan0:1 notation to assign eth0's IP
to wlan0:1.

If you want to access from your LAN network to your WiFi network, you
need to set up one of the following,
a) a bridge (assuming you want to join your WLAN and LAN networks)
b) a masquerading setup
c) plain old routing between two networks

All of them should work but behave slightly differently.
Bridge is useful when you want to join two networks, masquerade is OK
if you don't want to access from WiFi network to your LAN network,
otherwise you will have to set up port forwardings, if you chose to
route in between, then your WiFi router need to be aware of your LAN
and have your laptop in between as a gateway to route the correct
packages.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Addressing outgoing connections to a specific interface

2010-11-06 Thread Hakan Koseoglu
On 6 November 2010 13:04, Dotan Cohen dotanco...@gmail.com wrote:
 Although I need to stay connected to the wireless router, can I still
 access the address 192.168.0.1 on the wired interface? Some googling
 led me to the keyword loopback but I am at a loss as how to
 configure it, or if this is even the right idea. If there is a
 specific page that I should be reading in the fine manual then please
 do RTFM me, as I myself failed to find the proper page.
(re-reading what you wrote) I think I now get it.

You want to use both network cards at the same time. Yes, it's doable.
The easiest method would be bonding.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Addressing outgoing connections to a specific interface

2010-11-06 Thread Hakan Koseoglu
On 6 November 2010 14:13, Dotan Cohen dotanco...@gmail.com wrote:
 To be more specific: I am connected to the internet via wlan0. When I
 type 192.168.0.1 into my web browser, I get the web control panel of
 the Linksys router that manages that wireless network. However, at the
 moment I need to access the web control panel of the D-Link router
 that manages my eth0 LAN, also on 192.168.0.1 but on the eth0
 interface. How can this be done?
OK, I got it wrong earlier. Not possible without breaking your WLan network.
It's much easier to move the D-Link router to 192.168.0.2 or something
else, in most cases it doesn't matter where the router sits. Better,
move one of them to an other private network subnet (192.168.1.0/24
maybe?)

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to do repetetive command in shell

2010-10-21 Thread Hakan Koseoglu
On 21 October 2010 19:45, Roland RoLaNd r_o_l_a_...@hotmail.com wrote:
 i'm writing a certain script which does a specific task in a repetitive
 manner, i'm going to give a similar script with the same concept hope you
 could advise me to a better way:
Good old Advanced Bash Scripting Guide comes to help!

http://tldp.org/LDP/abs/html/loops.html
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] In the press, once again

2010-09-24 Thread Hakan Koseoglu
On 24 September 2010 14:23, Timo Schoeler timo.schoe...@riscworks.net wrote:
 Windows admins use a virtualized CentOS machine to copy files because
 their own tools are not able to handle copying a bigger amount of data. :)
Although I read the article with some amusement, I have to wonder
what's wrong with rsync (has a Windows port, albeit somewhat slow with
Cygwin implementation). His fallback is using cp which I found utterly
incomprehensible.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] In the press, once again

2010-09-24 Thread Hakan Koseoglu
On 24 September 2010 18:04, Brunner, Brian T. bbrun...@gai-tronics.com wrote:
 No Windows functionalities are lost by installing Cygwin.
 Cygwin has the SAME uninstall that Windows does: install CentOS.
cwrsync comes with an uninstallable package and works OK, makes
copying loads of files across Windows boxen bearable. The commercial
alternatives to Cygwin are not very good either. When I raised a
ticket with one of them because a simple call to a binary inside a
shell was so incredibly slow they told me that they were twice as fast
as their main competitor, Cygwin. When I mentioned to them the same
script runs literally hundred times faster on CentOS and that's the
real competition, they shut up.

I have to admit I always thought the reason I preferred resorting to
cwcygwin when such problems knocked on my own door was my own lack of
knowledge on some uberuseful tool in Windows but it appears that's not
the case, as an out of the box scriptable platform, it is still as
pathetic as it was 10-15 years ago (even probably worse since in
Win3.1 I could record macros for the GUI).
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Anyone Having Any Luck Downloaing the DVD ISO?

2010-09-05 Thread Hakan Koseoglu
On 05/09/10 23:01, Chuck wrote:
 Anyone have any ideas where else to get this or any suggestions?
What about Mirrorservice.org  Rsync?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to install oracle on centos 5.3

2010-08-29 Thread Hakan Koseoglu
Ganu,

On 29 August 2010 12:03, ganu MailList ganu4maill...@gmail.com wrote:
 I try to set the kernel parameters  but fails.
We have gone over this before. Did you follow the documentation in
Oracle's web site? What error do you get and while doing what?

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to install oracle on centos 5.3

2010-08-29 Thread Hakan Koseoglu
Ganu,

On 29 August 2010 14:52, ganu MailList ganu4maill...@gmail.com wrote:
 I donot know how to set
 kernel.shmmax=
 kernel.shmmni=
 kernel.shmall=
 kernel.sem=
 fs.file-max=

I am absolutely sure you are not reading our messages and following
the instructions supplied:

http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref264

See the above link, which explains what to set, how to set and where
the sysctl.conf is, how to edit... Surely you know how to use vi or
emacs?

Do you want to come over and install Oracle for you? My hourly rates
are reasonable! Or just read the fine document.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] Label Printer Recommendations

2010-08-28 Thread Hakan Koseoglu
On 28 August 2010 12:52, Colin Coles co...@wemoto.com wrote:
  I am after any recommendations or experiences using Label printers to print
 barcodes with CentOS, we currently using Star TSP700's but they're not clear
 enough for the scanners we have. There seems to be plenty of choice but not
 much Linux support going on, 'Never had anyone ask for Linux drivers
 before..' seems to be the most common answer when trying to buy. I have also
 tried a Brother P-Touch QL-550 but can't seem to get that to print at all
 using the Foomatic drivers available online.
Zebra printers work for us but we generate ZPL output ourselves and a
raw queue is good enough for our purposes. I have to say the CUPS in
CentOS5/Upstream is not very good at printing to Zebra printers using
ZPL. More upto date CUPS does a better job, I had more success with
latest SLES and Ubuntu compared to CentOS/upstream.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PAE Kernel

2010-08-27 Thread Hakan Koseoglu
Matt,

On 27 August 2010 16:26, Matt lm7...@gmail.com wrote:
 I have a box running CentOS 5.x 32 bit.  I noticed these kernels are 
 installed.

 [r...@ns1 log]# rpm -qa |grep kern |sort
 kernel-2.6.18-194.11.1.el5
 kernel-2.6.18-194.3.1.el5
 kernel-2.6.18-194.8.1.el5
These are stock kernel.

If you had these, you'd have PAE kernels:
kernel-PAE.i686 : The Linux kernel compiled for PAE capable machines.
kernel-PAE-devel.i686 : Development package for building kernel
modules to match the PAE kernel.

 kernel-PAE-devel-2.6.18-194.11.1.el5
 kernel-PAE-devel-2.6.18-194.3.1.el5
 kernel-PAE-devel-2.6.18-194.8.1.el5
These are just headers and shouldn't do any harm.
Name   : kernel-PAE-devel
Arch   : i686
Version: 2.6.18
Release: 194.11.1.el5
Size   : 5.4 M
Repo   : updates
Summary: Development package for building kernel modules to match
the PAE kernel.
URL: http://www.kernel.org/
License: GPLv2
Description: This package provides kernel headers and makefiles
sufficient to build modules
   : against the PAE kernel package.


And this is the PAE kernel info (all from yum info)

Name   : kernel-PAE
Arch   : i686
Version: 2.6.18
Release: 194.11.1.el5
Size   : 17 M
Repo   : updates
Summary: The Linux kernel compiled for PAE capable machines.
URL: http://www.kernel.org/
License: GPLv2
Description: This package includes a version of the Linux kernel with
support for up to
   : 16GB of high memory. It requires a CPU with Physical
Address Extensions (PAE).
   : The non-PAE kernel can only address up to 4GB of memory.
   : Install the kernel-PAE package if your machine has more
than 4GB of memory.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Updates offered annoyance

2010-08-25 Thread Hakan Koseoglu
Robert,

On 25 August 2010 14:24, Robert Heller hel...@deepsoft.com wrote:
 The main problem is that yum is NOT well written to deal with a slow
 and *unreliable* dial-up interface -- it in fact behaves extremly
Grab a copy of a repository at work, copy it home and set up a local
repository. Yum will be perfectly happy with the setup.
Sample to rsync to mirrorservice.org:

export RSYNCCMD=rsync -avP --delete
$RSYNCCMD 
rsync://rsync.mirrorservice.org/sites/mirror.centos.org/5.5/updates/x86_64/
/storage/centos/5.5/updates/x86_64/
$RSYNCCMD 
rsync://rsync.mirrorservice.org/sites/mirror.centos.org/5.5/updates/i386/
/storage/centos/5.5/updates/i386/

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Downgrade libgcc gcc packages (is there a clean way)

2010-08-09 Thread Hakan Koseoglu
On 9 August 2010 19:06, Dan Burkland dburk...@nmdp.org wrote:
 I have been tasked with fixing one of our CentOS boxes by somehow 
 downgrading the libgcc and gcc packages to a specific version (Required by 
 the Oracle Grid Control client). Normally I'd just remove and reinstall the 
 packages however removing libgcc is no fun as I found out the hard way it 
 breaks pretty much every package including rpm  yum. Is there an elegant way 
 to downgrade the currently installed libgcc  gcc packages?

Which specific version? Can't you You get away with the compat
packages? The rest should be compatible.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Downgrade libgcc gcc packages (is there a clean way)

2010-08-09 Thread Hakan Koseoglu
On 9 August 2010 19:24, Dan Burkland dburk...@nmdp.org wrote:
 Machine is running 5.3 and somehow both packages got updated to 
 libgcc-4.1.2-48.el5 when they need to be libgcc-4.1.2-44.el5. The DBAs here 
 perform the Oracle Grid Control client install however they said it will not 
 install it if detects an incorrect package version.

Interesting. I admit that I haven't done a Grid Control Client
installation Oracle DB 11gR2 requires libgcc-4.1.2 but no limit to the
package version. It should install w/o a fuss unless your DBAs are
fussy. It will not install if the package is missing or if it is not
4.1.2.
(see 
http://download.oracle.com/docs/cd/E11882_01/install.112/e10812/prelinux.htm#BABFDJJF
, especially the bit saying The following packages (or later
versions) must be installed. This link is for Oracle 11gR2 Grid
Infrastucture/RAC but the DB installation document has the same
wording.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Downgrade libgcc gcc packages (is there a clean way)

2010-08-09 Thread Hakan Koseoglu
On 9 August 2010 19:31, Alan Hodgson ahodg...@simkin.ca wrote:
 Sounds like a seriously broken installer, though. The versions will
 constantly change through regular maintenance updates.
I concur. I have a suspicion that the problem is not the installer but
the DBAs doing the installation. For some reason most of the DBAs I
know tend to be somewhat anal retentive.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Remote nautilus, X display forwarding problem

2010-08-06 Thread Hakan Koseoglu
Dotan,

Do not do these steps:

On 6 August 2010 09:24, Dotan Cohen dotanco...@gmail.com wrote:
 [u...@centos-55-32-minimal ~]$ export DISPLAY=localhost:0.0
 [u...@centos-55-32-minimal ~]$ nautilus --display=0:0
 cannot open display: 0:0

When you connect with sssh -X, it will create the tunnel and assign a
DISPLAY variable.
ha...@hakan-laptop:10:29:51:~$ ssh -X hobbit
Last login: Thu Aug  5 09:45:59 2010 from 10.15.1.99
more cowbells!
 _
/ It is impossible to defend perfectly\
| against the attack of those who want to |
\ die./
 -
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||
[ha...@hobbit ~]$ echo $DISPLAY
localhost:10.0

and then you can run Nautilus w/o a problem, with no options necessary.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Enabling X on headless server via network

2010-07-25 Thread Hakan Koseoglu
On 25 July 2010 16:15, Dotan Cohen dotanco...@gmail.com wrote:
 experiments. Should I post the logfiles? Note that my goal is to start
 X, then ssh in and run Firefox remotely from a Fedora desktop. The
 server itself has no monitor.
I'm not sure what you are trying to do. Using VNC server or ssh with
X11 tunneling (-X or -Y) would make more sense.
You don't need X itself running for either of these.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Enabling X on headless server via network

2010-07-25 Thread Hakan Koseoglu
Dotan,

On 25 July 2010 16:32, Dotan Cohen dotanco...@gmail.com wrote:
 However, when I do this I get no response (no firefox window opens, no
 terminal output), even after several minutes. I figured that was
 because X is not running.
That's not the reason. You don't run X on the server for such
purposes. You already run it on your own PC. In such cases the server
runs on your PC, the client is the app you are running. I know it
sounds backward but that's the case.
Are you sure you have enough bandwidth? Try running something simple
like xterm. Also X11 forwarding might have been turned off in
sshd_config.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] To PAE or not to PAE...

2010-07-22 Thread Hakan Koseoglu
JD,
On 22/07/10 10:25, John Doe wrote:
 I was wondering if anyone would know the cons of running a PAE kernel...?
 I have a 4GB pc and was wondering if it was worth going the PAE way to gain
 those exta 700MB...
You should use 64 bit if possible but if you're seeing 3.2GB, it's more 
likely that your motherboard is not capable (I have one of those here 
right now).

 In the past, I heard that these 700MB were normally reserved for bios or 
 chipset
 stuff...
It still is, even with with 64 bit. If your motherboard supports 
remapping this memory with 64 bit you can use the whole 4GB. Otherwise 
you're limited to 3.2:

ha...@photon:~$ free -m
  total   used   free sharedbuffers cached
Mem:  3262   1972   1290  0103737
-/+ buffers/cache:   1131   2131
Swap: 7812308   7504
ha...@photon:~$ arch
x86_64

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


Re: [CentOS] To PAE or not to PAE...

2010-07-22 Thread Hakan Koseoglu
On 22/07/10 18:07, Warren Young wrote:
 Very few programs can use PAE to get at that extra RAM.  Can the
 programs you run do this?
With PAE you can utilize all of the extra RAM but each individual 
program will be limited to 3GB user space, you can fit a more of them 
into 16GB, still using 32 bit. You won't need additional coding to do 
that. Using more than 3-4GB per process will require such fiddlings.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] To PAE or not to PAE...

2010-07-22 Thread Hakan Koseoglu
On 22/07/10 22:33, ken wrote:

  Is the 737M cached (in the output above) what is reserved for bios or
 chipset...?  and what is gained back through remapping?
Nope, it simply means even if I had 2GB RAM, there'd be plenty I'm not 
using for anything but cache - I don't do much on this laptop but 
browsing these days :)

What we are suffering from is explained neatly here: 
http://en.wikipedia.org/wiki/PCI_hole

Simply put, if the BIOS+chipset does not support mapping these reserved 
areas to higher addresses this memory is lost to us.

My Dell Inspiron 9400 is about 3+ years old now. More recent hardware 
have the necessary bits and pieces so that you can see all 4GB and use 
it with 64 bit or 32 bit + PAE. Server chipsets had this kind of support 
even earlier. Unfortunately for mine, Dell decided to only support 3GB.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] To PAE or not to PAE...

2010-07-22 Thread Hakan Koseoglu
Hi John,
On 22/07/10 19:56, JohnS wrote:
 Try about 69Gbytes What are you fiddling with? limits.conf?
I think you read my mail too quickly and wrote a reply in similar speed. 
:) So did I read the original post too quickly and didn't realise he was 
complaining about the memory hole...

You're right to say PAE goes to 64GB although in the past various 
distros had kernels compiled for different max addresses for various 
reasons.
4GB address space still applies to 32 bit apps. To use more than 4GB 
tricks as such 
(http://www.puschitz.com/TuningLinuxForOracle.shtml#ConfiguringVeryLargeMemory) 
need to be used. :)
I haven't had to use these kinds of tricks for years since every machine 
I encounter has 64 bits and Oracle runs nicely on them perfectly happily.

I miss reading through Puschitz's tips  tricks. Lately all Oracle 
versions run pretty much out of the box on CentOS/Upstream. No sense of 
satisfaction from seeing it running after battling with it for hours. :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] is it safe to resize root, on an LVM system, online?

2010-07-12 Thread Hakan Koseoglu
On 12 July 2010 11:12, Rudi Ahlers r...@softdux.com wrote:
 One of our servers has a too small root partition on LVM and needs to
 be resized. Can / be safely increased online, without a reboot?
Yes. If you use system-config-lvm and using ext3, it will let you do
it all within a nice GUI as well.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Networking just stopped working

2010-07-08 Thread Hakan Koseoglu
HiChristopher,

On 08/07/10 10:25, Christopher Chan wrote:
 Why mode 4 of course.
 Huh? Like why? It's the recommended mode unless the switch does not
 suppoprt it or the boards don't.
I never realised this is the recommended mode. Do you have pointers 
where it is recommended so that I can read on why?

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


Re: [CentOS] where to download CENTOS 5.5 DVD version??

2010-06-11 Thread Hakan Koseoglu
On 11 June 2010 17:40, Marcelo M. Garcia
marcelo.maia.gar...@googlemail.com wrote:

 When I try to download, none of the mirrors in UK seems to have these
 isos, nor in the nearby countries mirrors.
Surely not true. Kent Uni has them:
http://www.mirrorservice.org/sites/mirror.centos.org/5/isos/x86_64/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Creating a user defined service in Cent os

2010-05-24 Thread Hakan Koseoglu
Hai Chaitanya,

On 24 May 2010 14:59, Chaitanya Yanamadala dr.virus.in...@gmail.com wrote:
 hai
  i have a perl script which will automatically check for the existing files
 and then ftp them to a server, this one runs in a loop until i kill it, now
 what i wants is i want to make this as a service so that it can keep on
 running until i kill the service. so does any one have an idea how to do
 this??

Create an init script with start and stop options, spawn your perl
script as a background process and store the PID of this into a
pidfile in /var/run. At the stop section kill the pid stored in the
pidfile. You should be able to find some similar scripts in
/etc/init.d. Then add it to the services and you're done. You should
be able to issue the stop  start commands just like any service.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Naming of a Java Process in Linux

2010-05-24 Thread Hakan Koseoglu
Jatin,

On 24 May 2010 06:06, Jatin Davey jasho...@cisco.com wrote:

 show up as java in the ps -A command. I dont know for sure as to which
 java process belongs to which component of my appliacation. Hence what i
 do is add up all the resource utilization values for all java processes
Add a -Darbitrary_string into your java commands.

Unless you are very unlucky with your arbitrary string, these will be
passed to the java engine as parameters and will be ignored by the
rest of the application. Then you can use this to pin the process in
ps output.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which gcc package?

2010-05-09 Thread Hakan Koseoglu
On 9 May 2010 12:57, Michael Klinosky m...@enter.net wrote:
 Robert Heller wrote:
 You just need to do 'yum install gcc gcc-c++ binutils glibc-devel'.
 That seems to have done the trick. I do get compile errors, but I think
 there's a problem with the code.
Depending on the requirements of the source code you are trying to
compile you might have to fetch some development packages for various
libraries, for example if it uses ncurses, you will want ncurses-devel
package.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which gcc package?

2010-05-09 Thread Hakan Koseoglu
Michael,

On 9 May 2010 16:48, Michael Klinosky m...@enter.net wrote:
 Hakan Koseoglu wrote:
 Depending on the requirements of the source code you are trying to
 compile you might have to fetch some development packages for various
 libraries, for example if it uses ncurses, you will want ncurses-devel
 package.
 This problem seems (to my semi-newby brain) to be related to X --

 [r...@sr1220 plugger-5.1.3]# make
 gcc -c -O2 -Ipluginsdk/include -INONE -DXP_UNIX  -DVERSION=\5.1.3\
 -fPIC  -o plugger.o plugger.c
 In file included from plugger.c:43:
 pluginsdk/include/npapi.h:129:22: error: X11/Xlib.h: No such file or
 directory
You need to get familiar with how C libraries work.

You are trying to compile a package which calls the Xlib library. The
definitions for the library (i.e., what methods and functions are
available to programmer) is stored in a file called header file which
ends with the extension h.

In most distributions, these are stored separately to the libraries
(i.e., runtime only dependencies).

If you do a search for your missing header file with the command

yum provides *X11/Xlib.h

you will see that this is provided with the libX11-devel package. Then
you can install this package with the command

yum install libX11-devel

and so on for all of your missing dependencies.

 I emailed the coder yesterday - still waiting for a reply.
This is nothing to do with the coder. I think you will wait for a
while for the reply. :)

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] URGENT

2010-04-26 Thread Hakan Koseoglu
2010/4/24 cahit Eyigünlü cahit.eyigu...@gmail.com:
 It had solved , the error encounters from thousands of a bad sectors :( i do
 not know how it happened but recovery system has repaired after then
Throw that disk away and get a new one ASAP.
Do not trust and use that disk.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iSCSI / GFS shared web server file system

2010-04-23 Thread Hakan Koseoglu
On Fri, Apr 23, 2010 at 8:10 AM, Geoff Galitz ge...@galitz.org wrote:
 OCSF2 over iSCSI is a good option to look at, too.  There is also gluster.
 But NFS is going to be the mainstream approach with the best support and
 administration options unless the OP is running into some technical
 limitations.
I have a number of OCFS2 over plain old SCSI with MD3000 setups. The
older versions have a couple of stupid bugs so it's always better to
move to the most upto date version of the module from Oracle. I
haven't tried it with iSCSI. I haven't tried Gluster yet but I find
OCFS2 quite maintenance-free until you hit the damn bug! :)
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iSCSI / GFS shared web server file system

2010-04-22 Thread Hakan Koseoglu
Hi James,

On Thu, Apr 22, 2010 at 11:38 PM, jchase jch...@mandaladesigns.com wrote:
 We currently have a MD3000i with an iSCSI LUN shared out to our apache web
 server. We are going to add another apache web server into the mix using LVS
 to load balance, however, I am curious how well iSCSI handles file locking
 and data integrity. I have the iSCSI partition formatted as ext3.
iSCSI is just SCSI protocol over the net and doesn't provide any locking.

 Is my setup totally flawed and will ext3 not allow for data integrity with
 multiple apache hosts reading/writing to the shared storage? Am I required
 to also setup GFS across my apache hosts or does iSCSI somehow manage this?
GFS or OCFS2 etc. would be a good idea. Alternatively NFS/CIFS would do.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RHEL 6 Beta available for public download

2010-04-21 Thread Hakan Koseoglu
On Wed, Apr 21, 2010 at 1:39 PM, Michel van Deventer
mic...@van.deventer.cx wrote:
 And now it works :) happy downloading ;)
Too many users already!
They should invest on a proper OS from Redmond! :)
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Emulator for CentOS x86 platform?

2010-04-18 Thread Hakan Koseoglu
On Sun, Apr 18, 2010 at 8:04 AM, hadi motamedi motamed...@gmail.com wrote:
 Dear All
 Can you please let me know if there is an specific Emulator for UltraSPARC
 emulation on CentOS x86 platform?
QEMU should be able to emulate SPARC CPUs.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Building an instant on X terminal

2010-04-16 Thread Hakan Koseoglu
On Thu, Apr 15, 2010 at 1:26 AM, Benjamin Franz jfr...@freerun.com wrote:
 If you aren't adverse to Ubuntu, 10.04 LTS (beta right now but final by
 the end of the month) boots in 10 seconds from a hard drive. I've tried
 it: It was impressively fast.
I was curious about this and installed one of these on an amd64 VM
with a standard LTSP installation and my ancient 700MHz i386 laptop
was running of it within an hour and pretty fast as well. Even sound
worked fine and stuff like youtube were tolerable. The performance and
experience was way better than the old thin-client terminals of the
same age with a cut-down Linux on the on-board CF-Card. The whole
thing took 13GB on disk and 768MB of RAM to support two clients.
Trying the CentOS one is probably the next step.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Building an instant on X terminal

2010-04-16 Thread Hakan Koseoglu
On Thu, Apr 15, 2010 at 1:54 AM, Stephen Harris li...@spuddy.org wrote:
 If you aren't adverse to Ubuntu, 10.04 LTS (beta right now but final by
 the end of the month) boots in 10 seconds from a hard drive. I've tried
 it: It was impressively fast.
 Will it run in 256Mb RAM and on 512Mb of disk?  'Cos that's all this
 machine has :-)
I did a quick and dirty test setup yesterday and was quite impressed.
One of the tests was running a VMWare with 128MB and a tiny empty
disk. The VM booted off the LTSP binaries merrily and was up and
running within seconds. The server was a VM on my file server with
768MB RAM and the client was a VM on my linux laptop so everything did
go through the network cable in the end. I've also tried an ancient
700MHz Pentium 3 laptop with 256MB RAM and that was way faster than
the local Linux installation on the box so I think this setup is going
to stay and will be in use instead of the local OS.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Swap = 0

2010-04-13 Thread Hakan Koseoglu
Cahit,
2010/4/13 cahit Eyigünlü cahit.eyigu...@gmail.com:
 My server returning an error sth. like swap =  0 then locking httpd and all
Set up a monitoring tool like sar etc. or my favourite, nmon with
capacity planning. Depending on what those 4k users are doing, you
might be running out of RAM + swap space until the out-of-memory
killer kicks in and frees up some space by killing some processes. You
should be able to see that activity in the message logfile.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Swap = 0

2010-04-13 Thread Hakan Koseoglu
Cahit,

2010/4/13 cahit Eyigünlü cahit.eyigu...@gmail.com:
 is there any optimization tool i have added 2 more gb ram but it is still
 locking server :S
Which bit do you want to optimize?

 top - 13:11:13 up 33 min,  2 users,  load average: 29.96, 13.75, 10.97x

 Tasks: 280 total,  40 running, 236 sleeping,   0 stopped,   4 zombie

 Cpu(s): 61.1%us, 34.2%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.3%hi,  4.4%si,
 0.0%st
 Mem:   3090588k total,  2481096k used,   609492k free,    16068k buffers

 Swap:  2064376k total,    22796k used,  2041580k free,   274104k cached

Your server is pretty busy with such a high load, you might like to
throw more RAM and more CPU. 1/3d of the time is spent serving the
system itself. The IO waits are zero which is nice but you're still
spending a lot of time for the sys and si (software interrupts).

  4331 root  18   0  169m 131m  764 S  0.0  4.3   0:01.75 /usr/sbin/clamd

  4228 mysql 15   0  356m  53m 3904 S 24.0  1.8   5:42.20
 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mys

Both of these are sleeping but you have to check why you have clamd
running. Do you serve files and require antivirus on the server?

If your server is a LAMP setup, serving php etc. with a mysql backend,
you might like to disable that.

Have a look at nmon from IBM and the analysis spreadsheet it has
(unfortunately that requires Windows Office, I never managed to get
that run successfully under OpenOffice). Nmon will collect the stats
and when you feed them to the analyser spreadsheet, you can see which
processes have grabbed the disk  CPU and when.

There are other tools out there as well but my preference has been
nmon for various other reasons (well, I have to deal with AIX boxes a
lot as well and it comes by default with the latest versions and it
works perfectly fine with CentOS and Debian/Ubuntu as well)..

You can run nmon with -t option (capacity planning, 15 min samples for
a day) or with customized options (don't forget -t for spreadsheet
option).
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] internet connection tester script

2010-03-27 Thread Hakan Koseoglu
Hi Jozsef,

On Sat, Mar 27, 2010 at 12:07 PM, Jozsef Vadkan jozsi.avad...@gmail.com wrote:
 Why doesn't my internet-connection script work?
I suggest you double-check the Advanced Bash Scripting Guide.
You posted this to a couple of sites.

In your if statements, you must do if `statement`; then foo; fi
Don't forget to put ` around the statement you have there (ping
something | grep something).

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RAID 5 setup?

2010-03-25 Thread Hakan Koseoglu
On Thu, Mar 25, 2010 at 9:07 PM, Boris Epstein borepst...@gmail.com wrote:
 Note: RAID5 is not really recomended for such large disks.  You run the
 risk of a complete data loss if one disk fails and the another disk
 fails during the rebuild.
 Why is the size a factor here? Why would this be OK with smaller
 disks? How would you partition this instead?
As the disks get bigger, rebuild time also increases and the
performance of the disks don't increase linearly with their storage.
This means that when you are rebuilding a disk, the chances of one of
your other disks failing becomes significantly large. Most suggest
RAID6 these days as a minimum, mirroring and striping appears to be
the most popular.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] help fdisk and dd

2010-03-04 Thread Hakan Koseoglu
On Thu, Mar 4, 2010 at 1:01 PM, chloe K chloekcy2...@yahoo.ca wrote:
 What is the best practice to remove all data in the disk?
If you want to securely remove the data, I recommend using a tool like DBAN.
If you want to just wipe out the partition  boot sector for a clean
reinstallation, dd'ing the disk with zero for a couple of Mbytes is
more than enough.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HP Proliant ML150 : how do I access disks ?

2010-02-17 Thread Hakan Koseoglu
On Wed, Feb 17, 2010 at 10:26 PM, Niki Kovacs cont...@kikinovak.net wrote:
 boot configuration tools (bios, scsi configurator). So far I haven't
SCSI - Disk

Go to www.hp.com, , click on Support  Drivers, on Step 2, for product
type ML 150, click GO. Select the correct generation, i.e. G5 or G6
etc. (it should be printed in the front), select Red Hat Enterprise
Linux 5 Server (x86 or x86-64). Scroll down until you get to the
Driver - Storage Controller section. Download HP ProLiant Smart Array
Controller... And so on.

When the server boots up, you will be presented with various options.
Anything that mentions disk is your target. You will have to create at
least one volume from a single disk, probably it's best to do RAID1
using both disks but all of that depends on what you want to do.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HP Proliant ML150 : how do I access disks ?

2010-02-17 Thread Hakan Koseoglu
On Thu, Feb 18, 2010 at 7:19 AM, Niki Kovacs cont...@kikinovak.net wrote:
 Niki Kovacs a écrit :

 OK, at least I found an answer to this particular problem. I tried the
 US site, which yields many more answers. Unfortunately, no smart array
 controller.
03:01.0 RAID bus controller: Adaptec AAC-RAID (rev 01)
03:04.0 SCSI storage controller: Adaptec AIC-7901 U320 (rev 10)

You have an Adaptec card. That should work w/o a problem, that card
has been supported by the upstream since release 3. During the boot-up
sequence when it mentions Adaptec, hit the button mentioned on screen.

Make sure that the module is loaded during the installation, it should
have already been. More likely as mentioned before, since you're not
familiar with SCSI volumes, you haven't managed to configure the
arrays correctly.

In all of this thread I am not sure if it's been explained to you
before so let me go on a bit, you might now about this already, if so
apologies, just skip to the next message :)

On most SCSI/SAS enabled servers, the disks are not shown to the hosts
directly. Since these are usually used as servers, they are grouped
for redundancy purposes. As a result until the disks are bundled into
volumes or individually assigned to such entitites, they will not be
visible to the OS. Some disks might be marked as spare.

Since you got this server from an other source, most likely he had
wiped out all of the data from it and removed the RAID configuration.

You must go into the Adaptec configuration ans see how the disks are
bundled up. Most likely they aren't assigned to any volumes. If you
are not seeing any disks in this menu you must check the disk cabling
within the box but do not mess that before you check the configuration
on Adaptec's BIOS.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HP Proliant ML150 : how do I access disks ?

2010-02-17 Thread Hakan Koseoglu
Hi Niki,

On Thu, Feb 18, 2010 at 7:19 AM, Niki Kovacs cont...@kikinovak.net wrote:
 Niki Kovacs a écrit :
 OK, at least I found an answer to this particular problem. I tried the
 US site, which yields many more answers. Unfortunately, no smart array
 controller.
One last thing for this morning: Go to
http://www.adaptec.com/en-US/support/scsi/#u320 , select the link for
the card version you have and have good read of the installation guide
where they talk about how to configure the device.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Experiencing continual eth0 link up/down on a 10G Chelsio NIC (cxgb3 driver)

2010-02-08 Thread Hakan Koseoglu
Hi Arun,

On Mon, Feb 8, 2010 at 6:43 PM, Arun Khan knu...@gmail.com wrote:
 The file server has a Chelsio T310 10GBASE-CX4 RNIC (rev 3) PCI
 Express x8 MSI-X (eth0), driver and firmware is stock from the CentOS
 Plus kernel.
Way way back, I had similar problems on a bunch of servers with 3Com
cards and some 3Com switches.
It turns out to be the autonegotiation of the 3Com cards and switches
we got at that time were buggy and some idiot had set the switches to
100Mbit full duplex and the cards to autoneg and it kept initiating
autonegation and the buggy card kept on doing the wrong rate. The
result was poor performance and constant link down/up cycle.

It's worth checking what the switch side is set to. Also setting both
sides to a particular value might help or just remove all and leave
for autonegation.

 The hardware vendor tells me that the card either fails completely
 (kaput) or works - there is no grey area.  He is of the opinion that
 the problem is with the driver.
The last thing, IMHO, never trust a supplier trying to wriggle out of
a support case :) I've seen plenty of network cards that's on the way
but not dead yet.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 8-15 TB storage: any recommendations?

2010-01-06 Thread Hakan Koseoglu
On Wed, Jan 6, 2010 at 10:50 PM, James A. Peltier jpelt...@fas.sfu.ca wrote:
 We use Dell 2950s with an MD3000 or MD1000 depending on OS.  For our
 Solaris NAS node we use the MD1000 for CentOS we use the MD3000 because of
 the hardware RAID controller.  Gives us 15TB of RAW disk space with 1TB
 drives plus room for 4-5 additional drives (based on configuration) in the
 chassis.
Seconded. Also you can chain a couple of MD1000s at the back of the
MD3000 to get even more storage over SAS. We have a number of those
with the upstream OS installed but usually a single MD3000 is enough
for what we use them for (mainly Oracle DB server or VMWare hosts). We
tend to split the storage between two nodes and then do OCFS2.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   >