- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error in Glance execution
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
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
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
тАО05-03-2007 08:15 AM
тАО05-03-2007 08:15 AM
Error in Glance execution
Im trying to exec glance in my HPUX 11.11 server and this is the error i get:
== GlancePlus Fatal Error =============
Version:
User : fongsjehte(/dev/pts/te) Date: Thu May 3 16:11:18
File : ../../../gp/source/glance/terminal.c Line: 322
System : sidved02 B.11.11 9000/800
Unable to initialize terminal.
Terminal length of 23 is too small, try 24 lines.
===============================================
Somebody can help me please?
Thank's
Hayse :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2007 08:17 AM
тАО05-03-2007 08:17 AM
Re: Error in Glance execution
2) Execute resize command
# resize
3) Now run glance
# glance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2007 08:18 AM
тАО05-03-2007 08:18 AM
Re: Error in Glance execution
you can set it also in the .profile by doing
export LINES=25
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2007 08:33 AM
тАО05-03-2007 08:33 AM
Re: Error in Glance execution
Make sure your terminal is INDEED one of the above mentioned emulations.
export TERM=vt100 (or xterm, etc..)
or
setenv TERM vt100 (if using csh or variants)
And lauch glance...
If not launching:
do:
stty rows 24
stty cols 80
That's it.!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2007 08:37 AM
тАО05-03-2007 08:37 AM
Re: Error in Glance execution
Set param LINES=25 works fine!! but Im trying to set this value in my user .profile and doesn├В┬┤t take it.
My .profile is this:
if [ ! "$VUE" ]; then
# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
tabs
echo
echo "Value of TERM has been set to \"$TERM\". "
export TERM
EDITOR=vi
export EDITOR
fi # if !VUE
# Set up shell environment:
set -u # error if undefined variable.
trap "echo 'logout root'" 0 # what to do on exit.
# Set up shell variables:
MAIL=/var/mail/root
# don't export, so only login shell checks.
echo "WARNING: YOU ARE SUPERUSER !!\n"
export HOSTNAME=$(hostname)
export PS1='[$HOSTNAME]$PWD> '
export HISTFILE=/home/fongsjeh/.sh_history
export HISTSIZE=1024
LINES=25
export LINES
# variable para ESP scheduller
export ESPAGENTDIR=/opt/esp/agent/script
# Set perission to files
umask 022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2007 08:39 AM
тАО05-03-2007 08:39 AM
Re: Error in Glance execution
export LINES=25
put in in /etc/profile and it will be set for everyone that logs in
if you want to keep it in 2 lines
LINES=25
export $LINES
you forgot the $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2007 04:25 PM
тАО05-03-2007 04:25 PM
Re: Error in Glance execution
This is not the correct way to run resize. You need to do:
$ eval $(resize)
This will set LINES and COLUMNS.
>Aussan: do it in one line: export LINES=25
This isn't required but it looks better this way.
>put in in /etc/profile and it will be set for everyone that logs in
This is not a good idea since each person may want different sizes.
>if you want to keep it in 2 lines
LINES=25
export $LINES
>you forgot the $
This is NOT correct. There should be no "$", export takes an identifier.