β12-10-2010 02:11 PM
Hello everyone -
I have a problem with configuration of Apache resource in service group that consists of a zone resource, two zpools (one for the zone root and one for Apache). The Zone fails over between nodes and starts up no problem. And the apache runs fine with in the zone - however when i try to start Apache using the Apache resource i get:
2010/12/10 18:08:31 VCS ERROR V-16-10061-20355 (UASLQYY002Q-GLZ) Apache:sliq_apache
:online:<Apache::CheckFile> File [/zones/z2/root/www/current/conf/httpd.conf] does
not exist
my resource config for Apache is:
#Resource Attribute System Value
sliq_apache Group global sliq_sg
sliq_apache Type global Apache
sliq_apache AutoStart global 1
sliq_apache Critical global 0
sliq_apache Enabled global 1
sliq_apache LastOnline global
sliq_apache MonitorOnly global 0
sliq_apache ResourceOwner global unknown
sliq_apache TriggerEvent global 0
sliq_apache ArgListValues UASLQYY001Q-GLZ ResLogLevel 1 TRACE State 1 0 IState 1 0 httpdDir 1 /zones/z2/root/www/current/conf/ SharedObjDir 1 "" EnvFile 1 "" PidFile 1 /zones/z2/root/www/logs/httpd.pid HostName 1 UASLQYY001Q.atlis.sita.aero Port 1 80 User 1 www SecondLevelMonitor 1 0 SecondLevelTimeout 1 30 ConfigFile 1 /zones/z2/root/www/current/conf/httpd.conf EnableSSL 1 0 DirectiveAfter 0 DirectiveBefore 0
sliq_apache ArgListValues UASLQYY002Q-GLZ ResLogLevel 1 TRACE State 1 0 IState 1 0 httpdDir 1 /zones/z2/root/www/current/conf/ SharedObjDir 1 "" EnvFile 1 "" PidFile 1 /zones/z2/root/www/logs/httpd.pid HostName 1 UASLQYY001Q.atlis.sita.aero Port 1 80 User 1 www SecondLevelMonitor 1 0 SecondLevelTimeout 1 30 ConfigFile 1 /zones/z2/root/www/current/conf/httpd.conf EnableSSL 1 0 DirectiveAfter 0 DirectiveBefore 0
sliq_apache ConfidenceLevel UASLQYY001Q-GLZ 0
sliq_apache ConfidenceLevel UASLQYY002Q-GLZ 0
sliq_apache ConfidenceMsg UASLQYY001Q-GLZ
sliq_apache ConfidenceMsg UASLQYY002Q-GLZ
sliq_apache Flags UASLQYY001Q-GLZ
sliq_apache Flags UASLQYY002Q-GLZ
sliq_apache IState UASLQYY001Q-GLZ not waiting
sliq_apache IState UASLQYY002Q-GLZ not waiting
sliq_apache MonitorMethod UASLQYY001Q-GLZ Traditional
sliq_apache MonitorMethod UASLQYY002Q-GLZ Traditional
sliq_apache Probed UASLQYY001Q-GLZ 1
sliq_apache Probed UASLQYY002Q-GLZ 1
sliq_apache Start UASLQYY001Q-GLZ 0
sliq_apache Start UASLQYY002Q-GLZ 0
sliq_apache State UASLQYY001Q-GLZ OFFLINE
sliq_apache State UASLQYY002Q-GLZ OFFLINE
sliq_apache ComputeStats global 0
sliq_apache ConfigFile global /zones/z2/root/www/current/conf/httpd.conf
sliq_apache ContainerInfo global Type Zone Name z2 Enabled 1
sliq_apache ContainerOpts global RunInContainer 1 PassCInfo 0
sliq_apache DirectiveAfter global
sliq_apache DirectiveBefore global
sliq_apache EnableSSL global 0
sliq_apache EnvFile global
sliq_apache HostName global UASLQYY001Q.atlis.sita.aero
sliq_apache PidFile global /zones/z2/root/www/logs/httpd.pid
sliq_apache Port global 80
sliq_apache ResLogLevel global TRACE
sliq_apache ResourceInfo global State Stale Msg TS
sliq_apache SecondLevelMonitor global 0
sliq_apache SecondLevelTimeout global 30
sliq_apache SharedObjDir global
sliq_apache User global www
sliq_apache httpdDir global /zones/z2/root/www/current/conf/
sliq_apache MonitorTimeStats UASLQYY001Q-GLZ Avg 0 TS
sliq_apache MonitorTimeStats UASLQYY002Q-GLZ Avg 0 TS
I am using datasets in the zone configuration for the application zpool/zfs filesystems.
Please can anyone give me some guidance here as to what might be wrong?
thanks
This has been resolved - the issues was that since i have Datasets within the zones - i had to point to the filesystem within the zone - not the /zones/z2/www/..... from the global. Works fine now thanks everyone for responses!
Solved! Go to Solution.
β12-13-2010 04:18 AM
Julie,
This appears to be the same problem / related to the issue you've mentioned in your previous post:
https://www-secure.symantec.com/connect/forums/monitor-application-win-solaris-zone-not-failover-zone
Please refer to the earlier thread to avoid confusion/duplication.
regards,
Grace
β12-10-2010 09:34 PM
Hello,
when the failover happens, are you able to see this file
/zones/z2/root/www/current/conf/httpd.conf ? As we can see resource is clearly reporting config file not found..
Also, what is OS & VCS versions ?
Gaurav
β12-13-2010 04:18 AM
Julie,
This appears to be the same problem / related to the issue you've mentioned in your previous post:
https://www-secure.symantec.com/connect/forums/monitor-application-win-solaris-zone-not-failover-zone
Please refer to the earlier thread to avoid confusion/duplication.
regards,
Grace