- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/services
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-17-2006 10:20 PM
04-17-2006 10:20 PM
/etc/services
I need to add portnumber 5555 in /etc/services file.After adding the line should i restart any daemon
rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 10:33 PM
04-17-2006 10:33 PM
Re: /etc/services
Normally you would not need to restart the daemon.
As far as what daemon, you would need to know what service/daemon you are trying to enable.
It can't hurt to stop/start the daemon.
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-17-2006 10:38 PM
04-17-2006 10:38 PM
Re: /etc/services
The /etc/services file is used to keep the entries of the ports used on the system so as to directly co-relate a particular port number to a service for an application. This is more like a look-up or reference file rather than a configuration file, hence you can do away without restarting the service.
Hope this clarifies,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 10:44 PM
04-17-2006 10:44 PM
Re: /etc/services
Direct answer to the question is "NO". But it all depend on this port is used for which application or what daemon. /etc/services file will keep all the port numbers and applications or processes will pick this information when they are initiated. So in brief, If you want any process to pick up this new port number, then you may need to restart that.
Regards
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2006 03:54 AM
04-18-2006 03:54 AM
Re: /etc/services
if you use NIS for name resolution
(check via
grep services /etc/nsswitch.conf
) , you must rebuild the corresponding maps (services.byservicename, services.byname).
A restart of any service is not required - the name-to-port resolution is done when getservbyname() (or similar) ist called by your application program.
mfG Peter