[ERROR] [MOD_ACTION] The second parameter must be URL:

sysadm

Active Member
#1
After upgrading to LSWS 4.1.17 we have this error in our logs:

"[MOD_ACTION] The second parameter must be URL:"


2010-10-11 16:39:58.551 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 16:39:58.551 [DEBUG] Associates [APVH_www.domain] with [IP:80] on hostname/IP [domain] succeed!
2010-10-11 16:39:58.585 [DEBUG] Associates [APVH_domain1] with [IP:80] on hostname/IP [www.domain1] succeed!
2010-10-11 16:39:58.585 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 16:39:58.585 [DEBUG] Associates [APVH_domain1] with [IP:80] on hostname/IP [domain1] succeed!
2010-10-11 16:39:58.590 [DEBUG] Associates [APVH_www.domain2] with [IP:80] on hostname/IP [www.domain2] succeed!
2010-10-11 16:39:58.590 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 16:39:58.590 [DEBUG] Associates [APVH_www.domain2] with [IP:80] on hostname/IP [domain2] succeed!
2010-10-11 16:39:58.730 [DEBUG] Associates [APVH_www.domain3] with [IP:80] on hostname/IP [www.domain3] succeed

We don't use mod_action/mod_actions. What does this error mean?
 
Last edited:

sysadm

Active Member
#3
Looking for "Action" directives in the apache configuration file.

And it is safe to ignore those errors as well.
We have a few thousands vhosts and we have this error for each of them.

We have 1 action directive in httpd.conf, but I see this error for each vhost.
 

mistwang

LiteSpeed Staff
#4
Yes, it is in the main server section, applied to all vhosts. What does it looks like? The Action direction should use a CGI URL for the second parameter.
 

sysadm

Active Member
#5
Yes, it is in the main server section, applied to all vhosts. What does it looks like? The Action direction should use a CGI URL for the second parameter.

Yes, it is in the main section of httpd.conf:

<IfModule mod_fcgid.c>
Action testphp "/fcgid/php-cgi"
</IfModule>

It parses and works in Apache without any problems. It should properly parse in Litespeed (but I don't need it to work).
 
Last edited:

mistwang

LiteSpeed Staff
#6
Add "fcgid" to the "Ignored Apache Modules" configuration from LSWS web console. It is a new feature added under "Using Apache Configuration File" section.
 

sysadm

Active Member
#7
It doesn't work. I've still these errors.

# cat /usr/local/lsws/conf/httpd_config.xml |grep Ignore
<apacheIgnoredModules>fcgid</apacheIgnoredModules>
#

# /usr/local/lsws/bin/lswsctrl.4.0.17 restart
[OK] Send SIGUSR1 to 22915
#


# tail -f /usr/local/lsws/logs/error.log | grep ACTION
2010-10-11 23:33:45.368 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.379 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.392 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.401 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.410 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.419 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.428 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.437 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.445 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.453 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.461 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.469 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.477 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.486 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.497 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.506 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.516 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.526 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.535 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.544 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.553 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.562 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.571 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.579 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.588 [ERROR] [MOD_ACTION] The second parameter must be URL:
2010-10-11 23:33:45.598 [ERROR] [MOD_ACTION] The second parameter must be URL:
(...)
 

sysadm

Active Member
#10
Is "ignored Apache Modules" working for anyone?


EDIT: Issue with "Ignored Apache Modules" moved to dedicated topic=4413
 
Last edited:
Top