Guest User

Untitled

a guest
Aug 24th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.79 KB | None | 0 0
  1. root@efw-1292867961:~ # hotspot-purge.sh
  2. Shutting down Endian Management Interface (emi): [ OK ]
  3. Starting postgresql service: ... [ OK ]
  4. DROP DATABASE [ OK ]
  5. Stopping postgresql service: [ OK ]
  6. Starting emi: [ OK ]
  7. root@efw-1292867961:~ # hotspot-install.sh
  8. Shutting down Endian Management Interface (emi): [ OK ]
  9. Starting postgresql service: ... [ OK ]
  10. Database radius Creating it now ... [ OK ]
  11. User radius already exists. Skipping creation
  12. ALTER ROLE
  13. CREATE DATABASE
  14. User radius already exists. Skipping creation
  15. ALTER ROLE
  16. GRANT
  17. SET
  18. SET
  19. SET
  20. SET
  21. ERROR: relation "public.hotspot_self_service" does not exist
  22. ERROR: relation "public.hotspot_ticket_accounting" does not exist
  23. ERROR: relation "public.hotspot_ticket" does not exist
  24. ERROR: relation "public.hotspot_ticket_accounting" does not exist
  25. ERROR: relation "public.hotspot_ticket" does not exist
  26. ERROR: index "usergroup_username" does not exist
  27. ERROR: index "realmgroup_realmname" does not exist
  28. ERROR: index "radreply_username" does not exist
  29. ERROR: index "radgroupreply_groupname" does not exist
  30. ERROR: index "radgroupcheck_groupname" does not exist
  31. ERROR: index "radcheck_username" does not exist
  32. ERROR: index "radacct_unique" does not exist
  33. ERROR: index "radacct_start_user_idx" does not exist
  34. ERROR: index "radacct_active_user_idx" does not exist
  35. ERROR: index "hotspot_account_external_id" does not exist
  36. ERROR: relation "public.usergroup" does not exist
  37. ERROR: relation "public.realms" does not exist
  38. ERROR: relation "public.realmgroup" does not exist
  39. ERROR: relation "public.radreply" does not exist
  40. ERROR: relation "public.radpostauth" does not exist
  41. ERROR: relation "public.radgroupreply" does not exist
  42. ERROR: relation "public.radgroupcheck" does not exist
  43. ERROR: relation "public.radcheck" does not exist
  44. ERROR: relation "public.radacct" does not exist
  45. ERROR: relation "public.nas" does not exist
  46. ERROR: relation "public.hotspot_ticket" does not exist
  47. ERROR: relation "public.hotspot_ticket_generator" does not exist
  48. ERROR: relation "public.hotspot_ticket_accounting" does not exist
  49. ERROR: relation "public.hotspot_setting" does not exist
  50. ERROR: relation "public.hotspot_self_service" does not exist
  51. ERROR: relation "public.hotspot_rate" does not exist
  52. ERROR: relation "public.hotspot_rate" does not exist
  53. ERROR: relation "public.hotspot_db_version" does not exist
  54. ERROR: relation "public.hotspot_account" does not exist
  55. ERROR: relation "public.hotspot_account" does not exist
  56. ERROR: relation "public.hotspot_account_generator" does not exist
  57. ERROR: table "usergroup" does not exist
  58. ERROR: table "realms" does not exist
  59. ERROR: table "realmgroup" does not exist
  60. ERROR: table "radreply" does not exist
  61. ERROR: table "radpostauth" does not exist
  62. ERROR: table "radgroupreply" does not exist
  63. ERROR: table "radgroupcheck" does not exist
  64. ERROR: table "radcheck" does not exist
  65. ERROR: table "radacct" does not exist
  66. ERROR: table "nas" does not exist
  67. ERROR: table "hotspot_ticket_generator" does not exist
  68. ERROR: table "hotspot_ticket_accounting" does not exist
  69. ERROR: table "hotspot_ticket" does not exist
  70. ERROR: table "hotspot_setting" does not exist
  71. ERROR: table "hotspot_self_service" does not exist
  72. ERROR: table "hotspot_rate" does not exist
  73. ERROR: table "hotspot_db_version" does not exist
  74. ERROR: table "hotspot_account_generator" does not exist
  75. ERROR: table "hotspot_account" does not exist
  76. ERROR: function public.date_sub(date, integer, text) does not exist
  77. ERROR: must be superuser to drop procedural language
  78. ERROR: must be owner of schema public
  79. ERROR: schema "public" already exists
  80. ALTER SCHEMA
  81. ERROR: must be owner of schema public
  82. ERROR: must be superuser to create procedural language
  83. CREATE FUNCTION
  84. ALTER FUNCTION
  85. SET
  86. SET
  87. CREATE TABLE
  88. ALTER TABLE
  89. CREATE TABLE
  90. ALTER TABLE
  91. setval
  92. --------
  93. 1
  94. (1 row)
  95.  
  96. setval
  97. --------
  98. 1
  99. (1 row)
  100.  
  101. CREATE TABLE
  102. ALTER TABLE
  103. setval
  104. --------
  105. 1
  106. (1 row)
  107.  
  108. CREATE TABLE
  109. ALTER TABLE
  110. setval
  111. --------
  112. 1
  113. (1 row)
  114.  
  115. CREATE TABLE
  116. ALTER TABLE
  117. setval
  118. --------
  119. 1
  120. (1 row)
  121.  
  122. CREATE TABLE
  123. ALTER TABLE
  124. setval
  125. --------
  126. 1
  127. (1 row)
  128.  
  129. CREATE TABLE
  130. ALTER TABLE
  131. CREATE TABLE
  132. ALTER TABLE
  133. setval
  134. --------
  135. 1
  136. (1 row)
  137.  
  138. CREATE TABLE
  139. ALTER TABLE
  140. setval
  141. --------
  142. 1
  143. (1 row)
  144.  
  145. setval
  146. --------
  147. 1
  148. (1 row)
  149.  
  150. CREATE TABLE
  151. ALTER TABLE
  152. CREATE TABLE
  153. ALTER TABLE
  154. setval
  155. --------
  156. 1
  157. (1 row)
  158.  
  159. CREATE TABLE
  160. ALTER TABLE
  161. setval
  162. --------
  163. 1
  164. (1 row)
  165.  
  166. CREATE TABLE
  167. ALTER TABLE
  168. setval
  169. --------
  170. 2
  171. (1 row)
  172.  
  173. CREATE TABLE
  174. ALTER TABLE
  175. setval
  176. --------
  177. 1
  178. (1 row)
  179.  
  180. CREATE TABLE
  181. ALTER TABLE
  182. setval
  183. --------
  184. 1
  185. (1 row)
  186.  
  187. CREATE TABLE
  188. ALTER TABLE
  189. setval
  190. --------
  191. 1
  192. (1 row)
  193.  
  194. CREATE TABLE
  195. ALTER TABLE
  196. setval
  197. --------
  198. 1
  199. (1 row)
  200.  
  201. CREATE TABLE
  202. ALTER TABLE
  203. setval
  204. --------
  205. 1
  206. (1 row)
  207.  
  208. CREATE TABLE
  209. ALTER TABLE
  210. setval
  211. --------
  212. 1
  213. (1 row)
  214.  
  215. ALTER TABLE
  216. ALTER TABLE
  217. ALTER TABLE
  218. ALTER TABLE
  219. ALTER TABLE
  220. ALTER TABLE
  221. ALTER TABLE
  222. ALTER TABLE
  223. ALTER TABLE
  224. ALTER TABLE
  225. ALTER TABLE
  226. ALTER TABLE
  227. ALTER TABLE
  228. ALTER TABLE
  229. ALTER TABLE
  230. ALTER TABLE
  231. ALTER TABLE
  232. ALTER TABLE
  233. ALTER TABLE
  234. ALTER TABLE
  235. ALTER TABLE
  236. CREATE INDEX
  237. CREATE INDEX
  238. CREATE INDEX
  239. CREATE INDEX
  240. CREATE INDEX
  241. CREATE INDEX
  242. CREATE INDEX
  243. CREATE INDEX
  244. CREATE INDEX
  245. CREATE INDEX
  246. ALTER TABLE
  247. ALTER TABLE
  248. ALTER TABLE
  249. ALTER TABLE
  250. ALTER TABLE
  251. WARNING: no privileges could be revoked
  252. REVOKE
  253. WARNING: no privileges could be revoked
  254. REVOKE
  255. WARNING: no privileges were granted
  256. GRANT
  257. WARNING: no privileges were granted
  258. GRANT
  259. Database creation ended with success!
  260. 2010-12-21 11:54:07,480 - restarthotspot.py[10986] - INFO - Autogenerate HOTSPOT radius and postgres secret
  261. postmaster (pid 10869 10868 10867 10865 10826) is running...
  262. 2010-12-21 11:54:12,211 - hotspot-commandline[11001] - INFO - no accounts were found
  263. Stopping postgresql service: [ OK ]
  264. Traceback (most recent call last):
  265. File "/usr/local/bin/hotspot-commandline", line 25, in ?
  266. from endian.hotspotgui.web.account import AccountController
  267. File "/usr/lib/python2.4/site-packages/endian/hotspotgui/web/__init__.py", line 21, in ?
  268. File "/usr/lib/python2.4/site-packages/endian/hotspotgui/web/controllers.py", line 921, in ?
  269. File "/usr/lib/python2.4/site-packages/endian/hotspotgui/web/controllers.py", line 935, in Root
  270. File "/usr/lib/python2.4/site-packages/turbogears/database.py", line 194, in getConnection
  271. File "/usr/lib/python2.4/site-packages/turbogears/database.py", line 215, in begin
  272. File "/usr/lib/python2.4/site-packages/sqlobject/dbconnection.py", line 393, in transaction
  273. File "/usr/lib/python2.4/site-packages/sqlobject/dbconnection.py", line 825, in __init__
  274. File "/usr/lib/python2.4/site-packages/sqlobject/dbconnection.py", line 264, in getConnection
  275. File "/usr/lib/python2.4/site-packages/sqlobject/postgres/pgconnection.py", line 115, in makeConnection
  276. psycopg2.OperationalError: could not connect to server: Connection refused
  277. Is the server running on host "127.0.0.1" and accepting
  278. TCP/IP connections on port 5432?
  279. ; used connection string 'dbname=radius user=radius password=1nvsjxveFyamxDOJ8KPWV1kDJ host=127.0.0.1 port=5432'
  280. Shutting down Endian Management Interface (emi): [FAILED]
  281. Starting emi: [ OK ]
  282. 2010-12-21 11:54:29,945 - restarthotspot.py[10986] - ERROR - could not load settings from db
  283. root@efw-1292867961:~ # /etc/init.d/emi status
  284. emi (pid 11044) is running...
  285. root@efw-1292867961:~ #
Add Comment
Please, Sign In to add comment