• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

centos suexec breaks scripts from running bad!

105547111

Silver Pleskian
Damn suexec is blocking my scripts and causing issues.

[2011-02-25 08:58:28]: uid: (10001/aus-city) gid: (505/psacln) cmd: ultimatebb.cgi
[2011-02-25 08:58:28]: target uid/gid (10001/505) mismatch with directory (10001/504) or program (10001/505)
[2011-02-25 08:58:45]: uid: (10001/aus-city) gid: (505/psacln) cmd: ultimatebb.cgi
[2011-02-25 08:58:45]: target uid/gid (10001/505) mismatch with directory (10001/504) or program (10001/505)
[2011-02-25 08:59:01]: uid: (10001/aus-city) gid: (505/psacln) cmd: ultimatebb.cgi
[2011-02-25 08:59:01]: target uid/gid (10001/505) mismatch with directory (10001/504) or program (10001/505)
[2011-02-25 09:00:01]: uid: (10001/aus-city) gid: (505/psacln) cmd: auto_pickup.pl
[2011-02-25 09:00:57]: uid: (10001/aus-city) gid: (505/psacln) cmd: mail.cgi
[2011-02-25 09:01:27]: uid: (10001/aus-city) gid: (505/psacln) cmd: mail.cgi

How can I fix this. For now I renamed /usr/sbin/suexec to suexec.disabled and restarted httpd, atleast stuiff runs!

What's a proper way to fix it?

Thanks!
 
I found if your got scripts that break, the best way to disable it is to edit your /etc/httpd/httpd.conf

find and change calling up the suexec by adding '#' in-front:

#LoadModule suexec_module modules/mod_suexec.so

Now apache runs without suexec
 
Good to know. I never mentioned what I did. I basically copied the psa version of suexec over the running version.

cp -arf /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec

So far it looks like it is working fine for my issues with PHP and suexec can still run. Although, I don't know why I need suexec to be running at all. Perhaps it is more trouble than it is worth.
 
I found with dada mail it breaks bug time if you want cron running discussion lists. Basically it's failing as cron is trying to call apache to check the mailboxes and relay any messages that are new.

Anyway if suexec does give you grief if you edit the httpd.conf as I suggest, then restarting apache not bring upnan error like other people say to rename the actual file. That results in the module not loading but an ugly error message sayingnit can't find it.

I also had issues with my forum and posting images due to suexec.
 
Back
Top