· 10 years ago · Feb 24, 2016, 09:48 PM
1root@fbsd102:~ # vh -i
2Hello root,
3let's start with the configuration of database access. If you have some problems with configuration you can:
4 * Follow the official documentation: https://github.com/verlihub/verlihub/wiki/
5 * Seek support on VAZ: dchub://hub.verlihub.net:7777/
6
7[*] MySQL settings
8-- Please insert MySQL server setting below for the hub.
9 If the account/DB does not exist it will be created later in this setup.
10Choose database name (verlihub):
11MySQL user to access to 'verlihub' (verlihub):
12MySQL password for user 'verlihub': 123654
13MySQL hostname (localhost):
14MySQL charset (experts only, leave empty for default):
15Hub locale (experts only, leave empty for default):
16Hub encoding (experts only, leave empty for default):
17This is information about your MySQL server and the hub:
18 Database: verlihub
19 Username: verlihub
20 Password: 123654
21 Hostname: localhost
22 Charset:
23 Hub locale:
24 Hub encoding:
25Do you want to continue with this information? (y/N) y
26
27-- Checking MySQL account verlihub@localhost; this could take some times...
28-- The MySQL account 'verlihub' has been found
29
30-- Checking MySQL database verlihub; this could take some times...
31-- The MySQL database 'verlihub' has been found
32-- Please insert MySQL administrator information to create DB or account or grant permissions.
33Username (root):
34Password: 123456
35This is information about MySQL administrator:
36 Username: root
37 Password: 123456
38Do you want to continue with this information? (y/N) y
39
40-- You need to choose a place for the configuration files
41 [1] /etc/verlihub
42 [2] /usr/local/etc/verlihub
43 [9] Other, choose path where put config file
44Select number: 2
45-- The folder '/usr/local/etc/verlihub' already exists (existing configuration will be backup). Do you want to continue? Otherwise choose 'N' to select another folder [y/N]: y
46-- The original configuration has been moved to /root/vh_install_1456360965.tar.gz
47
48-- Config file has been successfully written in '/usr/local/etc/verlihub/dbconfig'.
49-- Now they will be created other directories and files.
50-- Copy files and accessing to MySQL server; this could take some times...
51/usr/local/bin/vh_lib: line 284: 2120 Segmentation fault (core dumped) $BINDIR/verlihub 2 &> $VERLIHUB_CFG/install_log
52-- ERROR: cannot create verlihub's tables in the database, cannot continue with the installation. Please check '/usr/local/etc/verlihub/install_log' file for more info and run installation again
53root@fbsd102:~ # cat /usr/local/etc/verlihub/install_log
54root@fbsd102:~ # gdb /usr/local/bin/ver
55verify-uselistorder36* verlihub* verlihub_config*
56root@fbsd102:~ # gdb /usr/local/bin/verlihub verlihub.core
57GNU gdb 6.1.1 [FreeBSD]
58Copyright 2004 Free Software Foundation, Inc.
59GDB is free software, covered by the GNU General Public License, and you are
60welcome to change it and/or distribute copies of it under certain conditions.
61Type "show copying" to see the conditions.
62There is absolutely no warranty for GDB. Type "show warranty" for details.
63This GDB was configured as "amd64-marcel-freebsd"...Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/local/bin/verlihub]
64
65Core was generated by `verlihub'.
66Program terminated with signal 11, Segmentation fault.
67Reading symbols from /usr/local/lib/libverlihub.so.1.0.0.0...Error while reading shared library symbols:
68Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/local/lib/libverlihub.so.1.0.0.0]
69Reading symbols from /usr/lib/libssl.so.7...(no debugging symbols found)...done.
70Loaded symbols for /usr/lib/libssl.so.7
71Reading symbols from /lib/libcrypto.so.7...(no debugging symbols found)...done.
72Loaded symbols for /lib/libcrypto.so.7
73Reading symbols from /lib/libcrypt.so.5...(no debugging symbols found)...done.
74Loaded symbols for /lib/libcrypt.so.5
75Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.20...(no debugging symbols found)...done.
76Loaded symbols for /usr/local/lib/mysql/libmysqlclient.so.20
77Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done.
78Loaded symbols for /lib/libz.so.6
79Reading symbols from /usr/local/lib/libpcre.so.1...(no debugging symbols found)...done.
80Loaded symbols for /usr/local/lib/libpcre.so.1
81Reading symbols from /usr/local/lib/libpcreposix.so.0...(no debugging symbols found)...done.
82Loaded symbols for /usr/local/lib/libpcreposix.so.0
83Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
84Loaded symbols for /lib/libthr.so.3
85Reading symbols from /usr/local/lib/libasprintf.so.0...(no debugging symbols found)...done.
86Loaded symbols for /usr/local/lib/libasprintf.so.0
87Reading symbols from /usr/local/lib/libintl.so.8...(no debugging symbols found)...done.
88Loaded symbols for /usr/local/lib/libintl.so.8
89Reading symbols from /usr/lib/libexecinfo.so.1...(no debugging symbols found)...done.
90Loaded symbols for /usr/lib/libexecinfo.so.1
91Reading symbols from /usr/local/lib/gcc46/libstdc++.so.6...done.
92Loaded symbols for /usr/local/lib/gcc46/libstdc++.so.6
93Reading symbols from /lib/libm.so.5...done.
94Loaded symbols for /lib/libm.so.5
95Reading symbols from /lib/libgcc_s.so.1...done.
96Loaded symbols for /lib/libgcc_s.so.1
97Reading symbols from /lib/libc.so.7...done.
98Loaded symbols for /lib/libc.so.7
99Reading symbols from /usr/lib/librt.so.1...done.
100Loaded symbols for /usr/lib/librt.so.1
101Reading symbols from /usr/lib/libc++.so.1...done.
102Loaded symbols for /usr/lib/libc++.so.1
103Reading symbols from /lib/libcxxrt.so.1...done.
104Loaded symbols for /lib/libcxxrt.so.1
105Reading symbols from /usr/lib/libelf.so.1...done.
106Loaded symbols for /usr/lib/libelf.so.1
107Reading symbols from /libexec/ld-elf.so.1...done.
108Loaded symbols for /libexec/ld-elf.so.1
109#0 0x0000000000000000 in ?? ()
110[New Thread 804406400 (LWP 100129/<unknown>)]
111(gdb) bt full
112#0 0x0000000000000000 in ?? ()
113No symbol table info available.
114#1 0x00000008029b6302 in __dynamic_cast (src_ptr=0x802bf0700, src_type=0x802be6eb0, dst_type=0x802be6be0, src2dst=0)
115 at ../../.././../gcc-4.6.4/libstdc++-v3/libsupc++/dyncast.cc:61
116 vtable = <value optimized out>
117 whole_ptr = (const void *) 0x802bf0700
118 whole_type = <value optimized out>
119 result = {dst_ptr = 0x0, whole2dst = __cxxabiv1::__class_type_info::__unknown,
120 whole2src = __cxxabiv1::__class_type_info::__unknown, dst2src = __cxxabiv1::__class_type_info::__unknown, whole_details = 16}
121#2 0x00000008029895d0 in std::has_facet<std::ctype<char> > (__loc=@0x802bf0258) at locale_classes.tcc:234
122 __i = <value optimized out>
123 __facets = <value optimized out>
124#3 0x000000080297e4d4 in std::basic_ios<char, std::char_traits<char> >::_M_cache_locale (this=0x802bf0188, __loc=@0x802bf0258)
125 at basic_ios.tcc:160
126No locals.
127#4 0x000000080297e578 in std::basic_ios<char, std::char_traits<char> >::init (this=0x802bf0188, __sb=0x802befa60)
128 at basic_ios.tcc:133
129No locals.
130#5 0x00000008029660ed in Init (this=<value optimized out>) at ostream:85
131No locals.
132#6 0x0000000800883094 in ?? () from /usr/local/lib/libverlihub.so.1.0.0.0
133No symbol table info available.
134#7 0x0000000800b73000 in ?? () from /usr/local/lib/libverlihub.so.1.0.0.0
135No symbol table info available.
136#8 0x00007fffffffe090 in ?? ()
137No symbol table info available.
138#9 0x0000000800820560 in ?? () from /libexec/ld-elf.so.1
139No symbol table info available.
140#10 0x0000000000000000 in ?? ()
141No symbol table info available.