• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

HOWTO: Debian FD_SETSIZE Problem

Peter2

New Pleskian
Hi,
this thread maybe help other to fix there problems.

According to:
http://kb.swsoft.com/article_41_260_en.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=330105
and this in apache error-log:
[notice] child pid 29022 exit signal Segmentation fault (11)

i could fix it the Apacheproblem on my Debian-servers.

Maybe these steps help others to fix the problem on their Debian boxes too?:

Make all changes in /etc/sysctl.conf how is it decribed on (http://kb.swsoft.com/article_41_260_en.html) and then:

Code:
# download and build .debs
apt-get install libtool libpcre3-dev libldap2-dev libc6-dev libc6
apt-get source apache2
cd apache2-2.0.54
dpkg-buildpackage -uc -us
cd ../

# test
dpkg -i --simulate apache2-common_2.0.54-5_i386.deb apache2-mpm-prefork_2.0.54-5_i386.deb  apache2-utils_2.0.54-5_i386.deb apache2_2.0.54-5_i386.deb libapr0_2.0.54-5_i386.deb

# install
dpkg -i apache2-common_2.0.54-5_i386.deb apache2-mpm-prefork_2.0.54-5_i386.deb  apache2-utils_2.0.54-5_i386.deb apache2_2.0.54-5_i386.deb libapr0_2.0.54-5_i386.deb

# Install suexec and restart Apache
cp /opt/psa/suexec/psa-suexec2 /usr/lib/apache2/suexec2
/etc/init.d/apache2 restart

Do not install any -dev, gcc or g++ on servers!

Feedback welcome.

Gruss,
PP
 
Hi,
okay you must also recompile php: ;)
Code:
# download and build .debs
apt-get source libapache2-mod-php4
cd php4-4.3.10
#(can happen that you must install for this additional packages!)
dpkg-buildpackage -uc -us

cd ../
dpkg -i --simulate php4-curl_4.3.10-15_i386.deb php4-mcal_4.3.10-15_i386.deb php4-recode_4.3.10-15_i386.deb libapache2-mod-php4_4.3.10-15_i386.deb php4-domxml_4.3.10-15_i386.deb php4-mhash_4.3.10-15_i386.deb php4-snmp_4.3.10-15_i386.deb php4-cgi_4.3.10-15_i386.deb php4-gd_4.3.10-15_i386.deb php4-mysql_4.3.10-15_i386.deb php4-sybase_4.3.10-15_i386.deb php4-cli_4.3.10-15_i386.deb php4-imap_4.3.10-15_i386.deb php4-odbc_4.3.10-15_i386.deb php4-xslt_4.3.10-15_i386.deb php4-common_4.3.10-15_i386.deb php4-ldap_4.3.10-15_i386.deb php4-pear_4.3.10-15_all.deb php4_4.3.10-15_all.deb

dpkg -i php4-curl_4.3.10-15_i386.deb php4-mcal_4.3.10-15_i386.deb php4-recode_4.3.10-15_i386.deb libapache2-mod-php4_4.3.10-15_i386.deb php4-domxml_4.3.10-15_i386.deb php4-mhash_4.3.10-15_i386.deb php4-snmp_4.3.10-15_i386.deb php4-cgi_4.3.10-15_i386.deb php4-gd_4.3.10-15_i386.deb php4-mysql_4.3.10-15_i386.deb php4-sybase_4.3.10-15_i386.deb php4-cli_4.3.10-15_i386.deb php4-imap_4.3.10-15_i386.deb php4-odbc_4.3.10-15_i386.deb php4-xslt_4.3.10-15_i386.deb php4-common_4.3.10-15_i386.deb php4-ldap_4.3.10-15_i386.deb php4-pear_4.3.10-15_all.deb php4_4.3.10-15_all.deb
 
It's better to get required packages for building by
Code:
apt-get build-dep package_for_building
for example
Code:
apt-get build-dep apache2
 
Also I recommend increasing revision number and making some comments about changing by
Code:
dch -i
for assurance that the package won't be reinstalled from Debian repository if somebody makes
Code:
apt-get update
apt-get upgrade
 
Originally posted by Peter2
Code:
apt-get source libapache2-mod-php4
...
cd php4-4.3.10
....
dpkg-buildpackage -uc -us

cd ../

To made the same faster and easier with less commands:
Code:
apt-get install apt-src
apt-src --build install apache2 php4 php4-mcrypt php4-rrdtool php4-imagick php4-imap php4-pgsql php4-ps php4-xslt
apt-src should also download all additional needed .debs.
 
Back
Top