Search found 4 matches

by Dannymh
2014/12/09 09:14:47
Forum: CentOS 6 - Software Support
Topic: Stupidly ran chcon on public_html dir nginx now showing 404
Replies: 4
Views: 950

Re: Stupidly ran chcon on public_html dir nginx now showing

Hi,

No luck, same results if I run that.

Also if I chown to theuser:theuser then nginx stops working for that directory.

Dan
by Dannymh
2014/12/09 00:48:02
Forum: CentOS 6 - Software Support
Topic: Stupidly ran chcon on public_html dir nginx now showing 404
Replies: 4
Views: 950

Re: Stupidly ran chcon on public_html dir nginx now showing

So I think somehow that security change meant that I couldnt access files which were previously owned by the root user. nginx was looking under xginx:nginx for user/group. I chowned to this even though previously they were owned by user/user If this works fine, I will then need to rethink my ftp str...
by Dannymh
2014/12/09 00:01:44
Forum: CentOS 6 - Software Support
Topic: Stupidly ran chcon on public_html dir nginx now showing 404
Replies: 4
Views: 950

Stupidly ran chcon on public_html dir nginx now showing 404

I was setting up FTP, and doing two things at once. On the wrong server I inadvertently ran chcon -Rv --type user_home_dir_t /home/userdir I meant to run this on /home/ftpuser however /home/userdir is my home directory of all my http content. Now that I have run this, nginx fails with 404 errors and...
by Dannymh
2014/03/16 20:13:10
Forum: CentOS 5 - Webhosting Support
Topic: High CPU and memory consumption from command
Replies: 2
Views: 4309

High CPU and memory consumption from command

/usr/libexec/gcc/i386-redhat-linux/4.1.2/cc1plus -quiet -I. -MD IOException.d -MF .deps/IOException.Tpo -MP -MT IOException.o -MQ IOException.o -D_GNU_SOURCE -DHAVE_CONFIG_H -DOPT_CONFIGFILE"/opt/suphp/etc/suphp.conf" IOException.cpp -quiet -dumpbase IOException.cpp -mtunegeneric -auxbase-strip IOE...