/etc/inetd.conf
. Also, make sure that you don't have a BOOTP process running (for example, ps -ef | grep bootp).
xjoin
GUI.
winipcfg
utility. The winipcfg
utility allows you to examine lease information such as the leased IP address, netmask, default gateway, expiration time, renewal time, and so on. You can also use it to manually renew or release an address.For Windows NT, use the
ipconfig
utility. You can get DHCP information by executing the command ipconfig /all in a DOS-box.
netmasks
, server.pcy
, dhcptags
and dhcpcap
files to the new server.
nets
and namepool
files to the new server. Modify them by replacing references to the old server with references to the new server. If you used Server A's IP address, change it to Server Z's IP address. If you used Server A's hostname, change it to Server Z's hostname.
db*.hsh
and db*.btr
database files, if they exist.
dbf.btr
and dbj.hsh
database files to the new server.
temp
file and replace all references to the old server's IP address with references to the new server's IP address.
temp
file to the new server, and re-create the database:
# jdbmod temp_file
After performing the above steps, you can only run one of the two servers. The two servers MUST NOT run concurrently.
How do I get the server to re-initialize without stopping the server?
If you use the xjoin
GUI to configure the server, the changes take effect immediately. However, if you manually modify the configuration files (i.e., dhcpcap
, nets
, etc.), you may need to notify the server of the changes. You can force the server to re-initialize by sending it a HUP signal:
# kill -HUP <pid-of-joind>
What sort of "signals" can I send to the server?
The joind
process accepts three UNIX signals that you can send via the kill command.
Signal | Description |
---|---|
HUP | Re-initialize the server |
USR1 | Flush all cached information to the disk. If the parameter, "Auto Sychronize Database" is set to True, there is no need to send this signal to the server. The server will automatically write lease information to the disk after each transaction. |
USR2 | Re-initialize the FLEXlm license database. This will force the server to acquire the license for all active leases only. License for all expired leases will be relinquished. Typically, you do not need to send this signal to the server. By default, the server will re-initialize the FLEXlm license database every hour. However, you can use this signal to force the server to re-initialize FLEXlm licenses at any time. |
joind
server.
# jdbdump > temp_file
db
*). If you are using the "Restrict to Known MAC address" feature, you need to preserve database J (dbj.hsh
).
# jdbmod temp_file
You may ignore the warning messages about expired leases not added to the database. When it is done, a new set of database files will be created with only the active leases.
joind
server.
If you really want to empty out the database, you can do the following:
joind
server.
# jdbdump | jdbmod -d
rwlock
*). Whenever the server comes up, it checks to see if these files exist. If they exist that means someone else is trying to access these files. The server will then display the above message to let the user know that exclusive access to these files is possible.This condition can occur if the server is terminated without a graceful shutdown. These are some of the possible causes for an ungraceful shutdown:
To restart the server, simply remove all
rwlock
* files from the database directory (default: /var/join
) and run joind
again. What is the meaning of the message, "mask %s on interface %s disagrees with netmasks database %s"?
This warning message typically signals that there is an error in the netmasks
file. The first netmask value describes the netmask that is configured for the interface using the ifconfig command. The second netmask value is what the server thinks should be the correct netmask for that interface based on information from the netmasks
file. To correct this problem, make sure that your netmasks
file describe the proper netmasks for the interface.