View previous topic :: View next topic |
Author |
Message |
skysurfer
Joined: 18 Oct 2005 Posts: 3 Location: Seattle
|
Posted: Tue Oct 18, 2005 11:46 am Post subject: GetWeb not picking up newly generated paging files |
|
|
I'm currently using the eval version of Pagegate on a Windows 2003 Server box joined in a domain. IIS is running on the same box.
I am successfully able to send pages via the GUI client. I'm working on setting up a web page to accomplish paging using the webgate.exe executable.
When calling webgate.exe, it generates a file called tmp1.new, and puts it in c:\inetpub\wwwroot. I've looked through the forums and found that it's best to simply configure the GetWeb interface to look for its files here, and so that's what I did. However, the GetWeb service is not picking up the files. They just sit there.
My GetWeb logs show only that the module is running, and that it routinely runs its cleanup routine, but never shows me any attempts to grab the tmpx.new files.
Any suggestions?
Thanks,
-Dan
|
|
Back to top |
|
skysurfer
Joined: 18 Oct 2005 Posts: 3 Location: Seattle
|
Posted: Wed Oct 19, 2005 9:54 pm Post subject: |
|
|
This has been resolved - one forum post had a link to some instructions which said to explicitly put the webgate.exe executable under c:\inetpub\scripts. I didn't have that folder, but created it and gave the anonymous IIS user read/write access to it. Pages started going through after that change was made and the CGI data path was changed to reflect the new location.
|
|
Back to top |
|
Tech2YK
Joined: 04 Aug 2009 Posts: 12 Location: York PA
|
Posted: Wed Aug 05, 2009 3:28 pm Post subject: |
|
|
I am having the exact same issue but I can't see a reason why it's not working for me. I am running PageGate on a Win2k03 Server named "Pagegate" and have IIS installed on my webserver, which is a different machine. Within the root of my website, I have a subfolder called "Paging" where all of the PageGate web pages are located and within that folder is a "Scripts" folder with all of the proper permissions (and it's also shared on the network so that the "Pagegate" machine can access it). I've read all of the documentation, and done a lot of searching through this forum and I can't find a solution. I am able to create new pages from my browser, and each time I submit one, the cgi script creates a tmpxx.msg file inside my "Scripts" folder, but when I check the pagegate logs, it never sees these files. I have all of my services running under a user with the proper privileges, and all of my IIS settings appear to be correct. Is there something that I'm missing? I don't think putting the webgate.exe file in the C:\inetpub\scripts folder is going to help since the folder I already have has all of the proper permissions and I am still unable to get this to work. Any help would be appreciated.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4387
|
Posted: Wed Aug 05, 2009 3:30 pm Post subject: |
|
|
Are you running PageGate as a Service or Application? |
|
Back to top |
|
Tech2YK
Joined: 04 Aug 2009 Posts: 12 Location: York PA
|
Posted: Wed Aug 05, 2009 3:34 pm Post subject: |
|
|
Service
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4387
|
Posted: Wed Aug 05, 2009 4:00 pm Post subject: |
|
|
The issue you're running into, I'm pretty sure, is that the Windows System Services use the local windows account by default. The local system account doesn't have network priveleges to the web server's shared directories.
So, to fix that, go into the properties of your PageGate GetWeb service and go to the Log On tab. Select 'Log On As' and specify a specific username and password you know has administrative access to the network share on the web server.
Apply that change, then stop and start the GetWeb Service and that should take care of it. |
|
Back to top |
|
Tech2YK
Joined: 04 Aug 2009 Posts: 12 Location: York PA
|
Posted: Thu Aug 06, 2009 2:33 pm Post subject: |
|
|
Already tried that. It's still not working.
|
|
Back to top |
|
Tech2YK
Joined: 04 Aug 2009 Posts: 12 Location: York PA
|
Posted: Thu Aug 06, 2009 3:01 pm Post subject: |
|
|
Correct me if I'm wrong, but all the webgate.exe does is process the form data and create the tempxx.msg files right? And getting the files back to pagegate is done by GetWeb running on my PageGate server, correct? Was just curious because as of right now there is an ACL on my router that only allows the Pagegate server to access the webserver, but not the other way around. So if the webserver needs to actually do any sending, it will not be able to reach the Pagegate Server.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4387
|
Posted: Thu Aug 06, 2009 3:13 pm Post subject: |
|
|
The webgate.exe file accepts CGI data commands and turns those commands into a text file in the scripting directory that the PageGate PC then reads in to process. It's why I had asked about the service account's login information because if the service doesn't have sufficient network permissions to the scripting directory, it can't read the files that have been generated by the webgate.exe |
|
Back to top |
|
Tech2YK
Joined: 04 Aug 2009 Posts: 12 Location: York PA
|
Posted: Thu Aug 06, 2009 3:30 pm Post subject: |
|
|
All of the PageGate Service Accounts that are running (Server, Scheduler, Connector 1, and GetWeb) are all set to use a user that I created specifically for this. The user has full access to the entire webserver, which would include the Scripts directory where the webgate.exe resides and the tempxx.msg files are dumped after submitting a page from the web page. According to everything that I've been told and have read, this should be working, but for some reason, Pagegate is not doing anything with those files once they are written to my scripts directory.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4387
|
Posted: Thu Aug 06, 2009 4:22 pm Post subject: |
|
|
Well, as you say, it should be working. Everything says that it should be working... but it isn't. I think we're running into some minor security or file permission setting. On the web server, did you specifically share the scripts directory or the root inetpub directory (or whatever your root web server directory is)? When you shared it, did you also set the NFTS permissions for that folder or just the sharing permissions? |
|
Back to top |
|
Tech2YK
Joined: 04 Aug 2009 Posts: 12 Location: York PA
|
Posted: Fri Aug 07, 2009 2:15 pm Post subject: |
|
|
On my webserver, I am hosting multiple websites. I don't have my sites in the C:\Inetpub\wwwroot folder. I have them in C:\www. This directory is shared and the user that I log onto my pagegate server with has full access to it (both share and NTFS permissions). Also, the actual website folder itself within C:\www is also shared and the pagegate server user again has full access to it, and also to the scripts folder where the webgate.exe resides. I keep thinking there is something so small and minute that I am missing here that once I find out what it is, it will start working.
|
|
Back to top |
|
Tech2YK
Joined: 04 Aug 2009 Posts: 12 Location: York PA
|
Posted: Fri Aug 07, 2009 2:18 pm Post subject: |
|
|
I don't need to have GetMail enabled at all do I? I noticed that in one of the user manuals it mentioned the GetMail module polling the scripts directory. But I figured this to be a typo and that it really meant GetWeb.
|
|
Back to top |
|
Tech2YK
Joined: 04 Aug 2009 Posts: 12 Location: York PA
|
Posted: Fri Aug 07, 2009 3:04 pm Post subject: |
|
|
ok, I'm not sure if this is what fixed the issue but I had originally had my scripts folder mapped as drive Z: on my pagegate server. I decided to try using the UNC path instead and as soon as I changed it, BAM the pages started going through! I had tried UNC before and it wasn't working, but that was before I made a few permission changes so I'm willing to bet it was probably a small permissions issue somewhere. Thanks for all the help and we will most likely be purchasing this software very soon!
|
|
Back to top |
|
|