|
The unofficial Stuff Which Is Still Broken thread |
|
This is a long thread. Click here to view the threaded list. |
|
Jeffrey Lee |
Message #53307, posted by Phlamethrower at 14:17, 9/4/2004 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Great news that the server is back online, but there are still some problems to sort out:
1. My forum account at Acorn Arcade has vanished 2. All posts from this year seem to have vanished from the Acorn Arcade programming forum 3. Several forum accounts have vanished from Coder's Cauldron 4. Several pages from the Coder's Cauldron root directory appear to have lost their MIME type (But are serving fine) 5. The riscos.iswe.net and quote-egnufeb-quote-greaterthan-colon-hash-comma-underscore-at.info stats seem to have lost their MIME type too
Everything else I've checked appears to be working fine though (Or I've fixed it myself). Which isn't too bad, all things considering |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #53309, posted by Phlamethrower at 14:41, 9/4/2004, in reply to message #53307 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Many sites seem to have had their file permissions messed up, stopping PHP scripts which try writing to files from working. Is there a quick fix for this, or is the only way round it to FTP in and chmod all the files by hand?
Also it looks like some or all of the affected files have had their unix user ID changed to a different value, meaning the file must be downloaded, deleted from the server and then uploaded again in order to be able to chmod it from FTP
[edit]
Some sites don't seem to allow me to delete the files either... arse!
[Edited by Phlamethrower at 15:47, 9/4/2004] |
|
[ Log in to reply ] |
|
Chris |
Message #53310, posted by cterran at 14:49, 9/4/2004, in reply to message #53309 |
Member
Posts: 163
|
Is that why the main graphic and tip on www.photodesk.iconbar.com aren't working? What should I change? chmod is a bit of a mystery to me.... (They both run the random cgi script.)
Chris |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #53311, posted by Phlamethrower at 14:53, 9/4/2004, in reply to message #53310 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Is that why the main graphic and tip on www.photodesk.iconbar.com aren't working? What should I change? chmod is a bit of a mystery to me.... (They both run the random cgi script.)
Chris Looking at the source to the page, it doesn't look like a URL is being given for the image:
<img src= alt="photodesk" align="middle" vspace="2" border="0" width="540" height="155"> |
|
[ Log in to reply ] |
|
Chris |
Message #53312, posted by cterran at 15:04, 9/4/2004, in reply to message #53311 |
Member
Posts: 163
|
Hmm. The 'real' source is:
<img src=<!--#include virtual="/cgi-bin/random?file=fpgx.txt" --> alt="photodesk" align="middle" vspace="2" border="0" width="540" height="155">
... which always used to work. fpgx.txt is still there (just a list of filenames), and random is still in my cgi-bin with execute permission.
Chris, stumped... |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #53314, posted by Phlamethrower at 15:14, 9/4/2004, in reply to message #53312 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
In that case it looks like the problem is with the cgi-bin/random script. I've never used it myself, and have no idea what version of it is installed (Or meant to be installed), so can't really help any further |
|
[ Log in to reply ] |
|
Chris |
Message #53315, posted by cterran at 15:35, 9/4/2004, in reply to message #53314 |
Member
Posts: 163
|
OK -- have to wait for Rich. Thanks, Mr Stuff.
Chris |
|
[ Log in to reply ] |
|
Kevin Wells |
Message #53316, posted by Revin Kevin at 17:47, 9/4/2004, in reply to message #53307 |
Member
Posts: 644
|
The counter from the banners count side is not working.
If you goto the home of it on this page:
http://banners.iconbar.com/count/
You will see the error message. ________ I did not do it. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #53317, posted by Phlamethrower at 17:59, 9/4/2004, in reply to message #53316 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
That looks like a file permissions problem. Hopefully John Duffell will realise TIB's back sometime soon, check his site over and fix it - if not, then you'll have to shout at him a bit to wake him up |
|
[ Log in to reply ] |
|
Andrew Duffell |
Message #53318, posted by ad at 18:07, 9/4/2004, in reply to message #53317 |
Posts: 3262
|
That looks like a file permissions problem. Hopefully John Duffell will realise TIB's back sometime soon, check his site over and fix it - if not, then you'll have to shout at him a bit to wake him up That is mine, not John's. And if I try to chmod those files I get:
SITE chmod 777 webcount.dat 550 proflawn.dat: Operation not permitted.
So hopefully rich can fix it |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #53319, posted by Phlamethrower at 18:10, 9/4/2004, in reply to message #53318 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
That looks like a file permissions problem. Hopefully John Duffell will realise TIB's back sometime soon, check his site over and fix it - if not, then you'll have to shout at him a bit to wake him up That is mine, not John's. I did suspect that, but could only find his name on the site
And if I try to chmod those files I get:
SITE chmod 777 webcount.dat 550 proflawn.dat: Operation not permitted.
So hopefully rich can fix it That's, erm, interesting |
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #53324, posted by rich at 20:37, 9/4/2004, in reply to message #53309 |
Dictator for life
Posts: 6828
|
Many sites seem to have had their file permissions messed up, stopping PHP scripts which try writing to files from working. Is there a quick fix for this, or is the only way round it to FTP in and chmod all the files by hand?
Also it looks like some or all of the affected files have had their unix user ID changed to a different value, meaning the file must be downloaded, deleted from the server and then uploaded again in order to be able to chmod it from FTP The UIDs and permissions should have be retained when they were copied across. Not sure that stuff created by the web server was as lucky. Also, better check that the files actually were copied across in the first place.
I need to know exact domains and files to change; I can't just open everything up to everyone! ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
Andrew Duffell |
Message #53330, posted by ad at 09:24, 10/4/2004, in reply to message #53324 |
Posts: 3262
|
/stats/ pages don't appear to be updating (or atleast the one on http://banners.iconbar.com/ isn't) |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #53355, posted by Phlamethrower at 15:31, 11/4/2004, in reply to message #53324 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
I need to know exact domains and files to change; I can't just open everything up to everyone! I'll have a look at this soonish and get a list together of all the files which need changing. At the moment I'm battling with my own PSU problems - computer keeps dieing because we're overloading it a bit |
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #53390, posted by rich at 14:57, 13/4/2004, in reply to message #53330 |
Dictator for life
Posts: 6828
|
/stats/ pages don't appear to be updating (or atleast the one on http://banners.iconbar.com/ isn't) After much dicking about trying to figure this one out with no error messages or logs to examine, it appears that the log format variable thingy has been changed from "web" to "clf" for no apparent reason. One quick perl script and it's all fixed - except for houseofmabel.com, as I managed to nuke the stats in testing
Obviously there'll be some missingness, but it should all be OK from now on. ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
Andrew Duffell |
Message #53391, posted by ad at 15:05, 13/4/2004, in reply to message #53390 |
Posts: 3262
|
thanks |
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #53392, posted by rich at 15:15, 13/4/2004, in reply to message #53355 |
Dictator for life
Posts: 6828
|
At the moment I'm battling with my own PSU problems - computer keeps dieing because we're overloading it a bit I've just ordered a ATI 9800 Pro graphics card in preparation for Half-Life 2 and Doom 3, so I'm expecting that to happen soon myself ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #53393, posted by rich at 15:18, 13/4/2004, in reply to message #53307 |
Dictator for life
Posts: 6828
|
5. The riscos.iswe.net and quote-egnufeb-quote-greaterthan-colon-hash-comma-underscore-at.info stats seem to have lost their MIME type too Not sure if it's what you mean, but stats on one of my domains didn't work because the manner in which SSI is added to a domain has changed between apache 1.3 and 2.0. To be fair both methods were listed in the main config file. But f*ck fair, because neither were compatible with the actual method in use on the old server, meaning there's at least three methods of doing the same thing. It's enough to send you screaming to IIS ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #53405, posted by Phlamethrower at 12:33, 14/4/2004, in reply to message #53393 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
5. The riscos.iswe.net and quote-egnufeb-quote-greaterthan-colon-hash-comma-underscore-at.info stats seem to have lost their MIME type too Not sure if it's what you mean, but stats on one of my domains didn't work because the manner in which SSI is added to a domain has changed between apache 1.3 and 2.0. To be fair both methods were listed in the main config file. But f*ck fair, because neither were compatible with the actual method in use on the old server, meaning there's at least three methods of doing the same thing. It's enough to send you screaming to IIS They seem to have been fixed now, but what was happening before was that the page was being loaded but IE was giving a file download box instead of displaying the page. The only explanation I could think of is that the Content-type header wasn't being set right or something. Coder's Cauldron appears to have been fixed too |
|
[ Log in to reply ] |
|
Andrew Duffell |
Message #53457, posted by ad at 15:42, 15/4/2004, in reply to message #53405 |
Posts: 3262
|
This used to work
Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 6400 bytes) in /virtual/www.banners.iconbar.com/webpages/sober/riscpc/index.html on line 48
|
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #53458, posted by Phlamethrower at 16:16, 15/4/2004, in reply to message #53457 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 6400 bytes) in /virtual/www.banners.iconbar.com/webpages/sober/riscpc/index.html on line 48 Why would you want to take photos of your hard disc? |
|
[ Log in to reply ] |
|
Andrew Duffell |
Message #53461, posted by ad at 16:46, 15/4/2004, in reply to message #53458 |
Posts: 3262
|
Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 6400 bytes) in /virtual/www.banners.iconbar.com/webpages/sober/riscpc/index.html on line 48 Why would you want to take photos of your hard disc? IIRC there is one photo of a hard disc. It is photos of the RPC generally. |
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #53463, posted by rich at 16:51, 15/4/2004, in reply to message #53457 |
Dictator for life
Posts: 6828
|
This used to work
Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 6400 bytes) in /virtual/www.banners.iconbar.com/webpages/sober/riscpc/index.html on line 48 No idea. It should be pointed out that we're using a completely different version of apache and PHP, so it's entirely possible that it's the code. The images certainly seem to be there.
Of course, I pre-thumbnail all of mine, which works whatever version of PHP is installed ;^)
[edit] OK, the error returned by the bad thumbnail image is...
Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 6400 bytes) in <your file> on line 48 ...which is...
$im = ImageCreateFromJPEG($thumbnail); ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
Andrew Duffell |
Message #53465, posted by ad at 17:43, 15/4/2004, in reply to message #53463 |
Posts: 3262
|
Colours have also borked up on http://www.mysober.co.uk/london/rah/ |
|
[ Log in to reply ] |
|
Andrew Duffell |
Message #53466, posted by ad at 17:45, 15/4/2004, in reply to message #53463 |
Posts: 3262
|
This used to work
Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 6400 bytes) in /virtual/www.banners.iconbar.com/webpages/sober/riscpc/index.html on line 48 No idea. It should be pointed out that we're using a completely different version of apache and PHP, so it's entirely possible that it's the code. The images certainly seem to be there.
Of course, I pre-thumbnail all of mine, which works whatever version of PHP is installed ;^)
[edit] OK, the error returned by the bad thumbnail image is...
Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 6400 bytes) in <your file> on line 48 ...which is...
$im = ImageCreateFromJPEG($thumbnail); The same script works fine if the size of the image source file (i.e $thumbnail) is smaller. |
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #53469, posted by rich at 19:36, 15/4/2004, in reply to message #53466 |
Dictator for life
Posts: 6828
|
The same script works fine if the size of the image source file (i.e $thumbnail) is smaller. I've changed the hard limit on PHP script size from 8MB to 16MB, and most of the images are now working. This means that you're using 9MB plus on this script alone! ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #53586, posted by Phlamethrower at 23:13, 18/4/2004, in reply to message #53469 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Hmm. When I log into my mail using Pine, I get the warning:
Mailbox vulnerable: directory /var/spool/mail must have 1777 protection
Everything else appears to be working fine though (Although Pine lost its configuration to start with because the directory it's stored in had changed) |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #53588, posted by Phlamethrower at 23:44, 18/4/2004, in reply to message #53307 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
1. My forum account at Acorn Arcade has vanished 3. Several forum accounts have vanished from Coder's Cauldron Luckily this was easy to fix - the missing accounts were all still there, but had .lock appended onto the file names where the forum scripts had crashed at some point. I've renamed them all now, and everything seems to be working fine again. |
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #53594, posted by rich at 07:34, 19/4/2004, in reply to message #53586 |
Dictator for life
Posts: 6828
|
Hmm. When I log into my mail using Pine, I get the warning:
Mailbox vulnerable: directory /var/spool/mail must have 1777 protection Hmm... 777 would make it *less* secure, not more! ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #53686, posted by Phlamethrower at 18:24, 21/4/2004, in reply to message #53594 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Ah-ha!
http://www.washington.edu/pine/faq/sysadmins.html#11.16
- Why does Pine require that the mail spool directory have 1777 protections?
Pine was designed to run without special privileges. This means that in order to create a lockfile in the spool directory, it is necessary to have the spool directory permissions be world-writable. - Can't you create the lockfile somewhere else?
No. The lockfile in question must be in the mail spool directory, because that's where the mail delivery program expects to find it, and the purpose of the file is to coordinate access between the mail client (Pine) and the mail delivery program. - Isn't having the spool directory world-writable a big security risk?
No. Remember that the individual mail files in the spool directory are NOT world-writable, only the containing directory. Setting the "sticky bit" -- indicated by the "1" before the "777" mode -- means that only the owner of the file (or root) can delete files in the directory. So the only bad behavior that is invited by the 1777 mode is that anyone could create a random file in the spool directory. If the spool directory is under quota control along with home directories, there is little incentive for anyone to do this, and even without quotas a periodic scan for non-mail files usually takes care of the problem.
|
|
[ Log in to reply ] |
|
Pages (2): 1
> >|
|