log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Archive Edition 27:2 reviewed (News:)
- WROCC May 2024 meeting - Gerph talks games (News:)
- Drag'n'Drop 13i3 edition reviewed (News:1)
- Wakefield Show 2024 in Pictures (News:5)
- April 2024 News Summary (News:2)
- RISC OS 5.30 arrives (News:2)
- Upgrading your RISC OS system to 5.30 (News:2)
- WROCC May 2024 meeting on wednesday - Gerph talks games (News:)
- uniprint upgraded to 4.50 (News:)
- PhotoDesk 3.23 released (News:)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
Acorn Arcade forums: Site Comments: The unofficial Stuff Which Is Still Broken thread
 
  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 15:17, 9/4/2004
PhlamethrowerHot 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 15:41, 9/4/2004, in reply to message #53307
PhlamethrowerHot 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 15: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 15:53, 9/4/2004, in reply to message #53310
PhlamethrowerHot 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 16: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 16:14, 9/4/2004, in reply to message #53312
PhlamethrowerHot 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 16: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 18: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 18:59, 9/4/2004, in reply to message #53316
PhlamethrowerHot 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 19: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 19:10, 9/4/2004, in reply to message #53318
PhlamethrowerHot 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 21:37, 9/4/2004, in reply to message #53309
Rich
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! :)
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Andrew Duffell Message #53330, posted by ad at 10: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 16:31, 11/4/2004, in reply to message #53324
PhlamethrowerHot 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 15:57, 13/4/2004, in reply to message #53330
Rich
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 :frown:

Obviously there'll be some missingness, but it should all be OK from now on.
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Andrew Duffell Message #53391, posted by ad at 16:05, 13/4/2004, in reply to message #53390

Posts: 3262
thanks :)
  ^[ Log in to reply ]
 
Richard Goodwin Message #53392, posted by rich at 16:15, 13/4/2004, in reply to message #53355
Rich
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 :|
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Richard Goodwin Message #53393, posted by rich at 16:18, 13/4/2004, in reply to message #53307
Rich
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 ;)
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Jeffrey Lee Message #53405, posted by Phlamethrower at 13:33, 14/4/2004, in reply to message #53393
PhlamethrowerHot 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 16: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 17:16, 15/4/2004, in reply to message #53457
PhlamethrowerHot 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 17: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 17:51, 15/4/2004, in reply to message #53457
Rich
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);
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Andrew Duffell Message #53465, posted by ad at 18: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 18: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 20:36, 15/4/2004, in reply to message #53466
Rich
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!
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Jeffrey Lee Message #53586, posted by Phlamethrower at 00:13, 19/4/2004, in reply to message #53469
PhlamethrowerHot 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 00:44, 19/4/2004, in reply to message #53307
PhlamethrowerHot 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 08:34, 19/4/2004, in reply to message #53586
Rich
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!
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Jeffrey Lee Message #53686, posted by Phlamethrower at 19:24, 21/4/2004, in reply to message #53594
PhlamethrowerHot 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 > >|

Acorn Arcade forums: Site Comments: The unofficial Stuff Which Is Still Broken thread