Monday, 2014-08-11

*** nowen (~nowen@50-194-249-125-static.hfc.comcastbusiness.net) has joined #wikid12:56
*** kiran_ (7aac5eba@gateway/web/freenode/ip.122.172.94.186) has joined #wikid13:29
nowenmorning kiran_13:29
kiran_Hi13:29
kiran_morning13:29
kiran_I'm logging onto the server13:30
nowenok13:30
nowenso, what's it's status? is this a fresh install?13:31
kiran_let me erase the old install13:31
nowenok13:31
nowenis it a vm?13:31
kiran_no it's not a vm13:31
kiran_this is installed wikid-server-enterprise-3.6.0.b1659-113:32
kiran_one thing different that we do is we have an apache server proxy to the tomcat using ajp13:32
nowenhmm13:32
nowenwhat do you do to proxy port 80 and 443?13:33
nowenis  apache on the same box?13:33
kiran_yes it's on the same box13:33
nowenyou know that wikid needs 80 and 443, right?13:33
kiran_we make wikid run on 8009 and apache forwards the request to tomcat13:34
kiran_we have not had an issue with that part13:34
nowenwhich port did you move to 8009?13:35
kiran_in the tomcat/conf/server.xml we comment out the connector port 80 to 443 redirect and then define a ajp on port 800913:37
nowenthat's not going to be enough13:37
nowenalso, why?  it would make more sense if apache was running on a different box on the DMZ, but why the same box?13:37
nowenit will potentially break with every upgrade too13:38
kiran_It has been like that from before , I'm not sure why it was configured that way13:38
nowenwhere is the WiKID server located?  in the dmz?13:38
kiran_I am not sure but it looks like it is not in dmz13:40
nowenI think if you remove Apache and use the default wikid setup, it will work.13:40
kiran_let me check13:41
kiran_I had just changed the server.xml13:42
kiran_ok did that , still getting the 404 error13:45
nowenis it a tomcat error or an apache error?13:46
kiran_apache is stopped13:46
kiran_it's a tomcat error13:47
nowenand the port is 443?13:47
kiran_yes https13:48
nowencan you run 'netstat -anp | grep 443'13:48
kiran_tcp        0      0 0.0.0.0:443                 0.0.0.0:*                   LISTEN      10192/jsvc.exec13:49
nowencan you try just going to the http address and see if it redirects?13:49
kiran_yes it does redirect13:50
nowento a 404?13:50
kiran_no I get the home page, we get a 404 only for some pages13:50
nowenahh, that's right13:51
nowenso, those pages are all still 404?13:51
kiran_yes those are still 40413:51
kiran_the others show up fine13:51
nowendid you install this via RPM or the ISO?13:51
kiran_via the rpm13:51
nowenhmm13:53
nowenwhat's the OS?13:53
kiran_redhat 5.613:53
nowenhmm13:54
nowendid you create a domain yet?13:54
kiran_yes a domain is created13:55
kiran_I can get to that page13:55
nowencan you get to the logs page?13:55
kiran_no the logs page is 40413:56
kiran_I am not sure but maybe this started after I enabled the radius server13:56
nowenok - stop the server and run 'killall -9 java'.13:57
nowenthen can you to an 'rpm -Uvh --force wikid-*' on the rpms?13:57
kiran_ok can erase the rpm's13:57
nowenyeah, that might be good idea.13:58
nowenI'm not sure what's going on here.13:58
kiran_ok packages removed , do I need to start database and remove the wikid database ?14:01
nowenprobably a good idea14:01
kiran_ok removed from the database and stopped the database service14:02
nowendid the /opt/WiKID directory get cleaned?14:03
kiran_no I removed it now14:03
nowenok14:03
nowenso, you should be good to re-install. I assume you need to run 'service postgresql initdb'?14:04
kiran_I did not remove postgres14:05
kiran_but I can run the command14:05
nowenI wonder if the db is still there.14:05
kiran_no I dropped the database wikid14:05
nowenoh, ok14:05
kiran_do I run initdb14:06
nowensure, it won't hurt14:06
kiran_there is no initdb14:07
nowenok14:07
nowennp.14:07
nowenI think you can re-install14:08
kiran_ok14:08
kiran_running command yum install --nogpg wikid-*14:09
kiran_wikid-server-enterprise-3.6.0.b1659-1.noarch.rpmwikid-utilities-3.4.3-1.x86_64.rpm - these are the rpm's14:09
nowenyes - if you are on 64 bit14:09
kiran_yes its a x86_6414:09
kiran_ok install complete14:11
nowenok - run setup14:11
kiran_got this error psql:/opt/WiKID/conf/database/db-data.sql:64: ERROR:  relation "db_version" does not exist No previous configuration detected.  Starting with factory default values.14:13
nowenthat's ok14:13
kiran_but asking for reconfigure network14:13
nowenjust run through that and enter the current network info14:13
kiran_do I use both eth0 and eth114:14
nowenup to you.14:14
nowenyou can NAT the external traffic for the tokens if you want14:14
nowenor if the server is in the dmz, use one eth for external and one for internal14:15
kiran_asking details for Tomcat keystore14:16
nowenyeah, that's for the SSL cert for the WiKIDAdmin14:16
kiran_organizational unit is the short name GZ ?14:16
nowenit doesn't really matter. only the admins will see the cert and it's not trusted in the browser anyway14:17
kiran_ok14:17
kiran_it;s asking for replication info , we want to get this into replication later.14:19
nowensure, just say N14:20
kiran_ok setup is complete starting wikid14:20
nowenok14:20
kiran_we just get one error but rest succeded14:22
nowenwhat error?14:23
kiran_chown: cannot access `/opt/WiKID/log/*.pid': No such file or directory14:24
kiran_cat: /opt/WiKID/log/*.pid: No such file or directory14:24
nowenok, that can probably be ignored too14:25
kiran_looks like I'm unable to reach the server, we have 2 gateways I gave only one14:28
kiran_can we go back and change the gateway info ?14:28
nowensure, just re-run setup14:28
kiran_I got logged out of the server and might have messed up the networking, I will need to get hold of my co-worker to fix this14:37
kiran_I will email you once I am able to get back into the server14:37
nowenok14:37
kiran_are you there @nowen15:02
nowenyep15:02
kiran_ok I was able to get back to the server15:03
kiran_I guess I should run the setup again15:03
nowenyeah15:03
kiran_Ok I got the webpage , will now go to configuration15:16
nowenok\15:16
kiran_Installed the cert, now creating localhost certificate15:18
kiran_ok so far so good, Now I want to enable the radius . things seem to be fine so far15:20
kiran_shall I go ahead with enabling radius ?15:20
nowensure15:21
kiran_restarting wikid after enabling radius15:23
kiran_ok it's come back up15:26
nowencan you get to all the pages?15:27
kiran_yes users , groups and reports all seem to be coming up . Let me setup a domain and check15:28
kiran_for the server code do we give ip of server ?15:32
nowenyes-  the external IP - zero padded15:33
kiran_hmm I do not think we can access this server directly from external Ip15:34
nowenis it nat'd?15:34
kiran_I am not sure about how it is setup but server has the private network (eth0) and the public network (eth1) but there is some sort of address translation that happens for the public port15:36
kiran_the external IP address is 67.192.141.189 but on the system the IP address is 10.241.118.24115:37
nowenso use 06719214118915:38
kiran_Can I give anything for the domain name and device domain name ?15:39
kiran_I went ahead and added a network-client , we use pam_auth to talk to wikid15:52
nowenpam radius?15:53
kiran_yes pam radius15:53
nowenok15:53
kiran_I'm getting a sudo: pam_radius_auth: RADIUS server mgmt1.genares.net failed to respond15:53
nowendid you restart wikid service after adding the network client?15:54
kiran_no I did not do that15:54
kiran_doing it now15:54
nowenradius caches a bunch of stuff and restarting opens the port for the firewall for the NC15:54
kiran_cool that looks like it fixed that15:58
nowengreat15:58
kiran_In our old wikid there were some additional settings configured15:59
kiran_In configuration-> set parameters15:59
kiran_ldap_wauth_server ldap_wauth_port and a bunch of other parameters16:00
nowenI recommend you don't change or add anything there until you know why they were changed.16:00
kiran_ok16:00
kiran_those params are here too16:00
kiran_so now if we have to add replication do we need to start setup again ?16:01
nowenyes - is the 2nd box ready?16:02
kiran_the 2nd box is running the old version16:03
nowenso, you'll need to update that first16:03
kiran_I think we will need to erase the old install since the person maintaining it had added quiet a few hacks to run it as wikid user16:04
nowenyeah, I think same process as you did for this one exactly.  even run 'wikidctl start' and make sure you can get to the WiKIDAdmin16:05
nowenthen, re-run setup and select Y for replication and set it as the secondary16:05
nowenhttps://www.wikidsystems.com/support/wikid-support-center/installation-how-tos/how-to-configure-wikid-for-replication16:06
nowennote that you need 2 gigs of RAM on both boxes for replication16:06
kiran_ok cool will check with the team and see how they want it configured16:06
kiran_thanks for your help16:06
nowenno problem. not sure what happened before16:07
kiran_yeah , I followed the same steps except for the server key16:07
*** kiran_ has quit (Quit: Page closed)16:16
*** nowen has quit (Quit: Leaving.)20:02
*** joevano has quit (Quit: leaving)20:22
*** joevano (~joevano@bzflag/developer/JoeVano) has joined #wikid20:24
*** nowen (~nowen@99-174-92-191.lightspeed.tukrga.sbcglobal.net) has joined #wikid23:14
*** nowen has quit (Client Quit)23:17

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