Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-09-2012, 09:17 PM
|
#1
|
Member
Registered: Jan 2012
Distribution: Debian, CentOS, Fedora, TinyCore
Posts: 45
Rep:
|
mail error in centOS, SMTP possibly php-curl error
So I recently started to run new forum software, of course, it broke something.. maybe I broke something
I run the latest version of all the php repo's
I run the latest version of CentOS
I'm using IPB forum software (no one on that site has any slightest idea how to fix this)
Could not open a socket to the SMTP server (13:Permission denied)
that's the error I get, now I believe the first half is the php error and the second half: (13:Permission denied) is an apache error, but IPB combines them
so I have an apache permission error, possibly.. also I noticed a fedora server I run for other stuff has:
Quote:
Protocols dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp
|
In Curl for phpinfo.. but my CentOS server looks like this:
Quote:
Protocols tftp, ftp, telnet, dict, ldap, ldaps, http, file, https, ftps, scp, sftp
|
so I am thinking if I get curl to have the smtp support it might work? I have no idea.. I'm in between noob linux user and pro.. some things I know how to do extremely well and others I have no idea about, this is one of them.
I have been searching for about 3 days, in those 3 days I have acquired all the information above, I am unable to find how to install php-curl with smtp support, I haven't been able to find it anywhere on google nor yum search
thank you for any help..
|
|
|
01-18-2012, 02:35 PM
|
#2
|
Member
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407
Rep:
|
I have foutht with error 13 quite a bit. Does your CentOS server run with SELinux enabled? If so, you may need to set the security context of the folder that should contain the SMTP socket so that Apache can complete its mail transfer.
HTH
|
|
|
01-18-2012, 05:26 PM
|
#3
|
Member
Registered: Jan 2012
Distribution: Debian, CentOS, Fedora, TinyCore
Posts: 45
Original Poster
Rep:
|
Quote:
Originally Posted by dkm999
I have foutht with error 13 quite a bit. Does your CentOS server run with SELinux enabled? If so, you may need to set the security context of the folder that should contain the SMTP socket so that Apache can complete its mail transfer.
HTH
|
Yes I had a guy help me with it 2 days ago finally fixed it... it was a combination of SELinux and a little apache permission (mostly SELinux) the error was obvious after SELinux was disabled it told me exactly what file to give permission to (within my forums directory, so it was forum specific not linux)
looks like you were headed in the exact way he headed too so probably would have fixed it, thanks a bunch I'm good now
|
|
|
All times are GMT -5. The time now is 08:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|