Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th June 2007, 19:10
Salvis Salvis is offline
Junior Member
 
Join Date: May 2006
Location: Riga, Latvia
Posts: 26
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Salvis
Red face Warning: fwrite(): supplied argument is not a valid stream resource

I runed command:
Quote:
# /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php
And i received multiple lines with response:
Quote:
Warning: fwrite(): supplied argument is not a valid stream resource in /root/ispconfig/scripts/shell/logs.php on line 97

Warning: fwrite(): supplied argument is not a valid stream resource in /root/ispconfig/scripts/shell/logs.php on line 97

Warning: fwrite(): supplied argument is not a valid stream resource in /root/ispconfig/scripts/shell/logs.php on line 97

Warning: fwrite(): supplied argument is not a valid stream resource in /root/ispconfig/scripts/shell/logs.php on line 97
How to fix it ?
Reply With Quote
Sponsored Links
  #2  
Old 30th June 2007, 17:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What's around line 97 in /root/ispconfig/scripts/shell/logs.php?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st July 2007, 09:31
Salvis Salvis is offline
Junior Member
 
Join Date: May 2006
Location: Riga, Latvia
Posts: 26
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Salvis
Default

/root/ispconfig/scripts/shell/logs.php
Reply With Quote
  #4  
Old 2nd July 2007, 19:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Can you put the lines
PHP Code:
echo get_filename($virtual_host);
echo 
$virtual_host
after line 95 and run
Code:
/root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php
again? What's the output?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 2nd July 2007, 22:10
Salvis Salvis is offline
Junior Member
 
Join Date: May 2006
Location: Riga, Latvia
Posts: 26
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Salvis
Default

# /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php
Quote:
chown: `:web8': invalid group

Warning: array_merge(): Argument #1 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #1 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #2 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #1 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #2 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #1 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #2 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #1 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #2 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #1 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #2 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #1 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #2 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #1 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #2 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #1 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #2 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #1 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197

Warning: array_merge(): Argument #2 is not an array in /root/ispconfig/scripts/shell/awstats.php on line 197
#
Reply With Quote
  #6  
Old 3rd July 2007, 17:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Is that the whole output?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 3rd July 2007, 17:11
Salvis Salvis is offline
Junior Member
 
Join Date: May 2006
Location: Riga, Latvia
Posts: 26
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Salvis
Default

Quote:
Originally Posted by falko
Is that the whole output?
Yes. Whole output.
Reply With Quote
  #8  
Old 4th July 2007, 16:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

I wonder why it doesn't display any virtual hosts... Also, why does it say that web8 is an invalid group?
Did you maybe delete some groups and directories manually?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
backup failure.... gilas Installation/Configuration 19 30th October 2007 13:08
About installing ddclient satimis Server Operation 32 21st December 2006 04:51
log files, rotation and emailing them hairydog2 General 65 11th October 2006 14:18
php script injections Grizzly General 21 18th July 2006 09:55
Installation Big issue OpenVZ VPS jbond007 Installation/Configuration 3 7th March 2006 20:40


All times are GMT +2. The time now is 11:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.