LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2006, 11:13 PM   #16
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15

Regarding installing a patch.
I ve root permission, how to install a patch in my PC.

In vi editor how I can select a column and delete it.
Plse give the command.

Thanks & regards,
Jothibass
 
Old 06-12-2006, 11:50 PM   #17
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Hai,
I got the below message when do ssh to a server. If I remove the .ssh file in home directory and then ty then its ok. Can you tell me about this and also the contents in .ssh file.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
76:eb:01:a0:a9:a0:de:1f:94:70:d2:82:fd:95:4b:fd.
Please contact your system administrator.
Add correct host key in /home/admin/.ssh/known_hosts2 to get rid of this message.
Offending key in /home/admin/.ssh/known_hosts2:4
RSA host key for xxx.xxx.xxx.xxx has changed and you have requested strict checking."
here "xxx.xxx.xxx.xxx" is the host Ip address.
Thanks & regards,
Jothibass
 
Old 06-13-2006, 01:53 AM   #18
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
hai,
For the I need reply immediately bcze I want to know that & to solve that. I ve some more questions to u.

Thanks & regards,
Jothibass
 
Old 06-15-2006, 02:39 AM   #19
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Can you login using some other method, like telnet, ssh, etc? I'm not sure if this will avoid the standard "/bin/login", but it may give you sufficient access.

If you do get on the machine, you could try looking for the libscript.so.1 file (use "whereis" or "slocate" commands for instance).

But then again, all these problems may be interrelated. For instance, let's assume your disk is completely full, then you can't create or open any files and you can get all sorts of errors...

Hence, I recommend sticking to one problem at a time, starting by fixing the disk space issue first. We'll deal with sudo/su access and your DB connection issue later.
 
Old 06-15-2006, 05:51 AM   #20
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
ok u can tell me regarding sudo/su and also I want to know about .bashrc file. Because
I have moved this file to some other place and when I login the prompt is different.
Before I move the prompt looks like "[corems:admin]~ >"
After I moved the or removed the prompt looks like "bash-2.05$"
So I ve found that the .bashrc file is created again.

Thanks & regards,
Jothibass
 
Old 06-15-2006, 05:56 AM   #21
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
For login problem u ve told that to see "libscript.so.1". The file is not found in my server.
 
Old 06-15-2006, 06:30 AM   #22
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
In what ways did you try to find it? Please post your commands and their results, if possible.
If "whereis" and "slocate" didn't find the lib file, then it's not in your $PATH.
Please post the result of
Code:
echo $PATH
A quick search however turned up no results for a file called libscript.so.1 (ie a place to download it, etc).

Can you please post the contents of your .bashrc file (the original one)?

It's normal that your prompt changes. In your old .bashrc, the prompt was probably altered by setting the $PS1 and/or $PS2 environment variables. When you changed the .bashrc file, the prompt probably reverted to the default (or to the setting in /etc/bashrc).
 
Old 06-16-2006, 07:51 AM   #23
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
This is the reply for the question "Installation of patch"
"You said you wanted to install a patch. Software installation is also left up to root in many cases (especially if it involves installing programs into directories only writable by root, like /bin)."
I ve root permission then how to install a patch?

In vi editor how to select a column and deleting it?

Last edited by jothi_bass2000; 06-16-2006 at 07:54 AM.
 
Old 06-16-2006, 09:50 AM   #24
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
What "patch" are you talking about? A kernel patch? An upgrade of a software package?
Did you try your package manager?

For vim, you can find almost any command's help by typing ":help".
":set mouse=a" makes vim listen better to the mouse actions.
What you requested, can be done by:
-left clicking and holding on upperleft character;
-pressing (just once, not holding it) Ctrl-V (for Visual Block mode)
-dragging your mouse to the lowerright character.
This should select a vertical block ranging between the upperleft and lowerright character. At least, it did so on my box.

Basic vi is much more simple then vim and supports less options, so I can't help you with that.
Most modern Linux systems should provide vim instead of vi though. Start vi by typing simply "vi" and see
if that tells you if it's "vi" or "vim".
 
Old 06-19-2006, 02:34 AM   #25
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
hi,


I m asking the command to select a column in vi or vim. By visual mode I can select a line, block etc. But if I want to copy a column or to delete which command I could use? plse tell me.

Last edited by jothi_bass2000; 06-19-2006 at 02:36 AM.
 
Old 06-19-2006, 06:29 AM   #26
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
I'm not referring to Visual mode, but to Visual Block mode.
By following what I told you, I was able to select a column.

Deletion, copying, etc probably uses the standard commands (ie yy for copy, dd for delete, etc).

See the help (type ":help"). The list of commands is just too long to cover here.
 
Old 06-21-2006, 12:55 AM   #27
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Post Problem in Execution of scripts in bin

ok thanx,
I cant execute a script by placing it in bin. Previously I ve done by placing it in bin.
Can u tell what is the problem ? I cant excute anything which is placed in bin from other directory.

Thanks & regards,
Jothibass
 
Old 06-21-2006, 01:47 AM   #28
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Can you be a little more specific? What are you trying to run in /bin? What are the file permissions on this file? What are the mount options of the disk /bin is part of?
 
Old 06-30-2006, 04:38 AM   #29
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Post Regarding /bin

The files in /bin has all r,w,e permissions. Previously I ve executed that, I think now
some problem has occured. The files are the script generated by myself.

Thanks & regards,
Jothibass

Last edited by jothi_bass2000; 06-30-2006 at 04:40 AM.
 
Old 06-30-2006, 06:28 AM   #30
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
So, your script can't run some tools in bin, that do exist and are executable, right?
Can you tell me how your scripts call the tools in /bin?
ie if you call "mv", your $PATH plays a role. If you call it as "/bin/mv", then your $PATH isn't involved at all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slamd64 Xorg only works correctly as root niztec Linux - General 3 09-21-2005 09:45 PM
Why aint it reading file correctly? twirl Programming 11 09-13-2005 03:30 PM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 10:50 AM
open file in root! 1 ERROR j.vilon Linux - General 4 10-11-2004 08:27 AM
Root drive not appending correctly in Gentoo/XP Dualboot Ahad Linux - Distributions 8 05-20-2004 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration