Aparajita Fishman wrote:
I noticed a problem with all of their Active4D pages, they are now
blank. More specifically on most browsers tested the page source
revealed:
<html><body></body></html>
When trying those pages with MSIE on Windows I noted MSIE's "Page
Not Found" page with a 403 Not Allowed error.
This means the web root has been moved/renamed/deleted, or that a
different copy of Client is running which is not next to the web root
folder.
Good call. In troubleshooting the problem yesterday I reinstalled 4D
Client. I had unstuffed an archive and replaced my exisiting 4D Client
instance with a copy from the archive folder.
They run Keep-it-up on the server, which was uses a 4D Path file to
launch 4D Client. The path file was launching the copy of 4D Client in
the unstuffed archive. I had forgotten that if you have multiple copies
of 4D apps installed that double-clicking a structure or using a key
(path) file will use the last installed instance of the 4D app. Deleting
the unstuffed archive fixed the problem.
That said, the server in question had some serious file system issues
that took the better part of the day to fix. In short, the webstar
user's Trash couldn't be emptied and the trash contained some 4D files
that I'd trashed (like the res. and .rex). As a side-affect of the
locked Trash, I couldn't launch 4D Client as the webstar user (Client
cache files couldn't be created). By logging in as root, and examining
the webstar user's ".Trash" folder from the terminal, I found one folder
that had over 830,000 log files in it. Attempts to rm these files from
the terminal failed. I was able to ls the log files into a text file
that I edited and saved as a shell script. Basically each line rm'd the
listed log file. The script took almost 2.5 hours to run but it did the
trick. I'm sharing this in case anyone ever can't get the Trash the empty.
BTW, you can overcome this problem by installing Active4D.ini in an
Active4D folder in one of the alterative directories (see the docs)
that are not subject to moving/renaming. Then you can put the web
directory anywhere, it doesn't have to be with the Client application.
This is good to know. I'll look into changing this when we deploy our
next upgrade.
best,
Brad
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/