Sponsored Content
Full Discussion: Dedicated Server Move
Special Forums IP Networking Dedicated Server Move Post 302331948 by Scott on Tuesday 7th of July 2009 03:46:26 PM
Old 07-07-2009
ifconfig is not persistent, so forget that!

Did you also change netmasks, defaultrouter, ipnodes, etc? (you didn't mention which OS you were using).
 

6 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Dedicated Server - Linux Mirror

Hi guys. I am gonna buy a dedicated server and make it a public mirror for some distributions. but how much RAM, Hard Disk, Band Width, ... will suffice? It will be a mirror for CentOS and Ubuntu both. (3 Replies)
Discussion started by: majid.merkava
3 Replies

2. UNIX for Advanced & Expert Users

How to optimize apache and mysql on my dedicated server?

Hi, Any one please suggest me the best mysql, apache settings for the given below scenario. My Server config: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz 8GB RAM 300GB HDD Website: It's a famous wordpress blog Mysql DB size: 235MB Expectations: Server should be handle 600+ concurrent... (0 Replies)
Discussion started by: chandranjoy
0 Replies

3. Linux

ipcheck problem in my dedicated server

Dear Friends, We have a 4 dedicated servers. All are working but the thing is one server is not working. when i go to network tools and after i enter my host domain i cant able to ping. it is showing host not found. But remaining servers are working. I terminate my account and re-again create... (4 Replies)
Discussion started by: mastansaheb
4 Replies

4. Emergency UNIX and Linux Support

New centos dedicated server - cant get mysql working

Hi all, I installed centos 5, with LAMP. httpd is working fine, ssh, ftp all working ok. But, when I try to use mysql its not, when I give the command mysql I get ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (4 Replies)
Discussion started by: lawstudent
4 Replies

5. Ubuntu

Vmware Citrix Xenn virtualization on dedicated server

hi, I am newbie and I think I am trying to bit off more than I could chew in this field. I would like to know if virtualization with Vmware Citrix on a dedicated server under ubuntu 64bit is simple. I looked up in the board with keyword "virtualization, vmware, dedicated" but replied threads are... (2 Replies)
Discussion started by: baris35
2 Replies

6. UNIX for Dummies Questions & Answers

Add new smtp to my dedicated server

Hi there, I have a dedicated server that sends mail with own smtp (obviously). On this server I have a web platform for music artists that allows entries for each enrollment and sends confirmation e-mails and so on ... Now I have purchased a service smtp (like those of smtp.com) because I... (3 Replies)
Discussion started by: colorsthink
3 Replies
XAddHosts()															       XAddHosts()

Name
  XAddHosts - add multiple hosts to the access control list.

Synopsis
  XAddHosts(display, hosts, num_hosts)
	Display *display;
	XHostAddress *hosts;
	int num_hosts;

Arguments
  display   Specifies a connection to an X server; returned from XOpenDisplay().

  hosts     Specifies each host that is to be added.

  num_hosts Specifies the number of hosts that are to be added.

Description
  XAddHosts()  adds  each specified host to the access control list for the server specified by display.  The access control list is a primi-
  tive security feature that allows access to the server only by other machines listed in a file on the machine running the server.  On  UNIX
  systems, this file is /etc/X?.hosts, where ? is the number of the display.

  The application that calls XAddHosts() and the server whose list is being updated must be running on the same host machine.

  The  address	data must be a valid address for the type of network in which the server operates, as specified by the family member.  Inter-
  net, DECnet and ChaosNet networks are currently supported.

  For TCP/IP, the address should be in network byte order.  For the DECnet family, the server performs no automatic swapping on  the  address
  bytes.   A  Phase  IV  address is two bytes long.  The first byte contains the least significant eight bits of the node number.  The second
  byte contains the most significant two bits of the node number in the least significant two bits of the byte, and the area in the most sig-
  nificant six bits of the byte.

  For more information on access control, see Volume One, Chapter 15, Other Programming Techniques.

Structures
     typedef struct {
	 int family;	       /* for example Family Internet */
	 int length;	       /* length of address, in bytes */
	 char *address;        /* pointer to where to find the bytes */
     } XHostAddress;

     /* The following constants for family member */
     #define FamilyInternet	  0
     #define FamilyDECnet	  1
     #define FamilyChaos	  2

Errors
  BadAccess
  BadValue

See Also
  XAddHost(), XDisableAccessControl(), XEnableAccessControl(), XListHosts(), XRemoveHost(), XRemoveHosts(), XSetAccessControl().

Xlib - Host Access														       XAddHosts()
All times are GMT -4. The time now is 06:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy