• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • The IBM i *LOOPBACK Interface Problem

    October 22, 2014 Hey, Joe

    Help! My IBM i credit card software stopped talking to our outside credit card processor. One minute it was working, and the next minute it crashed. When I restart the package, it immediately ends. What’s going on? We can’t process our orders.

    –Henry

    This is an unusual situation I’ve seen every once in a while, and it usually involves your TCP/IP setup.

    Troubleshooting The Issue

    The first thing to look at is whether all your TCP/IP interfaces are up and running, and whether anything changed with your TCP/IP setup. Before you call your software provider or IBM, check the status of your IP addresses by running the following commands on a green screen.

    1. Start the Configure TCP/IP menu by running the following Go to Menu (GO) command:

    GO CFGTCP
    

    2. Take option 1=Work with TCP/IP Interfaces. This will show you all the TCP/IP addresses on your system. Press F11=Display Interface status, and the display will show you which IP addresses are active and which IP addresses are inactive.

    Pay particular attention to any IP addresses that are inactive, especially when the 127.0.0.1 interface is inactive (the *LOOPBACK interface). The *LOOPBACK interface is a non-routable IP address that resides on most computers. It allows administrators and software packages to test and send TCP/IP commands to the host machine, without accessing the local network or the Internet.

    If *LOOPBACK is inactive, try restarting the *LOOPBACK interface and then try starting up your third-party software again to see if that solves your problem. When starting up, many software packages use the *LOOPBACK interface to check if TCP/IP is active and to perform other functions. When*LOOPBACK isn’t active, some packages will shut down or error out and the fix is to activate the *LOOPBACK interface and restart the software.

    The inactive *LOOPBACK problem matches your problem profile, where a reliable piece of software suddenly stops working and refuses to restart. I’ve seen this happen several times where *LOOPBACK goes inactive and suddenly, all kinds of third-party software stop working. If your problem isn’t the *LOOPBACK interface, then you’ll have to call IBM or your third-party provider to troubleshoot a solution.

    Author’s Note: At this point, Henry wrote back and said that he found the *LOOPBACK interface was inactive. When he reactivated *LOOPBACK, the software was able to run again.

    Determining How *LOOPBACK Was Deactivated

    When a TCP/IP interface suddenly turns off or turns on, you’ll want to determine what happened in order to prevent it from happening again. It’s easy to determine which user turned on or turned off a TCP/IP interface by looking at the job log for the QTCPWRK program.

    QTCPWRK is the TCP/IP system control job for IBM i 6.1 and above. It performs all system TCP/IP interface activations and it writes log entries each time an IP interface is started or stopped. You can find which user and job turned off your *LOOPBACK interface by going into the QTCPWRK job log and looking for the following message.

    TCP1B67 - User &7 in job &6/%5/&4 ended TCP/IP &3 interface &1
    

    Where &7 is the user name who ended your interface. The &6/&5/&4 combination is the job that ended the interface. And the &1 parameter is the IP address of the interface. You can use this information to track down the user and job that ended your *LOOPBACK interface.

    Check out this article for more information on using QTCPWRK to determine when your TCP/IP interfaces were last started or stopped.

    Stopping the *LOOPBACK interface is a somewhat rare problem but I have seen it happen on occasion. with similar results. It may or may not be the result of a rogue user. The last time I encountered this issue, it occurred because a user was trying to start an IBM i software package without proper authority. The package’s startup routine performed some checks on the *LOOPBACK interface. When the program ran an operation on *LOOPBACK without proper authority, the software errored out and left the *LOOPBACK interface in an inactive state, causing an issue.

    As I said, *LOOPBACK deactivation is rare, but possible. It’s worth adding a TCP/IP check to your troubleshooting procedures when a normally reliable package suddenly crashes.

    –Joe

    Joe Hertvik is an IBM i subject matter expert (SME) and the owner of Hertvik Business Services, a content strategy organization servicing the computer industry. Email Joe for a free quote for any upcoming projects. He also runs a data center for two companies outside Chicago, featuring multiple IBM i ERP systems. Joe is a contributing editor for IT Jungle and has written the Admin Alert column since 2002. Check out his blog where he features practical information for tech users at joehertvik.com.

    RELATED STORY

    Admin Alert: Finding TCP/IP Interface History And More On The NetServer GO Nets Installation Library



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    DRV Tech

    Get More Out of Your IBM i

    With soaring costs, operational data is more critical than ever. IBM shops need faster, easier ways to distribute IBM applications-based data to users more efficiently, no matter where they are.

    The Problem:

    For Users, IBM Data Can Be Difficult to Get To

    IBM Applications generate reports as spooled files, originally designed to be printed. Often those reports are packed together with so much data it makes them difficult to read. Add to that hardcopy is a pain to distribute. User-friendly formats like Excel and PDF are better, offering sorting, searching, and easy portability but getting IBM reports into these formats can be tricky without the right tools.

    The Solution:

    IBM i Reports can easily be converted to easy to read and share formats like Excel and PDF and Delivered by Email

    Converting IBM i, iSeries, and AS400 reports into Excel and PDF is now a lot easier with SpoolFlex software by DRV Tech.  If you or your users are still doing this manually, think how much time is wasted dragging and reformatting to make a report readable. How much time would be saved if they were automatically formatted correctly and delivered to one or multiple recipients.

    SpoolFlex converts spooled files to Excel and PDF, automatically emailing them, and saving copies to network shared folders. SpoolFlex converts complex reports to Excel, removing unwanted headers, splitting large reports out for individual recipients, and delivering to users whether they are at the office or working from home.

    Watch our 2-minute video and see DRV’s powerful SpoolFlex software can solve your file conversion challenges.

    Watch Video

    DRV Tech

    www.drvtech.com

    866.378.3366

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    BCD:  On-Demand Webinar: Deliver First-Rate IBM i Mobile Applications Quickly.
    COMMON:  Join us at the COMMON 2014 Fall Conference & Expo in Indianapolis, Oct 27-29
    LANSA:  Getting ready to build a mobile app? Webinar: October 21, 11 am CT / 1 pm ET

    More IT Jungle Resources:

    System i PTF Guide: Weekly PTF Updates
    IBM i Events Calendar: National Conferences, Local Events, and Webinars
    Breaking News: News Hot Off The Press
    TPM @ EnterpriseTech: High Performance Computing Industry News From ITJ EIC Timothy Prickett Morgan

    iBelieve Tour Returns to Europe What The IBM Chip Biz Selloff Means To IBM i Shops

    Leave a Reply Cancel reply

Volume 14, Number 24 -- October 22, 2014
THIS ISSUE SPONSORED BY:

CCSS
WorksRight Software
Shield Advanced Solutions

Table of Contents

  • SQL Functions You Didn’t Know You Had, Part 1
  • Paging Cursors
  • The IBM i *LOOPBACK Interface Problem

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle