Wednesday, 2011-01-26

*** Ownage (~yourmom@static-96-247-50-178.lsanca.fios.verizon.net) has joined #wikid01:39
OwnageHi, I've decided to try to use wikid community version, I've not been successful installing it yet. Can someone help me out?01:40
*** remix_tj has quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)08:04
*** remix_tj (~remix_tj@ip6.server.remixtj.net) has joined #wikid08:05
*** nowen (~nowen@adsl-176-210-205.asm.bellsouth.net) has joined #wikid13:13
nowenmorning Ownage13:14
nowenlet me know if you have any WiKID questions13:15
*** skraito (~unknown@unaffiliated/skraito) has joined #wikid15:16
*** skraito has parted #wikid (None)15:16
*** nowen has quit (Ping timeout: 240 seconds)17:58
Ownagehi, thanks18:18
OwnageI replied to you18:19
Ownagelong story short 404: resource() is not available18:19
*** Walter_ (d8ed17dd@gateway/web/freenode/ip.216.237.23.221) has joined #wikid19:26
Walter_Hi19:26
Walter_Is anyone out there?19:26
*** nowen (~nowen@adsl-66-184-38.asm.bellsouth.net) has joined #wikid19:54
nowenhey folks - sorry internet was down19:55
nowenWalter_: let me know if you need anything19:56
Walter_Yes20:02
Walter_We have windows 2008 NPS (radius) running in our network. We have policies for network acccess. Not all admins have networking knowlege.  Hence, we would like to limit access. Does your box have local authentication?20:03
nowenWalter_: not sure I follow.  what do you mean by local auth?20:05
nowenthe web admin and terminal are protected20:06
nowenso you can limit who has access20:09
nowenOwnage: does netstat show a tomcat listener on 443?20:09
Walter_Does it integrate well with Microsoft NPS 008?20:09
Walter_200820:09
nowenyes, radius is an excellent protocol20:10
nowenit "just works"20:10
Walter_I am not using your product right now. I just wanted to know if there is away to configure local users on your box  meaning that if admin adds himself to a security group then how do you deter that?20:10
nowenWalter_: we have some docs on that20:10
nowenthe admin users on set in WiKID. It is completely separated from the auth funcations20:11
*** Walter_ has quit (Quit: Page closed)20:24
nowenOwnage: so you have a listener on 443, but can't browse to WiKIDAdmin?20:26
OwnageI get 404 that I posted20:27
Ownagedescription The requested resource () is not available.20:28
nowenare the war files unpacked in /opt/WiKID/tomcat/webapps?20:29
nowenOwnage: you should see directories in /opt/WiKID/tomcat/webapps and not just .war files20:52
OwnageROOT  wikid  WiKIDAdmin  WiKIDAdmin.war  wikid.war21:52
Ownagethats my ls there21:52
nowenls -all WiKIDAdmin21:52
nowenshould be in there21:52
Ownagehttp://pastebin.com/mjtbReX521:53
nowenyep index.jsp21:54
nowenwhat browser are you using?21:54
OwnageI have ffox, chrome, konq21:54
Ownagetried on ff21:55
Ownagetrying others21:55
nowenhmm21:55
Ownagesame on chrome21:55
nowenk - I'm replicating now21:56
nowenI wonder if the /opt/java link is wrong21:56
nowenhmm. yes22:01
nowenln -s /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/ /opt/java gets rid of the not found error22:02
OwnageI unlinked, made that link and did a /opt/WiKID/bin/wikidctl restart22:06
Ownagestill get it though22:06
nowenhm. that screws up the cert creation though22:09
nowenit's looking for it in /opt/java/bin, not /opt/java/jre/bin22:09
Ownageyeah. this is all stuff I had reported in november, so not sure if it's fixed in any dev versions22:10
nowenyou were able to create a cert, though?22:24
nowenand you opened the firewall for 443?22:24
nowenb/c I'm getting the same problems, but I am getting to the WiKIDAdmin site fine22:26
Ownageshould I be creating a cert again?22:34
nowenif it's not there, the you'll be prompted to create it22:35
Ownagewell I did have to install iptables for this, let me stop the service22:35
Ownagewell I mean22:36
OwnageI get the cert, I'm connected to the server, it's just giving me a 404 not available, from tomcat22:36
nowenwhat's the url?22:37
Ownagehttps://sv-wikid01.xxx.com/WiKIDAdmin/22:38
nowenhmm. try putting index.jsp on the ned22:39
nowenend22:39
Ownagesame22:39
nowenand there's no error in catalina.out still?22:39
nowenhmm22:42
Ownage/opt/WiKID/tomcat/logs/catalina.out right? I cleared it out and wikidctl restart and tried to hit the page and I get no lines of log at all22:42
nowenrun wikidctl stop22:43
nowenand then 'killall -9 java'22:43
nowenand then start wikid22:43
Ownage /opt/WiKID/tomcat/bin/catalina.sh: line 279: /opt/java/bin/java: No such file or directory22:44
Ownagethere's the single line in the log22:44
nowenhmm22:48
Ownage bin is inside /opt/java/jre/22:48
nowenalso, I didn't have to use nodeps22:50
nowenare you doing this on a virtual instance?22:51
OwnageI had to do nodeps because I'm using openjdk22:52
nowenme too22:52
OwnageI didn't actually try without it _this_ time of doing the install22:52
Ownageall the previous times of doing it I had to, so I just went right to it this time22:53
nowenunderstood22:53
Ownageand yes, this is a vm22:54
OwnageI can clone, destroy, mock, etc and we're not in production on any level with it22:55
OwnageI can start wikid but can't even make the initial connection anymore22:56
OwnageI guess I was connecting to an old java process this whole time22:56
Ownagewikid-server-community-3.4.0.b3031-1 btw22:56
nowenthis server had that on it too?22:57
Ownagethis is a fresh install22:57
Ownagethat's the version of the rpm I installed, the current one according to the site22:57
Ownagemaking sure we're on the same version22:58
Ownagesince you seem to have different results22:58
nowenahh22:58
OwnageI just made a symlink for bin -> jre/bin22:58
Ownagelets see what that does22:58
nowenthat's not the latest22:59
nowenhttp://sourceforge.net/projects/wikid-twofactor/files/WiKID_Server/3.4/22:59
Ownageoh weird22:59
Ownagethe link that says22:59
OwnageLooking for the latest version? Download two-factor authentication server (64.4 MB)23:00
Ownageis apparently not the latest at all =/23:00
nowenwhat link?23:00
nowenon our website?23:00
Ownagetop of the page you just linked me23:00
Ownageright above Home/WiKID_Server/3.423:01
nowenoh year23:01
nowenyeah23:01
nowenthat's odd. I wonder where they get that23:01
Ownageok so newest is wikid-server-community-3.4.65.b481-1 right?23:02
nowenyes23:02
Ownageok so I'm going to restart this process, takes only a momnet23:04
Ownagemoment*23:04
nowenok, not sure how to change that setting on sf.net, so I deleted the file ;)23:06
nowenI have to go soon.  it's 6:17 now23:07
Ownagenooooooooo23:07
Ownageso for you it works after making the symlink change?23:08
nowenok, we'll run through the install one time.  lemme call home23:08
Ownagevm starting up now23:08
nowen actually, I wont you to try something elese23:08
nowenphone typing23:08
Ownagevm is up and ready for install23:09
nowenok - start with23:10
nowen yum install java-1.6.0-openjdk compat-libstdc++-296 ntp system-config-date perl-libwww-perl postgresql postgresql-libs postgresql-jdbc postgresql-server postgresql-pl iptables 23:10
nowenthen install the two rpms and reboot23:10
Ownagerunning23:11
Ownageerror: unpacking of archive failed on file /opt/WiKID/webapps/wikid.war;4d40aa72: cpio: read23:13
Ownagelet me redownload23:13
Ownagemust have screwed up last time, it's taking longer now23:14
Ownageok there we go23:17
Ownageyou are correct, no nodeps needed23:18
nowenok, that's better23:18
Ownageok its rebooting23:18
Ownageok there we go23:23
Ownageso back up now23:23
nowenok, run 'wikidctl setup23:23
nowen'23:23
Ownage /opt/WiKID/sbin/make_tomcat_ssl_cert.sh: line 17: /opt/java/bin/keytool: No such file or directory23:24
Ownageright off the bat23:24
Ownageand it doesn't go into the cert making obviously23:24
OwnageI literally only did the two steps you said23:24
Ownagedo you want me to symlink like in the walkthrough23:24
Ownageor to this new one you said earlier23:24
OwnageI'll do ln -s /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/ /opt/java23:25
Ownagesame error23:25
Ownagelet me do a bin -> jre/bin link too23:25
Ownagethat does it23:26
nowenhuh23:26
Ownageso you need both symlinks looks like23:26
nowenso odd. I didn't need either23:27
nowenor actually, mine was created23:27
Ownagewell you need something, there's no /opt/java normally23:27
nowen java -> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre23:27
Ownage<@nowen> ln -s /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/ /opt/java gets rid of the not found error23:27
Ownageyou said this ln -s /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/ /opt/java gets rid of the not found error23:28
Ownagewhoops sorry23:28
Ownageanyways so thats the one I did23:28
OwnageI'll try the jre one23:28
nowenyeah, but I just did an install without creating the link manually23:28
nowenanyway - did you get to the ssl cert creation?23:28
Ownageyeah I finished that and starting the daemon now23:29
Ownagepostgresql rather23:29
Ownagefcking hell23:31
Ownage404 resource busy'23:32
nowenhmm.  anything in catalina.out?23:32
nowenthis is really odd23:36
nowenare you running selinux?23:36
Ownageno23:37
Ownagesorry, no to selinux23:37
Ownageyes to catalina23:37
nowenwhy would tomcat be running, port 443 open, the file exist, and get a 404?23:37
nowenoh - pastebin me23:38
Ownagehttp://pastebin.com/KbUFNeNX23:38
Ownageno webapps/ROOT apparently23:38
Ownagenothing in /opt/WiKID/tomcat/webapps23:38
nowenis postgres running?23:39
nowennetstat -anp | grep 543223:39
Ownagehttp://pastebin.com/M1FPwTEp23:40
nowenok - so there is no ROOT dir in webapps?23:41
Ownagethere's nothing in there23:41
nowenohh23:42
nowenlook in the rpm23:42
Ownageweird saying it's not installed now23:43
Ownageugh my bad23:43
Ownagefor some reason the rpm command only was getting one23:43
OwnageI still don't get why right now23:44
nowenhmm23:44
Ownagebut it's installing now23:44
nowencool23:44
Ownagehttp://pastebin.com/bWPet4GX23:44
Ownageoh by the way this is never going to finish23:45
Ownageit's just hung forever23:45
OwnageI remember this happening before23:45
Ownageapparently your rpm is doing an updatedb without excluding nfs23:45
Ownageso wikid is trying to index our terabytes and terabytes of files right now23:45
nowenahh23:46
nowenwow. haven't come across that before23:46
nowenwhy does the WiKID server have access to nfs?23:46
Ownagebecause you're running updatedb23:46
Ownagewith no param23:46
Ownages23:46
Ownagewhich by default will try to index EVERYTHING23:46
Ownageincluding all nfs shares23:46
Ownagehence my alias on all machines: alias updatedb='updatedb --prunefs nfs'23:47
nowenbut why have it have access to the nfs shares at all?23:47
Ownageyou're installing as root23:47
Ownageso it has all access23:48
nowenI'll add it to the list23:48
Ownagewe mount our shares on all machines, since almost every machine needs them on various ways23:48
Ownagefor example all our home dirs are nfs23:48
Ownageetc23:48
Ownageanyways it works if I umount everything and go again, which I've done now23:48
Ownageand seriously I don't mean to be a dick23:49
Ownagebut I already reported this in november23:49
Ownageok we're good, it is installed now, lets see if it starts up for me right23:49
nowenwouldn't it be more secure to not have the server have nfs access?23:49
Ownagewe actually use those files23:49
Ownagealso, if you want to be popular with the ladies, make a symlink in /etc/init.d/ for wikid -> /opt/WiKID/bin/wikidctl23:51
nowenyeah, we're actually working on making everything .deb compliant too23:51
nowenok - I have got to go home.  is it starting?23:52
Ownagestarted, checking23:52
Ownagelog in screen!23:52
nowennice!23:52
Ownagethanks man! I'll muck around a bit and see what I can get going!23:52
nowenok23:53
OwnageI have been further than this before but I need a refresher anyways. and that was an older version so.. cool23:53
noweni'll be back tomorrow morn, then traveling23:53
Ownagewhere you going23:53
nowenshmoocon in dc23:53
Ownagethat sounds racist23:53
nowenheeh23:53
nowenno, infosec conference23:53
nowenok - later!23:54
Ownagebye thanks a million23:54
*** nowen has quit (Quit: Leaving.)23:54

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