Re: Startup tasks
On 7/11/14 12:58 AM, Ryan Schmidt wrote: On Jul 11, 2014, at 12:50 AM, Bill Christensen billc_li...@greenbuilder.com wrote: Though I've followed all the instructions presented while installing I'm getting spotty coverage on the starting of various services on reboot. For instance, Apache, MySQL55 and Mailman all start on boot up. However, though there are symlink items in /Library/LaunchDaemons for Fetchmail and PostgreSQL93 (org.macports.fetchmail.plist and org.macports.postgresql93-server.plist), and they will both start with manual commands, neither starts on boot. My current Fetchmail start command (run as a regular user) is: /opt/local/bin/fetchmail -d 500 --fetchmailrc /etc/fetchmailrc --nodetach --nosyslog Do you have MacPorts installed on a partition different from your OS X startup partition? I have noticed this problem when using such a configuration. (sorry, forgot to reply to list) No, it's all on one drive. But it is on an external drive. I don't think that should cause any problem though, do you? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Startup tasks
On Jul 11, 2014, at 2:11 AM, Bill Christensen wrote: On 7/11/14 12:58 AM, Ryan Schmidt wrote: Do you have MacPorts installed on a partition different from your OS X startup partition? I have noticed this problem when using such a configuration. No, it's all on one drive. But it is on an external drive. I don't think that should cause any problem though, do you? I don't know. In my case, the problem was that MacPorts was on a different partition than the OS X partition, which OS X hadn't deigned to mount yet by the time that it looked for launchd plists on it, so things didn't get launched at startup. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Startup tasks
On Fri, Jul 11, 2014 at 4:01 AM, Ryan Schmidt ryandes...@macports.org wrote: On Jul 11, 2014, at 2:11 AM, Bill Christensen wrote: On 7/11/14 12:58 AM, Ryan Schmidt wrote: Do you have MacPorts installed on a partition different from your OS X startup partition? I have noticed this problem when using such a configuration. No, it's all on one drive. But it is on an external drive. I don't think that should cause any problem though, do you? I don't know. In my case, the problem was that MacPorts was on a different partition than the OS X partition, which OS X hadn't deigned to mount yet by the time that it looked for launchd plists on it, so things didn't get launched at startup. Could it be the $Paths? I currently have in /etc/paths: /opt/bin /opt/sbin /opt/local/bin /opt/local/sbin /opt/local/bin/php /opt/local/apache2/bin /opt/local/lib/postgresql93/bin - not sure about this one /usr/bin /bin /usr/sbin /sbin /usr/local/bin The manual startup command for PostgreSQL is: sudo su postgres -c '/opt/local/lib/postgresql93/bin/initdb -D /opt/local/var/db/postgresql93/defaultdb' and the manual one i use for Fetchmail is /opt/local/bin/fetchmail -d 500 --fetchmailrc /etc/fetchmailrc --nodetach --nosyslog which I *think* should be covered by the paths above. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Startup tasks
Hi all, More fun in my upgrade from OS 10.8.5 to 10.9.4. Though I've followed all the instructions presented while installing I'm getting spotty coverage on the starting of various services on reboot. For instance, Apache, MySQL55 and Mailman all start on boot up. However, though there are symlink items in /Library/LaunchDaemons for Fetchmail and PostgreSQL93 (org.macports.fetchmail.plist and org.macports.postgresql93-server.plist), and they will both start with manual commands, neither starts on boot. My current Fetchmail start command (run as a regular user) is: /opt/local/bin/fetchmail -d 500 --fetchmailrc /etc/fetchmailrc --nodetach --nosyslog I've tried setting it up on Webmin so I can start it that way in a pinch (I can start PostgreSQL that way now), but even though I've set the Webmin config to run the daemon as a plain vanilla user and have chown'ed fetchmailrc to that user I'm getting: Failed to start fetchmail : fetchmail: WARNING: Running as root is discouraged. File /etc/fetchmailrc must be owned by you. so even that isn't working. Of course I'd much rather that both PostgreSQL and Fetchmail kick off on bootup. Any clues welcome. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Startup tasks
On Jul 11, 2014, at 12:50 AM, Bill Christensen billc_li...@greenbuilder.com wrote: Though I've followed all the instructions presented while installing I'm getting spotty coverage on the starting of various services on reboot. For instance, Apache, MySQL55 and Mailman all start on boot up. However, though there are symlink items in /Library/LaunchDaemons for Fetchmail and PostgreSQL93 (org.macports.fetchmail.plist and org.macports.postgresql93-server.plist), and they will both start with manual commands, neither starts on boot. My current Fetchmail start command (run as a regular user) is: /opt/local/bin/fetchmail -d 500 --fetchmailrc /etc/fetchmailrc --nodetach --nosyslog Do you have MacPorts installed on a partition different from your OS X startup partition? I have noticed this problem when using such a configuration. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users