[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#281387: ucf: too many arguments



Fabio Massimo Di Nitto wrote:


Perhaps you want to add the config files? or tell us how many files are
in the vhosts dir?
What error message do you get?

I tried to reproduce the error on a similar machine - this time it failed a little different. (failed in cp not in ucf). The ucf error mentioned before was also Argument list to long - not "too many arguments".


/var/lib/dpkg/info/apache.postinst: line 453: /bin/cp: Argument list too long
dpkg: error processing apache (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 apache


my httpd.conf says:
Include /etc/apache/vhosts/*.conf

I have about 5000 symlinks in that directory to

/customers/domainX/config/httpd.conf  where X in (1 .. 5000)

Each customers config file is a pretty simple config file
<VirtualHost *>
      Servername domainX
      DocumentRoot /customers/domainX/www

      User ...
      Group ...

      <Directory> ... </Directory>
</VirtualHost>

Decreasing number of symlinks to e.g 3000 - gives me.

Setting up apache (1.3.31-7) ...
xargs: environment is too large for exec
xargs: environment is too large for exec
xargs: environment is too large for exec
Starting web server: apache.








Reply to: