Hello again FreeSwitchers, I have built the 1.02 on 10.4.11(OSX) and had no problems with that. I have never been able to build from the SVN, but that is another story. Now that I have migrated to 1.02 I was wondering if I can get some help on a long standing issue I have with starting FS at boot. I am hoping to use Launchd which is the standard on OSX 10.4 and I attempted to cobble together a script, but haven't had great results. I did search for wiki entries on this, but haven't found any help with it. Ideas? Thanks, Marty
Have you looked at creating a system level startup item in /Library/StartupItems ? Also, to build from source you need the latest DevTools Kit from apple installed. (I don't know if the latest will work w/ 10.4) Ken On 1/15/09 3:54 PM, "Martin Joseph" <astmac@stillnewt.org> wrote:
Hello again FreeSwitchers,
I have built the 1.02 on 10.4.11(OSX) and had no problems with that.
I have never been able to build from the SVN, but that is another story.
Now that I have migrated to 1.02 I was wondering if I can get some help on a long standing issue I have with starting FS at boot.
I am hoping to use Launchd which is the standard on OSX 10.4 and I attempted to cobble together a script, but haven't had great results.
I did search for wiki entries on this, but haven't found any help with it.
Ideas? Thanks, Marty
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Your build issue is with your autotools install, I have seen issues if you have ever installed any of the autotools from macports or fink. If you want to build from svn you can run bootstrap on another box (a linux box perhaps) and then tar up that dir and move it to your mac. We pre-bootstrap the release tarballs which is why that is building fine for you. MIke On Jan 15, 2009, at 4:54 PM, Martin Joseph wrote:
Hello again FreeSwitchers,
I have built the 1.02 on 10.4.11(OSX) and had no problems with that.
I have never been able to build from the SVN, but that is another story.
Now that I have migrated to 1.02 I was wondering if I can get some help on a long standing issue I have with starting FS at boot.
I am hoping to use Launchd which is the standard on OSX 10.4 and I attempted to cobble together a script, but haven't had great results.
I did search for wiki entries on this, but haven't found any help with it.
Ideas? Thanks, Marty
On Jan 15, 2009, at 3:10 PM, Michael Jerris wrote:
Your build issue is with your autotools install, I have seen issues if you have ever installed any of the autotools from macports or fink. I have never used Fink or Macports so that isn't it. In fact the supposed statements made to the effect that FS will build from SVN fine on 10.4 with the latest available apple dev tools is quite wrong in my experience. I setup a virgin 10.4 and updated everything and had many complaints from FS about tool versions.
If you want to build from svn you can run bootstrap on another box (a linux box perhaps) and then tar up that dir and move it to your mac. Huh, interesting.
We pre-bootstrap the release tarballs which is why that is building fine for you. Right, Thanks for all your efforts and an outstanding platform!
Marty
Please specify Intel or PPC. -Greg M. On Fri, Jan 16, 2009 at 1:29 AM, Martin Joseph <astmac@stillnewt.org> wrote:
On Jan 15, 2009, at 3:10 PM, Michael Jerris wrote:
Your build issue is with your autotools install, I have seen issues if you have ever installed any of the autotools from macports or fink. I have never used Fink or Macports so that isn't it. In fact the supposed statements made to the effect that FS will build from SVN fine on 10.4 with the latest available apple dev tools is quite wrong in my experience. I setup a virgin 10.4 and updated everything and had many complaints from FS about tool versions.
If you want to build from svn you can run bootstrap on another box (a linux box perhaps) and then tar up that dir and move it to your mac. Huh, interesting.
We pre-bootstrap the release tarballs which is why that is building fine for you. Right, Thanks for all your efforts and an outstanding platform!
Marty
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Jan 16, 2009, at 5:45 AM, Shido Xavier wrote:
Please specify Intel or PPC.
Very good point and I had had that thought as well. I am on PPC 10.4.11. Thanks for any help or ideas. Marty
-Greg M.
On Fri, Jan 16, 2009 at 1:29 AM, Martin Joseph <astmac@stillnewt.org> wrote:
On Jan 15, 2009, at 3:10 PM, Michael Jerris wrote:
Your build issue is with your autotools install, I have seen issues if you have ever installed any of the autotools from macports or fink. I have never used Fink or Macports so that isn't it. In fact the supposed statements made to the effect that FS will build from SVN fine on 10.4 with the latest available apple dev tools is quite wrong in my experience. I setup a virgin 10.4 and updated everything and had many complaints from FS about tool versions.
If you want to build from svn you can run bootstrap on another box (a linux box perhaps) and then tar up that dir and move it to your mac. Huh, interesting.
We pre-bootstrap the release tarballs which is why that is building fine for you. Right, Thanks for all your efforts and an outstanding platform!
Marty
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I haven't tried using launchctl for FreeSWITCH. But when I saw your post, I tried it out. I have no problem getting it to work: I make a file "org.freeswitch.freeswitch.plist" and save it to ~/ Library/LaunchAgents with the following content: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd "> <plist version="1.0"> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>org.freeswitch.freeswitch</string> <key>Program</key> <string>/usr/local/freeswitch/bin/freeswitch</string> <key>RunAtLoad</key> <true/> <key>ServiceIPC</key> <true/> </dict> </plist> Then in Terminal.app, I do a "launchctl load ~/Library/LaunchAgents/ org.freeswitch.freeswitch.plist" If you do the same command, but unload instead of load, it should stop freeswitch. Does this work for you? Ivan Den 15. jan.. 2009 kl. 22:54 skrev Martin Joseph:
Hello again FreeSwitchers,
I have built the 1.02 on 10.4.11(OSX) and had no problems with that.
I have never been able to build from the SVN, but that is another story.
Now that I have migrated to 1.02 I was wondering if I can get some help on a long standing issue I have with starting FS at boot.
I am hoping to use Launchd which is the standard on OSX 10.4 and I attempted to cobble together a script, but haven't had great results.
I did search for wiki entries on this, but haven't found any help with it.
Ideas? Thanks, Marty
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Jan 16, 2009, at 8:09 AM, Ivan C Myrvold wrote:
I haven't tried using launchctl for FreeSWITCH. But when I saw your post, I tried it out. I have no problem getting it to work:
I make a file "org.freeswitch.freeswitch.plist" and save it to ~/ Library/LaunchAgents with the following content:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd "> <plist version="1.0"> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>org.freeswitch.freeswitch</string> <key>Program</key> <string>/usr/local/freeswitch/bin/freeswitch</string> <key>RunAtLoad</key> <true/> <key>ServiceIPC</key> <true/> </dict> </plist>
Then in Terminal.app, I do a "launchctl load ~/Library/LaunchAgents/ org.freeswitch.freeswitch.plist"
If you do the same command, but unload instead of load, it should stop freeswitch.
Does this work for you?
Huh, I have been trying to do something similar, but putting the file in / System/Library/LaunchDaemons. Strangely, I tried your file right now (in LaunchDaemons) and freeswitch is started, but it doesn't respond to my devices trying to register? Weird. If I kill it and start it manually, it immediately responds and my devices register. Ideas? Thanks, Marty
Ivan
Den 15. jan.. 2009 kl. 22:54 skrev Martin Joseph:
Hello again FreeSwitchers,
I have built the 1.02 on 10.4.11(OSX) and had no problems with that.
I have never been able to build from the SVN, but that is another story.
Now that I have migrated to 1.02 I was wondering if I can get some help on a long standing issue I have with starting FS at boot.
I am hoping to use Launchd which is the standard on OSX 10.4 and I attempted to cobble together a script, but haven't had great results.
I did search for wiki entries on this, but haven't found any help with it.
Ideas? Thanks, Marty
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I have chown the freeswitch directory to my user imyrvold, therefore I put it in ~/Library/LaunchDaemons. Do you run freeswitch as root, as you put it in /System/library/ LaunchDaemons? That directory should be reserved anyway for Apple's system tools. A better idea would be to put it in /Library/LaunchDaemons if you run it as root (but you should in my opinion run it as a normal user, as I have (almost) always done). Ivan Den 16. jan.. 2009 kl. 20:12 skrev Martin Joseph:
On Jan 16, 2009, at 8:09 AM, Ivan C Myrvold wrote:
I haven't tried using launchctl for FreeSWITCH. But when I saw your post, I tried it out. I have no problem getting it to work:
I make a file "org.freeswitch.freeswitch.plist" and save it to ~/ Library/LaunchAgents with the following content:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd "> <plist version="1.0"> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>org.freeswitch.freeswitch</string> <key>Program</key> <string>/usr/local/freeswitch/bin/freeswitch</string> <key>RunAtLoad</key> <true/> <key>ServiceIPC</key> <true/> </dict> </plist>
Then in Terminal.app, I do a "launchctl load ~/Library/LaunchAgents/ org.freeswitch.freeswitch.plist"
If you do the same command, but unload instead of load, it should stop freeswitch.
Does this work for you?
Huh,
I have been trying to do something similar, but putting the file in / System/Library/LaunchDaemons.
Strangely, I tried your file right now (in LaunchDaemons) and freeswitch is started, but it doesn't respond to my devices trying to register?
Weird.
If I kill it and start it manually, it immediately responds and my devices register.
Ideas? Thanks,
Marty
Ivan
Den 15. jan.. 2009 kl. 22:54 skrev Martin Joseph:
Hello again FreeSwitchers,
I have built the 1.02 on 10.4.11(OSX) and had no problems with that.
I have never been able to build from the SVN, but that is another story.
Now that I have migrated to 1.02 I was wondering if I can get some help on a long standing issue I have with starting FS at boot.
I am hoping to use Launchd which is the standard on OSX 10.4 and I attempted to cobble together a script, but haven't had great results.
I did search for wiki entries on this, but haven't found any help with it.
Ideas? Thanks, Marty
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Jan 16, 2009, at 12:54 PM, Ivan C Myrvold wrote:
I have chown the freeswitch directory to my user imyrvold, therefore I put it in ~/Library/LaunchDaemons. Do you run freeswitch as root, as you put it in /System/library/ LaunchDaemons? That directory should be reserved anyway for Apple's system tools. A better idea would be to put it in /Library/LaunchDaemons if you run it as root (but you should in my opinion run it as a normal user, as I have (almost) always done).
Yes, I have been running it as root (blush). Any idea why it might start, but not except registrations? That seems strange to me. Thanks for the help (again), Marty
Ivan
Den 16. jan.. 2009 kl. 20:12 skrev Martin Joseph:
On Jan 16, 2009, at 8:09 AM, Ivan C Myrvold wrote:
I haven't tried using launchctl for FreeSWITCH. But when I saw your post, I tried it out. I have no problem getting it to work:
I make a file "org.freeswitch.freeswitch.plist" and save it to ~/ Library/LaunchAgents with the following content:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd "> <plist version="1.0"> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>org.freeswitch.freeswitch</string> <key>Program</key> <string>/usr/local/freeswitch/bin/freeswitch</string> <key>RunAtLoad</key> <true/> <key>ServiceIPC</key> <true/> </dict> </plist>
Then in Terminal.app, I do a "launchctl load ~/Library/LaunchAgents/ org.freeswitch.freeswitch.plist"
If you do the same command, but unload instead of load, it should stop freeswitch.
Does this work for you?
Huh,
I have been trying to do something similar, but putting the file in / System/Library/LaunchDaemons.
Strangely, I tried your file right now (in LaunchDaemons) and freeswitch is started, but it doesn't respond to my devices trying to register?
Weird.
If I kill it and start it manually, it immediately responds and my devices register.
Ideas? Thanks,
Marty
Ivan
Den 15. jan.. 2009 kl. 22:54 skrev Martin Joseph:
Hello again FreeSwitchers,
I have built the 1.02 on 10.4.11(OSX) and had no problems with that.
I have never been able to build from the SVN, but that is another story.
Now that I have migrated to 1.02 I was wondering if I can get some help on a long standing issue I have with starting FS at boot.
I am hoping to use Launchd which is the standard on OSX 10.4 and I attempted to cobble together a script, but haven't had great results.
I did search for wiki entries on this, but haven't found any help with it.
Ideas? Thanks, Marty
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Den 17. jan.. 2009 kl. 19:15 skrev Martin Joseph:
On Jan 16, 2009, at 12:54 PM, Ivan C Myrvold wrote:
I have chown the freeswitch directory to my user imyrvold, therefore I put it in ~/Library/LaunchDaemons. Do you run freeswitch as root, as you put it in /System/library/ LaunchDaemons? That directory should be reserved anyway for Apple's system tools. A better idea would be to put it in /Library/LaunchDaemons if you run it as root (but you should in my opinion run it as a normal user, as I have (almost) always done).
Yes, I have been running it as root (blush). Any idea why it might start, but not except registrations? That seems strange to me.
Do you have any messages in Console that can explain it? Ivan
Thanks for the help (again), Marty
Ivan
Den 16. jan.. 2009 kl. 20:12 skrev Martin Joseph:
On Jan 16, 2009, at 8:09 AM, Ivan C Myrvold wrote:
I haven't tried using launchctl for FreeSWITCH. But when I saw your post, I tried it out. I have no problem getting it to work:
I make a file "org.freeswitch.freeswitch.plist" and save it to ~/ Library/LaunchAgents with the following content:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd "> <plist version="1.0"> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>org.freeswitch.freeswitch</string> <key>Program</key> <string>/usr/local/freeswitch/bin/freeswitch</string> <key>RunAtLoad</key> <true/> <key>ServiceIPC</key> <true/> </dict> </plist>
Then in Terminal.app, I do a "launchctl load ~/Library/ LaunchAgents/ org.freeswitch.freeswitch.plist"
If you do the same command, but unload instead of load, it should stop freeswitch.
Does this work for you?
Huh,
I have been trying to do something similar, but putting the file in / System/Library/LaunchDaemons.
Strangely, I tried your file right now (in LaunchDaemons) and freeswitch is started, but it doesn't respond to my devices trying to register?
Weird.
If I kill it and start it manually, it immediately responds and my devices register.
Ideas? Thanks,
Marty
Ivan
Den 15. jan.. 2009 kl. 22:54 skrev Martin Joseph:
Hello again FreeSwitchers,
I have built the 1.02 on 10.4.11(OSX) and had no problems with that.
I have never been able to build from the SVN, but that is another story.
Now that I have migrated to 1.02 I was wondering if I can get some help on a long standing issue I have with starting FS at boot.
I am hoping to use Launchd which is the standard on OSX 10.4 and I attempted to cobble together a script, but haven't had great results.
I did search for wiki entries on this, but haven't found any help with it.
Ideas? Thanks, Marty
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Ivan C Myrvold
-
Ken Rice
-
Martin Joseph
-
Michael Jerris
-
Shido Xavier