Page Index Toggle Pages: 1 [2] 
Topic Tools
Hot Topic (More than 10 Replies) Windows Server 2008 IIS 7 YaBB 2.5 (Read 6,543 times)
_STEVE_
YaBB Newcomer
*
Offline



Posts: 8
Location: Nottingham, UK
Re: Windows Server 2008 IIS 7 YaBB 2.5
Reply #15 - Oct 5th, 2012 at 10:05am
Post Tools
Nice try Dandello, but unfortunately the problem persists...  Sad

Any other things I can try?

Steve
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,913
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Windows Server 2008 IIS 7 YaBB 2.5
Reply #16 - Oct 5th, 2012 at 12:45pm
Post Tools
I think we may not have commented out enough code

I'm about 80% sure that the problem is due to a system call being made incorrectly.  There are actually three system calls being made. Windows will not know the syntax, it returns an error to IIS that is basically "WTF?".  It is not that Perl is trying to make a non-allowed operation, its that the operation can't return anything meaningful.

Troubleshooting to see if this is the problem - There are probably 2 or 3 errors in one of the Event Logs - where IIS tried to talk to Windows (2 perhaps because you excised the 'df' {disk free} call). 

It is currently unknown what triggers this particular behavior. I first saw it live this month, and I have two IIS servers that have been running YaBB for years.  I found it on an XP machine that is a dual-boot Linux server. I'd be interested to know if there are any Unix file system mounts (such as Samba), or attached devices NAS/SAN that are mapped which have ext3 partitions.

In Settings_Advanced.pl - cut out this whole section -

Code (Perl)
Select All
# Free Disk Space Checking
my @disk_space = qx{df -k .};
map { $_ =~ s/ +/  /g } @disk_space;

my @find = qx(find . -noleaf -type f -printf "%s-");

$hostusername = $hostusername || (split(/ +/, qx{ls -l YaBB.$yyext}))[2];
my @quota = qx{quota -u $hostusername -v};
$quota[0] =~ s/^ +//;
$quota[0] =~ s/ / /g;
$quota[1] =~ s/^ +//;
$quota[1] =~ s/ / /g;
my $quota_select = qq~$quota[0]<br />$quota[1]~;
if ($quota[2]) {
	my $ds = (split(/ +/, $disk_space[1], 2))[0] if !$enable_quota;
	$quota_select .= qq~<br /><select name="enable_quota_value">~;
	for (my $i = 2; $i < @quota; $i++) {
		$quota[$i] =~ s/^ +//;
		$quota[$i] =~ s/ +/&nbsp;&nbsp;/g;
		$quota_select .= qq~<option value="$i" ~ . ${isselected($i == $enable_quota || ($ds && $quota[$i] =~ /^$ds/))} . qq~>$quota[$i]</option>~;
	}
	$quota_select .= '</select>';
}
 



If this does not fix, its back to the drawing boards.  If there is something critical that needs adjustment, you can always edit Settings.pl manually.  Almost all settings are commented.

Good Luck
Cool
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
_STEVE_
YaBB Newcomer
*
Offline



Posts: 8
Location: Nottingham, UK
Re: Windows Server 2008 IIS 7 YaBB 2.5
Reply #17 - Oct 11th, 2012 at 12:07pm
Post Tools
Hey Jon

That fixed it - thank you!!  Cheesy

Steve
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,913
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Windows Server 2008 IIS 7 YaBB 2.5
Reply #18 - Oct 11th, 2012 at 1:18pm
Post Tools
Excellent Steve!  That's great news!

Good Luck with YaBB
Cool
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Topic Tools
 
  « Board Index ‹ Board  ^Top