- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Xserver mystery link in reflections Unix xterm...
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
04-03-2003 06:28 AM
04-03-2003 06:28 AM
The problem is that when Server2 is down, folks can't connect to Unix application on Server1. As soon as Server2 boots up, folks' window for the app on Server1 appears. I'm sure this isn't magic, but that's about all I'm sure of!
I'm about to agree some downtime with users regarding Server2 so I can duplicate and troubleshoot the problem, but would appreciate any help that you would kindly offer.
The command that is not running looks like:
"C:\Program Files\Reflection\Rx.exe" -nfcs -nc -ns c:\reflection\app1.rxc
where app1.rxc contains:
Host=Server1r.domain.co.uk
Method=RLOGIN
/usr/bin/X11/xauth add %IP#% %C%,0,1
export DISPLAY=%IP#%;logon,0,1
However, I'm pretty ignorant about what files/processes are involved with making the X stuff work (or not work when Server2 is down). Is there some XServer broadcast which Server2 is providing? Whatever Server2 is doing, I should be able to configure Server1 to do it and get rid of our dodgy dependency.
thanx in advance for any/all help (points forthcoming!)
-Kevin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 06:37 AM
04-03-2003 06:37 AM
Re: Xserver mystery link in reflections Unix xterm failure
or .dtprofile
Probabaly set to the second server so when its down the application fails.
Go through the profiles or startup scripts for the application and I am very confident you will find this problem.
Take it from a guy who's done that to himself a few times, once with Ignite.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 06:37 AM
04-03-2003 06:37 AM
Re: Xserver mystery link in reflections Unix xterm failure
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 06:43 AM
04-03-2003 06:43 AM
Re: Xserver mystery link in reflections Unix xterm failure
If it is X then
/var/dt/Xerrors and $HOME/.dt/startlog should give a clue.
I think NFS is most likely and a misplaced DISPLAY or server 2 as fontserver are possible.
Check your logs.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 06:52 AM
04-03-2003 06:52 AM
Re: Xserver mystery link in reflections Unix xterm failure
My best guess is along the lines of what Pete suggested. If your Home Dir's are NFS served from server2 and automounted on server1, I believe that server1 logins will hang until return of the NFS server.
Hope this helps.
Regards,
Stephen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 07:09 AM
04-03-2003 07:09 AM
SolutionYour application requires hp fonts and ReflectionX has been setup to get them from server2.
Advise check a) if xfs is running on server2
b) check the font paths with RX ->settings->Fonts->Subdirs & font servers ... do you see server2 ip or hostname listed.
c) check RX's log file and/or setup a client trace see RX->Tools
ps If this is the case check man xfs you can configure xfs to fall back on a secondary fontserver by means of it's config file .... I can provide details if need be
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 07:10 AM
04-03-2003 07:10 AM
Re: Xserver mystery link in reflections Unix xterm failure
I'm attaching $HOME/startlog, but doing a grep -i font from the files it mentions gave me nothing (either from Server1 or Server2). Besides, the startlog file hasn't been modified since 1999.
p.s. The DISPLAY variable is fine. It gets set via the Reflections command and works fine.
I did see:
Apr 3 09:47:07 jaguar inetd[626]: auth/tcp: Exit status 1
in the syslog
but the rlogin entry on both servers are the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 07:17 AM
04-03-2003 07:17 AM
Re: Xserver mystery link in reflections Unix xterm failure
ps I'd prefer a new car rather than a rabbit ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2003 02:21 AM
04-04-2003 02:21 AM
Re: Xserver mystery link in reflections Unix xterm failure
root@> ./omnidbcheck
Check Level Mode Status
==============================================
Core -core OK
Filenames -filenames OK
DCBF(presence and size) -bf OK
DONE!
I'm poking around the Reflections files now, but it must be a different version because I've not found the same things as mentioned above. I have Start > Programs > Reflections:
Utilities > Ping, .. XFont Compiler, X Protocol Trace & Replay
and
Wizards
FTP Clients
Hosts Unix & Digital
Reflections X
I'll keep looking at Reflections for something pointing to Server2 instead of Server1 or a setting saying "broadcast" for Font server. I'll also look into the xfs settings of Server1 and Server2. So far they both look to be running with same parameters, but I'll dig further.
Alex, I'd love to give you enough points to get a jag, how many does it take? (I work for a pharma company, but I don't get discounts on pills either).
(^;
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2003 03:10 AM
04-04-2003 03:10 AM
Re: Xserver mystery link in reflections Unix xterm failure
======
Both Server1 and Server2 are running xfs with the same settings:
root@Server2:/> ps -elf | grep xfs
1 S root 973 1 0 154 20 47b1700 313 49ea0c Apr 2 ? 0
:00 /usr/bin/X11/xfs -port 7000 -daemon -quiet_if_addrinuse
root@Server1:/> ps -elf | grep xfs
1 S root 734 1 0 154 20 6751f00 313 5a300c Mar 29 ? 0
:00 /usr/bin/X11/xfs -port 7000 -daemon -quiet_if_addrinuse
Also, the config files for these are the same:
# Installed at /etc/rc.config.d/xfs
#
RUN_X_FONT_SERVER=1
plus the port settings in services and output from netstat -na looks the same too:
root@Server2:/> netstat -na | grep 7000| grep LIST
tcp 0 0 *.7000 *.* LISTEN
root@Server2:/> cat /etc/services | grep 7000
# The X11 font server listens on port 7000.
Reflections
============
I've got a tracefile of a session connecting to the App via Reflections. It's a huge file, and has loads of registry settings and hex-y looking data as well. So far searching for Font and reading thru the bits where the connection happens has not helped.
The file is JUST under the 1MB limit, so here goes uloading it....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2003 03:24 AM
04-04-2003 03:24 AM
Re: Xserver mystery link in reflections Unix xterm failure
I'll look after luch into this a bit more to see what other dependancies may exist.
Col.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2003 04:52 AM
04-04-2003 04:52 AM
Re: Xserver mystery link in reflections Unix xterm failure
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 05:43 AM
04-07-2003 05:43 AM
Re: Xserver mystery link in reflections Unix xterm failure
would do the trick, but I get an error saying, "c:\unixapp.rxc" is not a setting file" The online help and support website for Reflections has loads of information for very complex macros and vbscripts, but I can't find out the simple syntax for running my .rxc file via one command line/argument!
Colin or any other experts have any other suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 02:23 AM
04-16-2003 02:23 AM
Re: Xserver mystery link in reflections Unix xterm failure
The problematic server has:
tftp dgram udp wait root /usr/lbin/tftpd tftpd /opt/ignite /var/opt/ignite
while the server which is mysteriously serving as the "missing link" has:
tftp dgram udp wait root /usr/lbin/tftpd tftpd
I know tftp is/can be used to serve dumb terminal boot requests, but what about Xlogin stuff?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 03:00 AM
04-16-2003 03:00 AM
Re: Xserver mystery link in reflections Unix xterm failure
The point is to eliminate all the Xwindow junk and simply start a telnet connection. That gives you a 'normal' telnet window onto the remote server where you type commands. Once logged into the remote server, you can set the DISPLAY value if there are other Xwindows applications that you run after logging in.
r2win.exex has an extensive macro language capability including a very simple recorder to create auto-logins. That way, the user can simply click on a PC icon and the new window logs into the server automatically (password can be made optional). A forthcoming article in PING Magazine will outline the details. (folks in the UK should bookmark this link: http://www.hpworks.org.uk/)
I've attached the column.
Bill Hassell, sysadmin