[00:01] <LinuxGrasshopper> ok so my freind was trying to set up a ubuntu server with xampp and he finished but we cant connect tried alot of stuuf including ping and tracert to see if we could actually reach the servers ip and it work so we think his ports are being block for some reason
[00:01] <Gargoyle> xampp?
[00:01] <LinuxGrasshopper> yea
[00:02] <LinuxGrasshopper> it has apache, mysql, and some other stuff
[00:02] <Gargoyle> as apposed to ubuntu's own Apache, MySQL and PHP packages?
[00:02] <LinuxGrasshopper> yea i think so
[00:03] <LinuxGrasshopper> he found a tutorial on how to set it up
[00:03] <LinuxGrasshopper> i will get him on when he gets on so he can explane in more detail
[00:03] <LinuxGrasshopper> home*
[00:04] <Gargoyle> OK, I have seen XAMPP running under Windows because some of the stuff can be a pain in the ass. But you are aare that the recent versions of the server distro actually have an optioin to setup a LAMP server during installation?
[00:04] <Gargoyle> s/aare/aware
[00:05] <LinuxGrasshopper> i dont know much about linux
[00:05] <LinuxGrasshopper> my friend is the one doing it not me
[00:47] <jetole> hey guys, I don't know where to ask this but since it is on ubuntu server I thought I would ask here...
[00:48] <jetole> I am setting up pptpd / poptop and I want it to act as a primary router since some of our internet services are firewalled to only allow access to certain things like sql to our office only
[00:48] <jetole> so basically if anyone pptpd into our office and then connects to our remote sql I want it to be allowed into the firewall
[00:48] <jetole> ...
[00:49] <jetole> right now if I ping out to an external address from out test computer which is connected to cdma modem and to our pptpd, and I monitor the office ids / bridge, I see a ping go out, a ping reply return but the pptpd client never sees the return
[01:10] <sean_R> hey man
[01:10] <eyeball> howdy
[01:10] <sean_R> ok so i dont know why but these guys dont talk much
[01:11] <eyeball> good timing, i'm about to eat dinner so we'll get started in a few
[01:11] <sean_R> ok man
[01:11] <jetole> well at least there is more noise in here then in #tcpip
[01:11] <sean_R> lol
[01:12] <sean_R> i think they are all private chatting
[02:21] <antdedyet> win 5
[02:21] <antdedyet> lose 6. :)
[05:29] <CarlFK> how can I change an account pw to something random?  guessing usermod -p foo
[05:29] <CarlFK> just not sure what foo is
[06:08] <methods> wow nobody hangs out in #ubuntu-jeos ?
[06:09] <methods> nobody awake ?
[06:21] <methods> i can't believe jeos doesn't have my nic driver
[06:26] <methods> so it's customized for vmware
[06:26] <methods> i thought it was just ubuntu-server but super trimmed down just for the sake of being trimmed
[06:30] <methods> i wonder if i can just use the server cd to upgrade this jeos to a regular server instead of redoing the entire install
[07:22] <methods> why still run apparmor ?
[12:47] <faulkes-> morning
[12:48] <faulkes-> or <time of day> for those of you where appropriate
[13:14] <mok0> Anyone here using NIS?
[13:15] <faulkes-> not I
[13:15] <faulkes-> at least not currently and not for quite some time
[13:15] <mok0> I trying to set up a NIS slave server on Ubuntu, but the damn thing insists on distributing its own /etc/hosts file instead of the master's
[13:31] <faulkes-> sorry, wish I could be of more help, I just got up on this side of the pond and only on my first cup of coffee
[13:31] <mok0> faulkes-: no problem, I have some ideas to test
[13:32] <mok0> faulkes-: I might have accidentally run "make" in /var/yp, which would screw things up
[13:49] <mok0> I see what the problem is now: yphelper does not return all the master's maps...
[15:32] <mok0> Got it now. Bugs reported:  #186367 and #186363
[15:32] <mok0> ach! bug 186367
[15:32] <ubotu> Launchpad bug 186367 in nis "yphelper does not list all of master's maps" [Undecided,New] https://launchpad.net/bugs/186367
[15:33] <mok0> bug 86363
[15:33] <ubotu> Launchpad bug 86363 in linux-source-2.6.20 "Feisty: When switching users the touchpad won't work (dup-of: 68370)" [Undecided,Confirmed] https://launchpad.net/bugs/86363
[15:33] <ubotu> Launchpad bug 68370 in xserver-xorg-input-synaptics "Synaptics touchpad not enabled for second X display" [High,Fix released] https://launchpad.net/bugs/68370
[15:33] <mok0> bug 186363
[15:33] <ubotu> Launchpad bug 186363 in nis "nis init.d script should start ypxfrd on slave, not master" [Undecided,New] https://launchpad.net/bugs/186363
[15:33] <mok0> grrrr
[15:33] <mok0> ubotu, I hate you
[15:33] <ubotu> Sorry, I don't know anything about i hate you - try searching on http://ubotu.ubuntu-nl.org/factoids.cgi
[15:51] <faulkes-> heh
[22:35] <AnRkey> is anyone here a scripter?
[22:36] <faulkes-> any particular type of script
[22:36] <AnRkey> i wanna replace all instances of VAR001 in a file with the contents of an import file, something like this
[22:36] <AnRkey> sed -e s/VAR001/`cat importfile'/ output.html
[22:36] <AnRkey> bash
[22:37] <faulkes-> how big is importfile?
[22:38] <AnRkey> i am getting this from sed sed: -e expression #1, char 16: unterminated `s' command
[22:38] <AnRkey> it's 12 or so bytes
[22:38] <faulkes-> I would probably use something like perl
[22:38] <AnRkey> i am writing a backup script that emails results to me and my buddy
[22:38] <AnRkey> don't know perl or python just yet
[22:38] <AnRkey> just getting to know bash
[22:40] <faulkes-> well, it would appear you are not completing the actual sed command
[22:41] <AnRkey> i have tried almost everything
[22:41] <AnRkey> driving me nuts
[22:41] <AnRkey> almost there
[22:41] <faulkes-> sed -e s/VAR001/`cat importfile`/g output.html
[22:41] <faulkes-> iirc
[22:41] <faulkes-> I havent worked with sed in quite some time
[22:42] <AnRkey> nope
[22:45] <faulkes-> cat myfile | sed -e s/VAR001/`cat importfile`/g > output.html
[22:45] <AnRkey> i think i am going to create a variable and fill it with the data fromt he file
[22:45] <faulkes-> that works
[22:45] <AnRkey> then use the var in place of the 'cat import'
[22:46] <faulkes-> myfile contains the VAR001 information
[22:46] <faulkes-> importfile contains the text you wish to replace
[22:46] <faulkes->  >output.html generates the new file with the replaced content
[22:46] <AnRkey> the import file containts the data that the text VAR001 must be replaced with
[22:47] <AnRkey> in the output.html
[22:47] <AnRkey> brb
[22:48] <faulkes-> yes
[22:49] <faulkes-> you have a file that has a bunch of VAR001's in it
[22:50] <faulkes-> you have an importfile in which you have data you wish to replace VAR001 with
[22:50] <faulkes-> you wish the final output file to be named output.html
[22:59] <AnRkey> http://paste.ubuntu-nl.org/53800/
[22:59] <AnRkey> it works
[22:59] <AnRkey> thanks for the help
[23:00] <AnRkey> I am creating a spiffy template for our backup scripts email
[23:00] <AnRkey> so it looks nicer when you read it
[23:01] <AnRkey> so the sed part is to inject the data from log files
[23:01] <AnRkey> it's really working well now
[23:01] <AnRkey> shweet
[23:28] <mok0> AnRkey: this is cleaner imho: http://paste.ubuntu-nl.org/53809/
[23:29] <mok0> AnRkey: because your script will be in trouble if there's a slash in the file
[23:36] <faulkes-> mok: come on, what are the chances his script would *ever* encounter a \ in a unix environment?
[23:36]  * faulkes- whistles innocently
[23:37] <mok0> faulkes-: ever heard of Murphy's law? :-)
[23:39] <faulkes-> no, perhaps they should bring it up in the next ubuntu newsletter, to which I might subscribe
[23:39]  * faulkes- smiles
[23:39]  * mok0 smiles back
[23:43] <MatBoy> hi, I'm having a problem on a ubuntu server that mysql_safe is running on 100% when I restart it.. it are 2 both running on 50%
[23:43] <faulkes-> eh now?
[23:43] <mok0> MatBoy:  Don't you think it's supposed to? It may be running some housekeeping tasks
[23:44]  * mok0 know close to nothing about mysql
[23:44]  * mok0 knows ... etc
[23:45] <faulkes-> MatBoy: mysql_safe is a startup script which invokes mysqld properly
[23:45] <faulkes-> however
[23:45] <faulkes-> are you saying that both the safe process and the mysqld process are each using 50% of the cpu?
[23:45] <MatBoy> mok0, for 24 hours ?
[23:46] <MatBoy> faulkes-, yes and if it's one... itś on 100%
[23:46] <mok0> MatBoy: Errh, no not likely :-)
[23:46] <MatBoy> mok0, didn't think so indeed :D
[23:46] <faulkes-> which version of mysql
[23:47] <faulkes-> first thing I would do is connect using the mysql cli client and issue a "show processlist;" command
[23:47] <MatBoy> mysql  Ver 14.12 Distrib 5.0.45,
[23:47] <faulkes-> any particular engine type? myisam? innodb?
[23:48] <MatBoy> faulkes-, all are sleeping
[23:48] <faulkes-> and I'd check the /var/lib/mysql directory for the error log contained there
[23:48] <MatBoy> ow
[23:48] <MatBoy> command is sleeping :)
[23:48] <MatBoy> yes that is strange,... notthing there
[23:49] <MatBoy> -t
[23:50] <faulkes-> are you running myisam based tables?
[23:50] <MatBoy> faulkes-, have to check... it's an application that is running it
[23:50] <faulkes-> what application?
[23:52] <MatBoy> faulkes-, restore-backup
[23:52] <MatBoy> I have already reported it at their bug system
[23:53] <faulkes-> then I would check the application specific information rather than mysql itself to start with
[23:54] <MatBoy> faulkes-, indeed, but after googeling I have seen that it happened before that it was a bug