Monday, 2010-11-22

*** remix_tj has quit (Ping timeout: 272 seconds)10:52
*** remix_tj (~remix_tj@ip6.server.remixtj.net) has joined #wikid11:05
*** nowen (~nowen@adsl-176-210-205.asm.bellsouth.net) has joined #wikid13:14
*** davidspollack (4a022302@gateway/web/freenode/ip.74.2.35.2) has joined #wikid18:53
davidspollackanyone here18:53
nowenyep18:54
davidspollackhi there.18:54
davidspollackso i got around to installing this today, rpm version18:54
davidspollackpostgress was installed via RPM, and then the wikid rpms18:55
nowencommunity or enterprise?18:55
davidspollackenterprise18:55
nowenok18:55
davidspollackthe logger & "timecop" services arent starting18:55
davidspollackand i dont see why.18:55
davidspollackStarting Logger service...Database listener not available!  Logger NOT started! Starting TimeCop service...Database listener not available!  Timecop NOT started!18:55
davidspollacki found your post on this, and made sure I followed those instructions18:56
nowenmaybe the db wasn't initialized?18:56
davidspollackhow can I check that18:56
nowenif you run 'service postgresql start' does the db start?18:56
davidspollackyes18:56
nowenwhich doc are you following? the enterprise rpm one?18:57
davidspollackmaybe not.18:57
davidspollacki found a post you wrote in response to this error.18:57
davidspollackdo you have a link for the document?18:57
nowenhttp://www.wikidsystems.com/support/wikid-support-center/installation-how-tos/how-to-install-the-wikid-enterprise-rpms18:58
davidspollackthanks18:58
davidspollackok now im geting somewhere18:59
davidspollacklooks like postgres starts but isnt listening18:59
nowenhmm18:59
davidspollacki have no postgres experience; is this a common issue19:00
nowenwhat port are you checking for it on?19:00
davidspollackall i did was the yum install postgresql (for all the packages)19:00
davidspollackselinux is off ...19:00
nowendo the yum install listed on that page to get all the right packages19:01
davidspollackyes ive done that19:01
nowenwhat is in /var/lib/pgsql/pgstart.log19:01
davidspollackone sec19:01
nowenthat name may be wrong19:01
nowenpgstartup.log19:02
davidspollackno such file ...19:02
nowenwhat OS is this?19:02
davidspollackbut i see sucessful startups in /var/log/messages19:02
davidspollackcentos 4.x19:02
davidspollack[root@parrot WiKID]$ uname -a Linux parrot.slm.int 2.6.9-55.ELsmp #1 SMP Wed May 2 14:04:42 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux19:02
davidspollackjava 1.6u2119:03
nowentry '19:03
nowenservice postgresql initdb'19:03
davidspollack[root@parrot WiKID]$ uname -a Linux parrot.slm.int 2.6.9-55.ELsmp #1 SMP Wed May 2 14:04:42 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux19:03
davidspollackoops19:03
davidspollackno such option19:04
davidspollack[root@parrot WiKID]$ service postgresql initdb Usage: /etc/init.d/postgresql {start|stop|status|restart|condrestart|condstop|reload|force-reload}19:04
nowen'ls -all /var/lib/pgsql/'19:04
nowenthere should be a log there19:04
nowenalso:  'netstat -anp | grep postgres'19:05
davidspollack initdb.i18n19:05
nowendo you have to stick with centos4?  4 has been out for a while and 6 should be here any minute19:05
davidspollackits not stayign up19:05
davidspollackno i dont have to19:06
davidspollackits just the box im using for testing.19:06
davidspollackhow big is the iso/vm download?19:06
nowenhow do you know it's not staying up?19:06
nowen~700 m19:06
davidspollackcause after I run service postgresql start, theres no postgres process19:06
davidspollackill ry & start it manuallu19:06
nowenthe iso is super easy to setup19:06
davidspollackmanually19:06
davidspollackim sure19:06
davidspollackid just rather not have another box if it isnt necessary19:07
davidspollackcan you explain one thing ?19:07
nowensure19:07
davidspollackwhy does the server needs to be exposed to the internet19:07
nowenthe token clients talk to the server19:07
nowenare you running other software on this server?  perhaps it is already using that port?19:08
davidspollackwiat ipostgres is up19:08
davidspollackpostgres 31558     1  0 13:59 pts/0    00:00:00 /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data postgres 31560 31558  0 13:59 pts/0    00:00:00 postgres: stats buffer process                     postgres 31561 31560  0 13:59 pts/0    00:00:00 postgres: stats collector process19:08
davidspollackon the default port too.19:08
nowenok19:09
nowendid you run the install scripts?19:09
davidspollackyes19:09
davidspollacki wiill re-run them.19:09
nowenno19:09
nowendon't do that19:09
davidspollackok19:10
nowendo this19:10
nowensu - postgres19:10
davidspollackok19:10
nowenpgsql -d wikid19:10
nowen\dt;19:10
nowenand see if the database is there19:11
davidspollackwhoa19:11
davidspollacksomething is wrong19:11
davidspollack[postgres@parrot ~]$ pgsql  -bash: pgsql: command not found19:11
nowensorry19:11
nowenpsql -d wikid19:11
davidspollackaha.19:11
davidspollack[postgres@parrot ~]$ psql -d wikid psql: FATAL:  database "wikid" does not exist [postgres@parrot ~]$19:11
nowenok - rerun the scripts19:12
nowenctrl -d to get out of postgres19:12
davidspollackok im going to run19:12
davidspollackwikidserver_config.sh19:12
davidspollackand then19:12
davidspollackwikid-firstboot.sh19:13
davidspollackright?19:13
nowenyes19:13
davidspollack[root@parrot WiKID]$ /opt/WiKID/conf/templates/wikid-firstboot.sh  dropdb: database removal failed: ERROR:  database "wikid" does not exist dropuser: removal of user "wikid-sens" failed: ERROR:  user "wikid-sens" does not exist dropuser: removal of user "timecop" failed: ERROR:  user "timecop" does not exist dropuser: removal of user "tomcat" failed: ERROR:  user "tomcat" does not exist dropuser: removal of user "wikidadmin" failed:19:14
davidspollackInitializing WiKID database ... psql: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? psql: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? psql: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TC19:14
davidspollackwierd.19:14
davidspollacklet me check the hosts file ...19:14
davidspollackthat looks ok19:14
nowenwhat does 'netstat -anp | grep postgres' show?19:15
davidspollacknothing.19:16
davidspollackwierd.19:16
davidspollack[root@parrot WiKID]$ netstat -anp | grep postgres [root@parrot WiKID]$ netstat -tulnp | grep post [root@parrot WiKID]$ ps -ef | grep post postgres  9593     1  0 14:13 pts/0    00:00:00 /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data postgres  9595  9593  0 14:13 pts/0    00:00:00 postgres: stats buffer process                     postgres  9596  9595  0 14:13 pts/0    00:00:00 postgres: stats collector process19:16
davidspollacki think i found it.19:19
davidspollackone sec19:19
davidspollackfixed!19:19
davidspollacknetstat -tulnp | grep post tcp        0      0 0.0.0.0:5432                0.0.0.0:*                   LISTEN      13259/postmaster     tcp        0      0 :::5432                     :::*                        LISTEN      13259/postmaster19:19
nowenwhat was it?19:20
davidspollackpostgresql.conf  had19:20
davidspollacktcpip_socket = false19:20
davidspollackswitched that to true, bounced postgresql19:20
davidspollacknow ill try the scripts19:20
nowenhuh19:20
davidspollackpostgres wasnt actually listening on tc 543219:20
davidspollacknow it is19:21
davidspollackso now the install scripts should work19:21
davidspollackboo-ya.19:21
davidspollacklooks better;19:22
davidspollacki got this19:22
davidspollackThe database is not yet configured for WiKID. Please run /opt/WiKID/sbin/load_db.sh.19:22
davidspollackso im going to run that script ...19:22
nowendid you run the scripts?19:23
davidspollacki also had to modify the startup script because I have another tomcat instance on the same machine ..19:23
nowenok - just so you know, we recommend running WiKID on it's own box19:23
nowenfor security19:23
davidspollackyes that does make sense.19:23
davidspollackthis would ideally be in a DMZ19:23
nowenalso, the tokens must use port 80. You can re-direct them.19:24
davidspollackok19:24
nowenthe WiKIDAdmin port is whatever you want19:24
davidspollackand it would be tricky to put this in a dmz & then replicate.19:25
davidspollackyou dont offer this as a SaaS do you ?19:25
nowennot currently, but we could set one up on amazon19:25
davidspollackthen i guess the only tricky thing is getting the users set up19:26
nowenyou would need to tunnel the radius connections19:26
davidspollackah yes.19:26
davidspollackok; i think im going to give up on doing this on an existing box.19:26
davidspollacki cant login now to my install; not sure whats going on19:26
nowenyou can't login via ssh?19:28
davidspollackno i cant login to the wikidadmin interface19:29
davidspollackusing the default userid/pwd19:29
nowenthat's the db19:29
davidspollackbut im still not sure the db is there19:29
nowenrun those psql commands again and peek in the db19:30
davidspollackok19:30
davidspollack[postgres@parrot ~]$ psql -h localhost wikid psql: FATAL:  database "wikid" does not exist19:31
davidspollack[postgres@parrot ~]$ psql -h localhost -l         List of databases    Name    |  Owner   | Encoding   -----------+----------+-----------  template0 | postgres | SQL_ASCII  template1 | postgres | SQL_ASCII (2 rows)19:31
davidspollackhmmmm19:31
nowendid you re-run the two config scripts?19:33
davidspollackill try that now19:33
davidspollackthe db isnt getting created19:35
davidspollacki ran both "wikidserver_config.sh" and then "wikid-firstboot.sh"19:35
nowenas root?19:35
davidspollackyes19:35
davidspollack[root@parrot WiKID]$ sh -x /opt/WiKID/conf/templates/wikid-firstboot.sh + '[' '!' -d /var/lib/pgsql/data/base ']' + /opt/WiKID/sbin/init_db.sh dropdb: database removal failed: ERROR:  database "wikid" does not exist dropuser: removal of user "wikid-sens" failed: ERROR:  user "wikid-sens" does not exist dropuser: removal of user "timecop" failed: ERROR:  user "timecop" does not exist dropuser: removal of user "tomcat" failed: ERROR: 19:36
davidspollackUpdating PostgreSQL configuration files for use with WiKID ... + /bin/rm -f /etc/rc3.d/S99wikid-firstboot.sh19:36
davidspollackls -l /v19:36
davidspollackok i created the DB manually19:39
davidspollackusing the commands here /opt/WiKID/sbin/load_db.sh19:39
nowenok19:39
davidspollackarg19:41
davidspollackcloser19:41
davidspollackbut i got a tomcat crash19:41
davidspollackoy.19:41
nowenwhat is it?19:41
nowenfeel free to use pastebin.com19:41
davidspollacknever seen that19:41
davidspollacksend it to what email19:42
nowenplease use http://pastebin.com19:42
nowenit's much easier19:42
davidspollackim trying - where do I send it to you19:42
nowenjust post it here19:42
davidspollackhttp://pastebin.com/gBaGvhuB19:42
nowenhmm19:43
nowenwhat pages are trying to access?19:43
davidspollacki restarted tomcat19:43
davidspollackone sec19:43
davidspollackyay!19:44
davidspollackits up.19:44
davidspollackso i can expose port 80 thru the fw to this server19:44
davidspollackand then I can register tokens etc19:45
nowenyes19:45
nowenall the token requests will go to /wikid/19:45
davidspollackjust need to worry about tomcat port 80 security19:45
nowenyou can nat the WiKID server, just use the external IP for the domain identifier/server code19:46
davidspollackyup19:46
davidspollackif i set up a master/slave19:47
davidspollackcan i have the tokens register with the master19:47
davidspollackand then use the slave as the radius client , not exposing it to the internet?19:47
nowenno, the slave is only a stand-by19:47
davidspollackoh ok.19:47
davidspollackcool.19:48
davidspollackthanks Nick.19:49
nowenok - I've to run some errands off site19:49
davidspollackok thanks agaIN19:49
nowenI should be back in about 1-2 hours19:49
nowennp19:49
*** nowen has quit (Quit: Leaving.)19:51
*** davidspollack has quit (Quit: Page closed)19:52
*** nowen (~nowen@adsl-176-210-205.asm.bellsouth.net) has joined #wikid21:55
*** nowen has quit (Quit: Leaving.)23:01

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!