05-19-2018 04:18 AM - edited 03-08-2019 07:22 PM
Hi
i have VSOM 7.6 has issue with data base , so i an try to restart db but no resolve so i am recreate the database , then after my server is crushed ,
/usr/BWhttpd/bin/init_vsom_mysql restart
/usr/BWhttpd/vsom_be/db/database_create.sh
i am loss the bin directory , now my server down ,
this
[root@vsom1 BWhttpd]# ls
systemstoragestatus tomcat vsf_be vsmc vsom_be // no bin , cores here
so , any help
Solved! Go to Solution.
05-20-2018 05:16 PM
Hello,
Looks like your DB crashed and we need to rebuild again and restore the config with the existing backup on server (if any).
Let me know if you can open a TAC SR, I can help you and take over SR to get the server restored again soon.
In meantime, please check and share the output of below commands:
1) #cd /var/serviceBackups/scheduled/daily
# ls -alh
# /var/serviceBackups/manual/
# ls -alh
2) df -h
3) service cisco status
4) vscheck
Regards,
Jayesh
05-20-2018 05:16 PM
Hello,
Looks like your DB crashed and we need to rebuild again and restore the config with the existing backup on server (if any).
Let me know if you can open a TAC SR, I can help you and take over SR to get the server restored again soon.
In meantime, please check and share the output of below commands:
1) #cd /var/serviceBackups/scheduled/daily
# ls -alh
# /var/serviceBackups/manual/
# ls -alh
2) df -h
3) service cisco status
4) vscheck
Regards,
Jayesh
05-21-2018 12:24 AM
Hi Jash
Thank you for your replay , i can open TAC , but i am try to learn :) so if you think is good to open TAC i will did ,
as follow your requirement
drwxrwxrwx. 2 root root 4.0K May 18 10:05 .
drwxrwxrwx. 3 root root 4.0K May 18 10:00 ..
-rw-r--r-- 1 root root 109K Apr 19 10:05 CDAF_vsom1_backup_config_20180419_100500.tar.gz
-rw-r--r-- 1 root root 108K Apr 20 10:05 CDAF_vsom1_backup_config_20180420_100500.tar.gz
-rw-r--r-- 1 root root 109K Apr 21 10:05 CDAF_vsom1_backup_config_20180421_100500.tar.gz
-rw-r--r-- 1 root root 108K Apr 22 10:05 CDAF_vsom1_backup_config_20180422_100500.tar.gz
-rw-r--r-- 1 root root 109K Apr 23 10:05 CDAF_vsom1_backup_config_20180423_100500.tar.gz
-rw-r--r-- 1 root root 109K Apr 24 10:05 CDAF_vsom1_backup_config_20180424_100500.tar.gz
-rw-r--r-- 1 root root 109K Apr 25 10:05 CDAF_vsom1_backup_config_20180425_100500.tar.gz
-rw-r--r-- 1 root root 109K Apr 26 10:05 CDAF_vsom1_backup_config_20180426_100500.tar.gz
-rw-r--r-- 1 root root 109K Apr 27 10:05 CDAF_vsom1_backup_config_20180427_100500.tar.gz
-rw-r--r-- 1 root root 109K Apr 28 10:05 CDAF_vsom1_backup_config_20180428_100500.tar.gz
-rw-r--r-- 1 root root 108K Apr 29 10:05 CDAF_vsom1_backup_config_20180429_100500.tar.gz
-rw-r--r-- 1 root root 109K Apr 30 10:05 CDAF_vsom1_backup_config_20180430_100500.tar.gz
-rw-r--r-- 1 root root 109K May 1 10:05 CDAF_vsom1_backup_config_20180501_100500.tar.gz
-rw-r--r-- 1 root root 108K May 2 10:05 CDAF_vsom1_backup_config_20180502_100500.tar.gz
-rw-r--r-- 1 root root 108K May 3 10:05 CDAF_vsom1_backup_config_20180503_100500.tar.gz
-rw-r--r-- 1 root root 109K May 4 10:05 CDAF_vsom1_backup_config_20180504_100500.tar.gz
-rw-r--r-- 1 root root 108K May 5 10:05 CDAF_vsom1_backup_config_20180505_100500.tar.gz
-rw-r--r-- 1 root root 108K May 6 10:05 CDAF_vsom1_backup_config_20180506_100500.tar.gz
-rw-r--r-- 1 root root 109K May 7 10:05 CDAF_vsom1_backup_config_20180507_100500.tar.gz
-rw-r--r-- 1 root root 108K May 8 10:05 CDAF_vsom1_backup_config_20180508_100500.tar.gz
-rw-r--r-- 1 root root 109K May 9 10:05 CDAF_vsom1_backup_config_20180509_100500.tar.gz
-rw-r--r-- 1 root root 108K May 10 10:05 CDAF_vsom1_backup_config_20180510_100500.tar.gz
-rw-r--r-- 1 root root 106K May 11 10:05 CDAF_vsom1_backup_config_20180511_100500.tar.gz
-rw-r--r-- 1 root root 109K May 12 10:05 CDAF_vsom1_backup_config_20180512_100500.tar.gz
-rw-r--r-- 1 root root 106K May 13 10:05 CDAF_vsom1_backup_config_20180513_100500.tar.gz
-rw-r--r-- 1 root root 109K May 14 10:05 CDAF_vsom1_backup_config_20180514_100500.tar.gz
-rw-r--r-- 1 root root 109K May 15 10:05 CDAF_vsom1_backup_config_20180515_100500.tar.gz
-rw-r--r-- 1 root root 109K May 16 10:05 CDAF_vsom1_backup_config_20180516_100500.tar.gz
-rw-r--r-- 1 root root 109K May 17 10:05 CDAF_vsom1_backup_config_20180517_100500.tar.gz
-rw-r--r-- 1 root root 108K May 18 10:05 CDAF_vsom1_backup_config_20180518_100500.tar.gz
[root@vsom1 manual]# ls -alh
total 3.2M
drwxrwxrwx. 2 root root 4.0K Apr 23 2015 .
drwxr-xr-x. 4 root root 4.0K Dec 10 2014 ..
-rw-r--r-- 1 root root 99K Apr 23 2015 CDAF_vsom1_backup_config_20150423_095429.tar.gz
-rw-r--r-- 1 root root 8.7K Apr 22 2015 GIS_geoserver_vsom1_config_backup_20150422_124936.tar.gz
-rw-r--r-- 1 root root 3.0M Apr 23 2015 VSOM_vsom1_backup_config_20150423_095424.tar.gz
[root@vsom1 manual]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 7.9G 7.0G 497M 94% /
tmpfs 9.8G 0 9.8G 0% /dev/shm
/dev/sda8 53G 4.4G 46G 9% /mysql/data
/dev/sda4 32G 5.1G 25G 18% /var
/dev/sda6 7.9G 1.5G 6.1G 20% /usr/BWhttpd
[root@vsom1 manual]# service cisco status
touch: cannot touch `/usr/BWhttpd/conf/vsms.enabled': No such file or directory
touch: cannot touch `/usr/BWhttpd/logs/ims.log': No such file or directory
chmod: cannot access `/usr/BWhttpd/logs/ims.log': No such file or directory
[root@vsom1 manual]# vscheck
Video Surveillance software
----------------------------------
Video Surveillance Base Software
Cisco_VSBase 7.6.0-075d
Video Surveillance Media Server
Cisco_VSMS 7.6.0-075d
Cisco_VSRecorder 7.6.0-075d
Cisco_VSDrivers 7.6.0-075d
Video Surveillance Operations Manager
Cisco_VSOM 7.6.0-120
Network Configuration
----------------------------------
eth0: 00:0c:29:02:49:62 10.98.169.221/24
eth1: 00:0c:29:02:49:6c
Name Server: None configure. Must use IP addresses or hosts file.
Hostname: !!Current hostname 'vsom1.psau.edu.sa' is different from the configured hostname 'vsom1'
Video Surveillence Media Server
----------------------------------
: /media[0-9][0-9]*Free: does not exist
stat: cannot stat `/usr/BWhttpd/conf': No such file or directory
stat: cannot stat `/usr/BWhttpd/conf': No such file or directory
/usr/local/bin/vscheck: line 193: [: too many arguments
stat: cannot stat `/usr/BWhttpd/conf': No such file or directory
/usr/local/bin/vscheck: line 203: [: !=: unary operator expected
Java: 1.7.0_17 Symlink: OK
Video Surveillance Operations Manager
----------------------------------
MYSQL: OK version: 5.6.18
----------------------------------
05-21-2018 01:14 AM
That's great way to learn the things! I appreciate your efforts and zeal to learn this issues and troubleshoot by your own. The current situations looks the VSOM DB service is not starting and this looks like a bit more complex and we need to see the current situations of VSOM DB and what things affected due to this. It always recommended to work with TAC when you facing such DB corrupted issue, as its cause data loss if not properly.
I can help you and give you brief about the steps what i am doing on WebEx with this. So, from next time onwards you can try by your keeping some precautions in mind. :)
As I am off-shift today, so tomorrow if you can come little early and open the TAC SR between 5:30am to 11:30 am IST time(GMT+5:30), i will pick this and help you from there.
Regards,
Jayesh
05-21-2018 01:30 AM
Thank you very much Jayesh :) Your words have taught me to learn more
So ,
i will open the case tomorrow between 5:30am to 11:30 am IST time
and if you want i will send SR number to you
Thanks and Regards ;
05-21-2018 05:02 PM
Yes, sure. Please share the SR number with me once you created that.
I am now available on shift. Please feel free to reach out to me on +1 408 434 3119.
Regards,
Jay
05-22-2018 12:04 AM
Hi Jaeysh
Good Day
i am open the case now Case # 684521745
:)
05-22-2018 12:16 AM
Hi Abul,
As I already off-shift by an hour now, and now next team engineers will take over for the cases.
Do you want me to work on your case?
05-22-2018 12:22 AM
Hi jsah
i think thid GMT time now is 8:14 am :(
Do you want me to work on your case? yes sure
05-22-2018 12:28 AM
Okay fine.. I am taking over the case from EU shift engineer. :)
05-23-2018 12:09 AM
Hi Jash
A lot of thanks for your help
Regards ; ;
05-23-2018 12:18 AM
My pleasure assisting you here! :)
05-22-2018 12:25 AM
hi Jash
my shift start now , so please tell me exactly your shift time and your area
Thanks :)
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