ispCP - Board - Support
Problem with add new users - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Problem with add new users (/thread-2933.html)



Problem with add new users - kurgans - 04-05-2008 06:13 AM

Good night,

I have a Debian servant with ispcp and have lodged 180 users, when adding a new user the servant gives error and the Web server does not work, I must modify something in the panel to admit but usuary.

My problem this in the use of the fast-cgi giving error of socket

Thanks


RE: Problem with add new users - pgentoo - 04-05-2008 06:44 AM

Can you post the actual error message that you receive?


RE: Problem with add new users - kurgans - 04-05-2008 06:18 PM

Hello,

Now the servant with 180 users works perfect, but if I add a user but leaves east error to me

[Fri Apr 04 17:04:31 2008] [crit] (24)Too many open files: FastCGI: can't create (dynamic) server "/var/www/fcgi/anuncios-on.com/php5-fcgi-starter": socket() failed
[Fri Apr 04 17:04:44 2008] [error] (24)Too many open files: apr_socket_accept: (client socket)
[Fri Apr 04 17:04:45 2008] [error] (24)Too many open files: apr_socket_accept: (client socket)
[Fri Apr 04 17:04:45 2008] [error] (24)Too many open files: apr_socket_accept: (client socket)
[Fri Apr 04 17:04:46 2008] [alert] No active workers found... Apache is exiting!


Thanks, by everything


RE: Problem with add new users - sci2tech - 04-05-2008 11:59 PM

It`s inherited from vhcs2. (to many open file)
Modify /etc/init.d/apache2 and increase ulimit value
Quote:start)....................
echo -n "Starting web server: Apache2"
ulimit -n 65535
$APACHE2CTL startssl
..............................................
reload)
echo -n "Reloading web server config..."
ulimit -n 65535
$APACHE2CTL graceful $2
......................................
restart | force-reload)
echo -n "Forcing reload of web server: Apache2"
apache_stop
ulimit -n 65535
$APACHE2CTL startssl
..............................



RE: Problem with add new users - kurgans - 04-06-2008 03:07 AM

sci2tech Wrote:It`s inherited from vhcs2. (to many open file)
Modify /etc/init.d/apache2 and increase ulimit value
Quote:start)....................
echo -n "Starting web server: Apache2"
ulimit -n 65535
$APACHE2CTL startssl
..............................................
reload)
echo -n "Reloading web server config..."
ulimit -n 65535
$APACHE2CTL graceful $2
......................................
restart | force-reload)
echo -n "Forcing reload of web server: Apache2"
apache_stop
ulimit -n 65535
$APACHE2CTL startssl
..............................

Hello I have put your lines in my servant I have reinitiated APACHE and now it does not start gives an error warning of this: Starting web server (apache2)... apache2: bad to user name vu2100 failed! Please you can help me?


RE: Problem with add new users - sci2tech - 04-06-2008 03:35 AM

User 2100 is not in /etc/passwd, and the file for this user probably are not corect or at all configured. First you have to determin which is the domain with problem (find it in /etc/apache2/sites-available/ispcp.conf) and then in table domain in ispcp database set domain_status to toadd and then run /var/www/ispcp/engine/ispcp-rqst-mngr.


RE: Problem with add new users - kurgans - 04-06-2008 08:46 PM

Ok, everything very or I have cleaned to the data bases and configuration files manually and works without problems, not so that I do not eliminate or the data that user.

But all good and working.