Hi All,

I have installed the latest release of *scalr (4.1) from Github & PHP 
version 5.5*.

Can somebody help me out with below error in Apache error logs 

*PHP Fatal error:  Class 'Scalr_Session' not found in 
/opt/scalr/app/www/ui.php on line 24*

I enabled the short_tags in PHP & set AllowOverride to All in Apache but 
still no luck, getting error *Service is temporary not available. Please 
try again in a minute.*

Please help me out with this.

Thanks in advance
Ankush

On Monday, May 20, 2013 11:43:20 AM UTC+1, Ankush Kilam wrote:
>
> Hi Nick,
>
> Find below mysql entries in scalr_home/app/etc/config.ini
>
> [statistics]
> rrd_default_font_path   = 
> "/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf"
> rrd_db_dir                              = "/home/rrddata"
> rrd_stats_url                   = "
> http://monitoring-graphs.scalr.net/%fid%/%rn%_%wn%.";
> rrd_graph_storage_path  = "/home/graphics"
>
> [db]
> driver = mysqli
> host = "localhost"
> name = "scalr"
> user = "scalr"
> pass = "scalr"
>
> Database has been imported correctly with structure.sql & data.sql but 
> still the same error persists.
>
> Correct me incase I am wrong ?
>
> Regards
> Ankush 
>
> On Friday, May 17, 2013 12:04:50 PM UTC+1, Nick Toursky wrote:
>>
>> Ankush,
>>
>> Make sure Scalr can access MySQL with configured auth settings and check 
>> that database structure and data were imported successfully.
>>
>> Regards,
>> Nick
>>
>> On Fri, May 17, 2013 at 2:02 PM, Ankush Kilam <[email protected]> wrote:
>>
>>> Hi Dan,
>>>
>>> Thanx for your reply.
>>>
>>> I installed apache,mysql & php from remi repository, but still I face 
>>> the same error *: Service is temporary not available. Please try again 
>>> in a minute.*
>>>
>>> The apache error_logs do not show any kind of errors & the access_logs 
>>> show Response code as 200 (Successful) for every request as per below logs.
>>>
>>> 10.20.110.187 - - [17/May/2013:06:47:49 -0400] "GET / HTTP/1.1" 200 
>>> 11333 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 
>>> Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:49 -0400] "GET / HTTP/1.1" 200 
>>> 11333 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 
>>> Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:49 -0400] "GET / HTTP/1.1" 200 
>>> 11333 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 
>>> Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:49 -0400] "GET / HTTP/1.1" 200 
>>> 11333 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 
>>> Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:49 -0400] "GET / HTTP/1.1" 200 
>>> 11333 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 
>>> Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:49 -0400] "GET / HTTP/1.1" 200 
>>> 11333 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 
>>> Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:49 -0400] "GET / HTTP/1.1" 200 
>>> 11333 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 
>>> Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:49 -0400] "GET / HTTP/1.1" 200 
>>> 11333 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 
>>> Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:49 -0400] "GET 
>>> /ui2/js/extjs-4.1/theme/ext-scalr-2.css HTTP/1.1" 200 128005 "
>>> http://10.20.110.43/"; "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) 
>>> Gecko/20100101 Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:49 -0400] "GET 
>>> /ui2/images/main_logo.png HTTP/1.1" 200 8122 "http://10.20.110.43/"; 
>>> "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:49 -0400] "GET 
>>> /ui2/images/main_logo_bg.png HTTP/1.1" 200 3883 "http://10.20.110.43/"; 
>>> "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:49 -0400] "GET 
>>> /ui2/js/extjs-4.1/ext-all-4.js HTTP/1.1" 200 1181467 "
>>> http://10.20.110.43/"; "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) 
>>> Gecko/20100101 Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:50 -0400] "POST /guest/xInit 
>>> HTTP/1.1" 200 - "http://10.20.110.43/"; "Mozilla/5.0 (Windows NT 6.1; 
>>> WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
>>> 10.20.110.187 - - [17/May/2013:06:47:50 -0400] "GET 
>>> /ui2/images/main_logo_error.png HTTP/1.1" 200 2901 "http://10.20.110.43/"; 
>>> "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
>>>
>>> Scalr version is 4.0. I am also attaching screenshot of phpinfo page. 
>>>
>>> Kindly help me out with this.
>>>
>>> Thanks in Advance.
>>>
>>> Ankush
>>>
>>>
>>> On Saturday, May 11, 2013 11:18:53 AM UTC+1, DDDDCaw wrote:
>>>>
>>>> PHP 5.3.16 is required for Scalr to work properly.
>>>>
>>>> You have 5.3.8. 
>>>>
>>>> Also I'd check if you've got your rewrite engine sorted out 
>>>> properly.... 
>>>>
>>>> Dan
>>>>
>>>>
>>>> On Wednesday, 8 May 2013 18:14:43 UTC+1, Ankush Kilam wrote:
>>>>>
>>>>> Attached phpinfo page
>>>>>
>>>>> On Wednesday, May 8, 2013 4:08:43 PM UTC+1, DicsyDel wrote:
>>>>>>
>>>>>> No, because you've provided link to local network which we cannot 
>>>>>> open because we have no access to your private network.
>>>>>>
>>>>>> Regards,
>>>>>> Igor
>>>>>>
>>>>>> On 8 May 2013 06:31, Ankush Kilam <[email protected]> wrote:
>>>>>>
>>>>>>> Hi Igor,
>>>>>>>
>>>>>>> Did you find any issue related to php ?
>>>>>>>
>>>>>>> Awating your reply.
>>>>>>>
>>>>>>>
>>>>>>> On Tuesday, May 7, 2013 6:23:18 PM UTC+1, Ankush Kilam wrote:
>>>>>>>>
>>>>>>>> PHP info page is working fine.....here is the link 
>>>>>>>> http://10.20.110.43/test.****php <http://10.20.110.43/test.php>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tuesday, May 7, 2013 4:40:53 PM UTC+1, DicsyDel wrote:
>>>>>>>>>
>>>>>>>>> Seems like php configured incorrectly. Can you provide output of 
>>>>>>>>> phpinfo? Or provide a link to phpinfo page?
>>>>>>>>>
>>>>>>>>> On 7 May 2013 02:20, Ankush Kilam <[email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Igor,
>>>>>>>>>>
>>>>>>>>>> I have installed the latest version of scalr from github but 
>>>>>>>>>> still I am getting the following error.
>>>>>>>>>>
>>>>>>>>>> Service is temporary not available. Please try again in a minute.
>>>>>>>>>>
>>>>>>>>>> There are no Apache error logs & find below access_logs
>>>>>>>>>>
>>>>>>>>>> 10.20.110.8 - - [07/May/2013:05:12:38 -0400] "GET / HTTP/1.1" 200 
>>>>>>>>>> 11333
>>>>>>>>>> 10.20.110.8 - - [07/May/2013:05:12:39 -0400] "GET 
>>>>>>>>>> /ui2/images/main_logo.png HTTP/1.1" 200 8122
>>>>>>>>>> 10.20.110.8 - - [07/May/2013:05:12:39 -0400] "GET 
>>>>>>>>>> /ui2/images/main_logo_bg.png HTTP/1.1" 200 3883
>>>>>>>>>> 10.20.110.8 - - [07/May/2013:05:12:39 -0400] "GET 
>>>>>>>>>> /ui2/js/extjs-4.1/theme/ext-**sc**alr-2.css HTTP/1.1" 200 128005
>>>>>>>>>> 10.20.110.8 - - [07/May/2013:05:12:39 -0400] "GET 
>>>>>>>>>> /ui2/js/extjs-4.1/ext-all-4.js HTTP/1.1" 200 1181467
>>>>>>>>>> 10.20.110.8 - - [07/May/2013:05:12:39 -0400] "POST /guest/xInit 
>>>>>>>>>> HTTP/1.1" 200 -
>>>>>>>>>>
>>>>>>>>>> The testenvironment.php yields the following output.
>>>>>>>>>>
>>>>>>>>>> Congratulations, your environment settings match Scalr 
>>>>>>>>>> requirements!"; else { print "Errors:
>>>>>>>>>> "; foreach ($err as $e) print "• {$e}
>>>>>>>>>> "; } } else { if (count($err) == 0) print 
>>>>>>>>>> "\033[32mCongratulations, your environment settings match Scalr 
>>>>>>>>>> requirements!\033[0m\n"; else { print "\033[31mErrors:\033[0m\n"; 
>>>>>>>>>> foreach 
>>>>>>>>>> ($err as $e) print "\033[31m- {$e}\033[0m\n"; } } //phpinfo(); ?>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Could you please correct me where I am going wrong ????
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>> Ankush
>>>>>>>>>>  
>>>>>>>>>>
>>>>>>>>>> On Monday, May 6, 2013 8:18:30 PM UTC+1, DicsyDel wrote:
>>>>>>>>>>
>>>>>>>>>>> Where you get this 2 years old version? Can you please use the 
>>>>>>>>>>> latest version from github?
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>> Igor
>>>>>>>>>>>
>>>>>>>>>>> On 6 May 2013 05:02, Ankush Kilam <[email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Srini/Affandar,
>>>>>>>>>>>>
>>>>>>>>>>>> I am also facing the same issue as stated by you.
>>>>>>>>>>>>
>>>>>>>>>>>> *PHP Fatal error:  Class 'Scalr_Session' not found in 
>>>>>>>>>>>> /opt/scalr/app/www/ui.php on line 28, referer: 
>>>>>>>>>>>> http://localhost/* in Apache error logs.
>>>>>>>>>>>>
>>>>>>>>>>>> I have made the necessary entries in Apache conf file for 
>>>>>>>>>>>> setting up the DocumentRoot as shown below.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> *DocumentRoot "/opt/scalr/app/www"
>>>>>>>>>>>>
>>>>>>>>>>>> <Directory />
>>>>>>>>>>>>    Options FollowSymLinks
>>>>>>>>>>>>     AllowOverride All
>>>>>>>>>>>> </Directory>*
>>>>>>>>>>>>
>>>>>>>>>>>> & even enabled *short_tags in PHP* but still I am facing the 
>>>>>>>>>>>> above error.
>>>>>>>>>>>>
>>>>>>>>>>>> *I am installing Scalr Version 3.5*
>>>>>>>>>>>>
>>>>>>>>>>>> Could you please guide me on this. Awaiting your reply.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks 
>>>>>>>>>>>> Ankush
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Saturday, January 7, 2012 8:06:57 AM UTC, affandar wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hello folks, I just downloaded 
>>>>>>>>>>>>> scalr-12092011-**r591******6.tar.gz 
>>>>>>>>>>>>> and followed the setup instructions to set up scalr on my centos 
>>>>>>>>>>>>> 6.0 box. 
>>>>>>>>>>>>> PHP version is 5.3.2.
>>>>>>>>>>>>>
>>>>>>>>>>>>> When I browse to http://localhost I see "Service is temporary 
>>>>>>>>>>>>> not available. Please try again in a minute."
>>>>>>>>>>>>>
>>>>>>>>>>>>> The httpd error_log has this:
>>>>>>>>>>>>>
>>>>>>>>>>>>> [Fri Jan 06 23:44:07 2012] [error] [client 127.0.0.1] PHP 
>>>>>>>>>>>>> Fatal error:  Class 'Scalr_Session' not found in 
>>>>>>>>>>>>> /var/www/scalr/app/www/ui.php on line 10, referer: 
>>>>>>>>>>>>> http://localhost/
>>>>>>>>>>>>>
>>>>>>>>>>>>> My doc root is set to /var/www/scalr/app/www. 
>>>>>>>>>>>>>
>>>>>>>>>>>>> What am I missing? 
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>
>>>>>>>>>>>>  -- 
>>>>>>>>>>>> You received this message because you are subscribed to the 
>>>>>>>>>>>> Google Groups "scalr-discuss" group.
>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from 
>>>>>>>>>>>> it, send an email to scalr-discus...@**googlegroups.**c**om.
>>>>>>>>>>>>
>>>>>>>>>>>> For more options, visit https://groups.google.com/**grou****
>>>>>>>>>>>> ps/opt_out <https://groups.google.com/groups/opt_out>.
>>>>>>>>>>>>  
>>>>>>>>>>>>  
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>  -- 
>>>>>>>>>> You received this message because you are subscribed to the 
>>>>>>>>>> Google Groups "scalr-discuss" group.
>>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>>> send an email to scalr-discus...@googlegroups.**c**om.
>>>>>>>>>> For more options, visit https://groups.google.com/**grou**
>>>>>>>>>> ps/opt_out <https://groups.google.com/groups/opt_out>.
>>>>>>>>>>  
>>>>>>>>>>  
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  -- 
>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>> Groups "scalr-discuss" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>> send an email to scalr-discus...@googlegroups.**com.
>>>>>>> For more options, visit 
>>>>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>>>>> .
>>>>>>>  
>>>>>>>  
>>>>>>>
>>>>>>
>>>>>>  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "scalr-discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to