09-17-2013 01:24 PM
Dears,
I need your help in verifing the restore command for LMS 4.2.1 in windows server:
the command: C:\Program files (86)\CSCOpx\bin} perl.exe backup.pl -d C:\bkp
where the bkp is the backup folder?
Kindly confirm if this is correct as i need to resotre the Folder which located in the C: .
Regards,
Muhannad
Solved! Go to Solution.
09-17-2013 01:56 PM
Hi Muhannad
What error you are getting while restore back command?
If LMS is installed in c:\Program Files (x86) use below command
C:\Progra~2\CSCOpx\bin>perl.exe C:\Progra~2\CSCOpx\bin\restorebackup.pl -d C:\bkp
If LMS is installed in c:\Program Files use below command
C:\Progra~1\CSCOpx\bin>perl.exe C:\Progra~1\CSCOpx\bin\restorebackup.pl -d C:\bkp
If you have backup folder named 0,1,2 then give full path for backup directory as
C:\Progra~2\CSCOpx\bin>perl.exe C:\Progra~2\CSCOpx\bin\restorebackup.pl -d C:\bkp\0
Thanks
Mahavir
09-17-2013 01:27 PM
Dears,
this is the command for the LMS restore process that doesnt work
C:\Program files (86)\CSCOpx\bin] perl.exe restorebackup.pl -d C:\bkp
Regards,
Muhannad
09-17-2013 01:56 PM
Hi Muhannad
What error you are getting while restore back command?
If LMS is installed in c:\Program Files (x86) use below command
C:\Progra~2\CSCOpx\bin>perl.exe C:\Progra~2\CSCOpx\bin\restorebackup.pl -d C:\bkp
If LMS is installed in c:\Program Files use below command
C:\Progra~1\CSCOpx\bin>perl.exe C:\Progra~1\CSCOpx\bin\restorebackup.pl -d C:\bkp
If you have backup folder named 0,1,2 then give full path for backup directory as
C:\Progra~2\CSCOpx\bin>perl.exe C:\Progra~2\CSCOpx\bin\restorebackup.pl -d C:\bkp\0
Thanks
Mahavir
09-18-2013 08:13 AM
Hi Mahavir,
Many thanks for the response, the Restore procedure worked fine using the commands but i have faced a new issue after the restore, the issue as below:
The new LMS server is still not installed in the network and we are planning to use it as a cold backup server in case we face any failure in the primary server, before the restore, i used to login to the new server using the IE with URL: http://localhost:1741 but after restoring the database, i am unable to login with the same URL and because the server is not connected to the NW, i am unable to login now at all.
I am wondering what is wrong and shall i connect it to the Network to be able to login via the WEB using its hostname or IP.
P.S: the new server has identical Hostname and IP of the active LMS server to keep the sync of the database easier when i move the database.
Regards,
Muhannad
09-18-2013 08:36 AM
Hi Muhannad
After restoring backup, you need to login in web UI with username/password of your main LMS server (of which backup you have restored). You should be able to login mail LMS server credentials.
If still you face problem, then
- stop daemon manager by cammand 'net stop crmdmgtd'
- reset web UI with NMSROOT/CSCOpx/bin>resetpasswd.exe username
- start daemon manager with 'net start crmdmgtd'
Thanks
Mahavir
Do rate post if you found it useful
09-18-2013 02:22 PM
Hi Mahavir,
The issue here that i dont get the web UI of the LMS after the restore but as i have mentioned in my post, i am trying to access it using https://localhost:1741, so basically i am not geting the username and password prompts.
i tried to reset the SSL certifcates but still didnt work, so i am wondering if i will not be able to reach it via localhost after the restore and it should be connected to the network or there is a way to access it using the localhost?
Regads,
Muhannad
09-19-2013 07:11 AM
Hi Muhannad
Try not using 1741 port as it is not required when you are using https. So try https://localhost only.
Thanks
Mahavir
09-19-2013 11:25 AM
Hi Mahavir,
This has been used with no success, i am thinking to repeat the backup and the restore process. .
DO you have any other thoughts mate?
Regards,
Muhannad
09-19-2013 12:42 PM
Hi Muhannad
have you tried restarting LMS? If not then restart it with below commands:
net stop crmdmgtd -- wait for around 15 mins
net start crmdmgtd -- wait for around 15 mins
then try to login. if still not successful then provide me output of 'pdshow -brief | sort' from cmd prompt
May be apache server itself is not running.
Thanks
Mahavir
09-19-2013 12:58 PM
Hi Mahavir,
Yes the LMS has been restarted with no luck, i will be providing the "pdshow -brief | sort" output next week, because the client has left the site and we have a holiday here tomorrow.
Thanks for your kind support,
Muhannad
09-22-2013 02:53 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide