Issue 1053 in modpagespeed: undefined symbol: ap_unixd_config

33 views
Skip to first unread message

modpag...@googlecode.com

unread,
Mar 18, 2015, 11:30:58 AM3/18/15
to mod-pagesp...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1053 by djx...@gmail.com: undefined symbol: ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

What steps will reproduce the problem?
1.instakk with atomic plesk yum
2.not on httpd error
3.
[root@zeus ~]# service httpd restart
Parando httpd: [FALL▒]
Iniciando httpd: httpd: Syntax error on line 216 of
/etc/httpd/conf/httpd.conf: Cannot load
/etc/httpd/modules/mod_pagespeed_ap24.so into server:
/etc/httpd/modules/mod_pagespeed_ap24.so: undefined symbol: ap_unixd_config
What is the expected output? What do you see instead?


What version of the product are you using (please check X-Mod-Pagespeed
header)?

On what operating system?

Which version of Apache?

Which MPM?

URL of broken page:




--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

modpag...@googlecode.com

unread,
Mar 18, 2015, 11:34:30 AM3/18/15
to mod-pagesp...@googlegroups.com

Comment #1 on issue 1053 by jcrow...@google.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

Do you know what version of apache you are running?

`rpm -q httpd` should output the version if you don't know.

modpag...@googlecode.com

unread,
Mar 18, 2015, 11:37:35 AM3/18/15
to mod-pagesp...@googlegroups.com

Comment #2 on issue 1053 by matterb...@google.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

IIRC this is related to PHP.

Sounds like the versions of Apache and pagespeed have a different idea of
which mod_php to use?

modpag...@googlecode.com

unread,
Mar 18, 2015, 12:02:20 PM3/18/15
to mod-pagesp...@googlegroups.com

Comment #3 on issue 1053 by morlov...@google.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

No, it's not PHP-related. ap_unixd_config is part of the core server, and
the symbol name differs between 2.2 and 2.4

modpag...@googlecode.com

unread,
Mar 18, 2015, 5:07:25 PM3/18/15
to mod-pagesp...@googlegroups.com

Comment #4 on issue 1053 by djx...@gmail.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

Plesk 12 with php 5.3.2 with nginx [root@zeus ~]# rpm -q httpd
httpd-2.2.15-39.el6.centos.x86_64
[root@zeu

modpag...@googlecode.com

unread,
Mar 19, 2015, 12:56:29 PM3/19/15
to mod-pagesp...@googlegroups.com

Comment #5 on issue 1053 by morlov...@google.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

Yeah, it's trying to use the Apache 2.4 version of the module
(mod_pagespeed_ap24.so) on Apache 2.2. I am not familiar with the whole
plesk thing, so I can't really say why the normal version selection logic
isn't working, but you can workaround by changing line 216 or
/etc/httpd/conf/httpd.conf to talk about
/etc/httpd/modules/mod_pagespeed.so rather than
/etc/httpd/modules/mod_pagespeed_ap24.so

modpag...@googlecode.com

unread,
Mar 19, 2015, 3:26:44 PM3/19/15
to mod-pagesp...@googlegroups.com

Comment #6 on issue 1053 by djx...@gmail.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

Default instalation put
LoadModule pagespeed_ap24_module
/usr/lib64/httpd/modules/mod_pagespeed_ap24.so and change for
/etc/httpd/modules/mod_pagespeed_ap24.so and
/etc/httpd/modules/mod_pagespeed.so

and errorr is


[root@zeus log]# nano /etc/httpd/conf/httpd.conf
[root@zeus log]# service httpd restart
Parando httpd: [FALL▒]
Iniciando httpd: httpd.worker: Syntax error on line 216 of
/etc/httpd/conf/httpd.conf: Can't locate API module structure
`pagespeed_ap24_module' in file /etc/httpd/modules/mod_pagespeed.so:
/etc/httpd/modules/mod_pagespeed.so: undefined symbol: pagespeed_ap24_module
[FALL▒]
[root@zeus log]# service httpd restart
Parando httpd: [FALL▒]
Iniciando httpd: httpd.worker: Syntax error on line 216 of
/etc/httpd/conf/httpd.conf: Can't locate API module structure
`pagespeed_ap24_module' in file /etc/httpd/modules/mod_pagespeed.so:
/etc/httpd/modules/mod_pagespeed.so: undefined symbol: pagespeed_ap24_module
[FALL▒]
[root@zeus log]# nano /etc/httpd/conf/httpd.conf
[root@zeus log]# service httpd restart
Parando httpd: [FALL▒]
Iniciando httpd:

regards thanks

modpag...@googlecode.com

unread,
Mar 19, 2015, 3:33:14 PM3/19/15
to mod-pagesp...@googlegroups.com

Comment #7 on issue 1053 by morlov...@google.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

Oh, sorry, that also needs to say pagespeed_module rather than
pagespeed_ap24_module

modpag...@googlecode.com

unread,
Mar 19, 2015, 3:38:42 PM3/19/15
to mod-pagesp...@googlegroups.com

Comment #8 on issue 1053 by djx...@gmail.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

Changed!

[root@zeus log]# service httpd restart
Parando httpd: [ OK ]
Iniciando httpd: [Thu Mar 19 20:34:36 2015] [warn] module pagespeed_module
is already loaded, skipping
[ OK ]
[root@zeus log]#

modpag...@googlecode.com

unread,
Mar 19, 2015, 3:42:08 PM3/19/15
to mod-pagesp...@googlegroups.com

Comment #9 on issue 1053 by djx...@gmail.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

Changed

[root@zeus httpd]# service httpd restart
Parando httpd: [ OK ]
Iniciando httpd: [Thu Mar 19 20:41:57 2015] [warn] module pagespeed_module
is already loaded, skipping
[ OK ]
[root@zeus httpd]#

modpag...@googlecode.com

unread,
Mar 19, 2015, 3:43:07 PM3/19/15
to mod-pagesp...@googlegroups.com

Comment #10 on issue 1053 by djx...@gmail.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

[Thu Mar 19 20:37:08 2015] [warn] Init: Name-based SSL virtual hosts only
work for clients with TLS server name indication support (RFC 4366)
[Thu Mar 19 20:37:08 2015] [notice] Apache/2.2.15 (Unix) DAV/2
mod_fcgid/2.3.9 mod_jk/1.2.40 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15
OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming
normal operations

modpag...@googlecode.com

unread,
Mar 20, 2015, 3:07:10 AM3/20/15
to mod-pagesp...@googlegroups.com

Comment #11 on issue 1053 by djx...@gmail.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

its normal?
[root@zeus ~]# service httpd restart
Parando httpd: [ OK ]
Iniciando httpd: [Fri Mar 20 08:06:54 2015] [warn] module pagespeed_module
is already loaded, skipping
[ OK ]
[root@zeus ~]#

modpag...@googlecode.com

unread,
Apr 8, 2015, 10:07:19 AM4/8/15
to mod-pagesp...@googlegroups.com

Comment #12 on issue 1053 by jef...@google.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

Are you still having trouble or are you set?

modpag...@googlecode.com

unread,
Apr 8, 2015, 2:27:25 PM4/8/15
to mod-pagesp...@googlegroups.com

Comment #13 on issue 1053 by jcro...@google.com: undefined symbol:
ap_unixd_config
https://code.google.com/p/modpagespeed/issues/detail?id=1053

this issue has been migrated to github:
https://github.com/pagespeed/mod_pagespeed/issues/1053
Reply all
Reply to author
Forward
0 new messages