I am trying to get the Apache agent for VCS 5.0 MP1 to start a IBM web Server which is Apache 2.0.
The agent never seems to enter the online entry point but I am not sure. Logging is set for TRACE.
Any ideas on why it never even attempts to start the httpd daemon?
I can do it manually so I know that there are no issues with the program itself.
Thanks again for looking over this.
Follows is a snippet from my main.cf
Apache podsweb_Apache (
ResLogLevel = TRACE
httpdDir = "/custom/web/app/HTTPServer/bin"
EnvFile = "/custom/web/app/HTTPServer/bin/envvars"
HostName = web-vip
User = pwasadm
ConfigFile = "/custom/web/app/HTTPServer/conf/httpd.conf"
)
IP podsweb_IP (
Device = en0
Address = "192.168.1.100"
NetMask = "255.255.255.0"
Note also I am not using a mount or vg resource as I don't really use them for this setup. I hope this does not a hard dependancy. I have this same setup working fine on a Linux SUSE setup.
Any ideas why the Agent never even attempts to launch httpd
I tested it manually and their is no problem with the httpd daemon.
ce instance [podsweb_Apache]
2007/12/09 01:15:59 VCS INFO V-16-55005-20057 (podsweb01) Apache:podsweb_Apache:monitor:Subroutine <Apache::GetMonitorTimeout> called
2007/12/09 01:15:59 VCS INFO V-16-6-15002 (podsweb01) hatrigger:hatrigger executed /opt/VRTSvcs/bin/triggers/lvmvg_postoffline podsweb01 podsweb_http_group successfully
2007/12/09 01:15:59 VCS INFO V-16-55005-10408 (podsweb01) Apache:podsweb_Apache:monitor:Sys:RunWithEnvCmdWithOutputWithTimeOut:Subroutine Sys::RunWithEnvCmdWithOutputWithTimeOut called with: EnvFile [], Command [/opt/VRTSvcs/bin/hatype], Arguments [-value Apache MonitorTimeout], User [root], Timeout [10], OutFile [<undef>], FromDir [<undef>]
2007/12/09 01:15:59 VCS INFO V-16-6-15004 (podsweb01) hatrigger:Failed to send trigger for postoffline; script doesn't exist
2007/12/09 01:15:59 VCS INFO V-16-55005-10410 (podsweb01) Apache:podsweb_Apache:monitor:Sys:RunWithEnvCmdWithOutputWithTimeOut:Environment file not set
2007/12/09 01:15:59 VCS INFO V-16-55005-10417 (podsweb01) Apache:podsweb_Apache:monitor:Sys:RunWithEnvCmdWithOutputWithTimeOut:Going to run command line [/opt/VRTSvcs/bin/hatype -value Apache MonitorTimeout], as User [root]
2007/12/09 01:16:00 VCS INFO V-16-55005-10212 (podsweb01) Apache:podsweb_Apache:monitor:VCSagentFW:messageEngineLog:[60
]
2007/12/09 01:16:00 VCS INFO V-16-55005-20058 (podsweb01) Apache:podsweb_Apache:monitor:<Apache::GetMonitorTimeout> GetMonitorTimeout is [60
]
2007/12/09 01:16:00 VCS INFO V-16-55005-20001 (podsweb01) Apache:podsweb_Apache:monitor:Subroutine <Apache::ArgsValid> called with:
EntryPointName [monitor]
HttpDir [/aci/podsweb/app/HTTPServer/bin]
EnvFile [/aci/podsweb/app/HTTPServer/bin/envvars]
SharedObjDir []
MonitorGetTimeout [60
]
Host [podsweb-vip]
Port [80]
User [pwasadm]
SecondLevelMonitor [0]
SecondLevelTimeout [30]
ConfigFile [/aci/podsweb/app/HTTPServer/conf/httpd.conf]
DirectiveAfter []
DirectiveBefore []
2007/12/09 01:16:00 VCS INFO V-16-55005-20003 (podsweb01) Apache:podsweb_Apache:monitor:<Apache::ArgsValid> All mandatory fields are set
2007/12/09 01:16:00 VCS INFO V-16-55005-20061 (podsweb01) Apache:podsweb_Apache:monitor:All arguments validated successfully.
2007/12/09 01:16:01 VCS INFO V-16-55005-20025 (podsweb01) Apache:podsweb_Apache:monitor:Subroutine <Apache::GetResourceState> called:
httpDir [/aci/podsweb/app/HTTPServer/bin]
ConfigFile [/aci/podsweb/app/HTTPServer/conf/httpd.conf]
2007/12/09 01:16:01 VCS INFO V-16-55005-20030 (podsweb01) Apache:podsweb_Apache:monitor:Subroutine <Apache::GetProcState> called:
ConfigFile [/aci/podsweb/app/HTTPServer/conf/httpd.conf]
rliPIDsWithPPIDOfOne [ARRAY(0x30428238)]
rliPIDsWithoutPPIDOfOne [ARRAY(0x3042825c)]
2007/12/09 01:16:01 VCS INFO V-16-55005-10256 (podsweb01) Apache:podsweb_Apache:monitor:Proc:GetProcessListHash:Subroutine Proc::GetProcessListHash is called
2007/12/09 01:16:01 VCS INFO V-16-55005-10257 (podsweb01) Apache:podsweb_Apache:monitor:Proc:GetProcessListHash:Calling ps command [/bin/ps] with options [-e -o 'uid,pid,ppid,args']
2007/12/09 01:16:02 VCS INFO V-16-55005-10251 (podsweb01) Apache:podsweb_Apache:monitor:Proc:GetDefunctProcessListHash:Subroutine Proc::GetDefunctProcessListHash is called
2007/12/09 01:16:02 VCS INFO V-16-55005-10252 (podsweb01) Apache:podsweb_Apache:monitor:Proc:GetDefunctProcessListHash:Calling ps command [/bin/ps] with options [-ef]
2007/12/09 01:16:02 VCS INFO V-16-55005-10226 (podsweb01) Apache:podsweb_Apache:monitor:Arch:GetOSType:Subroutine Arch::GetOSType is called
2007/12/09 01:16:02 VCS INFO V-16-55005-10255 (podsweb01) Apache:podsweb_Apache:monitor:Proc:GetDefunctProcessListHash:Got [0] defunct processes
2007/12/09 01:16:02 VCS INFO V-16-55005-10261 (podsweb01) Apache:podsweb_Apache:monitor:Proc:GetProcessListHash:Got [48] processes
2007/12/09 01:16:03 VCS INFO V-16-55005-20032 (podsweb01) Apache:podsweb_Apache:monitor:<Apache::GetProcState> Call to get process list returned [48] processes
2007/12/09 01:16:03 VCS INFO V-16-55005-10269 (podsweb01) Apache:podsweb_Apache:monitor:Proc:FilterProcs:Subroutine Proc::FilterProcs is called with: Filter [-f /aci/podsweb/app/HTTPServer/conf/httpd.conf]
2007/12/09 01:16:03 VCS INFO V-16-55005-10271 (podsweb01) Apache:podsweb_Apache:monitor:Proc:FilterProcs:Got [0] matches
2007/12/09 01:16:03 VCS INFO V-16-55005-20033 (podsweb01) Apache:podsweb_Apache:monitor:<Apache::GetProcState> Matches for process [httpd] with filter [-f /aci/podsweb/app/HTTPServer/conf/httpd.conf] got [0] matches
2007/12/09 01:16:04 VCS INFO V-16-55005-20027 (podsweb01) Apache:podsweb_Apache:monitor:<Apache::GetResourceState> GetResourceState found that resource was offline
2007/12/09 01:16:04 VCS INFO V-16-55005-10195 (podsweb01) Apache:podsweb_Apache:monitor:VCSagentFW:entryPointExit:Exiting entry point [monitor] with exit code [100]
2007/12/09 01:16:05 VCS INFO V-16-1-10306 Resource podsweb_Apache (Owner: unknown, Group: podsweb_http_group) is offline on podsweb01 (Previous State = OFFLINE)
2007/12/09 01:16:10 VCS INFO V-16-1-50135 User root fired command: hagrp -online podsweb_http_group podsweb01 from localhost
2007/12/09 01:16:10 VCS NOTICE V-16-1-10166 Initiating manual online of group podsweb_http_group on system podsweb01
2007/12/09 01:16:10 VCS NOTICE V-16-1-10233 Clearing Restart attribute for group podsweb_http_group on all nodes
2007/12/09 01:16:10 VCS NOTICE V-16-1-10301 Initiating Online of Resource podsweb_Apache (Owner: unknown, Group: podsweb_http_group) on System podsweb01
2007/12/09 01:16:10 VCS NOTICE V-16-1-10301 Initiating Online of Resource podsweb_IP (Owner: unknown, Group: podsweb_http_group) on System podsweb01
2007/12/09 01:16:11 VCS NOTICE V-16-55005-10098 (podsweb01) Apache:podsweb_Apache:monitor:LogInt:SetDebugLevel:Information, Set Logging Level To [TRACE]
2007/12/09 01:16:11 VCS INFO V-16-55005-10192 (podsweb01) Apache:podsweb_Apache:monitor:VCSagentFW:SetupLogging:[monitor] Entered by resource instance [podsweb_Apache]
2007/12/09 01:16:11 VCS INFO V-16-55005-20057 (podsweb01) Apache:podsweb_Apache:monitor:Subroutine <Apache::GetMonitorTimeout> called
2007/12/09 01:16:12 VCS INFO V-16-55005-10408 (podsweb01) Apache:podsweb_Apache:monitor:Sys:RunWithEnvCmdWithOutputWithTimeOut:Subroutine Sys::RunWithEnvCmdWithOutputWithTimeOut called with: EnvFile [], Command [/opt/VRTSvcs/bin/hatype], Arguments [-value Apache MonitorTimeout], User [root], Timeout [10], OutFile [<undef>], FromDir [<undef>]
2007/12/09 01:16:12 VCS INFO V-16-55005-10410 (podsweb01) Apache:podsweb_Apache:monitor:Sys:RunWithEnvCmdWithOutputWithTimeOut:Environment file not set
2007/12/09 01:16:12 VCS INFO V-16-55005-10417 (podsweb01) Apache:podsweb_Apache:monitor:Sys:RunWithEnvCmdWithOutputWithTimeOut:Going to run command line [/opt/VRTSvcs/bin/hatype -value Apache MonitorTimeout], as User [root]
2007/12/09 01:16:12 VCS INFO V-16-55005-10212 (podsweb01) Apache:podsweb_Apache:monitor:VCSagentFW:messageEngineLog:[60
]
2007/12/09 01:16:13 VCS INFO V-16-55005-20058 (podsweb01) Apache:podsweb_Apache:monitor:<Apache::GetMonitorTimeout> GetMonitorTimeout is [60
]
2007/12/09 01:16:13 VCS INFO V-16-55005-20001 (podsweb01) Apache:podsweb_Apache:monitor:Subroutine <Apache::ArgsValid> called with:
EntryPointName [monitor]
HttpDir [/aci/podsweb/app/HTTPServer/bin]
EnvFile [/aci/podsweb/app/HTTPServer/bin/envvars]
SharedObjDir []
MonitorGetTimeout [60
]
Host [podsweb-vip]
Port [80]
User [pwasadm]
SecondLevelMonitor [0]
SecondLevelTimeout [30]
ConfigFile [/aci/podsweb/app/HTTPServer/conf/httpd.conf]
DirectiveAfter []
DirectiveBefore []
2007/12/09 01:16:13 VCS INFO V-16-55005-20003 (podsweb01) Apache:podsweb_Apache:monitor:<Apache::ArgsValid> All mandatory fields are set
2007/12/09 01:16:13 VCS INFO V-16-55005-20061 (podsweb01) Apache:podsweb_Apache:monitor:All arguments validated successfully.
2007/12/09 01:16:13 VCS INFO V-16-55005-20025 (podsweb01) Apache:podsweb_Apache:monitor:Subroutine <Apache::GetResourceState> called:
httpDir [/aci/podsweb/app/HTTPServer/bin]
ConfigFile [/aci/podsweb/app/HTTPServer/conf/httpd.conf]
2007/12/09 01:16:14 VCS INFO V-16-55005-20030 (podsweb01) Apache:podsweb_Apache:monitor:Subroutine <Apache::GetProcState> called:
ConfigFile [/aci/p