Sponsored Content
Operating Systems Linux Red Hat Restart of services if port no is changed in /etc/services in RHEL Post 302794947 by Sod on Wednesday 17th of April 2013 03:50:25 AM
Old 04-17-2013
Yes, look for the port 443 entries and alter to the desired port. Always keep a conf backup before any changes.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

services

I have an application service running on an AIX server Client application is able to connect to the server machine. Strange thing is when i do "netstat -a | grep servicename" I get no output but when i do "ps -ef | grep service name", I am able to see the service running I... (1 Reply)
Discussion started by: bryan
1 Replies

2. AIX

how to check status of various services and port?

How can i check which service is activated on my AIX Box? how one can check particular port is open or not (like ftp/telnet port)? I dont have admin rights (1 Reply)
Discussion started by: ashish4422
1 Replies

3. Solaris

etc/services

Need help from the unix admins out there. I am trying to telnet from a windoze machine to a sun machine. It won't let me connect. I looked at etc/services and I found the port that telnet was listening on. But, how can I tell if its actually up and available? is there a unix command I can issue?... (15 Replies)
Discussion started by: Harleyrci
15 Replies

4. UNIX for Advanced & Expert Users

Opinion on auto-restart of failed apps/services

I'm becoming a dying breed where I work. More and more sys admins are advocating automatically restarting failed services such as tomcat, jboss, etc. I've always been against doing this except with buggy apps that can't be fixed or avoided. My main argument is that I feel it's a trick used by... (9 Replies)
Discussion started by: mglenney
9 Replies

5. AIX

problem to restart services from /etc/inittab in AIX6.1

hello, i have an AIX6.1.7.2 machine that it was upgraded recently from AIX5.3.9.4. when i kill system services that should restart automatically like /usr/sbin/cron it doesnt start. i checked my /etc/inittab file and i confirmed that this service is in respawn status so when i kill this process... (2 Replies)
Discussion started by: omonoiatis9
2 Replies

6. Ubuntu

what port number is used for SSH communication and HTTPS services

I am trying to find out what port number is used for SSH communication and HTTPS services in my Ubuntu OS. Thank you, Crim (1 Reply)
Discussion started by: crimputt
1 Replies

7. Shell Programming and Scripting

Need script to restart the services

Hi Guys, I need bash script to restart the service. 1. Disable the service called SASM svcadm disable sasm 2. if service went to maintenance mode then it shuld clear it with below command svcadm clear sasm 3.or else it should restart the mysql service /etc/init.d/mysql stop... (1 Reply)
Discussion started by: bapu1981
1 Replies

8. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

9. SuSE

Fetch port services from LDAP server

Hi, We have a ldap server configured with services (port) and want to know how to fetch that to the ldap clients: # cat /etc/nsswitch.conf|grep -i services services: files sss (neither sss nor ldap works) by doing "#getent services" I am getting only the result from /etc/services but I... (1 Reply)
Discussion started by: Sridaran
1 Replies

10. Debian

How do i correct restart network-services in Debian?

Hello, I would like to do follow steps. Set a static IP-Adress on eth0 (For Testing) Set DHCP on eth0 All steps should be done without a single reboot. /etc/network/interfaces iface eth0 inet static address 192.0.2.7/24 gateway 192.0.2.254How do i perform... (3 Replies)
Discussion started by: int3g3r
3 Replies
BACKUP_ADDHOST(8)					       AFS Command Reference						 BACKUP_ADDHOST(8)

NAME
backup_addhost - Adds a Tape Coordinator entry to the Backup Database SYNOPSIS
backup addhost -tapehost <tape machine name> [-portoffset <TC port offset>] [-localauth] [-cell <cell name>] [-help] backup addh -t <tape machine name> [-p <TC port offset>] [-l] [-c <cell name>] [-h] DESCRIPTION
The backup addhost command creates a Tape Coordinator entry in the Backup Database. The entry records o The host name of the Tape Coordinator machine where the Tape Coordinator (butc) process runs, as specified with the -tapehost argument. o The Tape Coordinator's port offset number, as specified with the -portoffset argument. An entry for the port offset must also appear in the /var/lib/openafs/backup/tapeconfig file on the Tape Coordinator machine, where it is mapped to a UNIX device name (for a tape device) or pathname (for a backup data file). Each Tape Coordinator must have its own port offset number, and the command fails if a Backup Database entry already exists for the requested port offset number. To display existing Tape Coordinator entries, use the backup listhosts command. OPTIONS
-tapehost <tape machine name> Specifies the fully-qualified hostname of the machine for which to create a Tape Coordinator entry in the Backup Database. The machine must have an entry in either the cell's naming service (such as the Domain Name Service) or the host file (/etc/hosts or equivalent) on the machine where the command is issued. -portoffset <TC port offset> Specifies the Tape Coordinator's port offset number. Provide an integer from the range 0 through 58510, or omit this argument to use the default value of 0 (zero). The value must match the port offset number recorded for the same combination of Tape Coordinator and tape device or file in the /var/lib/openafs/backup/tapeconfig file on the Tape Coordinator machine named by the -tapehost argument. -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more details, see backup(8). -cell <cell name> Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see backup(8). -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command creates an entry in the Backup Database that assigns port offset number 4 to a Tape Coordinator running on the machine "backup1.abc.com": % backup addhost -tapehost backup1.abc.com -portoffset 4 The following command creates a Backup Database entry that assigns port offset number 0 to a Tape Coordinator on the machine "backup3.abc.com": % backup addhost backup3.abc.com PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running, or must be logged onto a server machine as the local superuser "root" if the -localauth flag is included. SEE ALSO
backup(8), backup_delhost(8), backup_listhosts(8) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 BACKUP_ADDHOST(8)
All times are GMT -4. The time now is 04:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy