- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Pls, help. vi Not Found
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2008 04:05 AM
10-25-2008 04:05 AM
Boot pc.
BO
hpux -is
vi /etc/rc.config.d/nfsconfig
Result:
#vi /etc/rc.config.d/nfsconfig
sh:vi not found
All commands = not found,e.q. man, netstat,etc.
Only pwd, cd, ls are ok.
Sorry for of my English.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2008 08:33 AM
10-25-2008 08:33 AM
Re: Pls, help. vi Not Found
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2008 08:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2008 01:01 AM
10-26-2008 01:01 AM
Re: Pls, help. vi Not Found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2008 02:38 AM
10-26-2008 02:38 AM
Re: Pls, help. vi Not Found
So... let's try it another way.
The order of the lines in nfsconf should not matter. This is fortunate, so we can use some very simple shell tricks to add/remove one line at a time. This may look ugly in the nfsconf file, but it should work.
After "hpux -is":
mount -o remount,rw /
cd /etc/rc.config.d
cp nfsconf nfsconf.backup
To remove one line from nfsconf:
grep -v "line you wish to remove" nfsconf >nfsconf.new
mv nfsconf.new nfsconf
To add one line to nfsconf:
echo "line you wish to add" >>nfsconf
After making the changes:
cat nfsconf (to verify that your changes are good)
mount -o remount,ro /
sync
sync
sync
reboot
If you make a mistake:
cp nfsconf.backup nfsconf
and try again.
After you get the system to start up normally, you can use vi to rearrange the lines of /etc/rc.config.d/nfsconf in a "nice" way, if you wish.
(By the way, you posted this HP-UX question into a forum section that is reserved for Linux questions. I'll ask the moderators to move it to the proper place... see http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1245248 )
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2008 02:53 AM
10-26-2008 02:53 AM
Re: Pls, help. vi Not Found
But I've got other problem. When the pc started, so on monitor will display :
DIGITAL OUT OF RANGE 73,8kHz/60Hz.
I have got LG FLATRON L1953HR. How and where change setting graphic cards?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2008 04:26 AM
10-26-2008 04:26 AM
Re: Pls, help. vi Not Found
This is not a PC. This is either an HP-UX workstation or server (you didn't mention which). What does "model" and "uname -a" show?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2008 04:49 AM
10-26-2008 04:49 AM
Re: Pls, help. vi Not Found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2008 07:58 AM
10-26-2008 07:58 AM
Re: Pls, help. vi Not Found
HP-UX unknown B.11.11 U 9000/785
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2008 07:22 PM
10-28-2008 07:22 PM
Re: Pls, help. vi Not Found
at "man Xserver", then "man Xhp" (or Xf86).
I'm too lazy to read all that, but there may
be a command-line option or config file in
there somewhere with stuff like resolution
and sweep frequencies. Possible values may
depend on the graphics hardware, of course.