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 |
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 |
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 |
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. |
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 |
For login problem u ve told that to see "libscript.so.1". The file is not found in my server.
|
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 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). |
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? |
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". |
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. |
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. |
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 |
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?
|
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 |
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. |
All times are GMT -5. The time now is 05:00 AM. |