New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid command 'ModPagespeedImgMaxRewritesAtOnce' #131

Closed
GoogleCodeExporter opened this Issue Apr 6, 2015 · 7 comments

Comments

Projects
None yet
1 participant
@GoogleCodeExporter

GoogleCodeExporter commented Apr 6, 2015

What steps will reproduce the problem?
1./etc/init.d/httpd restart

What is the expected output? What do you see instead?

Apache restart failed. Unable to load pid from pid file and no httpd process 
found in process list.

If apache restart reported success but it failed soon after, it may be caused 
by oddities with mod_ssl.

You should run /scripts/ssl_crt_status as part of your troubleshooting process. 
Pass it --help for more details.

Also be sure to examine apache's variouse log files.
Apache Restart Output:
Syntax error on line 212 of 
/usr/local/apache/conf/includes/post_virtualhost_global.conf:
Invalid command 'ModPagespeedImgMaxRewritesAtOnce', perhaps misspelled or 
defined by a module not included in the server configuration


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

On what operating system?
Centos 5.5 with cPanel 11.28.52

Which version of Apache?
2.2.17

Which MPM?
Prefork


Original issue reported on code.google.com by ericker...@gmail.com on 4 Dec 2010 at 4:41

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

Just to clarify, this declaration will crash on 0.9.10.1 and any other version 
< 0.9.11.3. But it should succeed on 0.9.11.3. I checked the spelling and it 
looks right. Could you post your conf file (or the relevant section)?

Original comment by sligocki@google.com on 4 Dec 2010 at 5:48

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

I've get 0.9.11.3 src ( deleted old one) and build it again.
but I still can't make it works.
the X-Mod-Pagespeed shows 0.9.0.0-287(is it correct?)

Here is part of my apache conf.

thx!



Original comment by ericker...@gmail.com on 5 Dec 2010 at 5:23

Attachments:

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

I've found the bug and have a fix in testing.

Original comment by jmaes...@google.com on 5 Dec 2010 at 8:44

  • Changed state: Started
@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

I have committed a fix to trunk.  Please let me know if it works for you.

Original comment by jmaes...@google.com on 5 Dec 2010 at 9:30

  • Changed state: Fixed
@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

Didn't work !

same error msg :
-----
Apache restart failed. Unable to load pid from pid file and no httpd process 
found in process list.

If apache restart reported success but it failed soon after, it may be caused 
by oddities with mod_ssl.

You should run /scripts/ssl_crt_status as part of your troubleshooting process. 
Pass it --help for more details.

Also be sure to examine apache's variouse log files.
Apache Restart Output:
Syntax error on line 212 of 
/usr/local/apache/conf/includes/post_virtualhost_global.conf:
Invalid command 'ModPagespeedImgMaxRewritesAtOnce', perhaps misspelled or 
defined by a module not included in the server configuration

-------

X-Mod-Pagespeed 0.9.0.0-289

Original comment by ericker...@gmail.com on 6 Dec 2010 at 3:26

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

it's works now!

X-Mod-Pagespeed 0.9.11.5-295

Original comment by ericker...@gmail.com on 7 Dec 2010 at 9:53

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

Great, thanks for confirming that.  And thanks for catching and reporting this, 
it was a pretty embarrassing bug.

Original comment by jmaes...@google.com on 7 Dec 2010 at 2:03

  • Changed state: Verified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment