/Installation/OS Specific Notes/Installing Amanda on FreeBSD: Difference between revisions
(Copied from Installation) |
m (Installing Amanda on FreeBSD moved to /Installation/OS Specific Notes/Installing Amanda on FreeBSD) |
(No difference)
|
Latest revision as of 00:15, 1 June 2007
FreeBSD 3.0
chg-scsi was not updated to support the new camlib.h-dependent chio.h, so chg-scsi will be automatically disabled if camlib.h is found. You may use chg-chio instead.
FreeBSD 4.7
Found this in the amanda list archives. Was regarding FreeBSD 4.11, but worked on my 4.7.
Re: amanda 2.5.1 doesn't compile on FreeBSD 4.11 - atoll
Error:
.libs/amandad amandad.o ./.libs/libamandad.so ../common-src/.libs/libamanda.so -lm -lreadline -ltermcap -lcam ../common-src/.libs/libamanda.so: undefined reference to `atoll' *** Error code 1 Stop in /usr/local/src/amanda/amandad-src. *** Error code 1
Solution:
1.Edit ./common-src/amanda.h file and modify this line: Old line: # define OFF_T_ATOI (off_t)atoll New line: # define OFF_T_ATOI (off_t)atol 2. run autogen 3. run configure 4. run make
This issue will be fixed in 2.5.1p2 release and post-2.5.1 releases.
FreeBSD 4.9
Sep. 28th, 2004: Jason Miller <[email protected]> reported problems with setting up the AMANDA-client on FreeBSD 4.9. He wrote:
Due to the need for read permissions for AMANDA-client the default user and group for this on FreeBSD 4.9 is "operator:operator" which I found a write up on that as well. Just a note the port wanted to install it with these user permissions by default and I initially changed them to match my Redhat 9.0 install. So just doing a make distclean uninstall install AMANDA_SERVER=servername
fixed that for me. Then I just followed the below instructions and everything was good to go.
Refer to this link for more details: http://www.freebsd.org/cgi/query-pr.cgi?pr=59302.
FreeBSD 5.1
Nicolas Ecarnot <[email protected]> discovered that for FreeBSD 5.1 (maybe earlier, and surely further), you have to set the net.inet.udp.maxdgram TCP/IP variable to 65535. The default is 9216, and this is a problem when trying to backup a large number of clients as indicated by errors in during amcheck or the estimate phase.
You can just run the command:
sysctl net.inet.udp.maxdgram=63535
but this won't last until the next reboot.
To make it permanent, just add this line:
net.inet.udp.maxdgram=65535
in the file /etc/sysctl.conf.