Larry, Daniele, Thank you very much for the instructions and guidance. Aparently I got the mod to run in Apache 2.4.2.
One question: had you ran in trouble with initialization of instances with SpawnOfTaskd,sh? The instances seems to “abort” as soon as they begin to initialize - and they begin to initalize but in the very beginning are “aborted”. - This situation only occurs in the JAvaMonitor-SpawnOdTaskd way; if I try to initialize the instance directly in terminal, it completes the initialization process. Wondering if it is some new security policy of CentOs 7… Do you know anything about it? Thank you! Nilton > On 03/03/2015, at 19:20, Larry Mills-Gahl <[email protected]> wrote: > > Sorry for the mis-attribution. The fixed rnd_initialize might have been > Aurelien Minet (after excavating the quote levels) > > Here is part of the original thread where I got the patch: > > >>>>>>>> On Sep 22, 2010, at 4:40 AM, Aurélien Minet wrote: >>>>>>>> >>>>>>>>> On 09/21/2010 04:08 PM, Mike Schrag wrote: >>>>>>>>>> did someone submit a patch for this? >>>>>>>>> >>>>>>>>> about 7 or 8 month ago in random.c there was: >>>>>>>>> >>>>>>>>> static int rnd_initialize(strtbl *options) >>>>>>>>> { >>>>>>>>> int ret = 0; >>>>>>>>> time_t now; >>>>>>>>> time(&now); >>>>>>>>> srandom(now); >>>>>>>>> return ret; >>>>>>>>> } >>>>>>>>> >>>>>>>>> no problem with that one which is not the case with the actual code: >>>>>>>>> >>>>>>>>> static int rnd_initialize(strtbl *options) >>>>>>>>> { >>>>>>>>> int ret = 0; >>>>>>>>> #if defined(WIN32) >>>>>>>>> time_t now; >>>>>>>>> time(&now); >>>>>>>>> srand(now); >>>>>>>>> #else >>>>>>>>> srandomdev(); >>>>>>>>> #endif >>>>>>>>> return ret; >>>>>>>>> } >>>>>>>>> >>>>>>>>> Sorry I haven't take the time to track the commits in SVN to find the >>>>>>>>> reason of the change. >>>>>>>>> >>>>>>>>> >>>>>>>>> Aurelien > > > > > Larry Mills-Gahl > [email protected] <mailto:[email protected]> > > > > > > >> On Mar 3, 2015, at 5:15 PM, Larry Mills-Gahl <[email protected] >> <mailto:[email protected]>> wrote: >> >> I ran into a problem with srandomdev in compiling the adaptor. I found a >> message from Mike Schrag that offered a fix (getting rid of some if defs) >> >> This is my edit for Adaptors/random.c >> >> /* doesn't work with CentOS 7 >> static int rnd_initialize(strtbl *options) >> { >> int ret = 0; >> #if !defined(MACOS) >> time_t now; >> time(&now); >> srandom(now); >> #else >> srandomdev(); >> #endif >> return ret; >> } >> */ >> >> // update from Mike Schrag in 2010 >> static int rnd_initialize(strtbl *options) >> { >> int ret = 0; >> time_t now; >> time(&now); >> srandom(now); >> return ret; >> } >> >> >> after that the compilation went smoothly. >> >> I haven’t put these machines in heavy rotation but that’s the plan soon. >> >> CentOS 7 has more changes than I initially thought and I’m trying to embrace >> the FirewallD and SELinux environment. I’m actually liking FirewallD and I am >> >> Larry Mills-Gahl >> [email protected] <mailto:[email protected]> >> >> >> >> >> >> >>> On Mar 3, 2015, at 10:22 AM, Daniele Corti <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Hi Nilton, >>> I've installed a Test Machine in CentOS 7 just the passed week, so I can >>> give you some advices. >>> >>> First, I've used CentOS 7 form my last 2 WO servers, but I've never used >>> the YUM repo to install WOTaskd and WOMonitor, I really prefer use the >>> manual installation from >>> https://wiki.wocommunity.org/display/documentation/Deploying+on+Linux >>> <https://wiki.wocommunity.org/display/documentation/Deploying+on+Linux> >>> >>> The guide works quite well also in CentOS 7, just, as you notice, there is >>> not a prebuilded adaptor for apache 2.4, so I have to compile it on the >>> server. ( >>> https://wiki.wocommunity.org/display/documentation/Compiling+the+HTTP+adaptor+on+Linux >>> >>> <https://wiki.wocommunity.org/display/documentation/Compiling+the+HTTP+adaptor+on+Linux> >>> ) >>> >>> One thing: when I run the compiling procedure, the procedure throws ad >>> error on one of the versions, so I've to enter the folder of Apache2.4 and >>> run "make CC=gcc" again in order to compile the apache module. >>> >>> The other parts seem to works fine. >>> >>> Feel free to contact me, if you have some problems. >>> >>> Bye, >>> >>> 2015-03-03 15:14 GMT+01:00 Nilton Lessa <[email protected] >>> <mailto:[email protected]>>: >>> Hi list, >>> >>> Anyone with previous experience using the WO mod in a CentOS 7.0 >>> /Apache/2.4.6 deployment? >>> >>> Any problems noticed? >>> >>> Isn’t there a prebuilt module, is there? >>> >>> thank you very much for help and advices. >>> >>> Cheers. >>> >>> Nilton >>> >>> Nilton Lessa >>> Moleque de Ideias >>> [email protected] <mailto:[email protected]> >>> 55-21-27047356 >>> 55-21-991840247 >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list ([email protected] >>> <mailto:[email protected]>) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com >>> <https://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com> >>> >>> This email sent to [email protected] <mailto:[email protected]> >>> >>> >>> >>> -- >>> Daniele Corti >>> -- >>> I DON'T DoubleClick >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list ([email protected] >>> <mailto:[email protected]>) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com >>> <https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com> >>> >>> This email sent to [email protected] >> >
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
