Sponsored Content
Top Forums UNIX for Advanced & Expert Users Disable rm -rf * or rm -rf / in Cent OS Post 302830477 by zaxxon on Tuesday 9th of July 2013 02:23:07 AM
Old 07-09-2013
Split the environment. Have the code changes happen on a development server and implement some kind of checkin/transfer to bring the code to the production server.
This User Gave Thanks to zaxxon For This Post:
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Chek if a file exists in Ubuntu and Cent OS using shell script

I have tried few examples in the internet but all of them are different and none worked. I need to check if a file exists in a directory if it does not then exit . here is what I have for now $filename ="/usr/local/net/var/lib/directoryservice/sync.disable" if ; then echo "The file exists"... (2 Replies)
Discussion started by: m_kk
2 Replies

2. Linux

how to make a Cent OS package.

I am using Cent OS 5.1. It has a command "yum" to install or update new packeges from a mirror or repository. i am doing installation and configuration of Sun directory server and opensso. i have made a shell script to install and configure both. but now the need is to create a Cent OS packege,... (1 Reply)
Discussion started by: toanilsharma1
1 Replies

3. Red Hat

Installation of Web Logic9.2 on Cent OS5

Hi, Trying to install web logic 9.2 on Cent OS in the Graphical mode. After accepting the license agreement the "Complete" installation is selected.The path for installing the components is mentioned and when clicked on "Next" it hangs and is not proceeding further. Any suggestion or... (0 Replies)
Discussion started by: rajp_8007
0 Replies

4. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

5. Linux

UVFS in Cent OS

Hi, Trying to install Interwoven Teamsite in CentOs 5.4. Found issue in the first step while installing the uvfs . # gmake /usr/bin/gcc -g -O3 -Wall -I. -c -o uvfs_signal.o uvfs_signal.cc gcc: error trying to exec 'cc1plus': execvp: No such file or directory gmake: *** Error 1 # ... (2 Replies)
Discussion started by: rajarshiroy77
2 Replies

6. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

7. Red Hat

AD Intergration with Cent OS 6

Hello, I am integration AD authentication to Cent OS 6 servers. I am running to this error when I tried to join with AD server. error message : # net ads join -U 504783 Host is not configured as a member server. Invalid configuration. Exiting.... Failed to join domain: This... (0 Replies)
Discussion started by: bobby320
0 Replies

8. Red Hat

How to Find all the SSL certs on a give host Cent OS

Hi I am trying to find all the ssl certs installed/located on cent os Host , Please help . (1 Reply)
Discussion started by: smartguyz2012
1 Replies

9. Linux

Add persistent route in cent os 6.5

Hi , I have cent os 6.5 and am trying to make few routes permanent for bond: i have added two routes using below two commands : /sbin/route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.59.160.128 /sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 49.44.52.90 post which route command output is... (5 Replies)
Discussion started by: omkar.jadhav
5 Replies
ARES_SEARCH(3)						     Library Functions Manual						    ARES_SEARCH(3)

NAME
ares_search - Initiate a DNS query with domain search SYNOPSIS
#include <ares.h> typedef void (*ares_callback)(void *arg, int status, int timeouts, unsigned char *abuf, int alen) void ares_search(ares_channel channel, const char *name, int dnsclass, int type, ares_callback callback, void *arg) DESCRIPTION
The ares_search function initiates a series of single-question DNS queries on the name service channel identified by channel, using the channel's search domains as well as a host alias file given by the HOSTALIAS environment variable. The parameter name gives the alias name or the base of the query name as a NUL-terminated C string of period-separated labels; if it ends with a period, the channel's search domains will not be used. Periods and backslashes within a label must be escaped with a backslash. The parameters dnsclass and type give the class and type of the query using the values defined in <arpa/nameser.h>. When the query sequence is complete or has failed, the ares library will invoke callback. Completion or failure of the query sequence may happen immediately, or may happen during a later call to ares_process(3) or ares_destroy(3). The callback argument arg is copied from the ares_search argument arg. The callback argument status indicates whether the query sequence ended with a successful query and, if not, how the query sequence failed. It may have any of the following values: ARES_SUCCESS A query completed successfully. ARES_ENODATA No query completed successfully; when the query was tried without a search domain appended, a response was returned with no answers. ARES_EFORMERR A query completed but the server claimed that the query was malformatted. ARES_ESERVFAIL No query completed successfully; when the query was tried without a search domain appended, the server claimed to have experienced a failure. (This code can only occur if the ARES_FLAG_NOCHECKRESP flag was specified at channel initializa- tion time; otherwise, such responses are ignored at the ares_send(3) level.) ARES_ENOTFOUND No query completed successfully; when the query was tried without a search domain appended, the server reported that the queried-for domain name was not found. ARES_ENOTIMP A query completed but the server does not implement the operation requested by the query. (This code can only occur if the ARES_FLAG_NOCHECKRESP flag was specified at channel initialization time; otherwise, such responses are ignored at the ares_send(3) level.) ARES_EREFUSED A query completed but the server refused the query. (This code can only occur returned if the ARES_FLAG_NOCHECKRESP flag was specified at channel initialization time; otherwise, such responses are ignored at the ares_send(3) level.) ARES_TIMEOUT No name servers responded to a query within the timeout period. ARES_ECONNREFUSED No name servers could be contacted. ARES_ENOMEM Memory was exhausted. ARES_EDESTRUCTION The name service channel channel is being destroyed; the query will not be completed. The callback argument timeouts reports how many times a query timed out during the execution of the given request. If a query completed successfully, the callback argument abuf points to a result buffer of length alen. If the query did not complete suc- cessfully, abuf will usually be NULL and alen will usually be 0, but in some cases an unsuccessful query result may be placed in abuf. SEE ALSO
ares_process(3) AUTHOR
Greg Hudson, MIT Information Systems Copyright 1998 by the Massachusetts Institute of Technology. 24 July 1998 ARES_SEARCH(3)
All times are GMT -4. The time now is 02:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy