Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 CWYGWIN
Google
Post new topic Reply to topic
Author Message
NWwoman
 
 


Joined: 02 Mar 2009
Posts: 10
Location: United States

PostPosted: Fri Sep 04, 2009 7:40 pm Reply with quoteBack to top

Can anybody provide us any thoughts re my question below:

We have installed A2T on a university server owned by our dept. Ran into a problem because someone else using the server has cygwin installed. Our install of A2T stopped their cron and at this writing can't be restarted until the conflict is resolved. They're using cygwin for some dataloggers and heavy duty graphics generation.

I've been told that we need to either remove A2T or find a way to disable A2T cron to eliminate the conflict.

I am not an IT person. I am relaying info from our IT guy.

I hope I have been clear. If not, do ask me to restate.

I'd like to be able to use A2T as I have build a Drupal site on A2T on a local dev computer here and prefer to have a mirror image set-up when I upload files to the live server.

Hoping someone can please provide some counsel/advice.
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Tue Sep 08, 2009 5:25 pm Reply with quoteBack to top

As it was stated on this board multiple times the only files outside the apache2triad folder that apache2triad installs are some .ini files from what i recall , so it does not install system libraries or interacts with the system.

This is in order to avoid the windows problem also known as http://en.wikipedia.org/wiki/DLL_hell http://blog.vladalexa.com/2006/02/20/on-ms-vc-2005-reinventing-the-wheel/

From what i recall windows executables used to load libraries first from their home directory , then look in paths , then in windows system directory.

There is no http://en.wikipedia.org/wiki/Cron for windows that i am aware of , and i can guarantee that apache2triad uses no scheduling whatsoever , just startup services to launch servers at boot

The reason why i did not answer this topic when i first read it is because it makes no sense from what i can tell , you should let the technical person post.
View user's profileSend private message
NWwoman
 
 


Joined: 02 Mar 2009
Posts: 10
Location: United States

PostPosted: Tue Sep 08, 2009 7:19 pm Reply with quoteBack to top

Hi Vlad:

Ouch. <grabs band-aid. Ok, now>

*Yes, I know there's no win cron. It's the cron utility in cygwin that won't run.
*Thanks for the info re no auto tasks in A2T.

The problem is being caused by dll conflict.

With the install of Apache2Triad, we now have multiple copies of cygwin.dll

Victor wants to know if we can delete the A2T dll as it is the older dll. Said to check with you first.

[i]Here is the error message:[/i]

3 [main] ? 2504 shared_info::initialize: size of shared memory region changed from 21008 to 19992

C:\cygwin\usr\sbin\cron.exe (2504): *** user shared size version mismatch detected - 0xA65C/0xA660.

<B>You have multiple copies of cygwin1.dll on your system.</B>

search for cygwin1.dll using the Windows Start->Find/search facility

and delete all but the most recent version. The most recent version *should*

reside in x:\cygwin\bin, where 'x' is the drive on which you have

installed the cygwin distribution.


Also, the following was on the cygwin forum:


Re: Multiple cygwin.dll's

>Rasjid,
>
>Yes, it will still cause a problem.
>
>The problem is not caused by the location from which the DLL was loaded.
>Different versions of cygwin1.dll conflict with each other because all
>loaded copies of cygwin1.dll must share a memory area to preserve state
>information in a manner similar to an operating system kernel. Different
>versions of cygwin1.dll have different interpretations of the structure of
>the shared memory region, thus loaded different versions of cygwin1.dll
>results in the shared memory becoming corrupted, which generally crashes any
>loaded cygwin1.dll and any programs depending on cygwin1.dll.

This is all exactly right.

There are actually issues beyond the shared memory region which make
this a hard problem to fix.

Part of the problem is that I don't think it should be fixed. There
should only ever be one cygwin1.dll on your system. It should be the
latest released version. It should be in the /bin directory.

That's the general rule. Of course, there are no cygwin police who will
kick down your down and pull you off to cygwin jail if you don't follow
these instructions. It's possible, if you really really know what you
are doing, to get two cygwin's to sort of play together. Just don't
expect a lot of help and guidance from the people who are suggesting
that you should not do this.

IMO, if you don't know what you're doing then you probably don't
actually need to have two DLLs. Either you should delete the oldest
DLL or the person who supplied you with the old DLL should fix your
problem.

That's my idealistic view of the world, anyway.

cgf
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT