Appendix B. Error Messages

This appendix lists and explains the error messages that the Network Load Balancing Software prints to the console. Most of the messages refer to SIOCSLSCONF, the ioctl used to configure load-balancing devices.

lbn: link failure detected on attached interface if.

The Network Load Balancing device n has detected that the link if has failed.

lbn: All links have failed or been disabled.

The Network Load Balancing device n has detected the failure of the last configured link, or the last link has been administratively disabled.

lbn: link recovery for attached interface if.

The Network Load Balancing device n has detected that the link if has recovered (packets have been received on it).

Network load balancing failure detection daemon exiting.

The Network Load Balancing failure detection daemon is exiting, as it normally does when the system is shut down or rebooted. Occurrences of this message at times other than system shutdown or reboot indicate a problem.

SIOCSLSCONF enable/disable: lbn not configured.

An attempt has been made to enable or disable an interface on a load-balancing device that has not been configured.

SIOCSLSCONF enable/disable lbn: invalid device count k.

The number of interfaces specified when enabling or disabling an interface on load-balancing device n was less than 1 or greater than MAX_INTERFACES as specified in /usr/include/sys/if_lb.h. The value given was k.

SIOCSLSCONF enable/disable lbn: bad device list, length k, error err.

The device list passed to the load-balancing configuration ioctl SIOCSLSCONF for enabling or disabling an interface on load-balancing device n could not be copied from user space. The length of the list is k. The error number for the error that occurred during the copy is err.

SIOCSLSCONF enable/disable lbn: NULL device name, device k.

The number of entries in the list of devices to be enabled or disabled for the load-balancing device n was less than the number specified in the configuration structure supplied to the SIOCSLSCONF ioctl.

SIOCSLSCONF enable/disable lbn: unit name not found.

The network device whose name is name could not be enabled or disabled on load-balancing device n because it does not exist.

SIOCSLSCONF enable/disable lbn: unit name not configured.

The unit name could not be enabled or disabled on load-balancing device n because it is not attached to that device.

SIOCSLSCONF: lbn must be down for reconfiguration.

An attempt was made to reconfigure the load-balancing device n before the device was taken down via ifconfig.

SIOCSLSCONF: lbn: invalid device count k 

The number of interfaces specified when load-balancing device n was configured was less than 1 or greater than MAX_INTERFACES as specified in /usr/include/sys/if_lb.h. The value given was k.

SIOCSLSCONF: lbn: bad device list, length k, error err 

The device list passed to the load-balancing configuration ioctl SIOCSLSCONF for load-balancing device n could not be copied from user space. The length of the list is k. The error number for the error that occurred during the copy is err.

SIOCSLSCONF: lbn: NULL device name, device k 

The number of entries in the list of devices to be attached to the load-balancing device n was less than the number specified in the configuration structure supplied to the SIOCSLSCONF ioctl.

SIOCSLSCONF: lbn: unit name not found.

The network device whose name is name could not be attached to load-balancing device n because it does not exist.

SIOCSLSCONF: lbn: unit name has no primary address.

Every network device must have a primary IP address, which must be assigned before the load-balancing device is configured.

n indicates the load-balancing device being configured when the error was detected. The offending device's name is name.

SIOCSLSCONF: lbn: unit name has an invalid subnet mask x.

All network devices to be attached to a load-balancing device must have the subnet mask 0xffffffff, which must be set before the load -balancing device is configured.

n indicates the load-balancing device being configured when the error was detected. The offending device's name is name.

SIOCSLSCONF: lbn: unit name error err setting flags.

This error was encountered when attempting to set the device flags for a device being attached to a load-balancing device.

n indicates the load-balancing device being configured when the error was detected. The offending device's name is name.

SIOCSLSCONF: lbn: the units are not all of the same type.

All network devices attached to a load-balancing device must be of the same type: 10-Base-T, 100-Base-T, or gigabit Ethernet.

n indicates the load-balancing device being configured when the error was detected.

SIOCSLSCONF: unable to start lbn, error err.

Error err was encountered when attempting to start load-balancing device n.

Unable to allocate load balancing device data.

The kernel had insufficient memory available to allocate the data structures required by the load-balancing devices.