What should I do when I want to add lines of duplicated port to /etc/services?

Solution Verified - Updated -

Issue

  • I'd like to install a third party software on our server. The software requests to add lines like below on /etc/services.

    netmdm    30000/tcp # NETM/DM
    netmdmw   30001/tcp # NETM/DM
    netmdmclt 30002/tcp # NETM/DM
    netmdmclt 30002/udp # NETM/DM
    
  • However, these ports has already used by 'pago-services'.

    # grep 3000[0-9] /etc/services
    pago-services1  30001/tcp                       # Pago Services 1
    pago-services1  30001/udp                       # Pago Services 1
    pago-services2  30002/tcp                       # Pago Services 2
    pago-services2  30002/udp                       # Pago Services 2
    
  • I'd like to remove 'pago-services' lines if it would be safe.

Environment

  • Red Hat Enterprise Linux 5.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content