[12:29] <umop-apisdn> any networking gurus present? i'm trying to get iptables to do what i want it to, and it's not playing fair (ie, it's not being psychic and doing everything i wish it would out of the box)
[12:30] <umop-apisdn> my system: ubuntu server 6.06, using iptables and aliased external interface
[12:31] <umop-apisdn> my problem: internal machines all appear as x.x.x.194, when i want them to be specific ip addresses (for instance, when i hit www.ipchicken.com, i want machine a to appear to be x.x.x.195, and machine b to appear to be x.x.x.196)
[12:32] <umop-apisdn> non-specific machines should still appear as x.x.x.194, of course
[12:45] <leonel> umop-apisdn: you need to setup   nat translation    not  masquerade
[12:45] <leonel> umop-apisdn:  nat    one to one
[12:46] <umop-apisdn> yeah, my linux guru buddy is explaining that to me on the phone right now, between calling me an idiot, and virtually slapping the back of my head ;)
[01:03] <kay> evening all
[01:39] <Scatterbrain> Any LAMP guys/gals here?
[01:48] <kay> what is problem ?
[01:50] <Scatterbrain> kay: I'm trying to find out if putting a production LAMP server into a vmWare Server Virtual Machine, and then using snapshots of that VM is a good thing.
[01:51] <Scatterbrain> Mainly for backups - but also doing fault tolorence in a dirty way.
[03:01] <ka1> can someone help with php install ? i got it broken somehow it seems
[03:07] <leonel> ka1:  what errors  you have ?
[03:23] <ka1> hey leonel
[03:24] <ka1> i think i manage to fix somthing . but now i get problem with index.php not showing
[03:24] <ka1> http://h15opatija.selfip.org/
[03:25] <ka1> when i press link it gives me option to save it :/
[03:26] <ka1> http://h15opatija.selfip.org/3t , web server is working but not showing php page
[06:47] <zobbo> Ubuntu server comes with ntpdate-debian installed by default. Seems to be called by network up. Do most of you people stick it in a daily cron job as well ?
[07:23] <kay> i still didnt manage to solve php problem, seems there is broken package i cant fix. can someone help ?
[09:15] <Kamping_Kaiser> zobbo, i run ntp-server
[09:16] <zobbo> Kamping_Kaiser, ta, I'll take a look
[09:16] <Kamping_Kaiser> np
[12:18] <acer_fusion> greets
[12:18] <acer_fusion> question on ubu-server ed.
[12:18] <acer_fusion> want to use it as thin client server....
[12:18] <Kamping_Kaiser> should be easy enough
[12:19] <acer_fusion> well for you mebbe, hehe
[12:19] <acer_fusion> can i run a few questions by yo?
[12:20] <Kamping_Kaiser> sure
[12:20] <Kamping_Kaiser> should be a package ltsp-server and ltsp-server-standalone (or there is on dapper)
[12:21] <acer_fusion> machine is all setup... lamp works great...
[12:21] <Kamping_Kaiser> it should do 90something% of the work
[12:21] <acer_fusion> should the machine have two nics?
[12:21] <Kamping_Kaiser> doesnt need to
[12:22] <acer_fusion> ok.. then on the client machines... PXE boot, then?
[12:22] <acer_fusion> links to good docs??
[12:22] <Kamping_Kaiser> pxe is easiest
[12:22] <Kamping_Kaiser> um, i dont have any handy - theres good guides on the wiki
[12:23] <acer_fusion> i did ubuntu 7.04 server ed... it should be all setup? and a client should just connect?
[12:24] <Kamping_Kaiser> do you have services like dhcp+nfs running currently? if not, install the -standalone pacakge, and you should be good to go
[12:25] <acer_fusion> ok.. but what if i already have dhcp on the network?
[12:25] <Kamping_Kaiser> served by another system?
[12:26] <acer_fusion> router
[12:26] <Kamping_Kaiser> ah...
[12:26] <Kamping_Kaiser> does it support dhcp options, or just sit there and spam the network?
[12:26] <Kamping_Kaiser> if you can, turn it off in the router
[12:28] <acer_fusion> ubu server will act as router? I suppose I can set it all up separately just to get started...
[12:28] <Kamping_Kaiser> it doesnt need to do the routing, just the dhcp
[12:28] <acer_fusion> gotcha...
[12:29] <Kamping_Kaiser> :)
[12:29] <acer_fusion> i gues my prob is there are windows machines and edubuntu machines on the network as well...
[12:29] <acer_fusion> would they all get ips from the ubu server?
[12:30] <Kamping_Kaiser> yes.
[12:30] <acer_fusion> hmm
[12:31] <acer_fusion> the wiki is on the bu site?
[12:31] <Kamping_Kaiser> wiki.ubuntu.com
[12:32] <Kamping_Kaiser> also, help.ubuntu.com/community
[03:34] <Hoempapaa> hi all, I'm facing this problem when I do apt-get install mysql-server-5.0: http://pastie.caboo.se/106866
[03:35] <Kamping_Kaiser> which ubuntu release?
[03:36] <Hoempapaa> I'm using 7.04 server :)
[03:37] <Kamping_Kaiser> damn sharing 64k/s between 4 systems ;|
[03:38] <Hoempapaa> haha
[03:40] <Kamping_Kaiser> can you have a look https://bugs.launchpad.net/ubuntu/+bugs?field.searchtext=mysql&orderby=-importance&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package=
[03:40] <Kamping_Kaiser> perhaps cleaning up the search terms just to see if your problems been reported?
[03:40] <Kamping_Kaiser> also, is this the latest update?
[03:41] <Hoempapaa> yes, I did a dist-upgrade and a normal update/grade just 2 mins. ago
[03:43] <Hoempapaa> I'm gonna take a look at the url you gave me :)
[03:43] <Kamping_Kaiser> dist-upgrade to udpate an existing fiesty? not an update from edgy?
[03:45] <Hoempapaa> yes, I was updating an existing feisty install
[03:47] <Hoempapaa> https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg/+bug/113065
[03:47] <ubotu> Launchpad bug 113065 in mysql-dfsg "mysql-server-5.0 does not install on AMD64" [Undecided,New] 
[03:47] <Kamping_Kaiser> :)
[03:48] <Kamping_Kaiser> still waiting for it to load ;)
[03:48] <Hoempapaa> but i'm not getting the "/etc/mysql/conf.d/old_passwords.cnf: No such file or directory" error
[03:49] <Hoempapaa> weird thing is, it worked just fine
[03:49] <Hoempapaa> but just one week ago I also did an update/grade, and I think that's when things got broken
[03:50] <Kamping_Kaiser> its the same version.
[03:51] <Kamping_Kaiser> do you have the file "/etc/mysql/conf.d/old_passwords.cnf ?
[03:51] <Kamping_Kaiser> s/"//
[03:51] <Hoempapaa> # sudo touch /etc/mysql/conf.d/old_passwords.cnf
[03:51] <Hoempapaa> doesn't give an error :)
[03:51] <Kamping_Kaiser> it shouldnt.
[03:52] <Kamping_Kaiser> it should either create the file, or update its timestamp
[03:52] <Hoempapaa> ah okay
[03:53] <Kamping_Kaiser> Hoempapaa, can you look for a file with a name similar to /var/lib/dpkg/info/mysql-server-5.0.config (i'm guessing) and near the top add a line 'set evx'
[03:53] <Kamping_Kaiser> neither :)
[03:55] <Hoempapaa> I added set evx just below #!/bin/bash -e
[03:55] <Kamping_Kaiser> that should be fine.
[03:55] <Kamping_Kaiser> now rerun `sudo apt-get dist-upgrade` or `sudo apt-get install mysql-server-5.0
[03:55] <Kamping_Kaiser> `
[03:56] <Hoempapaa> still the same..
[03:56] <Hoempapaa> : (
[03:56] <Hoempapaa> invoke-rc.d: initscript mysql, action "start" failed.
[03:56] <Kamping_Kaiser> it should have been verbose - eg filled your screen with debugging crap
[03:57] <Hoempapaa> oh.. I guess something went wrong then. The output hasn't changed
[03:57] <Kamping_Kaiser> if it didnt, "subprocess post-installation script returned error exit status 1"  might indicate something like /var/lib/dpkg/info/mysql-server-5.0.postconf
[03:57] <Kamping_Kaiser> Hoempapaa, its quite likely i asked you to change the wrong file.
[03:58] <Kamping_Kaiser> just a tic, i'm going to try and find a list of files in the package ;)
[04:00] <Kamping_Kaiser> question to anyone: who do we file bugs with about packages.ubuntu.com and its colouring?
[04:00] <Hoempapaa> okay, ls /var/lib/dpkg/info tells me I have those files: mysql-server-5.0.conffiles, config, list, md5sums, postinst, postrm, preinst, prerm and templates
[04:00] <Hoempapaa> those = these
[04:01] <Kamping_Kaiser> you want postinst i think
[04:02] <Hoempapaa> postinst called with unknown argument 'evx'
[04:02] <Hoempapaa> (but hey, we have the right file :))
[04:02] <Kamping_Kaiser> 'set evx' ?
[04:02] <Kamping_Kaiser> or `set -evx` (cant remember)
[04:03] <Hoempapaa> ah, the debug crap is here :)
[04:03] <Kamping_Kaiser> i just noticed, the .config script references /bin/bash - afaik thats officaly a bug
[04:03] <Kamping_Kaiser> Hoempapaa, yay :)
[04:04] <Kamping_Kaiser> can you do another pastebin with all the crap?
[04:04] <Hoempapaa> sure, just a sec: )
[04:04] <Kamping_Kaiser> zobbo, shakespear?
[04:04] <Kamping_Kaiser> *sp
[04:05] <Hoempapaa> Kamping_Kai: http://pastie.caboo.se/106876
[04:06] <zobbo> Kamping_Kaiser, well spotted :)
[04:06] <Kamping_Kaiser> zobbo, :)
[04:09] <Kamping_Kaiser> Hoempapaa, nothing springs out to me as causing the problem. can you run `sudo /etc/init.d/mysql-server restart` (or whetver the script is)
[04:09] <Kamping_Kaiser> then check syslog with `tail -n 30 /var/log/syslog` and see if theres any helpful output there
[04:11] <Hoempapaa> http://pastie.caboo.se/106878
[04:13] <Kamping_Kaiser> './mysql/host.frm' is an absolute path - unfortunately i dont know if thats meant to be the case
[04:14] <Kamping_Kaiser> i suggest 'locate host.frm' and see if anything turns up
[04:17] <Hoempapaa> host.frm is in /var/lib/mysql/mysql
[04:17] <Hoempapaa> maybe I can remove all mysql-related stuff and then make a 'fresh' mysql install?
[04:18] <Hoempapaa> cd /
[04:18] <Hoempapaa> haha, wrong window :\
[04:18] <Kamping_Kaiser> you could try, but i doubt you can.
[04:19] <Kamping_Kaiser> looks like the problem there is with your databases (for what little i know about mysql) - incorrect ownership for example
[04:22] <Kamping_Kaiser> Hoempapaa, you should try #mysql (if your not already), theres probably people there who can set you strait
[04:23] <Hoempapaa> hmm.. I think it has something to do with corrupted tables
[04:23] <Hoempapaa> does anyone have the /etc/mysql dir for me? I just removed it
[04:23] <Kamping_Kaiser> could be. thats *definately* outside area
[04:23] <Kamping_Kaiser> ouch
[04:23] <Kamping_Kaiser> feisty's version no.
[04:24] <Kamping_Kaiser> i can tell you how to extract the vanila config out of a deb though
[04:25] <Hoempapaa> okay :)
[04:26] <Hoempapaa> mysql is installing fine right now, I think. but it can't start cause some files in /etc/mysql are missing
[04:26] <Hoempapaa> (which I don't get, cause they should be created at the install, right?)
[04:26] <Kamping_Kaiser> dpkg -x /var/cache/apt/archives/mysql-common* ~/mysql
[04:26] <Kamping_Kaiser> then look in ~/mysql for ./etc/mysql/*
[04:26] <Kamping_Kaiser> yes tehy should
[04:26] <Kamping_Kaiser> *they
[04:28] <Hoempapaa> ah, I think I have the problem
[04:28] <Hoempapaa> I just installed mysql-server
[04:28] <Hoempapaa> but since the /etc/mysql files are created by mysql-common..
[04:28] <Hoempapaa> so I did a apt-get remove mysql-common
[04:28] <Hoempapaa> and now just apt-get install mysql-server again :)
[04:29] <Hoempapaa> (which also installs mysql-common)
[04:29] <Kamping_Kaiser> how can you not install mysql-common with mysql-server?
[04:30] <Hoempapaa> WHOOP WHOOP! It works!
[04:30] <Hoempapaa> (at least no errors or something :))
[04:30] <Kamping_Kaiser> mysql-common (>= 5.0.38-0ubuntu1.1)
[04:30] <Kamping_Kaiser>     mysql database common files (e.g. /etc/mysql/my.cnf)
[04:30] <Kamping_Kaiser> ^^ mysql-server-5.0 depends on mysql-common
[04:30] <Kamping_Kaiser> Hoempapaa, :)
[04:31] <Kamping_Kaiser> bad configuration files?
[04:31] <Hoempapaa> I had mysql-common already installed, but removed the /etc/mysql dir.. so there were no dependency probs :)
[04:31] <Hoempapaa> thanks for helping me out! :)
[04:32] <Kamping_Kaiser> np. hope it helps
[04:33] <Hoempapaa> can't say exactly.. but I guess corrupt tables
[04:34] <Kamping_Kaiser> did you replace the tables, or just the configuration?
[04:34] <Kamping_Kaiser> tables a4rnt stored in /etc/
[04:34] <Kamping_Kaiser> *arn't
[04:34] <Kamping_Kaiser> *aren't
[04:34] <Hoempapaa> rm -r /etc/mysql /var/lib/mysql
[04:34] <Hoempapaa> ;)
[04:36] <Kamping_Kaiser> ah, lol.
[04:36] <Kamping_Kaiser> i'll go with the tables theory in that case :)
[04:39] <Hoempapaa> me too :)
[04:40] <Kamping_Kaiser> lol
[04:40] <Kamping_Kaiser> i was hoping to get a pile of hacking done tonight. dont think i'm going to :(
[04:42] <Hoempapaa> hm, why not?
[04:42] <Kamping_Kaiser> to tired.
[04:42] <Hoempapaa> ah, i see :)
[04:42] <Kamping_Kaiser> didnt go and buy redbull earlier, so nothign to fight the tiredness
[04:42] <Kamping_Kaiser> :)
[04:43] <Hoempapaa> why the hell does phpmyadmin need to be 2.1 mb in size? :x
[04:44] <Hoempapaa> (and I downloaded the .tar.gz2)
[04:44] <Hoempapaa> g =b
[04:44] <Kamping_Kaiser> fancy artwork?
[04:44] <Kamping_Kaiser> it should be packaged i thought
[04:44] <Hoempapaa> i guess it's the nice skin indeed.. ;)
[04:45] <Kamping_Kaiser> hehe
[04:59] <Nafallo> Kamping_Kaiser: it is. in universe.
[05:00] <Kamping_Kaiser> Nafallo, i would have been supprised if it was missing
[05:00] <Nafallo> nafallo@wizard:~$ apt-cache show phpmyadmin | grep ^Section
[05:00] <Nafallo> Section: universe/web
[05:01] <Hoempapaa> hmm, but if I do: apt-get install phpmyadmin, where does it get installed?
[05:01] <Hoempapaa> I'm having a fancy webroot structure you know ;)
[05:01] <Nafallo> dpkg -L phpmyadmin
[05:02] <Hoempapaa> hm, needs to be installed first :)
[05:02] <Kamping_Kaiser> yeah.
[05:02] <Nafallo> yea
[05:02] <Kamping_Kaiser> packages.ubuntu.com lets you look
[05:02] <Kamping_Kaiser> search the package, the select 'file list' or 'list of files'
[05:02] <Hoempapaa> usr/share/phpmyadmin
[05:03] <Hoempapaa> and it depends on libapache2-mod-php5
[05:04] <Hoempapaa> which (ofcourse) isn't true.
[05:04] <Hoempapaa> It should work just fine on lighty too.
[05:06] <Kamping_Kaiser> it should depend on httpd (or whatever the alternative is)
[05:06] <Hoempapaa> so until that's fixed, I'll just go to phpmyadmin.net and uploadi t myself :)
[05:16] <Kamping_Kaiser> gnight all
[05:57] <kraut> moin
[09:00] <ScottK> If there's anyone around this weekend that knows about dbconfig-common stuff, Bug #105542 looks like it'd be worth fixing before release if we can.
[09:00] <ubotu> Launchpad bug 105542 in mantis "package mantis is not installing properly" [Medium,Confirmed]  https://launchpad.net/bugs/105542
[10:52] <Centaur5> Could anybody give me an idea of what to research if my squidguard proxy is allowing me to visit youtube and hotmail but I can't login to e-mail or watch videos. Also windows updates don't go through.