General :: Setup Command Not Work In RHEL 5.4?

Sep 26, 2010

i am using rhel 5.4..today i type the command setup! is not workERRor: error while loading shared libraries: libslang.so.2: cannot open shared object file: No such file or directory

View 5 Replies


ADVERTISEMENT

General :: Disktest Command RHEL 6?

Jul 27, 2011

I'm trying to use #disktest command on RHEL 6find the required packages to run such command please. I tried yum install but the package could not be found.

View 2 Replies View Related

General :: Command To Check The Chipset Of Mainboard - RHEL-5

Oct 21, 2010

Let me know command to check the Chipset of mainboard. (RHEL-5)

View 3 Replies View Related

General :: See The RedHat Subcription Via Command Line In RHEL 5?

Apr 5, 2011

How to see the Redhat Subcription via command line in RHEL 5

View 6 Replies View Related

General :: Create A New Terminal Window From The Command Line In RHEL 5.3

May 18, 2011

I use putty to get to my RHEL 5.3 workstation from my Windows laptop.

Typically, if I want a new terminal on my windows 7 workstation from another terminal or mc, I have to type start and I will see a new terminal window running the default shell.

QUESTION : What is the equivalent command in RHEL 5.3 (and or solaris) to create a new terminal window from the command line ? I will be entering this command from the shell prompt or mc's command line.

In Windows, if I want to start another terminal and in that terminal, I want to run a program, I can do "start program.exe arg1 arg2". this will create a new terminal window and runs program.exe in that terminal window. I don't have to create a terminal and then in a separate step run the program. How can I do this in Linux ?

View 3 Replies View Related

Red Hat :: How To Setup RHN On RHEL 5.4

Dec 23, 2010

I am new to Red Hat a crossover from Ubuntu. I could use your help on setting up my RHEL server to RHN. I have installed the OS and I run rhn_register and I recieve the Certificate error.Also, is there a way to correllate a RHN -Contract #, a subscription # to a install #.

View 2 Replies View Related

General :: RCP - Setup Red Hat And Getting It To Work With Windows?

Nov 16, 2009

I've been trying to get rcp command to work for my development environment but to no avail. I'm working on a Red Hat Linux server, and the rcp is meant to be used between Linux-Linux and Linux-Windows system. I've done some reading up and this is what I found:-

Quote:

Step 01: Turn on RCP service on UNIX Host

Turn on the RCP service on unix machine by using inetd:

1. Log on as root.

2. Edit the file /etc/Inetd.conf.

3. Uncomment the lines that start with shell and that start with exec.

4. Save the file.

5. Use ps -ef |grep inetd and determine inetd service pid. Send the Host User Profile (HUP) signal to inetd by using kill or by using pkill.

6. Run inetd again.

To turn on the RCP service by using xinetd:

1. Log on as root.

2. Edit the file /etc/Xinetd.d/rsh. You may get another file based on your linux distrinution.

3. Change the line disable to no.

4. Save the file.

5. Use ps -ef |grep inetd and determine inetd service pid. Send the HUP signal to xinetd by using kill or by using pkill.

6. Run xinetd again.

Step 02: Set the security permissions

After turning on RCP services you must set the security permissions to allow the Windows host to connect to your computer.

1. Edit the file /etc/hosts.equiv. Based on your linux distribution this file may vary. You can get like /etc/hosts.allow.

2. In the file add a line that contains the name of your Windows host.

3. Add a second line that contains the name of your Windows host and the name of a user who can access the directory that you want to transfer. Separate the two elements with a tab character.

4. Save the file.

I noted that my Red Hat have xinetd BUT I don't have the rsh file in step (2). It says I may get another file but which file should I be looking for? As for Step 02, I did find hosts.allow and updated that and the hosts file itself. Besides that, I also use useradd to add a user to match up with the one in the other system since I've read that the rcp required both end to use the same user name.

View 5 Replies View Related

General :: Setup An Alias Or Shortcut To Do The *nix Find Command?

Apr 5, 2011

When at the command line, I find that I have to type out this command very often: find . -iname "*php" -exec grep -H query {} ; I'd love to set up an alias, script, or shortcut to make it work easier. I would like to do something like: mysearch query ("*php") (.) It would be great if the command could accept three arguments, in reverse order:

query string, file name expression, directory If the second two arguments were omitted they would default to not being included, and the current directory. Finally, the icing on the cake would be that if additional variables were included (4th, 5th, 6th...) they would be injected as additional arguments for the find command (like I could say -type d) at the end. Attempted code I tried the example below, but I'm still having trouble setting default values. What am I doing wrong?

#!/bin/bash
c=${param1+.}
b=${param2+*}
a=${param3+test}
find $c -iname $b -exec grep -H $a {} ;

View 1 Replies View Related

General :: Command Line Email (Gmail) Setup

Sep 18, 2010

I am pretty new to C.L.I/text editing work. So maybe its a bit old-fashioned but I am interested in learning how to send email via the command line. I am running 10.04 32 bit

Situation: I have followed the explicit and step-by-step actions at http://klenwell.com/is/UbuntuCommandLineGmail

Question: Upon completion, when trying to send a test email to myself via gmail (from CLI) I get the following error: "msmtp: no recipients found". In CLI below it asks me to explicitly pick a mailx to download. I think I already have mailx as when I type mailx I get "no mail for primary".

Here is my work
Code:
:~$ sudo apt-get install msmtp mailx
[sudo] password for:
Reading package lists... Done
Building dependency tree
Reading state information... Done
msmtp is already the newest version.
Package mailx is a virtual package provided by:
mailutils 1:2.1+dfsg1-4ubuntu1
heirloom-mailx 12.4-1.1
bsd-mailx 8.1.2-0.20090911cvs-2ubuntu1

You should explicitly select one to install.
E: Package mailx has no installation candidate
:~$ gedit ~/.msmtprc
:~$ chmod 600 ~/.msmtprc
:~$ gedit ~/.mailrc
:~$ echo -e "testing email from the command line" > /tmp/test_email
:~$ mailx -s "mailx gmail test" xxxxxxx@gmail.com < /tmp/test_email
msmtp: no recipients found

Here is ~/.msmtprc
Code:
# config options: [URL]#A-user-configuration-file
defaults
logfile /tmp/msmtp.log
# gmail account
#account gmail
auth on
host smtp.gmail.com
port 587
user xxxxxx@gmail.com
password xxxxxx
from xxxxxx@gmail.com
tls on
tls_trust_file /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt
# set default account to use (not necessary with single account)
#account default : gmail
and here is ~/.mailrc

Code:
# set smtp for mailx
# gmail account (default)
# $ mailx -s "subject line" -a /path/attachment recipient@email.com < /path/body.txt
set from="xxxxxx@gmail.com (xxxxx)"
set sendmail="/usr/bin/msmtp"
set message-sendmail-extra-arguments="-a gmail"

View 4 Replies View Related

Red Hat :: Setup A Local Repository On RHEL Box Which Has No Internet Connection?

Feb 8, 2010

i have a Linux Box running RHEL and has no internet connection, hence i need to setup a local repository which i can be able to install packages together with their dependencies.

View 2 Replies View Related

General :: Cannot Ping From Host (RHEL 6) To RHEL 5 In (virtual)?

May 1, 2011

can not ping from host (RHEL 6) to RHEL 5 in (virtual)? I have stopped iptables on both machines. But still not able to ping from host machine to virtual.

View 1 Replies View Related

General :: Setup A System To Allow Normal Users To Execute A Command Without Using Sudo?

Jan 5, 2011

I am trying to setup a system to allow normal users to execute a command without using sudo. Is this possible?

View 6 Replies View Related

General :: Downloading RHEL 5.4 AS From RHEL Website?

Dec 23, 2009

I am trying to download RHEL 5.4 AS version for testing..But under [URL] There is no specific link for AS version or ES version..How can I detect which iso is for AS and which one for ES..? There are separate links for AS and ES version for RHEL 4.x version but why is it not available for RHEL 5.x versions?

View 3 Replies View Related

Ubuntu :: Setup Command Not Found In 10.04 Command Prompt?

May 6, 2010

In Ubuntu 10.04 grub command prompt setup command does not exist for installing grub.I am trying to recover my Feodra12 OS.Did anyone find alternate command for setup in grub command line for Ubuntu 10.04 ?

View 2 Replies View Related

Red Hat / Fedora :: MySQL And RHEL 5.3 - Command Not Found

May 24, 2010

Currently I'm using RHEL 5.3 in my server. Last time I install MySQl Server and it working fine.Then i facing a problem with my server and i reinstall back RHEL. But i didnt use MySql package inside the CD to install MySQL. i install MySQl separately. I download from MySql website. My problem is, i success install MySql in my server. The service also running. But when i type.

mysql -u root password

it said, command not found.

View 4 Replies View Related

Server :: Manage Ultrium LTO Via Command In RHEL 5.3?

Mar 3, 2010

I am using OS RHEL 5 update 3 my query is how do i manage LTO under command shellas I heard mt has been obsoleted in RHEL5 so what is the alternative for it

View 3 Replies View Related

Red Hat :: Installation Of Openoffice From Internet Using Yum Command On Rhel 5?

Aug 28, 2009

i was installing openoffice from internet using yum command on rhel 5 but it was not working properly. how i can install openoffice using yum command on rhel 5. it is confirmed that i m connected with internet.

View 5 Replies View Related

General :: Difference Between Rhel 5 And Rhel 6?

Feb 3, 2011

difference between rhel 5 and rhel 6 - basic difference.

View 3 Replies View Related

General :: Upgrade From RHEL 3 To RHEL 5.x?

Nov 18, 2009

i have old RHEL 3 system which has kernel 2.4 installed into it. I wasnt to upgrade it to RHEL 5.x so i downloaded a kernel 2.6 package but was not able to compile it.

View 1 Replies View Related

General :: Does The SVN Command Work In One Directory But Not Another?

Jun 10, 2011

I used SVN to check out the code of an open source project. When I typed the following command:

[user1@smallfox]~/workspace/project1% svn co http://svn.apache.org/repos/asf/mahout/trunk

It worked just fine. However, when I typed the SVN command in the root directory, it did not work and gave me an error message:

[user1@smallfox]~% svn co http://svn.apache.org/repos/asf/mahout/trunk
zsh: command not found: svn

View 1 Replies View Related

General :: Apt-Get Install Command Does Not Work

Aug 11, 2010

I use the 10.04 ubuntu, somehow I did something and now the apt-get install command doesn't work. No matter what package I try to download, there's always a "couldn't download all packages run update or --fix...." message. When I scroll up I see that it downloaded some packages but it couldn't find them all. So I thought that I should try a different server. I googled it and found that the server's address is stored in /etc/apt/sources.list. I edited that file and replaced all the deb and deb-src lines with the server's address. I saved that but when I tried to download something (like vlc) I got a "E: Couldn't find package vlc" message. I also tried many different server's but there was no difference. Am I doing it wrong? Should I run a command after editing the /etc/apt/sources. list file? Or didn't I edited the file right?

View 4 Replies View Related

General :: Exclude Does Not Work With Tar Command

Jul 6, 2011

I don't know why --exclude doesn't work when I use tar command. Please see this code
Code:
mahmood@pc:~$ l a/
1.txt 2.txt 3.txt b/
mahmood@pc:~$ tar cvjf compressed.tar.bz2 --exclude=/home/mahmood/a/b/ a/
a/
a/2.txt
a/1.txt
a/3.txt
a/b/
mahmood@pc:~$
As you can see although I excluded b/ but tar command ignored that.

View 2 Replies View Related

General :: Running This Command, And Seems Not To Work?

Jun 3, 2011

I'm running this command, and seems not to work, following the command:Quote:for nic in `ls /sys/class/net | grep -v lo`; do echo ${nic}; udevinfo -a -p /class/net/{nic} | grep -i address; doneThe output is the following:Quote:eth0eth1But the output should show something like this: (showing the MAC address)uote:

View 6 Replies View Related

General :: Unable To Get The Ls Command To Work Exactly

Jun 15, 2011

I am have trouble getting the ls command to work exactly how I want, for example, sometimes I want to list the contents of a directory into a text file by command:

Code:
ls directory > list.txt

(assume the only objects the directory contains are files with extension .dat eg file1.dat, file2.dat, ...)sometimes I want the relative path of the files prepended to them in my text file eg:

path/file1.dat
path/file2.dat
path/file3.dat

[Code].....

It feels like ls is unpredictable in this regard - sometimes it prepends the path and sometimes it doesn't and sometimes it adds both entries (with and without the path prepended into the text file)....How can better control the way ls works?

View 2 Replies View Related

CentOS 5 :: Getting "setup: Command Not Found" Error But Setup Is Installed

Jul 5, 2011

I'm trying to use the set application to configure Apache. I'm getting a "setup: command not found" error when I type in "setup" at the command line.

However when I try to install setup with yum, it tells me that setup is already installed.

I'm logged in as root. CentOS 5.5.

View 2 Replies View Related

Software :: Skype Won't Work On Rhel 6.0

Apr 7, 2011

I have just installed skype on my rhel 6.0 for the first time and eventhough it seems to have successfully been installed and the skype icon appears on the desktop and as well on the applications but when i double click on it, it doesnt start and i also typed skype or ./skype at the terminal but it gives me the following error. how i should go about it? i first instaled skype for fedora,it didn't work then uninstalled it and installed static skype.

[root@wi-tribe skype_static-2.2.0.25]# skype
skype: error while loading shared libraries: libXv.so.1: cannot open shared object file: No such file or directory

View 4 Replies View Related

General :: Can't Get Mail Command (or Equivalent) To Work

Feb 19, 2011

I am teaching using an Ubuntu 10 server. The course stipulates the students use the mail command to send me assessment work, however I can't get mail to work (I did have to install it in the first place). After I end the message with a dot I get the message "send-mail: cannot open mail:25".

View 7 Replies View Related

General :: -cd Command Of Urxvt Doesn't Work

Aug 13, 2010

-cd command of urxvt doesn't work

View 1 Replies View Related

General :: Locate Command - Unable To Work

Oct 5, 2010

Code:

nnjond@nnjond-den:/$ cd /media/disk/Dual_Data/
nnjond@nnjond-den:/media/disk/Dual_Data$ ls
07_Magna_DOWNLOADS 21_TEMPS Peleas.htm
08_Self-Improvement 22_Desktop Pelleas.odt

[code]....

View 6 Replies View Related

General :: Sudo Command Doesn't Work

Oct 17, 2010

I want to install some software using sudo apt-get command,but it dosen't work.(my network works well) how to handle it? below is the output of terminal:

@ubuntu:~/Downloads$ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4
Reading package lists... Done
Building dependency tree

[Code].....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved