Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th April 2012, 10:09
DamianFick DamianFick is offline
Junior Member
 
Join Date: Apr 2012
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Server is up but directories are not.

I am running a nginx server on centos 6.2 64 bit

my site is http://aanime.org

As you can see our site is completely screwed up... That is because no directories are accessible not even the control panel for wordpress or the images directory.

Suggestions please!

Last edited by DamianFick; 6th April 2012 at 11:29.
Reply With Quote
Sponsored Links
  #2  
Old 7th April 2012, 10:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

For running Wordpress on nginx, take a look here: http://www.howtoforge.com/running-wo...e-ubuntu-11.04
__________________
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 8th April 2012, 05:20
DamianFick DamianFick is offline
Junior Member
 
Join Date: Apr 2012
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I managed to find a wordpress configuration on the wiki.nginx.org which is waaaay more mind boggling than the one shown on your tutorial. It even recodes your nginx.conf to work with wordpress, cluster servers, multi site compatibility, proxies, and caching.

Then it gave the optimized vhost code which needed me to make 5 external files... The vhost which is on your tutorial is what i was using and it did not work, however after a few hours working on this it works now.

But for some stupid reason all of my files and folders are set as random owners such as "client0" "web1" web2" "web3" "ispconfig" "ispdb" and even "falko"

I dont know why but it is causing me tons of wasted time having to change the users on my websites folders. THEY WILL NOT work read/write under those user accounts. Once set to Apache once a php error ridden website is now clean as a whistle.

Another problem is postfix, i believe this is my SMTP? it wont turn on and it will not tell me why. It just says Stopping Postfix... [FAILED] Starting Postfix... [FAILED]

What port does this use if it could be that i doubt it. I am sure all ports are open.
Reply With Quote
  #4  
Old 8th April 2012, 10:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Quote:
Originally Posted by DamianFick View Post
I managed to find a wordpress configuration on the wiki.nginx.org which is waaaay more mind boggling than the one shown on your tutorial. It even recodes your nginx.conf to work with wordpress, cluster servers, multi site compatibility, proxies, and caching.

Then it gave the optimized vhost code which needed me to make 5 external files... The vhost which is on your tutorial is what i was using and it did not work, however after a few hours working on this it works now.
All I can say is that my configuration works for me and all Wordpress sites I've set up so far.

Quote:
Originally Posted by DamianFick View Post
But for some stupid reason all of my files and folders are set as random owners such as "client0" "web1" web2" "web3" "ispconfig" "ispdb" and even "falko"
web1, web2, etc. are system usernames, client0, client1, etc. are group names. Not sure if you are reading the details your system gives you correctly.

Quote:
Originally Posted by DamianFick View Post
I dont know why but it is causing me tons of wasted time having to change the users on my websites folders. THEY WILL NOT work read/write under those user accounts. Once set to Apache once a php error ridden website is now clean as a whistle.
Did you check your error logs? If you use CentOS, did you disable SELinux?

Quote:
Originally Posted by DamianFick View Post
Another problem is postfix, i believe this is my SMTP? it wont turn on and it will not tell me why. It just says Stopping Postfix... [FAILED] Starting Postfix... [FAILED]

What port does this use if it could be that i doubt it. I am sure all ports are open.
Any errors in your mail log?
__________________
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 8th April 2012, 11:53
DamianFick DamianFick is offline
Junior Member
 
Join Date: Apr 2012
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

SELinux is disabled.

Where is my mail logs?
Reply With Quote
  #6  
Old 9th April 2012, 12:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

It's in the /var/log/ directory.
__________________
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 9th April 2012, 15:49
DamianFick DamianFick is offline
Junior Member
 
Join Date: Apr 2012
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

maillog-20120408:

Apr 8 03:17:07 zs1 clamd[2357]: SelfCheck: Database status OK.
Apr 8 03:20:01 zs1 pop3d: Connection, ip=[::1]
Apr 8 03:20:01 zs1 pop3d: Disconnected, ip=[::1]
Apr 8 03:20:01 zs1 imapd: Connection, ip=[::1]
Apr 8 03:20:01 zs1 imapd: Disconnected, ip=[::1], time=0
Apr 8 03:20:01 zs1 postfix/sendmail[26595]: fatal: bad string length 0 < 1: myhostname =
Apr 8 03:25:02 zs1 pop3d: Connection, ip=[::1]
Apr 8 03:25:02 zs1 pop3d: Disconnected, ip=[::1]
Apr 8 03:25:02 zs1 imapd: Connection, ip=[::1]
Apr 8 03:25:02 zs1 imapd: Disconnected, ip=[::1], time=0
Apr 8 03:25:02 zs1 postfix/sendmail[26839]: fatal: bad string length 0 < 1: myhostname =

maillog:

Apr 9 03:54:30 zs1 postfix/smtpd[3159]: connect from ncwedge99.us.ncsoft.com[64.25.34.36]
Apr 9 03:54:30 zs1 postfix/smtpd[3159]: NOQUEUE: reject: RCPT from ncwedge99.us.ncsoft.com[64.25.34.36]: 554 5.7.1 <admin@zyphos.co.cc>: Relay access denied; from=<support@ncsoft.com> to=<admin@zyphos.co.cc> proto=ESMTP helo=<ncwedge99.us.ncsoft.com>
Apr 9 03:54:31 zs1 postfix/smtpd[3159]: disconnect from ncwedge99.us.ncsoft.com[64.25.34.36]
Apr 9 03:57:51 zs1 postfix/anvil[3162]: statistics: max connection rate 1/60s for (smtp:64.25.34.36) at Apr 9 03:54:30
Apr 9 03:57:51 zs1 postfix/anvil[3162]: statistics: max connection count 1 for (smtp:64.25.34.36) at Apr 9 03:54:30
Apr 9 03:57:51 zs1 postfix/anvil[3162]: statistics: max cache size 1 at Apr 9 03:54:30
Apr 9 03:59:10 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 04:06:14 zs1 postfix/smtpd[3280]: connect from mail.d91.k12.id.us[69.20.174.13]
Apr 9 04:06:14 zs1 postfix/smtpd[3280]: NOQUEUE: reject: RCPT from mail.d91.k12.id.us[69.20.174.13]: 554 5.7.1 <damianfick@zyphos.co.cc>: Relay access denied; from=<ShipPats@d91.k12.id.us> to=<damianfick@zyphos.co.cc> proto=ESMTP helo=<Mail1.d91.k12.id.us>
Apr 9 04:06:14 zs1 postfix/smtpd[3280]: disconnect from mail.d91.k12.id.us[69.20.174.13]
Apr 9 04:09:10 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 04:09:34 zs1 postfix/anvil[3283]: statistics: max connection rate 1/60s for (smtp:69.20.174.13) at Apr 9 04:06:14
Apr 9 04:09:34 zs1 postfix/anvil[3283]: statistics: max connection count 1 for (smtp:69.20.174.13) at Apr 9 04:06:14
Apr 9 04:09:34 zs1 postfix/anvil[3283]: statistics: max cache size 1 at Apr 9 04:06:14
Apr 9 04:19:10 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 04:29:10 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 04:39:10 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 04:41:06 zs1 postfix/smtpd[3670]: connect from unknown[123.238.176.154]
Apr 9 04:41:07 zs1 postfix/smtpd[3670]: NOQUEUE: reject: RCPT from unknown[123.238.176.154]: 554 5.7.1 <damianfick@zyphos.co.cc>: Relay access denied; from=<azhg@wmyj.net> to=<damianfick@zyphos.co.cc> proto=SMTP helo=<abcd>
Apr 9 04:41:07 zs1 postfix/smtpd[3670]: lost connection after RCPT from unknown[123.238.176.154]
Apr 9 04:41:07 zs1 postfix/smtpd[3670]: disconnect from unknown[123.238.176.154]
Apr 9 04:44:27 zs1 postfix/anvil[3673]: statistics: max connection rate 1/60s for (smtp:123.238.176.154) at Apr 9 04:41:06
Apr 9 04:44:27 zs1 postfix/anvil[3673]: statistics: max connection count 1 for (smtp:123.238.176.154) at Apr 9 04:41:06
Apr 9 04:44:27 zs1 postfix/anvil[3673]: statistics: max cache size 1 at Apr 9 04:41:06
Apr 9 04:49:10 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 04:59:10 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 05:09:10 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 05:17:32 zs1 postfix/smtpd[4392]: connect from ncwedge99.us.ncsoft.com[64.25.34.36]
Apr 9 05:17:32 zs1 postfix/smtpd[4392]: NOQUEUE: reject: RCPT from ncwedge99.us.ncsoft.com[64.25.34.36]: 554 5.7.1 <admin@zyphos.co.cc>: Relay access denied; from=<support@ncsoft.com> to=<admin@zyphos.co.cc> proto=ESMTP helo=<ncwedge99.us.ncsoft.com>
Apr 9 05:17:32 zs1 postfix/smtpd[4392]: disconnect from ncwedge99.us.ncsoft.com[64.25.34.36]
Apr 9 05:17:51 zs1 postfix/smtpd[4392]: connect from mailsend.pingdom.com[83.140.19.112]
Apr 9 05:17:51 zs1 postfix/smtpd[4392]: NOQUEUE: reject: RCPT from mailsend.pingdom.com[83.140.19.112]: 554 5.7.1 <admin@aanime.co.cc>: Relay access denied; from=<alert@pingdom.com> to=<admin@aanime.co.cc> proto=ESMTP helo=<mailsend.pingdom.com>
Apr 9 05:17:52 zs1 postfix/smtpd[4392]: disconnect from mailsend.pingdom.com[83.140.19.112]
Apr 9 05:19:11 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 05:21:12 zs1 postfix/anvil[4395]: statistics: max connection rate 1/60s for (smtp:64.25.34.36) at Apr 9 05:17:32
Apr 9 05:21:12 zs1 postfix/anvil[4395]: statistics: max connection count 1 for (smtp:64.25.34.36) at Apr 9 05:17:32
Apr 9 05:21:12 zs1 postfix/anvil[4395]: statistics: max cache size 2 at Apr 9 05:17:51
Apr 9 05:22:13 zs1 postfix/smtpd[4505]: connect from mailsend.pingdom.com[83.140.19.112]
Apr 9 05:22:13 zs1 postfix/smtpd[4505]: NOQUEUE: reject: RCPT from mailsend.pingdom.com[83.140.19.112]: 554 5.7.1 <admin@aanime.co.cc>: Relay access denied; from=<alert@pingdom.com> to=<admin@aanime.co.cc> proto=ESMTP helo=<mailsend.pingdom.com>
Apr 9 05:22:13 zs1 postfix/smtpd[4505]: disconnect from mailsend.pingdom.com[83.140.19.112]
Apr 9 05:25:33 zs1 postfix/anvil[4508]: statistics: max connection rate 1/60s for (smtp:83.140.19.112) at Apr 9 05:22:13
Apr 9 05:25:33 zs1 postfix/anvil[4508]: statistics: max connection count 1 for (smtp:83.140.19.112) at Apr 9 05:22:13
Apr 9 05:25:33 zs1 postfix/anvil[4508]: statistics: max cache size 1 at Apr 9 05:22:13
Apr 9 05:29:11 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 05:39:11 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 05:49:11 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 05:59:11 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 06:09:11 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 06:19:11 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 06:29:11 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 06:39:11 zs1 clamd[14068]: SelfCheck: Database status OK.
Apr 9 06:41:18 zs1 postfix/smtpd[6408]: connect from ncwedge99.us.ncsoft.com[64.25.34.36]
Apr 9 06:41:18 zs1 postfix/smtpd[6408]: NOQUEUE: reject: RCPT from ncwedge99.us.ncsoft.com[64.25.34.36]: 554 5.7.1 <admin@zyphos.co.cc>: Relay access denied; from=<support@ncsoft.com> to=<admin@zyphos.co.cc> proto=ESMTP helo=<ncwedge99.us.ncsoft.com>
Apr 9 06:41:19 zs1 postfix/smtpd[6408]: disconnect from ncwedge99.us.ncsoft.com[64.25.34.36]
Apr 9 06:44:39 zs1 postfix/anvil[6411]: statistics: max connection rate 1/60s for (smtp:64.25.34.36) at Apr 9 06:41:18
Apr 9 06:44:39 zs1 postfix/anvil[6411]: statistics: max connection count 1 for (smtp:64.25.34.36) at Apr 9 06:41:18
Apr 9 06:44:39 zs1 postfix/anvil[6411]: statistics: max cache size 1 at Apr 9 06:41:18

thats what i see i cant post everything way too much info.
Reply With Quote
  #8  
Old 10th April 2012, 20:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Quote:
Apr 9 04:06:14 zs1 postfix/smtpd[3280]: NOQUEUE: reject: RCPT from mail.d91.k12.id.us[69.20.174.13]: 554 5.7.1 <damianfick@zyphos.co.cc>: Relay access denied; from=<ShipPats@d91.k12.id.us> to=<damianfick@zyphos.co.cc> proto=ESMTP helo=<Mail1.d91.k12.id.us>
Do these "relay access denied" errors appear when you try to send an email to the outside, or if someone tries to send an email to you?
__________________
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
  #9  
Old 11th April 2012, 04:04
DamianFick DamianFick is offline
Junior Member
 
Join Date: Apr 2012
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I wouldnt know mailman does not allow access to it from any domain even localhost and Microsoft Outlook will not connect to it.
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
Not working emails (DNS and postfix problem?) shekiman Installation/Configuration 9 1st March 2011 16:25
Virtual Users+Postfix+Courier+CentOS problem telnet localhost 25 stinson HOWTO-Related Questions 11 5th February 2011 13:57
Webmin upgrade lishaw1968 Installation/Configuration 15 26th August 2010 15:23
Can't Ping over VPN RoMiONeT Server Operation 2 4th July 2010 00:19
problem with upgrade to 2.2.34 brianetilley Installation/Configuration 14 11th November 2009 17:22


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


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