Bug 12112 - Apache doesnât start after install of speedy module
Summary: Apache doesnât start after install of speedy module
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory mga3-64-ok MGA3-32-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2013-12-26 11:48 CET by Yann Ciret
Modified: 2014-01-21 17:48 CET (History)
4 users (show)

See Also:
Source RPM: perl-CGI-SpeedyCGI-2.220.0-7.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Yann Ciret 2013-12-26 11:48:03 CET
Description of problem:
After install of apache-mod_speedycgi, apache refuse to start.

-- Unit httpd.service has begun starting up.
déc. 26 11:25:08 cauldron.planetes httpd[6895]: httpd: Syntax error on line 54 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/modules.d/10_mod_speedycgi.conf: Cannot load modules/mod_speedycgi.so into server: /etc/httpd/modules/mod_speedycgi.so: undefined symbol: speedy_util_gettimeofday
déc. 26 11:25:08 cauldron.planetes systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
déc. 26 11:25:08 cauldron.planetes systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit httpd.service has failed.
-- 
-- The result is failed.
déc. 26 11:25:08 cauldron.planetes systemd[1]: Unit httpd.service entered failed state.


The problem is « undefined symbol: speedy_util_gettimeofday »


Version-Release number of selected component (if applicable):

perl-CGI-SpeedyCGI-2.220.0-8.mga4.src.rpm

How reproducible:
Just install speedy module with « urpmi apache-mod_speedycgi » and try to start apache


Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Yann Ciret 2013-12-26 11:49:35 CET
I forgot to indicate this problem occurs on Mageia 3 and Cauldron
Comment 2 David Walser 2013-12-26 14:43:35 CET
This reminds me of the graphicsmagick linking problem (Bug 11816).

CC: (none) => guillomovitch

Comment 3 Guillaume Rousse 2013-12-30 20:18:56 CET
I fixed the cauldron package yesterday, and I just submitted a 2.220.0-7.1  release in updates_testing for mageia 3.

Here is a suggested advisory:
The apache-mod_speedycgi package shipped in mageia 3 (2.220.0-7.mga3) wasn't functional, because of compilation issues with inlined functions. The 2.220.0-7.1.mga3 release, available from updates, fixes the issue.

Status: NEW => ASSIGNED
Assignee: bugsquad => qa-bugs

Comment 4 Yann Ciret 2013-12-30 22:36:54 CET
I just installed the mageia 3 updates_testing release on 64 bits system.
Now apache start without problem.

Thank you David and Guillaume.
Manuel Hiebel 2013-12-30 22:44:22 CET

Hardware: x86_64 => All
Whiteboard: (none) => mga3-64-ok

Comment 5 Lewis Smith 2014-01-19 20:07:42 CET
MGA3 32-bit
Installed apache and apache-mod_speedycgi from release/update repos.
# apachectl start
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -n' for details.
# systemctl status httpd.service
httpd.service - The Apache HTTP Server
          Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
          Active: failed (Result: exit-code) since Sun, 2014-01-19 19:41:53 CET; 24s ago
         Process: 3732 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=1/FAILURE)
         Process: 3731 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/httpd.service

Jan 19 19:41:53 localhost httpd[3731]: httpd: Syntax error on line 54 of /etc/httpd/conf/h...day
Jan 19 19:41:53 localhost systemd[1]: httpd.service: main process exited, code=exited, sta...URE
Jan 19 19:41:53 localhost httpd[3732]: httpd: Syntax error on line 54 of /etc/httpd/conf/h...day
Jan 19 19:41:53 localhost systemd[1]: Failed to start The Apache HTTP Server.
Jan 19 19:41:53 localhost systemd[1]: Unit httpd.service entered failed state

Updated from Testing:
apache-mod_speedycgi-2.220.0-7.1.mga3.i586.rpm
perl-CGI-SpeedyCGI-2.220.0-7.1.mga3.i586.rpm
# apachectl start
# systemctl status httpd.service
httpd.service - The Apache HTTP Server
          Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
          Active: active (running) since Sun, 2014-01-19 19:59:28 CET; 24s ago
         Process: 3732 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=1/FAILURE)
        Main PID: 5077 (httpd)
          Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
          CGroup: name=systemd:/system/httpd.service
                  â 5077 /usr/sbin/httpd -DFOREGROUND
                  â 5082 /usr/sbin/httpd -DFOREGROUND
                  â 5083 /usr/sbin/httpd -DFOREGROUND
                  â 5084 /usr/sbin/httpd -DFOREGROUND
                  â 5085 /usr/sbin/httpd -DFOREGROUND
                  â 5086 /usr/sbin/httpd -DFOREGROUND

Jan 19 19:59:26 localhost systemd[1]: Starting The Apache HTTP Server...
Jan 19 19:59:26 localhost httpd[5077]: AH00558: httpd: Could not reliably determine the se...age
Jan 19 19:59:28 localhost systemd[1]: Started The Apache HTTP Server.

So this looks fine.

CC: (none) => lewyssmith
Whiteboard: mga3-64-ok => mga3-64-ok MGA3-32-OK

Comment 6 claire robinson 2014-01-20 09:25:25 CET
Advisory uploaded. Validating.

Could sysadmin please push from 3 core/updates_testing to updates

Thanks

Keywords: (none) => validated_update
Whiteboard: mga3-64-ok MGA3-32-OK => advisory mga3-64-ok MGA3-32-OK
CC: (none) => sysadmin-bugs

Comment 7 Thomas Backlund 2014-01-21 17:48:54 CET
Update pushed:
http://advisories.mageia.org/MGAA-2014-0006.html

Status: ASSIGNED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.