Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Invalid command 'ModPagespeedImgMaxRewritesAtOnce' #131

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

Invalid command 'ModPagespeedImgMaxRewritesAtOnce' #131

GoogleCodeExporter opened this issue Apr 6, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant