I am following the instruction on Page 13 RunHQinCloud:
$ ssh -i id_rsa-hqserver-keypair hqadmin@ec2-67-202-9-216.compute-1.amazonaws.com
$ sudo mkfs -t xfs /dev/sdh
$ sudo /opt/hyperic/tools/mount_mysql.sh
$ /opt/hyperic/server/bin/hq-server.sh stop
$ /opt/hyperic/agent/bin/hq-agent.sh stop
$ sudo mysqldump -Q -u root -p12345 --all-databases > /mysql/full-db-dump.sql
$ sudo /etc/init.d/mysqld stop
When I run the mysqldump statement I get "/mysql/full-db-dump.sql: Permission Denied"
I have tried replacing root with hqadmin and -p12345 with the hqadmin password.
I have also tried removing both.
I'm now stuck.... Can someone please help...?
Thanks
$ ssh -i id_rsa-hqserver-keypair hqadmin@ec2-67-202-9-216.compute-1.amazonaws.com
$ sudo mkfs -t xfs /dev/sdh
$ sudo /opt/hyperic/tools/mount_mysql.sh
$ /opt/hyperic/server/bin/hq-server.sh stop
$ /opt/hyperic/agent/bin/hq-agent.sh stop
$ sudo mysqldump -Q -u root -p12345 --all-databases > /mysql/full-db-dump.sql
$ sudo /etc/init.d/mysqld stop
When I run the mysqldump statement I get "/mysql/full-db-dump.sql: Permission Denied"
I have tried replacing root with hqadmin and -p12345 with the hqadmin password.
I have also tried removing both.
I'm now stuck.... Can someone please help...?
Thanks