1834043 Members
2666 Online
110063 Solutions
New Discussion

Error with elm

 
Jeff Denson
New Member

Error with elm

I started recieving the following error when trying to access elm:
Segment Violation signal!

I checked the knowledgbase, but I wasn't clear on what caused the problem or how to resolve it.

I had issued the hostname command from the root login prior to the problem occurring.

Thanks,
Jeff
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Error with elm

Shalom,

You don't tell your distribution. Try yumming the box or installing a different version of elm. Also, see if the system has memory fragmentation/shortage issues.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Robert-Jan Goossens
Honored Contributor

Re: Error with elm

Hi Jeff,

could you post your /etc/nsswitch.conf file and the output of;

# nslookup your_server_name
# nslookup ip_of_your_server

Regards,
Robert-Jan
Jeff Denson
New Member

Re: Error with elm

Below is a copy of my nsswitch.conf file:

/etc - root> cat nsswitch.conf
hosts: files [NOTFOUND=return UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=con
tinue TRYAGAIN=continue] nis [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
/etc - root>

I have looked at the default nsswitch.conf and it is similar, but organized.

My system is an HPUX

HP-UX erhpux B.11.00 A 9000/800 155901547 two-user license

/etc - root> nslookup erhpux
Using /etc/hosts on: -a

looking up FILES
Name: erhpux
Address: 10.10.10.105
Aliases: ERHPUX

It was working fine yesterday morning and the past 7 years. What could have cuased it to stop. Also I am accessing the server from a telnet screen. When I login as any user and type the elm command the screen does not scroll properly once the error occurs. The screen then locks up and I have to end the session.
Jeff Denson
New Member

Re: Error with elm

I am posting the output from the two commands you requested.

/etc - root> nslookup erhpux
Using /etc/hosts on: -a

looking up FILES
Name: erhpux
Address: 10.10.10.105
Aliases: ERHPUX

/etc - root> nslookup 10.10.10.105
Using /etc/hosts on: -a

looking up FILES
Name: erhpux
Address: 10.10.10.105
Aliases: ERHPUX

/etc - root>
Jeff Denson
New Member

Re: Error with elm

Thanks for everyone's help. I resolved the issue by typing the hostname command and the reply back was a "-a". I then remembered issuing the "hostname -a" command not realizing I was setting the hostname to -a. I had realy ment to use the uname -a command, but got confused. I have reset the hostname by issueing the command "hostname erhpux". This reset the hostname to the name of the server and now the elm command works correctly.

Thanks,
Jeff
Robert-Jan Goossens
Honored Contributor

Re: Error with elm

Using /etc/hosts on: -a <---

-a as a hostname?

could you check the the hostname of your server?

# uname -a

Regards,
Robert-Jan