Thanks Srini, I just went back to 3.5 and the admin password issue is gone.
I am really new to Scalr. I have a few EC2 instances (actually Images - but you get the point) on Amazon that I'd like to get them organized under a Scalr Farm. They are windows and linux servers. I am trying to use Scalarizr and am failing miserably. First question I have about Scalarizr is that if it is supposed to work with a scalr "standalone" installation ?? I mean, importing servers to roles are only possible if one pays for scalr.net services ? Sencond is, what type of message I should see in the logs that would confirm conectvity between Scalr and Scalarizr. I have ports 8010 and 8013 opened both ways on both servers. Also have the 8014/UDP opened. I can't really see anything wrong in Scalarizr logs. The operation hangs and never finishes. >From scalr dashboard it only shows the attemptive of conection, it never connects. Happy new year guys. Can you direct me to the link of 4.0 ? On Tuesday, January 1, 2013 1:42:05 AM UTC-2, Srini wrote: > > i am running the earlier version of Scalr. After login as admin, if i > click on the admin icon i get a profile option. This could be a bug. > > Srini > > On 30-Dec-2012, at 7:56 PM, Fabiano Breves > <fabiano...@gmail.com<javascript:>> > wrote: > > Hi guys, > > I realize that this is an old topic but I followed the steps in this > thread to install scalr on an Amazon EC2 (within a VPC). I can sign in as > admin, create a new user and have this new user setup with Amazon > credentials. I also tested the TESTENVIRONMENT.PHP and it passed. My > problem is that I can't find a way to change the admin's password. There is > no Profile menu option showing at the right upper corner, when you click on > the admin icon, there is only the logout option in that menu. But for my > regular user id I have a the Profile option and can reset its password > whenever I want. Is this a bug or a misconfiguration anywhere ? > > anyone has any clues ? > > I also tried to change the password directly to the account_user table but > it did not work, still have the default password working. > > by the way the the version is listed as 3.6.0. > > If this is not the right place to ask this I apologize. > > Regards, > Fabiano Breves > > On Sunday, August 26, 2012 12:05:00 PM UTC-3, Arya A. wrote: >> >> I'm fairly certain this is a work in progress (ie, nowhere near complete >> and definitely not polished), but it may help someone else out there. >> >> Install *prerequisites * >> apt-get -y install apache2-mpm-prefork php5 php5-mysql php5-curl >> php5-mcrypt php5-snmp >> apt-get -y install libssh2-php apparmor-utils mailutils bind9 phpmyadmin >> apt-get -y install php-pear rrdtool librrd-dev libcurl4-openssl-dev >> mysql-server snmp >> # refer http://wiki.scalr.net/pages/viewpage.action?pageId=327743 >> >> echo '$cfg["AllowArbitraryServer"] = TRUE;' >> >> /etc/phpmyadmin/config.inc.php >> >> Install SCALRexport SCALR_BASE=/usr/local/scalr >> export SCALR_HOME=$SCALR_BASE/scalr-home >> export SCALR_FILES=$SCALR_BASE/scalr-files >> export CURRENT=$SCALR_BASE/current >> export PASSWORD=yourpassword >> >> useradd -d $SCALR_BASE -m -r -G www-data,bind scalr >> usermod -G scalr www-data >> mkdir -p $SCALR_HOME >> mkdir -p $SCALR_FILES >> cd $SCALR_FILES >> >> curl -L https://github.com/Scalr/scalr/tarball/master > >> scalr-master-$(date '+%Y%m%d').tar.gz >> cd $SCALR_BASE >> tar -zxvf $SCALR_FILES/scalr-master-$(date '+%Y%m%d').tar.gz >> ln -sf $(ls -rtd1 Scalr* | tail -1)/app current >> >> >> mkdir -p $SCALR_HOME/etc >> touch $SCALR_HOME/etc/.cryptokey >> mkdir -p $SCALR_HOME/cache/smarty_bin >> chmod 2755 $SCALR_BASE >> chmod -R 2775 $SCALR_HOME/cache >> cd $CURRENT ; rmdir cache ; ln -sf $SCALR_HOME/cache ; cd $SCALR_BASE >> chmod 2775 $SCALR_HOME/etc/.cryptokey >> cd $CURRENT/etc ; ln -sf $SCALR_HOME/etc/.cryptokey ; cd $SCALR_BASE >> mkdir -p $SCALR_HOME/graphics >> mkdir -p $SCALR_HOME/rrddata >> mkdir -p $SCALR_HOME/log >> chown -R scalr:scalr $SCALR_BASE >> >> cp -rp $CURRENT/templates/en_US $SCALR_HOME/cache/smarty_bin/ >> >> mysql -uroot -e 'create database scalr; grant all on scalr.* to >> scalr@localhost identified by "'$PASSWORD'";flush privileges;' >> mysql -uroot -e 'grant all on *.* to admin@localhost identified by >> "'$PASSWORD'" with grant option;flush privileges;' >> mysql -uscalr -p${PASSWORD} scalr < $CURRENT/../sql/scalr.sql >> >> echo 'INSERT INTO `scaling_metrics` (`id`, `client_id`, `env_id`, `name`, >> `file_path`, `retrieve_method`, `calc_function`, `algorithm`, `alias`) >> VALUES >> (1, 0, 0, "LoadAverages", NULL, NULL, "avg", "Sensor", "la"), >> (2, 0, 0, "FreeRam", NULL, NULL, "avg", "Sensor", "ram"), >> (3, 0, 0, "URLResponseTime", NULL, NULL, NULL, "Sensor", "http"), >> (4, 0, 0, "SQSQueueSize", NULL, NULL, NULL, "Sensor", "sqs"), >> (5, 0, 0, "DateAndTime", NULL, NULL, NULL, "DateTime", "time"), >> (6, 0, 0, "BandWidth", NULL, NULL, NULL, "Sensor", "bw");' | mysql -u >> root scalr >> >> perl -i -pe "s/ns1.scalr.net/scalr.example.org/g" >> $CURRENT/src/class.DBDNSZone.php >> >> cp -p $CURRENT/src/Scalr/Net/Dns/Bind/Transports/LocalFs.php >> $CURRENT/src/Scalr/Net/Dns/Bind/Transports/LocalFs.php-dist >> perl -i -pe 's/\(!\$retval\)/(\$retval === false)/g' >> $CURRENT/src/Scalr/Net/Dns/Bind/Transports/LocalFs.php >> >> cp -p $CURRENT/src/structs/struct.CONFIG.php >> $CURRENT/src/structs/struct.CONFIG.php-dist >> ip=$(ifconfig eth0 | grep inet | head -1 | awk ' { print $2 } ' | cut -f2 >> -d:) >> perl -i -pe "s/^(.*PMA_INSTANCE_IP_ADDRESS = ).*/\$1 '$ip';/g" >> $CURRENT/src/structs/struct.CONFIG.php >> >> for i in CPU LA MEM NET; do >> mv $CURRENT/cron/watchers/class.${i}SNMPWatcher.php >> $CURRENT/cron/watchers/class.${i}SNMPWatcher.php-dist >> curl >> https://raw.github.com/ssrini/scalr/master/cron/watchers/class.${i}SNMPWatcher.php> >> $CURRENT/cron/watchers/class.${i}SNMPWatcher.php >> <span style="font-size: 12px; font-family: 'Courier New'; >> background-color: transparent; font-weight: normal; font-style: normal; >> font-variant: normal; text-decoration: no... >> Show >> original<https://groups.google.com/group/scalr-discuss/msg/9a6b822c71d62cee?dmode=source&output=gplain&noredirect> > > --