Server :: Shell In Converting From HP UX 11 To RHEL 5?
Feb 12, 2010
We've converted several older unix servers from HP UX to VM's running RHEL 5.The database applications and everything else run great, however we have a group of programmers who need to be able to use character based, wyse60 sessions using tiny term. I'm having trouble making the cool elements in bash work in this emulator, and even more trouble simply replicating what was available in the /sbin/sh used in HP UX?
How can I run the following be run from a shell script, these are shell commands and mysql commands.
# mysql -uroot -ppassw > use mysql; > create database cacti; > GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cactipw'; # mysql -u root -p -b cacti < /usr/share/cacti/cacti.sql
is possible to edited the default RHEL CD to have it automatically install RHEL based off of a kickstart file that I will store locally on the CD. My plan would be to put a cd in a server and have the OS automatically being installed.
We are planning to migrate our LINUX server from RHEL 3to RHEL 5. What are the configuration difference between RHEL 3 to RHEL 5 for webserver installations?
I have a database server running RHEL 5.1 32 bit that suffered some catastrophic failures about 6 months ago. We were able to patch it back together and keep it running, but now the manufacturing site it supports is going to shut down for two weeks and I would like to replace it permenantly. Does anyone have any guidance for that sort of thing? I'd like to have the new server up and running before hand, basically changing the hostname/ip and restoring the databases only on conversion day. I've done this in the past with HP UX - Red Hat conversions, but this is my first red hat to red hat move. Any advice or shortcuts?I forgot to add the other wrinkle. The new server will be running 64bit linux.
I am using ubuntu10.04-server 64bit AMD with fluxbox. After I ran Matlab in a shell (without GUI) the shell does not display characters anymore, but will execute any command, I just can't see the characters that I'm typing.. I use aterm and xterm, does anybody know why that is, am I missing a package?
We moved over from Cpanel using Exim. I was wondering if anyone knew of way to convert the mail so when a user logs in they get to all their mail in their folders. I notice exim has a ton of folders while postfix creates files that act like folders which contain all the emails. I sent up 1 of the emails into the our mail folder that was created by Exim and it can be Subscribed to in Outlook with imap but the emails inside doesn't show up. They both appear as text files so I don't know what the difference is.
I set up my Debian box as a HTPC but am moving it to my closet and using it as a NAS now, so I want to make it headless since there won't be a monitor connected to it.What's the cleanest way to nuke the desktop environment? 2nd to reinstalling, that is (although that may not be a bad option since may home directory is in another partition).
I have a sendmail alias configured to forward mails to pagers and it was working fine . The mail relays suddenly start converting a mail address of pager into a normal mail(outlook) format address. Say , instead of forwarding a mail to [URL] Provided no configuration inside the mail directory was changed.Which file is responsible in converting the mail-addresses? Is there any other problem with my mail-setup?
I am getting these error in RHEL 5.3 while i did "yum update".
---> Package libstdc++-devel.i386 0:4.1.2-46.el5_4.2 set to be updated ---> Package libstdc++-devel.x86_64 0:4.1.2-46.el5_4.2 set to be updated ---> Package libstdc++44-devel.i386 0:4.4.0-6.el5 set to be updated
[code]....
The program package-cleanup is found in the yum-utils package.
I cannot ssh into an RHEL 5.5 server (192.168.20.104) from another RHEL 5.5 server (192.168.20.101) unless server debug is turned on 192.168.20.104, and even then, I have to wait several minutes before the connection is established. scp to and from the 104 server is also not working.Here is the debug output on the 101 server when server debug is not enabled on the 104 server-:
Having some issues setting up sendmail on a (basically) blank RHEL 5.5 server setup. My ultimate goal is to be able to automagically send logs / errors / notifications to ourselves from the server.
Our basic setup is a Win 2003 domain with exchange running on mail.domain.com.au.
I've edited the '/etc/mail/sendmail.mc' and added the :
Code:
line to it.
Also added the domain (domain.com.au) to the '/etc/mail/local-host-names' files
Also edited submit.mc and added
Code:
When I try and send a mail from root or a test user to one of the domain accounts, it seems to go fine, i.e no errors are reported but it never gets delivered.
From the mail logs:
Code:
So it seems to be sent to the queue no problems and when I check the queue :
Code:
Total requests: 0
Not nothing ever gets received. Am I missing something? I have read and read and read but dont seem to be getting any furthur.
So in the end this server doesn't need to do anything except be able to send mail from root to an external mail address.
In oreder to run an application software on RHEL 3 ES server, I created a link forcefully using following command from root id: # cd /lib64/tls/ # ln -sf libc-2.3.4.so libc.so.6 before that I copied file libc-2.3.4.so from a workstation with OS RHEL 4 WS so that a link can be created. Now I am unable to run any command except cd & pwd and it gives error messaage as given below: ls:relocation error:/lib64/tls/libc.so.6:symbol _rtld_global_ro,version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2with link time reference.
Before running this command libc.so.6 was pointing to libc-2.3.so file in path /lib64/libc-2.3.2.so. I am now unable even to open a new window on the server.Please send me some solution as early as possible because this server is running production data and many users are runnig application on this server.
we are running a Red Hat Enterprise Linux ES release 3 (Taroon Upd 5) Kernel 2.4.21-32.ELsmp since several years. The server hosts an old ERP system who will be replaced at the end of the year.However it is necessary that some collegues are able to write some files to that server regulary. Since we are running Windows 7 on several machines, those users aren't anymore able to write to the samba share. Getting files from the share works fine.
But the problem seems not to be situated at the samba service because also the transfer using SSH (WINSCP) from any Win7 system to the server doesn't work.During testing we recogniced that transfering files smaller then 1kb works fine ... any file greater then 1kb ends up in an connection abort. This works with samba and also using SSH.All the workarounds editing some registry entries in Win7 for improving the interoperability between vista / win7 and samba don't work for us ... and also seem not to be the source of the problem.Is there a general known incompatibility between our RHEL version / kernel and Windows 7 regarding file transfers?
I have a RHEL 5 server with 32 bit architechture that is not recognizing more that 4 GB of RAM and I am trying to locate a version of the kernel-PAE package that will work well with the 2.6.18-53 kernel. I found something on Open VZ called ovzkernel-PAE that is built for the 2.6.18-53 kernel [URL]
and wanted to find out if there were any known issues with this release before I attempted to install it. Is anyone aware of any issues with any rpms on openvz.org or with this particular rpm in general?
I have a RedHat box that I have configured, security, audit rules, latest updates, etc. I want to be able to "image" that configuration so I can kick other boxes with that "image", that way no other configuration/updating needs to be done on the newly kicked boxes. What is the best way to accomplish this? To make things more difficult, it would be near to impossible for me to pull any software off the internet for this.
I am trying to look at installing the PAE module on a RHEL 5 2.6.18-53 system and I cannot seem to find that around. I had hoped to find out if installing the CentOS 5 2.6.18-128 or 2.6.18-164 kernel-PAE modules would have a lot of negative consequences? Perhaps one of you could direct me to a download site that would provide kernel-PAE for a 2.6.18-53 build?
I have seen and tried a lot of web information about issues with VNC and the RHEL 5.x implementation of VNC.
I can't seem to get the behavior I want. Let me explain.
With SLES 10, I can use YaST and with a few clicks end up with a system that when rebooted, accepts VNC viewer connections to :1 and displays the system login screen.
Here I can log in as root or any user. Once logged in, I can choose to use the command line to restart the system if necessary and eventually, I can reconnect with the vncviewer to the system login screen.
RHEL 5.2 has a "share your desktop" setting in preferences which works fine, but requires that I be logged in locally, which prevents remote restarts. There is also a system services dialog that refuses to start vncserver as a service. There are numerous tutorial in the RH knowledge base and the web that explain how to specifically setup individual displays, :1, :2 for specific users and claim that it can work after boot. I have not been able to get these working, but what I really want is a simpler, single display, :1, that will present the RHEL login screen so I can log in as any user I want. I am the only person accessing these servers and they are behind a firewall using secure protocols when remote.
I think Red Hat did not want to make this too easy as VNC users need to consider the security risks. Is there a way to get the SLES 10 VNC approach to work on RHEL 5?
I have a situation where I want to install various versions of RHEL on removable drive. My first option was a flash drive or an external USB hard disk, but its speed is too slow.Now I have been assigned a task to search for more options about this requirement. If anybody has experience in installing the same, then please share with me.
When I submit a job via lpr on RHEL 5 using lpr -P MYPRINTER filename and then do a lpstat -t, the actual file name is not listed...just a job identifier e.g MYPRINTER-8 On AIX the lpstat command shows the actual print file name Using -C, -J or -T options in lpr also makes no difference to waht is seen in lpstat
Currently my server use SAS 146G 10K. This hdd is in mirror mod. But space in current hdd is not enough. So, my plan is clone current hdd to other SAS 300G 10K.
I can logon to computer with username/passwd from AD.
But if I try to use ssh, is doesn't work
When I try to connect to the same computer using kerberos I receive this messages:
ssh -vv server.domain.com .... debug1: Authentications that can continue: publickey,gssapi-with-mic,password debug1: Next authentication method: gssapi-with-mic debug2: we sent a gssapi-with-mic packet, wait for reply
[Code]....
and it tries to use publickey and finally, user/pass.
What do I've have do for using ssh and kerberos? I use samba for joining computer to AD. I tried it in ubuntu 8.04 and likewise-open and it works, but not in RH-Samba.
I downloaded the demo for RHEL Server 6. I'd like to get Xwindows going, but have been thwarted thus far. edit /etc/inittab file and change the value from 3 to 5. That didnt' work. There's an X11 directory with a file called 'prefdm' that has a bunch of code in it that I have no idea what it means. how to get X windows to start?