Tag Archives: RHEL
Five Notable New Features in Fedora Linux 18 'Spherical Cow'
After numerous delays along the way, the final version of Fedora Linux 18 “Spherical Cow” made its long-awaited debut on Tuesday.

Late last year I wrote about a few of the interesting features that had appeared in the beta version of the software, but now this finished release brings quite a bit more to the table.
As the free, community version of Red Hat Enterprise Linux (RHEL), Fedora is nothing if not a leading-edge distribution, and it tends to offer a sneak preview of what’s to come in RHEL and beyond. Currently in the No. 4 spot for page-hit rankings on DistroWatch, it’s particularly well-known for its business-focused features.
Ready for a quick tour? Here are a few of the more notable new features in this release.
To read this article in full or to leave a comment, please click here
Source: FULL ARTICLE at PCWorld
Linux Top 3: RHEL 5.9, Fedora 18 and Linux 3.0.58
LinuxPlanet: It’s a busy time for Linux vendor Red Hat.
Source: FULL ARTICLE at Linux Today
Best way to monitor use of memory resources for an RHEL instance
By RHCE
I hope, my question is clear that what is the best way to monitor use of memory on an RHEL server.
Please revert with the reply to my query.
Regards
I cannot connect my redhat server via putty
im going to access this via putty but get message
“server unexpectedly closed network connection”. after some time.
same is the case with root and oracle user.
what can be issue ?
Help with LVM?
Red Hat takes the wraps off RHEL 5.9
Red Hat on Tuesday announced the general availability of Red Hat Enterprise Linux 5.9, a new update to the company’s popular open source enterprise platform.

Though the software maintains backwards compatibility with hardware and software platforms across the RHEL 5 life cycle, it also brings several key new features to the table.
Ready for a rundown? Here are some of the most notable new features in this latest release.
1. Microsoft Hyper-V drivers
To read this article in full or to leave a comment, please click here
Source: FULL ARTICLE at PCWorld
Dual NICs – When I 'ifup eth1' it replaces eth0
By phaedrus
eth0 Link encap:Ethernet HWaddr 00:50:56:XX:XX:XX
inet addr:X.X.X.X Bcast:X.X.X.X Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16073098 errors:0 dropped:0 overruns:0 frame:0
TX packets:12947041 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3523869151 (3.2 GiB) TX bytes:3595458089 (3.3 GiB)
eth1 Link encap:Ethernet HWaddr 00:50:56:XX:XX:XX
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:203710 errors:0 dropped:0 overruns:0 frame:0
TX packets:13025 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14763933 (14.0 MiB) TX bytes:5191322 (4.9 MiB)
I’ve checked /etc/udev/rules.d/70-persistent-net.rules and the MAC addresses match what is in vSphere for the virtual hardware. I can’t find anything else that appears weird or unexpected.
Does anyone have any ideas as to what I might have screwed up here?
Right way to change time for a RHEL server
By RHCE
1) # date -s “2 OCT 2006 18:00:00″
Or
# date –set=”2 OCT 2006 18:00:00″
2) # date +%Y%m%d -s “20081128”
The second option though would only change the date but not the time.
I hope, my query is clear about what is the right way to change time for a RHEL server.
Please revert with the reply to my query.
Regards
Control Cores/CPUs used in Linux instance on VMware
By RHCE
I hope, my query is clear that can we allocate only 1 CPU/core to the new instance.
Please revert with the reply to my query.
Regards
Executing a shell script using sh
By John K
I’ve noticed that some of my colleagues execute scripts by typing sh before the script name
sh myscript.sh
I always execute a script by typing the script name and typing enter provided PATH variable has . (current directory) in it
myscript.sh (and then enter)
Is there any advantage in using sh ?
Lenovo thinkvision USB Screen LT1421wD 1366×768
By tzone
I have Lenovo thinkvision USB Screen LT1421wD (1366×768 resolution).
It works fine using windows and the manufacturer does not support linux.
Is there a way to make it enabled for RHEL 6 64 bit?
Has anyone here had the knowledge how to do it?
Thanks,
Kevin
Source: The UNIX and Linux Forums
Licensing for RHEL
By RHCEI wanted to know about licensing for RHEL. We have 3 RHELs as virtual machines using Vmware in our company. A 4th instance is required now but there is talk of not having the 4th license as we have only 3 licenses. Apart from this , I wanted to know how to actually practically enable a license for RHEL installed on a base machine or a virtual machine.
I hope, my question is clear.
Please revert with the reply to my query.
Regards
Source: The UNIX and Linux Forums
How to harden your RHEL 5 servers
ITworld: It’s not hard to harden RHEL
Source: Linux Today
Is there a limit in number of lines to be Copy pasted in VI editor ?
By kraljicIn my old shop, we only had AIX machines there (all of version 6.1 ). FTP ports were not open for these AIX machines because of some security thing. So, we can’t ftp scripts in ASCII mode.
When we wanted to copy huge scripts (shell scripts, sql scripts , ..etc) from our Windows based laptop (scripts in notepad or textpad ) to those AIX machines, we had to manually copy and paste to the vi editor in the AIX machine because SCPing the scripts can introduce unwanted characters ( SCP can be done only in bin mode. )
So, when I tried copying big scripts , VI editor in AIX didn’t allow more than 100 lines to be copied at a time. So, for a 1000 line script , we had to copy paste 10 times part by part!
In my new shop , we have both AIX (5.3) and RHEL 5.4 . But i did manage to copy and paste a 2000 line script from Windows XP notepad to VI editors in both AIX and RHEL in one go. VI editor doesn’t seem to have a limit of 100 lines here. Only difference from my Old shop and here is that i am using putty in the current shop. In my earlier shop where I encountered the 100 line limit , I was using tectia as the ssh client . Could this be the reason ? Have you guys faced a similair situation ?
Source: The UNIX and Linux Forums
Free software at the CERN, or: how did FOSS help the discovery of Higgs boson
What are the main fields in which FOSS is really important, and had given big successes in these years? Research is, probably, one of the most important. And when you talk about research, scientific research, you must speak about the CERN.In the GNU/Linux Magazine Italy number of January, you will find an interview I did to two researchers about this topic: Sebastien Ponce is the head of CASTOR, the CERN‘s data storage system (based on GNU/Linux) and Brian Bockelman is an american physicist that works with CERN software to analyse data from ATLAS and CMS experiments (those who found the existence of Higgs particle).I think you will find their answers really interesting.Se leggete GNU/Linux Magazine Italia troverete nel numero di gennaio 2013 (in edicola già la prossima settimana) la traduzione in italiano dell’intera intervista, con una breve introduzione.I would like to thank both Brian and Sebastien, for the time they spent answering me, but also Melissa Gaillard from the CERN press office for all the work she did.Among other things, at the end of this page, there is an off-topic image.Here’s is the interview: -First of all, please tell us something about you… Sebastien Ponce:I am a computer scientist, specialized in development of large software frameworks for data analysis and in mass storage. I am currently the head of the development of CERN‘s mass storage’s system (CASTOR) that is storing and managing most of the data produced at CERN (85 PB right now, growing at a rate of 1PB/week). I started using free open source software at school in the 90s with debian 2.0 and am mainly using FOSS since then (still under debian). All the software I’ve been writing in the last 15 years is free and open source, be it for CERN or outside. Brian Bockelman: I work for the University of Nebraska-Lincoln as a postdoc and work for the Open Science Grid (OSG) and the Compact Muon Solenoid, one of the experiments on the Large Hadron Collider (LHC) at CERN. At Nebraska, we have one of the Tier-2 computing sites dedicated to CMS, this got me started with large scale storage systems as a graduate student. I’ve been using Linux since the late 90’s – I’ve played with several different distributions, but almost always end up on either Fedora or RedHat. -We know that at the CERN you use GNU/Linux systems. Do you use a common distribution (Debian, Fedora,…) or have you developed a your own distro? Sebastien Ponce:CERN is indeed using mainly GNU/Linux systems for data storage and analysis. A dedicated distribution has been developed together with FermiLab and various other labs and universities around the world. It is called Scientific Linux or SL and its primary purpose is to reduce duplicated effort of the labs participating in the CERN‘s related projects, and to have a common install base for the various experimenters. The base SL distribution is Enterprise Linux, recompiled from source. Brian Bockelman:At Nebraska, we also use Scientific Linux 6.3. The CMS experiment has about 50 computing sites throughout the world and all use some variant of RedHat Enterprise Linux – be it RHEL licenses, CentOS, ROCKS, or Scientific Linux.-Why did you choose Free Open Source Software? Do you also use some proprietary tools? Sebastien Ponce:Open access in general has a strong tradition at CERN. In 1953, the Convention for the establishment of CERN already stated : “the results of its experimental and theoretical work shall be published or otherwise made generally available”. This still holds today in all fields where CERN is involved including computer science. For example, it’s worth mentioning two initiatives outside software in this domain: the open hardware initiative with its Open hardware license and the Sponsoring Consortium for Open Access Publishing in Particle Physics. So when talking about software, CERN is naturally releasing its code under free open source licenses and makes heavy use of free open source software. Having said that, we also use non free open source software, and proprietary tools in specific domains like civil engineering, databases or tape storage.-How does the distribution of data works? (Or: Can you explain briefly Castor and the “tiers” mechanism?) Brian Bockelman: We primarily have two types of data: simulated event data, and data read from the detector. The detector data starts off underground at CERN, where it is transferred to the CERN data center. A first quick transformation of the data (called “reconstruction”) is done there, written to tape in Castor, and transferred to multiple “Tier-1” sites around the world. At the Tier-1 sites, a second copy is written to tape and another processing pass is done. The data, now in a format appropriate for physicists to use in their work, is copied to one of forty CMS Tier-2 sites like Nebraska. Compared to the Tier-1s, which are fully utilized by centrally-planned processing, the Tier-2s are somewhat chaotic. Each user will be analyzing a different set of data with a different application; the analysis may have to work at ten different sites to complete. The distributed nature of our work has led to quite a bit of middleware development – we have to distribute petabytes of data to multiple sites and make it so the user has transparent access to all of them.-What is Apache Hadoop, and why do you use it? Brian Bockelman:CERN writes its data in Castor and the Tier-1 sites write data into various niche systems which integrate directly with tape. However, at the Tier-2s, we have more flexibility in selecting the storage system. A storage system needs to be able to stitch together multiple disk servers (there’s about 2.5 petabytes of raw disk at Nebraska), provide a uniform namespace, be quite reliable, and have sufficiently high-performance. We need to be able to layer grid components for cross-site data access. Finally, this all needs to be easy to administer: the whole of our Tier-2 has two sysadmins, and we cannot afford to dedicate one solely to filesystem issues. In late 2008, I began examining the Hadoop Distributed File System (HDFS) from the Apache Software Foundation. HDFS is implemented in Java and shares many design characteristics with the Google File System. The services run in userspace and layer on top of the disk server’s filesystem. There are two basic node types, the namenode and the datanode (there is a third, the secondary namenode, which can be ignored for now). The namenode manages the namespace and orchestrates access to data for user processes; the namespace metadata is kept in-memory, allowing for incredibly fast read-access. It also breaks the files into fixed-size blocks (we use 128MB) and selects the datanode to host each block. It keeps track of each block’s location and makes sure there is a sufficient number of replicas (we require two replicas for each block). Because of the replication, HDFS is a breeze to manage. The death of an entire datanode is not a critical event: the namenode will simply create another replica of all the data it held. In fact, we don’t even bother returning dead hard drives until we have at least a box full of dead ones. The only host we have to keep an close eye on is the namenode; it’s a lot easier to have only one critical system compared to dozens. While other systems may have similar or better performance characteristics, the reliability and ease-of-management is really why we selected HDFS in the end. It’s also quite comforting to know that we won’t ever be the largest user of HDFS; it’s nice to have someone else work out scale issues. We converted the site to HDFS in early 2009; since our initial success, six other Tier-2 sites in the US have also converted. We have been happily using HDFS since then, but I try to keep an eye on the alternates. The systems which are closest to HDFS are Ceph and Gluster, but we’re not planning a switch anytime soon. -In particular, how the analysis of ATLAS and CMS data have been done? Brian Bockelman: Readers familiar with Hadoop notice that I only described the filesystem, but skipped the distribution of the Map/Reduce component. This is because we actually don’t use Map/Reduce: the resources CMS uses overlaps with those used by other LHC experiments on the grid. The entire grid is about 140 computing sites; getting everyone to agree on a single technology implementation is nearly impossible. Instead, we make sure we have interoperability between sites’ technology using platforms from organizations like the Open Science Grid or the European Middleware Initiative. Our analyses are based on breaking large tasks into many batch system jobs which are distributed about the planet; they read data directly from the sites’ storage system. Conceptually, it’s close to Map/Reduce: we are often either transforming data to different formats and filtering out data not relevant to the individual’s work. This is done in several passes, each one having smaller, more-specialized data than the last. Finally, we end up with something which the physicist can move off the grid and onto his laptop for some final work using techniques like neural networks and multi-variate analysis. -Is there something you think is still missing in FOSS for research (physic research)? Brian Bockelman: As mentioned by Sebastien, the field of High Energy Physics (HEP) has a long history of collaboration, leading to its natural fit with FOSS. Accordingly, basically all the tools used in research are open source. It adds up to a huge amount of software – the core physics software of CMS alone amounts to about 6 million lines of code. Nothing strikes me as “missing”, but there are always things we could do better. I work closely with sysadmins running university clusters, so I always hear their pain: – Package management on RHEL still has rough spots. It’s nearly impossible to roll-back from a significant upgrade; in the end, we typically just have to scratch the host and let Cobbler/Puppet rebuild it. We also have poor tools for userspace installs: a user often has to resort to compiling tens of software packages from source if they want to install something in their home directory without sysadmin help, yet they may not want the responsibilities of running their own VM (and maintaining a safe, fully-patched configuration). The amount of work necessary for a non-admin user to install their favorite python module for personal use is striking when compared to how easy it is for the sysadmin. – We tend to configure software a single piece at a time, yet complex services may involve a dozen pieces of software and scattered system configuration. There don’t seem to be many “best-practices” available for configuring many pieces of software that don’t involve editing dozens of configuration files. The progress made since I’ve started is indeed striking; for example, I’m incredibly excited to roll out systemd at work. I’ve had enough of poorly-written init scripts for my lifetime. -What do you think about the future of computer aided analysis, and which role FOSS can have in it? Sebastien Ponce:Computer aided analysis has imposed itself as the main tool for scientific researchers and I believe it will stay so for long. FOSS has an essential role to play there as it is the most efficient approach to software for this community, that is spread, heterogeneous and where users have a high level of education. As CERN has proven in the last 58 years, collaborating is the key to success in such a context, and FOSS is making it happen in the computer science field. So I see FOSS as a key player of computer aided analysis in the future (and already now), that may structure all the software in the domain. -Can you give us your personal opinion about the use of FOSS in university and research institutes?Brian Bockelman: I personally think that the use of open source software (and free open source software in particular) in universities and research institutes is fundamental and I see two main reasons for this.First because of the nature of research institutes and universities : they usually have a small budget, but very skilled and talented people. This usually makes the payment of licenses associated with non free software an heavy constraint while the skills needed to support and maintain open source software are often available.So free open source software matches well here, next to non free open source software when support and/or maintenance are outsourced. The second reason is that open source software in general (free or not) allows university and research communities to build extremely large and heterogeneous systems (like the LHC computing grid(5)). It would be extremely difficult to agree on a unique set of proprietary tools for such systems across 100s of laboratories with different constraints and strategies. With open source software, one can adapt more easily existing tools so that different solutions cooperate. This was a key ingredient in the success of the grid.-Is there something you would like to add for our readers? Sebastien Ponce:If you are interested in knowing more about CERN and our research there (including in computer science), have a look at our web site (http://cern.ch) or come and visit us in Geneva. It’s free and our computer center can be part of the tour. You may also be interested in CERN‘s job offers, there are all available on our web site.Ok this is, basically, the interview. Before concluding this post, even if it’s off topic, I would like to thank Jonathan Riddell for sending me a Kubuntu polo shirt. I received it just some days ago, and I wanted to wear it immediately. Even if in those days it snowed, and it was quite cold (about 4°C). Worth it:
Source: Planet KDE
Unable to connect "Reliance Netconnect" on Redh Hat Linux 5
Hi Friends,
Can someone help me with below issue , thanks.
Subject : Unable to configure “Reliance NetConnect” on RHEL 5
Here some helpful information :
[root@localhost dev]# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 8087:0020
Bus 001 Device 003: ID 192f:0416
Bus 002 Device 005: ID 12d1:1446 Huawei Technologies Co., Ltd.
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 8087:0020
Bus 002 Device 003: ID 064e:f209 Suyin Corp.
[root@localhost dev]# dmesg | grep tty
[root@localhost dev]#
[root@localhost dev]# more /etc/wvdial.conf
# Reliance Netconnect
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode =1
Modem Type = USB Modem
ISDN = 0
Phone = #777
New PPPD = yes
Modem = /dev/ttyUSB0
Username = **********
Password = **********
Baud = 9600
[root@localhost dev]#
[root@localhost dev]# lsmod
Module Size Used by
usbserial 67761 0
usb_storage 116769 0
autofs4 57161 2
hidp 83649 2
rfcomm 104809 0
l2cap 89409 10 hidp,rfcomm
bluetooth 118725 5 hidp,rfcomm,l2cap
sunrpc 197513 1
dm_mirror 60105 0
dm_multipath 52433 0
dm_mod 96017 2 dm_mirror,dm_multipath
ipv6 411425 14
parport_pc 62313 0
lp 47121 0
parport 73165 2 parport_pc,lp
sr_mod 50789 0
cdrom 68713 1 sr_mod
sg 69865 0
shpchp 70765 0
joydev 43969 0
pcspkr 36289 0
serio_raw 40517 0
ahci 55621 2
libata 160849 1 ahci
sd_mod 56257 3
scsi_mod 186361 5 usb_storage,sr_mod,sg,libata,sd_mod
ext3 166993 1
jbd 93873 1 ext3
ehci_hcd 65229 0
ohci_hcd 54493 0
uhci_hcd 57433 0
[root@localhost dev]#
[root@localhost dev]# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.
Port Scan: S0 S1 S2 S3 USB0
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
[root@localhost dev]#
Let me know if you need more information inorder to resolve this issue.
Thanks
Arun
Source: The UNIX and Linux Forums