Lately when i run an update (yum update kloxomr) and run sh /script/cleanup i get the following towards the end:
Initialize logrotate
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Could not grant privileges. Script Abort
*** Restart services - BEGIN ***
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
Stopping named: . [ OK ]
Starting named: [ OK ]
Stopping httpd: [ OK ]
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(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
[FAILED]
Stopping Hiawatha web server: [ OK ]
Starting Hiawatha web server: [ OK ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
Stopping kloxo-phpcgi: [ OK ]
Starting kloxo-phpcgi: [ OK ]
Stopping kloxo-hiawatha: [ OK ]
Starting kloxo-hiawatha: [ OK ]
Stopping php-fpm: [ OK ]
Starting php-fpm: [ OK ]
*** Restart services - END ***
Process Time: 00:00:01:37.97424 (dd:hh:mm:ss:xxxxxx)
[root@mail ]# service httpd status
httpd is stopped
[root@mail ]# service httpd start
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(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
[FAILED]
[root@mail ]#
Why is Apache trying to bind on port 80 rather than on 30080 as i run Hiawatha proxy?
Solution to the problem is to run fixweb followed by another restart-all, but it shouldn't be like that.