View Single Post
  #26  
Old 02-17-2016, 01:57 AM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
You didn't answer what account your web software, presumable apache, runs on.

Run the command:
Code:
ps aux | egrep '(apache|httpd)'
The account associated with that process needs to be the one that has write access to your web files or uploads won't work.

For example, on standard ubuntu the web server software runs with the www-data account. If that account does not have write access to your forum folder you won't be able to upload into that folder.

This is the output from that command:

Code:

nobody   19550  0.0  0.0  61452  3512 ?        S    14:53   0:02 /usr/local/apache/bin/httpd

nobody   24232  0.0  0.0  61452  3448 ?        S    15:57   0:01 /usr/local/apache/bin/httpd

root     25895  0.0  0.0  59248  3276 ?        Ss   Feb05   0:55 /usr/local/apache/bin/httpd

nobody   29629  0.0  0.0  61452  3468 ?        S    17:32   0:00 /usr/local/apache/bin/httpd

nobody   29772  0.0  0.0  61460  3404 ?        S    17:35   0:00 /usr/local/apache/bin/httpd

nobody   29781  0.0  0.0  61456  3408 ?        S    17:35   0:00 /usr/local/apache/bin/httpd

nobody   29785  0.0  0.0  61596  3484 ?        S    17:35   0:00 /usr/local/apache/bin/httpd

nobody   29907  0.0  0.0  61560  3476 ?        S    17:38   0:00 /usr/local/apache/bin/httpd

nobody   29909  0.0  0.0  61456  3400 ?        S    17:38   0:00 /usr/local/apache/bin/httpd

nobody   29910  0.0  0.0  61540  3436 ?        S    17:38   0:00 /usr/local/apache/bin/httpd

nobody   29923  0.0  0.0  61452  3308 ?        S    17:38   0:00 /usr/local/apache/bin/httpd

root     30792  0.0  0.0 103312   880 pts/1    S+   17:55   0:00 egrep (apache|httpd)
It seems that Root is running Apache/HTTPD. But the way that CentOS Web Panel installs, it installs everything for you.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01022 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete