Discussion:
[EON] afpd not started at boot
tommy Svensson
2011-08-28 18:26:28 UTC
Permalink
Hi!

I have installed afp into /<mypool>/afp
and uncommented the two related lines in /mnt/eon0/.exec
But it still wont start after a reboot.
I have to manualy ssh into the box and run "/usr/afp/sbin/afpd -F /usr/afp/etc/netatalk/afpd.conf" myself. Then it works great!
But its somewhat tedious.

Is there anyway to figureout what is hapening when .exec runs? Like log output to file.

BRs
Tommy Svensson
--
This message posted from opensolaris.org
Andre Lue
2011-09-21 02:38:20 UTC
Permalink
Hi Tommy,

If it is not working on a reboot, I would suspect the zpool is not mounted, causing /usr/afp/etc/netatalk/afpd.conf or the binary to fail the execution test. I have never seen this nor have I been able to reproduce it.

Did you possibly move the afpd command before the pool mount in .exec?

You can try adding the following to the end of the afp line. This will capture the error or output at runtime to /tmp/out
command_line > /tmp/out 2>&1
--
This message posted from opensolaris.org
Loading...