Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Upgrading old system

Upgrading old system 3 years 5 months ago #10808

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Karma: 0
Hello...

I can't transfer system from my old harddrive to virtualbox running same Proview5.2.1-1
Here is complete workflow what I do. (It's from note I do when I create that project and it worked at that time.)

Any Help?

On old system (hostname=podstresnik):
source /usr/pwrp/adm/db/pwr_setup.sh
	sdf mesalnica
	reload.sh
		dumpdb and exit
	#Make archive
	sudo tar cvpfz ~/mesalnica.tar.gz /usr/local/pwrp/mesalnica
On virtualbox (hostname=kmetija):
Install ubuntu 14.04.4
	Install proview 5.2.1-1
	install mysql-client
	install mysql-server 	(set password when asked)
	reboot

	#unpack archive
	sudo tar xvpfz mesalnica.tar.gz -C /

	#COPY /usr/pwrp/adm/db/pwr_projectlist.dat file from old system

	#Edit /usr/pwrp/adm/db/pwr_volumelist.dat and after !**Menu ClassVolumes { //: add
		VolMesalnica	0.1.1.4	Mesalnica
		CVolMesalnica	0.0.88.88	Mesalnica
		CVolLogLop	0.0.1.1	Mesalnica

	source /usr/pwrp/adm/db/pwr_setup.sh
	sdf mesalnica
	reload.sh
		renamedb
		loaddb

	pwrs
	#On right side under Sim999 change:
		#ObjectName podstresnik to kmetija
		#NodeName podstresnik to kmetija
		#BootName podstresnik to kmetija


#On new console window in virtualbox:
export pwra_db=/usr/pwrp/adm/db
	source $pwra_db/pwr_setup.sh
	source $pwra_db/pwra_env.sh set project mesalnica
		export PWR_BUS_ID=999
		pwr_rtmon

#click "Start Runtim" on GUI
#And got error:

F Could not open file /usr/local/pwrp/mesalnica/bld/common/load/ld_boot_kmetija_0999.dat
I Reading Node file /usr/local/pwrp/mesalnica/bld/common/load/ld_node_kmetija_0999.dat
F Cannot find my own node in /usr/local/pwrp/mesalnica/bld/common/load/ld_node_kmetija_0999.dat
The administrator has disabled public write access.

Upgrading old system 3 years 5 months ago #10809

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
Looks like you have a problem with the hostname (/etc/hosts /etc/hostname -> reboot)
Try to set-up an exactly same system as the old one......

/Marc
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
The administrator has disabled public write access.

Upgrading old system 3 years 5 months ago #10810

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Karma: 0
I have notes how to change hostname that and I know that this works as I do that multiple time (years ago). Can't have two equal hostnames on same network.

But I don't remember and can't find any notes if database need some treatement
The administrator has disabled public write access.

Upgrading old system 3 years 5 months ago #10812

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Karma: 0
Still not working 100%. I get it running with error.

Seems database related but don't know what is wrong.

Failed to connect to database: Error: Unknown database 'pwrp__mesalnica'

Steps installing sql was:
sudo apt-get install mysql-client mysql-server

mysql -u root -p
grant all privileges on *.* to pwrp@localhost;
\q
#reboot computer
The administrator has disabled public write access.

Upgrading old system 3 years 5 months ago #10813

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
The administrator has disabled public write access.

Upgrading old system 3 years 5 months ago #10816

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Karma: 0
I already read near all my old posts and answers, and miss that.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 8.190 seconds