vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Admin CP UserTools and ServerStats (https://vborg.vbsupport.ru/showthread.php?t=43232)

Mutt 02-07-2003 07:23 PM

Quote:

Originally posted by Intex
How do you configure your server to support the uptime features? I'm running Apache.
my new server won't read uptime either. I'd love to get it working again, but not sure how

wooolF[RM] 02-07-2003 08:36 PM

]
Quote:

Originally posted by Mutt


my new server won't read uptime either. I'd love to get it working again, but not sure how

the problem is in user rights... look here :

Quote:

Warning: SAFE MODE Restriction in effect. The script whose uid is 1740 is not allowed to access /proc/uptime owned by uid 0 in /home/www/web1/html/forum/admin/index.php on line 158

Warning: fopen("/proc/uptime", "r") - Success in /home/www/web1/html/forum/admin/index.php on line 158

Warning: fgets(): supplied argument is not a valid File-Handle resource in /home/www/web1/html/forum/admin/index.php on line 159

Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/www/web1/html/forum/admin/index.php on line 160
Server Uptime:
0 days, 0 hours and 0 minutes

Load Averages:
: :


Warning: SAFE MODE Restriction in effect. The script whose uid is 1740 is not allowed to access /proc/sys/kernel/hostname owned by uid 0 in /home/www/web1/html/forum/admin/index.php on line 140

Warning: fopen("/proc/sys/kernel/hostname", "r") - Success in /home/www/web1/html/forum/admin/index.php on line 140
don't look at the number of lines and try to compare to yours... the main idea is to chmod + chown /proc/sys/kernel/hostname to the same uid as your webuser (vbb)

wooolF[RM] 02-07-2003 08:48 PM

actually I can say it in other words :

u must :

a) run index.php as root and then u'll get rights to run uptime commands (which is owned by root)

OR

b) make uptime command owned by your webuser (same uid as vbb user)

OR (dunno if possible)

c) let uptime command be run as root and as webuser

BigCheeze 02-09-2003 03:24 AM

Nice!

/me installs!

Les Shaw 02-17-2003 10:02 PM

Love the install , and it looks great , I get this though ?

Warning: fopen("/proc/uptime", "r") - No such file or directory in /home/www/forums/admin/index.php on line 217

Warning: Supplied argument is not a valid File-Handle resource in /home/www/forums/admin/index.php on line 218

Warning: Supplied argument is not a valid File-Handle resource in /home/www/forums/admin/index.php on line 219
Server Uptime:
0 days, 0 hours and 0 minutes

Load Averages:
1.44 : 1.45 : 1.39


Warning: fopen("/proc/sys/kernel/hostname", "r") - No such file or directory in /home/www/forums/admin/index.php on line 199


Any help ?

WoodiE 02-23-2003 04:25 AM

Works like a charm on 2.2.9

Thanks TECK!

-WoodiE

alamuae 02-23-2003 06:48 AM

Works 2.3.0

Thanks TECK!

Dan 03-06-2003 08:08 PM

/me clicks install

Works excellent!

Makes my acp a lot better.

Stud_Muffin 04-26-2003 02:11 AM

Installed over here on 2.3.0 :smoke:

SharronH 04-27-2003 02:36 AM

I'm wondering if this is just me or is the admin home page is taking very long to load? The server is on a dedicated server btw.


All times are GMT. The time now is 07:15 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01189 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete