/srv/irclogs.ubuntu.com/2008/01/27/#ubuntu-server.txt

LinuxGrasshopperok 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 reason00:01
Gargoylexampp?00:01
LinuxGrasshopperyea00:01
LinuxGrasshopperit has apache, mysql, and some other stuff00:02
Gargoyleas apposed to ubuntu's own Apache, MySQL and PHP packages?00:02
LinuxGrasshopperyea i think so00:02
LinuxGrasshopperhe found a tutorial on how to set it up00:03
LinuxGrasshopperi will get him on when he gets on so he can explane in more detail00:03
LinuxGrasshopperhome*00:03
GargoyleOK, 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
Gargoyles/aare/aware00:04
LinuxGrasshopperi dont know much about linux00:05
LinuxGrasshoppermy friend is the one doing it not me00:05
jetolehey guys, I don't know where to ask this but since it is on ubuntu server I thought I would ask here...00:47
jetoleI 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 only00:48
jetoleso basically if anyone pptpd into our office and then connects to our remote sql I want it to be allowed into the firewall00:48
jetole...00:48
jetoleright 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 return00:49
sean_Rhey man01:10
eyeballhowdy01:10
sean_Rok so i dont know why but these guys dont talk much01:10
eyeballgood timing, i'm about to eat dinner so we'll get started in a few01:11
sean_Rok man01:11
jetolewell at least there is more noise in here then in #tcpip01:11
sean_Rlol01:11
sean_Ri think they are all private chatting01:12
=== hantoo is now known as hantu
antdedyetwin 502:21
antdedyetlose 6. :)02:21
=== talaren is now known as pteague
CarlFKhow can I change an account pw to something random?  guessing usermod -p foo05:29
CarlFKjust not sure what foo is05:29
methodswow nobody hangs out in #ubuntu-jeos ?06:08
methodsnobody awake ?06:09
methodsi can't believe jeos doesn't have my nic driver06:21
methodsso it's customized for vmware06:26
methodsi thought it was just ubuntu-server but super trimmed down just for the sake of being trimmed06:26
methodsi wonder if i can just use the server cd to upgrade this jeos to a regular server instead of redoing the entire install06:30
methodswhy still run apparmor ?07:22
=== \sh_away is now known as \sh
faulkes-morning12:47
faulkes-or <time of day> for those of you where appropriate12:48
mok0Anyone here using NIS?13:14
faulkes-not I13:15
faulkes-at least not currently and not for quite some time13:15
mok0I 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's13:15
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 coffee13:31
mok0faulkes-: no problem, I have some ideas to test13:31
mok0faulkes-: I might have accidentally run "make" in /var/yp, which would screw things up13:32
mok0I see what the problem is now: yphelper does not return all the master's maps...13:49
mok0Got it now. Bugs reported:  #186367 and #18636315:32
mok0ach! bug 18636715:32
ubotuLaunchpad bug 186367 in nis "yphelper does not list all of master's maps" [Undecided,New] https://launchpad.net/bugs/18636715:32
mok0bug 8636315:33
ubotuLaunchpad 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/8636315:33
ubotuLaunchpad bug 68370 in xserver-xorg-input-synaptics "Synaptics touchpad not enabled for second X display" [High,Fix released] https://launchpad.net/bugs/6837015:33
mok0bug 18636315:33
ubotuLaunchpad bug 186363 in nis "nis init.d script should start ypxfrd on slave, not master" [Undecided,New] https://launchpad.net/bugs/18636315:33
mok0grrrr15:33
mok0ubotu, I hate you15:33
ubotuSorry, I don't know anything about i hate you - try searching on http://ubotu.ubuntu-nl.org/factoids.cgi15:33
faulkes-heh15:51
=== \sh is now known as \sh_away
AnRkeyis anyone here a scripter?22:35
faulkes-any particular type of script22:36
AnRkeyi wanna replace all instances of VAR001 in a file with the contents of an import file, something like this22:36
AnRkeysed -e s/VAR001/`cat importfile'/ output.html22:36
AnRkeybash22:36
faulkes-how big is importfile?22:37
AnRkeyi am getting this from sed sed: -e expression #1, char 16: unterminated `s' command22:38
AnRkeyit's 12 or so bytes22:38
faulkes-I would probably use something like perl22:38
AnRkeyi am writing a backup script that emails results to me and my buddy22:38
AnRkeydon't know perl or python just yet22:38
AnRkeyjust getting to know bash22:38
faulkes-well, it would appear you are not completing the actual sed command22:40
AnRkeyi have tried almost everything22:41
AnRkeydriving me nuts22:41
AnRkeyalmost there22:41
faulkes-sed -e s/VAR001/`cat importfile`/g output.html22:41
faulkes-iirc22:41
faulkes-I havent worked with sed in quite some time22:41
AnRkeynope22:42
faulkes-cat myfile | sed -e s/VAR001/`cat importfile`/g > output.html22:45
AnRkeyi think i am going to create a variable and fill it with the data fromt he file22:45
faulkes-that works22:45
AnRkeythen use the var in place of the 'cat import'22:45
faulkes-myfile contains the VAR001 information22:46
faulkes-importfile contains the text you wish to replace22:46
faulkes- >output.html generates the new file with the replaced content22:46
AnRkeythe import file containts the data that the text VAR001 must be replaced with22:46
AnRkeyin the output.html22:47
AnRkeybrb22:47
faulkes-yes22:48
faulkes-you have a file that has a bunch of VAR001's in it22:49
faulkes-you have an importfile in which you have data you wish to replace VAR001 with22:50
faulkes-you wish the final output file to be named output.html22:50
AnRkeyhttp://paste.ubuntu-nl.org/53800/22:59
AnRkeyit works22:59
AnRkeythanks for the help22:59
AnRkeyI am creating a spiffy template for our backup scripts email23:00
AnRkeyso it looks nicer when you read it23:00
AnRkeyso the sed part is to inject the data from log files23:01
AnRkeyit's really working well now23:01
AnRkeyshweet23:01
=== ember_ is now known as ember
mok0AnRkey: this is cleaner imho: http://paste.ubuntu-nl.org/53809/23:28
mok0AnRkey: because your script will be in trouble if there's a slash in the file23:29
faulkes-mok: come on, what are the chances his script would *ever* encounter a \ in a unix environment?23:36
* faulkes- whistles innocently23:36
mok0faulkes-: ever heard of Murphy's law? :-)23:37
faulkes-no, perhaps they should bring it up in the next ubuntu newsletter, to which I might subscribe23:39
* faulkes- smiles23:39
* mok0 smiles back23:39
MatBoyhi, 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
mok0MatBoy:  Don't you think it's supposed to? It may be running some housekeeping tasks23:43
* mok0 know close to nothing about mysql23:44
* mok0 knows ... etc23:44
faulkes-MatBoy: mysql_safe is a startup script which invokes mysqld properly23:45
faulkes-however23:45
faulkes-are you saying that both the safe process and the mysqld process are each using 50% of the cpu?23:45
MatBoymok0, for 24 hours ?23:45
MatBoyfaulkes-, yes and if it's one... itÅ› on 100%23:46
mok0MatBoy: Errh, no not likely :-)23:46
MatBoymok0, didn't think so indeed :D23:46
faulkes-which version of mysql23:46
faulkes-first thing I would do is connect using the mysql cli client and issue a "show processlist;" command23:47
MatBoymysql  Ver 14.12 Distrib 5.0.45,23:47
faulkes-any particular engine type? myisam? innodb?23:47
MatBoyfaulkes-, all are sleeping23:48
faulkes-and I'd check the /var/lib/mysql directory for the error log contained there23:48
MatBoyow23:48
MatBoycommand is sleeping :)23:48
MatBoyyes that is strange,... notthing there23:48
MatBoy-t23:49
faulkes-are you running myisam based tables?23:50
MatBoyfaulkes-, have to check... it's an application that is running it23:50
faulkes-what application?23:50
MatBoyfaulkes-, restore-backup23:52
MatBoyI have already reported it at their bug system23:52
faulkes-then I would check the application specific information rather than mysql itself to start with23:53
MatBoyfaulkes-, indeed, but after googeling I have seen that it happened before that it was a bug23:54

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