Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 31st May 2011, 18:13
matiasCU matiasCU is offline
Member
 
Join Date: Apr 2007
Posts: 57
Thanks: 5
Thanked 2 Times in 2 Posts
Default Some problems after upgrade OS lenny to squeeze

Hi Guys:
I've had a number of problems when migrating from lenny to squeeze:
1) Apache2:
From the panel I can not make changes to the configuration of the vhost.
I can not restart apache with /etc/init.d/apache2 restart, , restart only by apache2ctl restart
I also encountered errors like the following:
ps aux |grep apache
[apache2] <defunct>

Im set apache2.conf LogLevel debug, but not only reveals the following:
[Tue May 31 12:50:30 2011] [info] mod_unique_id: using ip addr 192.168.0.1
[Tue May 31 12:50:31 2011] [info] Init: Seeding PRNG with 648 bytes of entropy
[Tue May 31 12:50:31 2011] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Tue May 31 12:50:31 2011] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Tue May 31 12:50:31 2011] [info] Init: Initializing (virtual) servers for SSL
[Tue May 31 12:50:31 2011] [info] mod_ssl/2.2.16 compiled against Server: Apache/2.2.16, Library: OpenSSL/0.9.8o
[Tue May 31 12:50:31 2011] [debug] mod_security2.c(431): SecServerSignature: Changed server signature to "Apache/2.2.0 (Fedora)".
[Tue May 31 12:50:31 2011] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Tue May 31 12:50:31 2011] [notice] Original server signature: Apache/2.2.16 (Debian) mod_ssl/2.2.16 OpenSSL/0.9.8o
[Tue May 31 12:50:31 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue May 31 12:50:31 2011] [info] mod_unique_id: using ip addr 192.168.0.1
[Tue May 31 12:50:32 2011] [info] Init: Seeding PRNG with 648 bytes of entropy
[Tue May 31 12:50:32 2011] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Tue May 31 12:50:32 2011] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Tue May 31 12:50:32 2011] [debug] ssl_scache_shmcb.c(253): shmcb_init allocated 512000 bytes of shared memory
[Tue May 31 12:50:32 2011] [debug] ssl_scache_shmcb.c(272): for 511952 bytes (512000 including header), recommending 32 subcaches, 133 indexes each
[Tue May 31 12:50:32 2011] [debug] ssl_scache_shmcb.c(306): shmcb_init_memory choices follow
[Tue May 31 12:50:32 2011] [debug] ssl_scache_shmcb.c(308): subcache_num = 32
[Tue May 31 12:50:32 2011] [debug] ssl_scache_shmcb.c(310): subcache_size = 15996
[Tue May 31 12:50:32 2011] [debug] ssl_scache_shmcb.c(312): subcache_data_offset = 2144
[Tue May 31 12:50:32 2011] [debug] ssl_scache_shmcb.c(314): subcache_data_size = 13852
[Tue May 31 12:50:32 2011] [debug] ssl_scache_shmcb.c(316): index_num = 133
[Tue May 31 12:50:32 2011] [info] Shared memory session cache initialised
[Tue May 31 12:50:32 2011] [info] Init: Initializing (virtual) servers for SSL
[Tue May 31 12:50:32 2011] [info] mod_ssl/2.2.16 compiled against Server: Apache/2.2.16, Library: OpenSSL/0.9.8o
[Tue May 31 12:50:32 2011] [debug] mod_security2.c(431): SecServerSignature: Changed server signature to "Apache/2.2.0 (Fedora)".
[Tue May 31 12:50:32 2011] [info] mod_fcgid: Process manager 31257 started
[Tue May 31 12:50:32 2011] [notice] Apache/2.2.16 (Debian) mod_ssl/2.2.16 OpenSSL/0.9.8o Apache/2.2.0 (Fedora) mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze1 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
[Tue May 31 12:50:32 2011] [info] Server built: Mar 22 2011 20:56:31
[Tue May 31 12:50:32 2011] [debug] prefork.c(1013): AcceptMutex: sysvsem (default: sysvsem)

More info:
dpkg --get-selections |grep apache
apache2 install
apache2-doc install
apache2-mpm-prefork install
apache2-suexec install
apache2-utils install
apache2.2-bin install
apache2.2-common install
libapache-mod-security install
libapache-ruby1.8 install
libapache2-mod-evasive install
libapache2-mod-fastcgi install
libapache2-mod-fcgid install
libapache2-mod-php5 install
libapache2-mod-ruby install
libapache2-mod-suphp install


dpkg --get-selections |grep php
libapache2-mod-php5 install
libapache2-mod-suphp install
php-auth install
php-compat install
php-image-barcode install
php-mdb2 install
php-mdb2-driver-mysql install
php-pear install
php5 install
php5-cgi install
php5-cli install
php5-common install
php5-curl install
php5-gd install
php5-imagick install
php5-imap install
php5-mcrypt install
php5-memcache install
php5-mysql install
php5-pgsql install
php5-sqlite install
php5-suhosin install
php5-xmlrpc install
phpmyadmin install
suphp-common install

uname -a
Linux server 2.6.32-5-686-bigmem #1 SMP Wed May 18 07:33:52 UTC 2011 i686 GNU/Linux

I also disabled ipv6

ps aux |grep apache
root 29019 0.0 0.0 2780 1324 ? S 12:36 0:00 /bin/sh /etc/rc6.d/K09apache2 stop
root 30550 0.0 0.0 4844 1408 ? S 12:45 0:00 /bin/sh /etc/init.d/apache2 restart
root 31252 0.1 0.2 52752 15728 ? Ss 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31257 0.0 0.0 25744 5344 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31259 0.1 0.2 60292 17344 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31260 0.1 0.3 61568 20208 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31261 0.0 0.2 60312 18084 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31262 0.1 0.3 60664 18980 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31263 0.1 0.3 60996 19916 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31264 0.0 0.3 60352 18716 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31265 0.0 0.2 60880 18132 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31266 0.1 0.2 56072 13856 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31267 0.2 0.3 61864 20164 ? S 12:50 0:01 /usr/sbin/apache2 -k restart
www-data 31268 0.1 0.3 60920 19404 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31269 0.1 0.3 61220 19700 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31270 0.0 0.2 60620 17900 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31271 0.1 0.3 61548 19880 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31272 0.1 0.3 60664 19588 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31273 0.1 0.3 60604 18872 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31274 0.1 0.3 61768 20316 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31275 0.0 0.2 60416 18664 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31276 0.0 0.3 60660 19048 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31277 0.1 0.3 61784 19920 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31278 0.1 0.3 60648 18960 ? S 12:50 0:00 /usr/sbin/apache2 -k restart

Apache2.conf
LockFile ${APACHE_LOCK_DIR}/accept.lock
PidFile ${APACHE_PID_FILE}
Timeout 300
KeepAlive On
MaxKeepAliveRequests 10000
KeepAliveTimeout 4

<IfModule mpm_prefork_module>
StartServers 20
MinSpareServers 10
MaxSpareServers 50
ServerLimit 1024
MaxClients 512
MaxRequestsPerChild 10000
</IfModule>

<IfModule mpm_event_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
AccessFileName .htaccess

<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy all
</Files>

DefaultType text/plain
HostnameLookups Off
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel debug
Include mods-enabled/*.load
Include mods-enabled/*.conf
Include httpd.conf
Include ports.conf
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
Include conf.d/
Include sites-enabled/

apache2ctl -t -D DUMP_MODULES

Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
fcgid_module (shared)
filter_module (shared)
include_module (shared)
mime_module (shared)
evasive20_module (shared)
security2_module (shared)
negotiation_module (shared)
php5_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
ruby_module (shared)
setenvif_module (shared)
ssl_module (shared)
status_module (shared)
suexec_module (shared)
unique_id_module (shared)
Syntax OK


apache2ctl -e debug
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module actions_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module alias_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module auth_basic_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module authn_file_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module authz_default_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module authz_groupfile_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module authz_host_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module authz_user_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module autoindex_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module cgi_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module deflate_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module dir_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module env_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module fcgid_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module filter_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module include_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module mime_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module evasive20_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(328): loaded file /usr/lib/libxml2.so.2
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module security2_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module negotiation_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module php5_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module reqtimeout_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module rewrite_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module ruby_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module setenvif_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module ssl_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module status_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module suexec_module
[Tue May 31 13:07:50 2011] [debug] mod_so.c(246): loaded module unique_id_module
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action '-e debug' failed.
The Apache error log may have more information.

someone who can help me with this?
Thanks
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian 5 (Lenny) upgrade to Debian 6 (Squeeze) DNS and Mail Not working por Installation/Configuration 8 27th March 2011 20:17
Upgrading Debian Lenny ISPConfig2 server to Debian Squeeze. Hans Installation/Configuration 1 13th February 2011 12:18
Upgrading an ISPConfig3 server from Debian Lenny to Squeeze Hans Installation/Configuration 8 7th February 2011 22:22
Problems on creating Debian (Lenny) mirror tritsako HOWTO-Related Questions 3 24th June 2009 06:12
Howto upgrade from Debian 4 (Etch) to Debian 5 (Lenny) Hans Tips/Tricks/Mods 2 1st December 2008 23:40


All times are GMT +2. The time now is 16:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.