Announcement

Collapse
No announcement yet.

Empressa on Linux, files on WinXP... Possible?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Empressa on Linux, files on WinXP... Possible?



    I've got a desktop running WinXP, and a laptop running Suse Linux.

    I've got Empressa running on the linux box, and I've mounted the WinXP
    drive using Samba as Read/Write. Set Apache/Empressa to point to the
    mounted XP drive as web/data dirs. So far, so good.

    Can get simple html/miva pages to load, but when I try to run Merchant
    sites, they timeout when trying to create the lockfile for baskets.

    Anybody pulled off something like this?
    Any ideas what I may have done wrong, or is it just plain impossible?

    I can't tell if it's a permission problem, or if it's a problem with
    Linux Empressa trying to write to an NTFS file system.

    --
    Bill Guindon (aka aGorilla)


    #2
    Empressa on Linux, files on WinXP... Possible?



    Are you able to create files from linux onto your
    NT box via the mount? In the base mivadata
    directory.

    David

    > -----Original Message-----
    > From: Bill Guindon [mailto:[email protected]]=20
    > Sent: Monday, April 04, 2005 9:07 PM
    > To: Miva Users
    > Subject: [meu] Empressa on Linux, files on WinXP... Possible?
    >=20
    > I've got a desktop running WinXP, and a laptop running Suse Linux.
    >=20
    > I've got Empressa running on the linux box, and I've mounted the WinXP
    > drive using Samba as Read/Write. Set Apache/Empressa to point to the
    > mounted XP drive as web/data dirs. So far, so good.
    >=20
    > Can get simple html/miva pages to load, but when I try to run Merchant
    > sites, they timeout when trying to create the lockfile for baskets.
    >=20
    > Anybody pulled off something like this?
    > Any ideas what I may have done wrong, or is it just plain impossible?
    >=20
    > I can't tell if it's a permission problem, or if it's a problem with
    > Linux Empressa trying to write to an NTFS file system.
    >=20
    > --=20
    > Bill Guindon (aka aGorilla)
    >=20

    Comment


      #3
      Empressa on Linux, files on WinXP... Possible?



      On Apr 4, 2005 9:09 PM, David Hubbard <[email protected]> wrote:
      > Are you able to create files from linux onto your
      > NT box via the mount? In the base mivadata
      > directory.

      The "obvious" question eluded me... yes, I can. Just made test.txt
      using Kate, so sounds like it may be an empressa problem.

      > David
      >
      > > -----Original Message-----
      > > From: Bill Guindon [mailto:[email protected]]
      > > Sent: Monday, April 04, 2005 9:07 PM
      > > To: Miva Users
      > > Subject: [meu] Empressa on Linux, files on WinXP... Possible?
      > >
      > > I've got a desktop running WinXP, and a laptop running Suse Linux.
      > >
      > > I've got Empressa running on the linux box, and I've mounted the WinXP
      > > drive using Samba as Read/Write. Set Apache/Empressa to point to the
      > > mounted XP drive as web/data dirs. So far, so good.
      > >
      > > Can get simple html/miva pages to load, but when I try to run Merchant
      > > sites, they timeout when trying to create the lockfile for baskets.
      > >
      > > Anybody pulled off something like this?
      > > Any ideas what I may have done wrong, or is it just plain impossible?
      > >
      > > I can't tell if it's a permission problem, or if it's a problem with
      > > Linux Empressa trying to write to an NTFS file system.
      > >
      > > --
      > > Bill Guindon (aka aGorilla)
      > >

      Comment


        #4
        Empressa on Linux, files on WinXP... Possible?



        The issue is most likely that XP/Samba is not returning an answer fast
        enough. Win is a pain in the ass when it comes to file locks. When it
        creates a file it does not return a handle instantaneously like other
        OS's. Win just 'assumes' it is done and the app is supposed to proceed.

        There are ways to get around it when the data file is accessed locally --
        but not through Samba in the same fashion.

        Look closely to ways to make Samba answer affirmative to most any file
        creation request. There might me a delay factor you can decrease or nullify
        which Empresa will be fooled to interpret as a 'success' to a file creation
        request.

        And/or look at the old config values for Empresa where you can define the
        'working' tmp directory, and define it locally.

        Jonathan
        Driftwood Network Services

        At 08:06 PM 4/4/2005, Bill Guindon wrote:
        >I've got a desktop running WinXP, and a laptop running Suse Linux.
        >
        >I've got Empressa running on the linux box, and I've mounted the WinXP
        >drive using Samba as Read/Write. Set Apache/Empressa to point to the
        >mounted XP drive as web/data dirs. So far, so good.
        >
        >Can get simple html/miva pages to load, but when I try to run Merchant
        >sites, they timeout when trying to create the lockfile for baskets.
        >
        >Anybody pulled off something like this?
        >Any ideas what I may have done wrong, or is it just plain impossible?
        >
        >I can't tell if it's a permission problem, or if it's a problem with
        >Linux Empressa trying to write to an NTFS file system.
        >
        >--
        >Bill Guindon (aka aGorilla)
        >

        Comment


          #5
          Empressa on Linux, files on WinXP... Possible?



          On Apr 5, 2005 1:58 PM, Jonathan - Driftwood <[email protected]> wrote:
          > The issue is most likely that XP/Samba is not returning an answer fast
          > enough. Win is a pain in the ass when it comes to file locks. When it
          > creates a file it does not return a handle instantaneously like other
          > OS's. Win just 'assumes' it is done and the app is supposed to proceed.
          >
          > There are ways to get around it when the data file is accessed locally --
          > but not through Samba in the same fashion.

          Well, I may end up putting all the files on linux, but I'd rather avoid it.

          > Look closely to ways to make Samba answer affirmative to most any file
          > creation request. There might me a delay factor you can decrease or nullify
          > which Empresa will be fooled to interpret as a 'success' to a file creation
          > request.

          Will do. I've got a lot of rtfm'ing left to do on Samba, hopefully
          find something there.

          > And/or look at the old config values for Empresa where you can define the
          > 'working' tmp directory, and define it locally.

          Didn't know about that one, but doesn't seem to work. From the docs
          it's only used for temp files from MvPACK. Worth a shot tho', tried a
          couple others while in there with no luck (Lock_Hostname and
          Delay_File).

          > Jonathan
          > Driftwood Network Services

          Thanks much.

          --
          Bill Guindon (aka aGorilla)

          Comment

          Working...
          X