Sponsored Content
Full Discussion: Enabling services.
Operating Systems Linux Red Hat Enabling services. Post 302843670 by maverick_here on Wednesday 14th of August 2013 10:59:54 AM
Old 08-14-2013
First, why would you want to do so.Given, the servers are identical in terms of services they have then use rsync to copy over the following directories from server A to server B

Code:
/etc/rc3.d/
/etc/rc5.d/
etc/rc.local ( is a file, just in case copy it over)

Once the copy is done reboot the serverB. They should have the same services as server A.
 

9 More Discussions You Might Find Interesting

1. Programming

Enabling Far in GCC

hello, i want to enable far in gcc, how to enable this. pls reply back thanx in advance. svh (1 Reply)
Discussion started by: svh
1 Replies

2. UNIX for Dummies Questions & Answers

enabling TFTP

ive been trying to enable a tftp service on a unix box using the command atftpd --daemon but when i scan the open ports using nmap it doesnt show that port 21 as up does anyone know the reason... ive tried /etc/init.d/atftpd start , it didnt work if i type atftpd by it self it gives me a set... (2 Replies)
Discussion started by: ratamahatta
2 Replies

3. AIX

Enabling 64 bit

Hi, I am having some issues installing Oracle 10G Release 2 on my AIX 5.2L box. Here is what i do: 1- Extract the 10gr2 64bit cpio file using cpio -icdmv < install_file.cpio 2- Once the file is extracted, i run the rootpre.sh file. I got no error message so far everything is fine 3-... (3 Replies)
Discussion started by: Netghost
3 Replies

4. Cybersecurity

Enabling C2 audit

hey guys, im going to enable C2 auditing on a sun box, i know how to do it, but im just wondering if there are any issues or problems that i may run into. this will be my first major change (since i have to reset the box) since i joined this company and i dont really wanna kill their servers, so... (2 Replies)
Discussion started by: roguekitton
2 Replies

5. UNIX for Dummies Questions & Answers

Help with enabling ports.

Hi All, How to enable or disable a port in solaris 10. Thanks in advance.:) (3 Replies)
Discussion started by: rama krishna
3 Replies

6. Shell Programming and Scripting

enabling telnet

dear all , Regrettably I need to enable telnet for a single user on a unix machine , Everyone else will have to use ssh. what do i have to configure and how so i can restrict which users may login via the telnet server? Double post. (0 Replies)
Discussion started by: semaan
0 Replies

7. Red Hat

XWindow is not enabling !!!

Dear Experts, Our system admin is struggling over a month with an issue regarding xwindow. RHEL 5.4 is our server OS. whenever I export Display with my machine IP and run xclock. It is not working. We are using DHCP. Please tell me what checks and actions should be taken from our sys admin point... (8 Replies)
Discussion started by: saifurshaon
8 Replies

8. Red Hat

Restart of services if port no is changed in /etc/services in RHEL

I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed. I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed. Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies

9. 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
SERVICES_MKDB(8)					    BSD System Manager's Manual 					  SERVICES_MKDB(8)

NAME
services_mkdb -- generate the services database SYNOPSIS
services_mkdb [-b | -l] [-q] [-o database] [file] services_mkdb -u [file] DESCRIPTION
The services_mkdb utility creates a db(3) database for the specified file. If no file is specified, then /etc/services is used. The data- base is installed into /var/db/services.db. The file must be in the correct format (see services(5)). The options are as follows: -b Use big-endian byte order for database metadata. -l Use little-endian byte order for database metadata. -o database Put the output databases in the named file. -q Do not warn about duplicate services. -u Print the services file to stdout, omitting duplicate entries and comments. The databases are used by the C library services routines (see The -b and -l flags are mutually exclusive. The default byte ordering is the current host order. getservent(3)). FILES
/var/db/services.db The current services database. /var/db/services.db.tmp A temporary file. /etc/services The current services file. EXIT STATUS
The services_mkdb utility exits 0 on success, and >0 if an error occurs. SEE ALSO
db(3), getservent(3), services(5) BUGS
Because services_mkdb guarantees not to install a partial destination file it must build a temporary file in the same file system and if suc- cessful use rename(2) to install over the destination file. If services_mkdb fails it will leave the previous version of the destination file intact. BSD
April 4, 2010 BSD
All times are GMT -4. The time now is 07:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy