Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@efw-1292867961:~ # hotspot-purge.sh
- Shutting down Endian Management Interface (emi): [ OK ]
- Starting postgresql service: ... [ OK ]
- DROP DATABASE [ OK ]
- Stopping postgresql service: [ OK ]
- Starting emi: [ OK ]
- root@efw-1292867961:~ # hotspot-install.sh
- Shutting down Endian Management Interface (emi): [ OK ]
- Starting postgresql service: ... [ OK ]
- Database radius Creating it now ... [ OK ]
- User radius already exists. Skipping creation
- ALTER ROLE
- CREATE DATABASE
- User radius already exists. Skipping creation
- ALTER ROLE
- GRANT
- SET
- SET
- SET
- SET
- ERROR: relation "public.hotspot_self_service" does not exist
- ERROR: relation "public.hotspot_ticket_accounting" does not exist
- ERROR: relation "public.hotspot_ticket" does not exist
- ERROR: relation "public.hotspot_ticket_accounting" does not exist
- ERROR: relation "public.hotspot_ticket" does not exist
- ERROR: index "usergroup_username" does not exist
- ERROR: index "realmgroup_realmname" does not exist
- ERROR: index "radreply_username" does not exist
- ERROR: index "radgroupreply_groupname" does not exist
- ERROR: index "radgroupcheck_groupname" does not exist
- ERROR: index "radcheck_username" does not exist
- ERROR: index "radacct_unique" does not exist
- ERROR: index "radacct_start_user_idx" does not exist
- ERROR: index "radacct_active_user_idx" does not exist
- ERROR: index "hotspot_account_external_id" does not exist
- ERROR: relation "public.usergroup" does not exist
- ERROR: relation "public.realms" does not exist
- ERROR: relation "public.realmgroup" does not exist
- ERROR: relation "public.radreply" does not exist
- ERROR: relation "public.radpostauth" does not exist
- ERROR: relation "public.radgroupreply" does not exist
- ERROR: relation "public.radgroupcheck" does not exist
- ERROR: relation "public.radcheck" does not exist
- ERROR: relation "public.radacct" does not exist
- ERROR: relation "public.nas" does not exist
- ERROR: relation "public.hotspot_ticket" does not exist
- ERROR: relation "public.hotspot_ticket_generator" does not exist
- ERROR: relation "public.hotspot_ticket_accounting" does not exist
- ERROR: relation "public.hotspot_setting" does not exist
- ERROR: relation "public.hotspot_self_service" does not exist
- ERROR: relation "public.hotspot_rate" does not exist
- ERROR: relation "public.hotspot_rate" does not exist
- ERROR: relation "public.hotspot_db_version" does not exist
- ERROR: relation "public.hotspot_account" does not exist
- ERROR: relation "public.hotspot_account" does not exist
- ERROR: relation "public.hotspot_account_generator" does not exist
- ERROR: table "usergroup" does not exist
- ERROR: table "realms" does not exist
- ERROR: table "realmgroup" does not exist
- ERROR: table "radreply" does not exist
- ERROR: table "radpostauth" does not exist
- ERROR: table "radgroupreply" does not exist
- ERROR: table "radgroupcheck" does not exist
- ERROR: table "radcheck" does not exist
- ERROR: table "radacct" does not exist
- ERROR: table "nas" does not exist
- ERROR: table "hotspot_ticket_generator" does not exist
- ERROR: table "hotspot_ticket_accounting" does not exist
- ERROR: table "hotspot_ticket" does not exist
- ERROR: table "hotspot_setting" does not exist
- ERROR: table "hotspot_self_service" does not exist
- ERROR: table "hotspot_rate" does not exist
- ERROR: table "hotspot_db_version" does not exist
- ERROR: table "hotspot_account_generator" does not exist
- ERROR: table "hotspot_account" does not exist
- ERROR: function public.date_sub(date, integer, text) does not exist
- ERROR: must be superuser to drop procedural language
- ERROR: must be owner of schema public
- ERROR: schema "public" already exists
- ALTER SCHEMA
- ERROR: must be owner of schema public
- ERROR: must be superuser to create procedural language
- CREATE FUNCTION
- ALTER FUNCTION
- SET
- SET
- CREATE TABLE
- ALTER TABLE
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 2
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- CREATE TABLE
- ALTER TABLE
- setval
- --------
- 1
- (1 row)
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- CREATE INDEX
- CREATE INDEX
- CREATE INDEX
- CREATE INDEX
- CREATE INDEX
- CREATE INDEX
- CREATE INDEX
- CREATE INDEX
- CREATE INDEX
- CREATE INDEX
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- ALTER TABLE
- WARNING: no privileges could be revoked
- REVOKE
- WARNING: no privileges could be revoked
- REVOKE
- WARNING: no privileges were granted
- GRANT
- WARNING: no privileges were granted
- GRANT
- Database creation ended with success!
- 2010-12-21 11:54:07,480 - restarthotspot.py[10986] - INFO - Autogenerate HOTSPOT radius and postgres secret
- postmaster (pid 10869 10868 10867 10865 10826) is running...
- 2010-12-21 11:54:12,211 - hotspot-commandline[11001] - INFO - no accounts were found
- Stopping postgresql service: [ OK ]
- Traceback (most recent call last):
- File "/usr/local/bin/hotspot-commandline", line 25, in ?
- from endian.hotspotgui.web.account import AccountController
- File "/usr/lib/python2.4/site-packages/endian/hotspotgui/web/__init__.py", line 21, in ?
- File "/usr/lib/python2.4/site-packages/endian/hotspotgui/web/controllers.py", line 921, in ?
- File "/usr/lib/python2.4/site-packages/endian/hotspotgui/web/controllers.py", line 935, in Root
- File "/usr/lib/python2.4/site-packages/turbogears/database.py", line 194, in getConnection
- File "/usr/lib/python2.4/site-packages/turbogears/database.py", line 215, in begin
- File "/usr/lib/python2.4/site-packages/sqlobject/dbconnection.py", line 393, in transaction
- File "/usr/lib/python2.4/site-packages/sqlobject/dbconnection.py", line 825, in __init__
- File "/usr/lib/python2.4/site-packages/sqlobject/dbconnection.py", line 264, in getConnection
- File "/usr/lib/python2.4/site-packages/sqlobject/postgres/pgconnection.py", line 115, in makeConnection
- psycopg2.OperationalError: could not connect to server: Connection refused
- Is the server running on host "127.0.0.1" and accepting
- TCP/IP connections on port 5432?
- ; used connection string 'dbname=radius user=radius password=1nvsjxveFyamxDOJ8KPWV1kDJ host=127.0.0.1 port=5432'
- Shutting down Endian Management Interface (emi): [FAILED]
- Starting emi: [ OK ]
- 2010-12-21 11:54:29,945 - restarthotspot.py[10986] - ERROR - could not load settings from db
- root@efw-1292867961:~ # /etc/init.d/emi status
- emi (pid 11044) is running...
- root@efw-1292867961:~ #
Add Comment
Please, Sign In to add comment