[00:00] <trimeta> Quick question: my ssh session terminated when I was running aptitude upgrade on my server; it looks like it was in the beginning of reinstalling grub on the boot hard disks when the session died.
[00:01] <trimeta> I'm reasonably confident it didn't actually begin to write any changes, so that's not a problem, but I've still got an aptitude process running and I do need to go back and tell it to run the installation. How do I do that?
[00:16] <lenios> trimeta, apt-get install -f
[00:16] <trimeta> That will work even if there's apparently an aptitude process still running and holding the lockfile?
[00:16] <lenios> this will try to fix any package
[00:16] <trimeta> And if not, is it safe to kill that process?
[00:17] <lenios> aptitude is still running?
[00:17] <trimeta> Apparently; that's what pgrep -p aptitude says.
[00:17] <trimeta> But I'm the only user logged in, and I'm not running it.
[00:17] <lenios> if it's stuck, i guess you have no choice but to kill it
[00:17] <trimeta> OK, killed; now to run the command you suggested.
[00:18] <trimeta> ...Lock file still used.
[00:18] <lenios> you have to remove the lock file
[00:18] <trimeta> It's an empty file, so I just rm it?
[00:18] <lenios> yes
[00:19] <trimeta> That got me "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem."
[00:19] <lenios> then do it
[00:19] <trimeta> And when I ran that, I got "debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable"
[00:19] <lenios> debconf?
[00:19] <lenios> try lsof | grep config.dat
[00:19] <trimeta> Nothing.
[00:20] <lenios> sudo?
[00:20] <trimeta> Yeah, that changed things: now I'm getting "frontend   7105     root    4rW     REG              251,1      44378     655367 /var/cache/debconf/config.dat"
[00:20] <trimeta> I have no idea what "frontend" is, though...
[00:21] <trimeta> Aside from the fact that ps -l confirms that it's currently running.
[00:21] <lenios> you might want to kill this process
[00:22] <trimeta> OK, now "sudo dpkg --configure -a" seems to be working.
[00:22] <trimeta> It gave me the grub configuration screen again, and I proceeded as usual.
[00:23] <trimeta> Running aptitude upgrade again produces no errors or unusual output.
[00:23] <trimeta> I think this has probably worked...but sine it's about time I rebooted the server anyway, I might as well do so now and see if it actually installed properly.
[00:24] <aragon_> hola, buenas noches
[00:32] <xperia> hello again. i am doing here the upgrade from interpid to jaunty but for some reason now the upgrade process hangs on depmod for a while and do nothing
[00:32] <xperia> http://paste-bin.com/view/7403fdd8
[00:33] <xperia> its like it is waiting for something cpu usgae is very low and it does nothing do now since 10 to 15 minutes
[00:33] <xperia> really bad
[00:33] <aragon_> hi
[00:33] <xperia> server at least is still availble and working
[00:33] <xperia> aragon_ hello
[00:34] <aragon_> hello Translates expected my problem
[00:35] <aragon_> I have problems with my lampp, I put different password security and the data base is not active
[00:36] <xperia> you mean mysql database ?
[00:36] <xperia> or what database ?
[00:36] <aragon_> yes is lampp
[00:36] <aragon_> mysql
[00:36] <aragon_> lampp server
[00:36] <lenios> weird xperia
[00:37] <aragon_> is disabled after giving my lampp security
[00:37] <xperia> aragon_ well do this here to know iw mysql first is working "sudo /etc/init.d/mysql status"
[00:38] <xperia> lenios: its just sit there and do nothing
[00:38] <xperia> now since 15 to 20 min
[00:39] <xperia> should i do a manul modprobe
[00:39] <aragon_> command not found
[00:39] <xperia> he ?
[00:39] <xperia> thi must work
[00:39] <lenios> xperia, try something
[00:40] <xperia> lenios i am hearing
[00:40] <lenios> it must be stuck, not sure if modprobe can solve that
[00:40] <xperia> yeah i guess that too
[00:40] <lenios> ctrl + d / ctrl+c?
[00:41] <aragon_> I have installed the qt4 prawns and ide
[00:41] <xperia> lenios looks like ssh got disconected hmm
[00:41] <xperia> Write failed: Broken pipe
[00:41] <xperia> i have still other ssh connection
[00:42] <aragon_> alguien sabe español
[00:42] <xperia> what now looks like upgrade process stoped becouse of ssh connection closing
[00:42] <lenios> aragon_, try #ubuntu-es maybe
[00:42] <aragon_> ok
[00:43] <lenios> xperia, you're not using screen?
[00:43] <aragon_> thank
[00:43] <xperia> i have done it over ssh
[00:43] <lenios> you can recover it, then
[00:43] <xperia> yes ssh conection is no problem
[00:43] <xperia> i can reconect but how processing with upgrade further
[00:44] <xperia> last time i used "sudo do-release-upgrade"
[00:44] <xperia> it downloaded all new packages
[00:45] <xperia> and prelaced a lot of software with new version but then it stoped hmmmm
[00:46] <qman__> if you stop the process, you can run another do-release-upgrade
[00:46] <qman__> I had a machine reboot mid-upgrade for some reason
[00:46] <qman__> and was able to continue that way
[00:47] <xperia> qman:: okay will try again "sudo do-release-upgrade" hope just not that all packages will be redownloaded again
[00:47] <qman__> packages are cached in /var/cache/apt/archives
[00:47] <qman__> unless that directory has been wiped, it will not need to redownload anything
[00:50] <xperia> qman__ looks very good. it proccess again with the upgrade very fast.
[00:51] <xperia> it does every package from new check for reinstalling if it is old
[01:31] <mklappstuhl> hey
[01:32] <mklappstuhl> how can i reduce the size of my ubuntu server installation by 230M ?
[01:33] <mklappstuhl> are there any huge packages i could remove?
[01:34] <mklappstuhl> or a way to show bigger packages?
[01:39] <Yompa> I'm no expert (disclaimer here) but I believe you can install a minimal server with the alternative CD. Then just add the parts you want/need.
[01:40] <jgould> Anyone have any experience with NFS>?
[01:40] <mklappstuhl> could i just remove the 'locales' plugin or could this cause trouble
[01:43] <mklappstuhl> s/plugin/package/ - lool
[01:49] <jgould> How do you tell if nfsd is exporting a directory?
[01:54] <phrix> hi all... I'm running MM... I've install apache2, php5, mysql, and phpmyadmin... but I cant open localhost/phpmyadmin... any clue??
[02:51] <osmosis> is there a way to write all 0's to all unused space on my HD?
[02:52] <patdk-lap> osmosis, zerofree :)
[02:53] <patdk-lap> or the slow way, dd if=/dev/zero of=temp bs=1M
[02:56] <osmosis> patdk-lap, hmm...but my partition size is 500GB with 1.9GB used.  qcow2 file is 80GB.  creating the tmp file would fill up the whole 500GB, which seems a bit overboard.
[02:57] <patdk-lap> you never said how you wanted to do it, you just asked how to do it :)
[02:57] <patdk-lap> use zerofree
[02:57] <patdk-lap> better question gets a better answer :)
[03:55] <osmosis> how do I view the changelog for a package before installing the update?
[03:58] <patdk-lap> the last change? or all changes?
[04:45] <ZacLnxNewb> Hi
[04:51] <ZacLnxNewb> What would be best for logging the ip addresses of anyone who visits my server?
[04:51] <ZacLnxNewb> the website, to be exact?
[04:55] <patdk-lap> your webserver :)
[04:55] <ZacLnxNewb> yes
[04:55] <patdk-lap> I know, that is why I answered your question
[04:57] <ZacLnxNewb> patdk-lap: I mean, which piece of software would be best to run on the server to record ip addresses of visitors?
[04:57] <ZacLnxNewb> I don't plan on misusing  this information or anything
[04:57] <ZacLnxNewb> just curious
[04:57] <patdk-lap> your webserver
[04:57] <arrrghhh> lol
[04:57] <arrrghhh> dive deeper man!
[04:57] <patdk-lap> your webserver is the best software to use to log the ip of peple using your website :)
[04:58] <ZacLnxNewb> patdk-lap: So it automatically does it?   or are you trolling me? :p
[04:58] <patdk-lap> you mean to parse the logs of ips and find out what people do? or something more?
[04:58] <patdk-lap> cause your question to just log ip's, it does by default
[04:59] <ZacLnxNewb> nah, just record ip addresses of any connection to a file
[04:59] <ZacLnxNewb> "this ip conneted"
[04:59] <ZacLnxNewb> "this ip connected"
[04:59] <ZacLnxNewb> so on
[04:59] <patdk-lap> what webserver do you use?
[05:06] <ZacLnxNewb> patdk-lap: ubuntu 10.10
[05:06] <patdk-lap> ok, so you use that os, but what webserver? :(
[05:06] <patdk-lap> apache, lighttpd, ngix, ..............
[05:07] <arrrghhh> i'm going to bet apache
[05:07] <arrrghhh> $10 on apache!
[05:07] <patdk-lap> dhttpd, thttpd, ......
[05:09] <ZacLnxNewb> patdk-lap: apache
[05:09] <patdk-lap> check the access logs in /var/log/apache2/
[05:10] <arrrghhh> ZacLnxNewb, $10 please :P
[05:10] <ZacLnxNewb> patdk-lap: spectacular. :D
[05:10] <ZacLnxNewb> arrrghhh: Psh, you probably could just look it up easily using who is or something
[05:10] <ZacLnxNewb> and my deluge torrent server won't save the port settings for some reason
[05:11] <arrrghhh> haha i was just jokin
[05:11] <arrrghhh> didn't do any pokin around tho.
[05:11] <arrrghhh> i'd say apache is probably the most popular
[05:11] <patdk-lap> apache is what is installed by default when a webserver is needed by something else
[05:12] <ZacLnxNewb> I use it as a print/web/sftp/file server
[05:12] <ZacLnxNewb> and at the moment, I'm sing my main page to auto-redirect traffic to the wikileaks ip address
[05:13] <arrrghhh> lol
[05:13] <ZacLnxNewb> definitely lol
[05:14] <ZacLnxNewb> deluge web ui won't save the port settings
[05:14] <ZacLnxNewb> they don't stick
[05:14] <arrrghhh> hrm.  i use rtorrent... sorry.
[05:14] <arrrghhh> <insert rtorrent ftw statement here>
[05:15] <ZacLnxNewb> hm
[05:16] <arrrghhh> it was a pain to learn, i'll admit it.  but i freakin love it now that i took the time to learn it.
[05:17] <arrrghhh> i used torrentflux before, and the webui felt very disconnected from the actual torrent applications running underneath... plus, 1 torrent 1 process is not cool.
[05:17] <ZacLnxNewb> arrrghhh:  what do you think of my action towards wikileaks?
[05:17] <ZacLnxNewb> arrrghhh: yeah, multiple processes sounds like a pain in the ass
[05:18] <ZacLnxNewb> lol
[05:18] <ZacLnxNewb> I just accidently used the fword talking to my mother
[05:18] <arrrghhh> classy
[05:18] <arrrghhh> no comment dude, on all of it :P
[05:20] <ZacLnxNewb> arrrghhh: Well, I've been hanging out with the guys all night
[05:20] <ZacLnxNewb> she really doesn't care, it slipped and I generally don't use it
[05:20] <ZacLnxNewb> arrrghhh: no comment on wikileaks?  that a negative connotation?
[05:22] <ZacLnxNewb> :p
[05:23] <arrrghhh> eh you take it as you wish.
[05:23] <arrrghhh> best part about no comment.  you're not sure if i'm pleading the 5th or what ;)
[05:24] <ZacLnxNewb> I believe in openness and free speech. :D
[05:24] <ZacLnxNewb> I don't think it's an appropriate response that people are basically disabling their website
[05:24] <ZacLnxNewb> so
[05:24] <ZacLnxNewb> I'm trying to help. :D
[06:57] <sunit> hello
[06:57] <sunit> I am trying to use ubuntu 8.04 LTS
[06:58] <Cromulent> oh good
[06:58] <sunit> If I install gnome with apt-get install ubuntu-desktop , will there be any problem ?
[06:59] <sunit> becuase I have installed 8.04 LTS server in one machine
[06:59] <sunit> then installed gnome . some days everything was ok
[07:00] <sunit> later I am getting error that gnome is not automatically loaded
[07:01] <sunit> I have to give startx command to login into gnome desktop
[07:01] <sunit> I am getting error : Failed to initiaze HAL
[07:02] <sunit> after giving ok in that error box , I am logging into desktop
[07:02] <sunit> can anybody tell me , where is the problem ?
[07:03] <sunit> and what shall I do ?
[07:04] <linze> 10.10 is the latest
[07:04] <linze> hmm
[07:04] <linze> btw good morning all
[09:41] <[diablo]> morning
[09:41] <[diablo]> anyone have any idea why the virtual kernel has no NFS support
[09:56] <Weyrling> Hi. Running Ubuntu-Server 10.04 (LTS) with Apache2/PHP5. PHP has suddenly stopped interpreting .php files and instead the source gets served by Apache. Believe server was running fine before last 'apt-get upgrade' (Yesterday), but can't be 100% sure since PHP isn't used everywhere in the server. PHP files are served with type: application/x-httpd-php, FastCGI of PHP fails also. Perl CGI works fine though. Anyone else experienc
[09:56] <Weyrling> ing similiar problems or have an idea?
[09:58] <Weyrling> Have made sure that libapache2-mod-php5 is installed and a2enmod'ed into Apache. Also Apache reports on start up that 'PHP' module is loaded.
[10:00] <Weyrling> Also have removed the <IfModule mod_userdir.c> entry from php5.conf also, tried running apt-get --reinstall on apache2, php module and php itself earlier as well. Just starting to run out of ideas now.
[10:02] <Weyrling> Actually nvm, not sure if I re-installed Apache itself. But PHP and the PHP modules at any rate. Apache itself is running just fine otherwise.
[10:16] <jgould> I'm getting no such device when I try to mount an NFS share.  Any ideas?
[10:28] <qman__> Weyrling, check the checksums on your php binaries, or the package downloads in /var/cache/apt/archives
[10:28] <qman__> I've seen bad downloads cause this problem before
[10:35] <Weyrling> qman__: Thanks, will need to check that. Is there an easy way to do that or do I need to go hunting for the checksums, etc?
[10:35] <Weyrling> debsums?
[10:35] <qman__> well, the package's sum should be easy to find, but the binaries not so much
[10:35] <qman__> you'd have to find a known good system
[10:48] <Weyrling> Hmm, well the debsums program reports the Apache modules a-ok at least. I also cleared the cache and re-downloaded and re-installed php5, php5common, libapache2-mod-php5, libapache-mod-fastcgi but it doesn't seem to have helped.
[10:55] <Weyrling> Did the same for Apache itself as well now. It seems like that for some reason the PHP interpreter isn't invoked at all when a .php file is attempted accessed, but instead it just gets served as a normal file. The PHP executables themselves don't seem to error when I start them.. and the modules get loaded fine. It's as if there'd be something wrong with the settings but I hadn't touched them before the problem began. The PHP
[10:55] <Weyrling> module loads up fine and mod_fastcgi also... They just don't catch on, even though the file type seems set correctly too (application/x-http-php or so).
[11:03] <Weyrling> Ah, rewriting into the mod_php5 specific AddType/AddHandler values seems to have enabled it partially for the site now at least. Will see if it helps for the rest of it too..
[11:18] <Weyrling> Well buh, something in the updates apparently had made it so that I had to do an explicit +ExecCGI instead of just ExecCGI on the FastCGI handler. Well, fine enough for me though, site seems to be working again.
[11:42] <Weyrling> Alright, good luck everyone else then, I'm off.
[13:18] <paddy__> I am trying to set up ufw but it seems to block all connections and will not log anyting. I am sure I have got the rules set up right. ufw status works show 22/tcp alow in anywhere and I have set logging to full yet nothing is hapening. as soon as i disable the firewall i can ftp and ssh again (i have done a rule for ftp). I realy have  no idear what is whrong.
[13:23] <ruben23>  hi guys any sugested firewall application for linux..? which is GUI- i can install directly.
[13:25] <Cromulent> ruben23: just use ufw if you want a simple firewall
[13:26] <ruben23> how about application
[13:27] <Cromulent> ruben23: just learn ufw
[13:28] <Cromulent> I doubt it will take longer than 2 minutes to set it up
[13:30] <paddy__> Cromulent: unless you are me, do you think you could help with my problem posted earlyer?
[13:32] <Cromulent> paddy__: what does "sudo ufw status verbose" tell you?
[13:35] <ikonia> paddy__: can you telnet to the ports
[13:35] <paddy__> that it is active, logging is on full, defaults are deny in allow out
[13:35] <paddy__> and rules are as previously stated
[13:35] <paddy__> what does new profiles: skip mean?
[13:36] <paddy__> Cromulent: ikonia ^
[13:36] <Cromulent> paddy__: paste the output
[13:36] <paddy__> here or bin?
[13:36] <ikonia> paddy__: deny out ?
[13:36] <Cromulent> bin
[13:36] <ikonia> paddy__: you know your appllications need to respond too
[13:36] <paddy__> allow out
[13:36] <ikonia> deny in ?
[13:37] <paddy__> ikonia: yes
[13:37] <ikonia> paddy__: you need "allow in" to hit the port
[13:37] <ikonia> paddy__: to ssh in - that is an incoming connection
[13:38] <paddy__> ikonia: the defaults are deny with alow in for 22 and 21
[13:38] <Cromulent> paddy__: your output should look something like this http://pastebin.com/RUUDyumr
[13:38] <ikonia> paddy__: you know it's iptables, so the allow needs to be before the deny
[13:39] <paddy__> ikonia: the output is the same
[13:40] <paddy__> Cromulent: ^
[13:40] <ikonia> paddy__: output is the same as what ?
[13:41] <ikonia> paddy__: can you telnet to port 22 ?
[13:41] <paddy__> ikonia: it is the same is Cromulents output
[13:41] <ikonia> paddy__: can you telnet to port 22 ?
[13:41] <paddy__> ikonia: from local or remote?
[13:41] <ikonia> paddy__: try both, see if they differ
[13:41] <ikonia> they shouldn't
[13:43] <paddy__> connecting to server failed
[13:44] <paddy__> what server should i telnet to from server?
[13:44] <ikonia> what ?
[13:44] <ikonia> paddy__: show me the commands you're using, exactly
[13:44] <paddy__> the bad server is remote
[13:45] <ikonia> paddy__: show me the exact commands you're using
[13:45] <paddy__> ikonia: cant go out
[13:45] <ikonia> paddy__: show me the exact commands you're using
[13:45] <paddy__> firewall is blocking everything
[13:45] <ikonia> paddy__: show me the exact commands you're using
[13:45] <paddy__> telnet google 80
[13:45] <ikonia> and that's being blocked ?
[13:45] <paddy__> works on my machine
[13:46] <paddy__> but not on server
[13:46] <joschi> looks abit incomplete to me
[13:46] <ikonia> paddy__: on the server, to "iptables -L" and pastebin it please
[13:47] <paddy__> fatal module ip_tables not found
[13:47] <paddy__> ikonia: i guess thats bad
[13:47] <Cromulent> paddy__: you need to use sudo
[13:47] <ikonia> errrr not sure how you have a working firewall
[13:47] <ikonia> ahh yes
[13:47] <ikonia> sorry, I take that for granted, sudo iptables -L
[13:49] <paddy__> http://pastebin.com/Y8UzrFDt
[13:51] <Cromulent> paddy__: can you actually paste the output of sudo ufw status verbose too? because the output you just posted does not have any allow rules
[13:51] <ikonia> paddy__: and if you stop the firewall, you can telnet to google.com on port 80 ?
[13:53] <paddy__> http://pastebin.com/0E4JePeZ
[13:53] <paddy__> ikonia: tenet works if i disable ufw
[13:54] <ikonia> what was that last paste you sent me
[13:54] <paddy__> starting ufw i just got ERROR: problem running ufw-init
[13:54] <paddy__> http://pastebin.com/0E4JePeZ is status verbose
[13:55] <ikonia> paddy__: ok, so that is the firewall active, but you can't do anything with it out going ?
[13:55] <jdstrand> paddy__: can you do: 'sudo ufw disable ; sudo /lib/ufw/ufw-init start' and paste the output?
[13:56] <paddy__> Skip starting firewall: ufw (not enabled)
[13:56] <jdstrand> oh duh
[13:56] <jdstrand> paddy__: can you do: sudo ufw enable ; sudo /lib/ufw/ufw-init stop ; /lib/ufw/ufw-init start' and paste the output?
[13:58] <paddy__> how do i pipe all of that to a file jdstrand
[13:59] <jdstrand> paddy__: I really only need the last command, so just add '> /tmp/out' to the end.
[14:00] <paddy__> load of errors in prev commands
[14:00] <paddy__> last one is problem running /etc/ufw/before.rules
[14:00] <paddy__> problem running /etc/ufw after.rules
[14:01] <paddy__> problem running 'lib/ufw/user.rules
[14:02] <jdstrand> paddy__: can you put "sudo sh -c '/lib/ufw/ufw-init stop ; /lib/ufw/ufw-init start' > /tmp/out" into a pastebin?
[14:02] <jdstrand> paddy__: well, the contents of /tmp/out that is
[14:02] <jdstrand> meh
[14:02] <jdstrand> you probably need 2>&1 at the end of that
[14:04] <paddy__> still same
[14:05] <jdstrand> paddy__: can you paste the output?
[14:08] <paddy__> jdstrand: 2> is http://pastebin.com/QQguzdm1
[14:08] <paddy__> 2>&1 prints everything to scren
[14:10] <jdstrand> paddy__: can you run: 'sudo /usr/share/ufw/check-requirements' and paste the output
[14:13] <paddy__> http://pastebin.com/q3bG1as8
[14:14] <paddy__> irssi just saved me, i almost pasted the whole thing here instaed of the url, whoops
[14:14] <jdstrand> paddy__: that is not the output of check-requirements
[14:16] <paddy__> http://pastebin.com/u0J8SFAB
[14:16] <jdstrand> paddy__: your kernel doesn't have the required configuration to run ufw
[14:17] <paddy__> jdstrand: how fix?
[14:17] <jdstrand> paddy__: recompile your kernel or use a standard Ubuntu kernel
[14:18] <paddy__> how do i change to a standard ubuntu kernel?
[14:18] <jdstrand> paddy__: do you own this machine or is it a hosted environment?
[14:18] <paddy__> i am on a vps
[14:19] <paddy__> jdstrand: but I have serial acces
[14:19] <paddy__> jdstrand: which is why when i killed ssh connections i was ok
[14:19] <jdstrand> paddy__: you need to talk to your VPS and show them the output of the check-requirements command. it is possible they will tell you 'no' at which point you must use standard iptables with simple rules
[14:19] <paddy__> *access
[14:20] <paddy__> jdstrand: can I not change the kernel?
[14:20] <jdstrand> paddy__: if you must go to standard iptables, please use 'sudo ufw disable' first
[14:20] <jdstrand> paddy__: I don't know. you need to talk to your VPS
[14:20] <ruben23> hi guys where i can find the iptables file of ubuntu server..?
[14:20] <paddy__> jdstrand: is there no easy way to do it?
[14:21] <jdstrand> paddy__: you have to be able to reboot the machine and select a kernel. the VPS provides the kernel. you need to talk to them
[14:21] <paddy__> jdstrand: I can do that, in grub?
[14:23] <jdstrand> paddy__: possibly. but aiui most VPS control the kernels in use for security reasons
[14:24] <joschi> paddy__: what kind of virtualization is being used?
[14:25] <ruben23> guy can i manipulate directl from iptables on ubntu server..?
[14:25] <joschi> paddy__: if it's OS-level virtualization (e. g. openvz, virtuozzo, linux-vserver, ...) you can't change the kernel or load custom modules
[14:49] <paddy__> joschi: openvz
[14:49] <paddy__> I cancled my vps
[14:50] <ikonia> whoa
[14:50] <ikonia> that's a big step to take
[14:55] <paddy__> ikonia: it was only a toy ;)
[15:01] <xperia> hello to all. somehow i am not able to do "sudo do-release-upgrade" it breaks allways with error message
[15:01] <xperia> /usr/bin/dpkg returned a error code
[15:01] <xperia> Your system is unusable ? can somebody help me with this ?
[15:03] <ikonia> xperia: was it up to date before you did do-release-upgrade
[15:03] <ikonia> xperia: what process have you followed for the upgrade
[15:05] <xperia> ikonia: yes it was full up to date and it worked 100% but i have did a system clean with the ubucleaner script that remove some stuff from the server like not used linux kernels and got then before the upgrade allways the error message that smething with the linux kernel thing is not right when i performed a sudo apt-get upgrade
[15:06] <xperia> and now the release upgrade also breaks at same problem it say
[15:06] <ikonia> ubucleaner ? where di you get that
[15:06] <ikonia> "did"
[15:06] <xperia> from the net it is like ccleaner but for ubuntu.
[15:07] <ikonia> that's not an ubuntu package, and you don't know what it does
[15:07] <ikonia> why did you not just clean the machine yourself
[15:07] <xperia> make a search on google ubucleaner think i got it from opendesktop
[15:07] <ikonia> I have no idea why you would run untrusted scripts like that
[15:07] <xperia> well needed somethign automatic and did not know that something like this exist in ubuntu
[15:08] <ikonia> "needed" ? what makes you think y ou needed to "clean" you ubuntu machine
[15:09] <xperia> well the release upgrade breaks becouse of ubuntu-linux-modules-2.6.24-19-server
[15:09] <ikonia> breaks in what way
[15:09] <xperia> looks like package manager has problems like before the upgrade
[15:10] <xperia> about this modules that were probably removed
[15:10] <ikonia> the package manager had a problem before the upgrade ?
[15:10] <ikonia> so you knew the package manager had a problem, and you still did a distribution upgrade ?
[15:11] <xperia> ikonia yes it right it complained about the same thing. thinked with a upgrade it will solve the problem but it does not.
[15:11] <xperia> needed free space on the disk
[15:11] <xperia> how can i fix this package manager problem becouse of the deleted modules probably ?
[15:11] <ikonia> sorry, that's just a crazy approach, the core component that controls package installation is having a problem, I'll use the problematic package to upgrade it's self
[15:12] <ikonia> xperia: re-install the package that deleted the modules
[15:12] <ikonia> that contained the deleted modules
[15:12] <xperia> so i would need to install the linux server kernel 2.6.24-19 probably ?
[15:13] <xperia> okay let me looks if i can find it
[15:13] <ikonia> if that contains the modules you deleted, then yes
[15:31] <xperia> ikonia_ i get this error here
[15:31] <xperia> FATAL: Could not open '/boot/System.map-2.6.24-19-server': No such file or directory
[15:31] <xperia> what does this mean ? this is my file list of /boot http://paste-bin.com/view/db4b29e5
[15:32] <ikonia> xperia: it means the file is not there
[15:32] <xperia> any possibility to fix that easy so dpkg dont search anymore for it
[15:42] <ikonia> xperia: remove the package, and re-add it
[15:44] <xperia> ikonia: just have fixed the problem now. needed only to create this missing file with touch and now everything works like it should. thank you a lot for your very friendfull help
[15:44] <xperia> http://ubuntuforums.org/showthread.php?t=831658
[15:44] <ikonia> xperia: well done
[15:44] <ikonia> nice trick on dpkg
[17:00] <RoyK> http://pastebin.com/tYpKYbuY
[17:02] <ikonia> RoyK: what do you want me to do with that ?
[17:11]  * RoyK is just grinning
[17:19] <veovis_muaddib> ikonia: I expect he's bragging about the available space
[17:20] <ikonia> oh, a pointless post
[17:38] <osmosis> with kvm, im getting the error  "Could not initialize SDL - exiting". What does that mean?
[18:01] <patdk-lap> how can I go about putting nfs in fstab, without having mountall hang on boot when the network cable isn't plugged in?
[18:24] <RoyK> patdk-lap: autofs?
[18:27] <ivoks> noauto?
[18:28] <ivoks> there's also an additional option for nfs in fstab, iirc
[18:28] <ivoks> _netdev
[18:29] <ivoks>               (used to prevent the  system  from  attempting  to  mount  these
[18:29] <ivoks>               filesystems until the network has been enabled on the system).
[18:29] <patdk-lap> royk, no, autofs isn't a solution
[18:29] <garymc> Hi Guys anyone know how I would install Mcrypt for php?
[18:30] <ivoks> garymc: apt-get install php5-mcrypt
[18:30] <patdk-lap> ivoks, but _netdev isn't a flag I'm suppost to give it, it's something that mount does internally for network filesystems
[18:30] <garymc> ivoks and is that it?
[18:30] <ivoks> garymc: yes
[18:30] <garymc> do i need to configure anything?
[18:31] <ivoks> nope
[18:31] <garymc> cool. My php programmer has asked for it. Whats it for?
[18:31] <ivoks> patdk-lap: that option is explicity for that as far as i understand
[18:31] <patdk-lap> I can't find _netdev in the man pages
[18:31] <ivoks> man mount
[18:32] <ivoks> garymc: http://www.php.net/manual/en/intro.mcrypt.php
[18:33] <garymc> ivoks that didnt seem to work
[18:34] <ivoks> garymc: it works
[18:34] <ivoks> garymc: but your question wasn't complete
[18:34] <garymc> i typed "apt-get install php5-mcrypt and it didnt install anything
[18:34] <ivoks> garymc: it should've been 'what do i have to do to enable mcrypt module in apache's mod-php'
[18:34] <garymc> oh.....what do i have to do to enable mcrypt module in apache's mod-php
[18:34] <ivoks> then it's already installed
[18:34] <garymc> ?
[18:35] <garymc> how do I know its already installed?
[18:35] <ivoks> dpkg -l | grep php5-mcrypt
[18:35] <garymc> Ahh it says so
[18:35] <patdk-lap> ivoks, still hangs at mountall with _netdev
[18:35] <ivoks> when you install php plugin
[18:36] <garymc> ok so do I need to enable it or something?
[18:36] <ivoks> it's available for php, but you have to remember that apache needs to reload the php module to pick up all the new plugins
[18:36] <ivoks> so, restart apache
[18:36] <ivoks> patdk-lap: are you mounting /home maybe?
[18:36] <patdk-lap> nope
[18:36] <patdk-lap> I'm mounting /var/www/virtual
[18:38] <ivoks> then that's a bug
[18:38] <patdk-lap> using lucid 10.04 installed today :) all updated
[18:39] <ivoks> still a bug
[18:39] <ivoks> it should obey _netdev
[18:41] <ivoks> _netdev is irrelevant on cifs and nfs shares. And mountall understands _netdev.
[18:41] <ivoks> https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/504224
[18:42] <ivoks> Note that you can get around the recovery shell by using the "nobootwait" option it /etc/fstab for /home.
[18:43] <patdk-lap> I tried nobootwait, optional, bootwait, _netdev
[18:43] <patdk-lap> none fixed it
[18:43] <patdk-lap> and this is for /var/www/virtual, not /home
[18:44] <ivoks> ask in #upstart :)
[18:45] <patdk-lap> heh :)
[18:46] <ivoks> note that it's saturday
[18:47] <patdk-lap> but there are 23 users :)
[18:47] <patdk-lap> and I did read that bug report and comments like 3 times before I asked :)
[19:04] <resno> ive got a question about setting up raid and lvm :)
[19:04] <resno> ive got a 2TB drive and a 1TB drive. can i parition the 2TB into 1TB sections and use raid5?
[19:12] <cokegen> resno: I'm not that into raid, but it would miss the point
[19:13] <cokegen> you can almost do anything with software raid
[19:13] <cokegen> (I could be wrong however)
[19:16] <resno> cokegen: i know its mising the point, but i dont really want to backup stuff, i just want to protect my data from a failed drive when using lvm
[19:22] <patdk-lap> resno, that won't protect anything :)
[19:22] <patdk-lap> if the 1tb goes down, your protected
[19:23] <patdk-lap> if the 2tb goes down, your screwed
[19:23] <patdk-lap> so using the 1tb is pointless, and using raid5 is just going slow down the 2tb drive
[19:23] <patdk-lap> and cause the 2tb drive to seek like nuts
[19:24] <joe> hi , anyone can private help ?
[19:24] <resno> patdk-lap: so whats the solution to my problem?
[19:24] <patdk-lap> don't do it :)
[19:25] <resno> what should i do?
[19:25] <patdk-lap> make a 1tb partition on the 2tb drive, use raid1 on that 1tb drive and the 1tb partition on the 2tb drive
[19:25] <patdk-lap> you have redundant 1tb now
[19:25] <patdk-lap> and you can do whatever yo uwant with the extra 1tb on the 2tb drive
[19:25] <resno> i dont really care about data redundancy though
[19:26] <resno> i need the space more so then the redundancy
[19:26] <patdk-lap> " i just want to protect my data from a failed drive when using lvm"
[19:26] <patdk-lap> that is redundancy
[19:26] <resno> the whole thing of having 2 drives that could fail and ruin it all is scaring me
[19:27] <patdk-lap> well, everything you said, will loose all your data if either fail
[19:27] <patdk-lap> well, the 2tb is ok, you would be ok
[19:27] <patdk-lap> but if the 2tb fails, you loose all
[19:27] <patdk-lap> and you don't gain any space
[19:28] <patdk-lap> so it's moot
[19:28] <resno> i wouldnt gain the extra space on that?
[19:28] <patdk-lap> on what?
[19:28] <patdk-lap> how does using raid5 over 3 1tb drives (2tb usable) give you more space than 2tb drive?
[19:28] <resno> paritioning each drive to 1TB and raiding it?
[19:28] <resno> oh ok
[19:29] <patdk-lap> your solution is to use each drive as it's own drive
[19:29] <patdk-lap> if you want all space, and don't caare about redundancy
[19:29] <patdk-lap> then whatever drive fails you loose, but not the other
[19:30] <resno> so not using lvm?
[19:30] <patdk-lap> not sure
[19:30] <patdk-lap> I normally just put lvm on each drive
[19:30] <patdk-lap> I think if you lvm both drives together into one lvm, it makes a raid0 out of it, givin you the issue again
[19:30] <patdk-lap> but I have never done that, so
[19:31] <resno> so lets just say i dump the lvm
[19:31] <resno> and install each drive alone...
[19:31] <resno> how do i get data to start using it?
[19:31] <patdk-lap> get data?
[19:31] <patdk-lap> wget?
[19:32] <resno> how i instruct the server to use that space
[19:32] <patdk-lap> fstab
[19:32] <patdk-lap> mount
[19:32] <cokegen> if you ask me, I'd prefeer doing 2 single backups on those different disks
[19:32] <patdk-lap> anything you normally would do with a drive
[19:32] <patdk-lap> ya, I would do a raid1 if 1tb over them
[19:32] <resno> ive never done anything like this... so this is all new
[19:33] <patdk-lap> then use the 1tb unprotected for junk
[19:33] <patdk-lap> you hav enever installed a harddrive? usb stick? cdrom? :)
[19:33] <cokegen> never did software raid
[19:33] <resno> never did software raid
[19:33] <patdk-lap> we aren't talking about software raid at all
[19:33] <resno> and this is my first time messing with adding anew drive since the fresh install
[19:33] <patdk-lap> cause everytime I give you the options, you say, no
[19:34] <cokegen> if I were you I'd just backup things twice
[19:34]  * patdk-lap wonders back to ospf land
[19:34] <resno> ive already just about tapped out the 1TB drive i have running. so im looking to increase my data storage
[19:35] <patdk-lap> he wants what every mythtv user wants, but I haven't found one that is reliable
[19:35] <patdk-lap> seperate harddrives with seperate fs's on them
[19:36] <patdk-lap> but mount them as one large drive
[19:36] <cokegen> drbd is another option
[19:36] <patdk-lap> no raid, if one drive dies, you loose that info, but not everything
[19:36] <resno> yes, thats exactly what i want...
[19:36] <cokegen> sorry, drdb would be: http://www.drbd.org/
[19:36] <cokegen> have some friends using it on production servers and work like a charm
[19:36] <patdk-lap> drbd is more data redundancy
[19:37] <cokegen> yeah, on another machine, I know
[19:37] <patdk-lap> resno said he didn't want redundancy
[19:37] <cokegen> zfs over fuse ?
[19:37] <cokegen> if you want to trade off some performance
[19:37] <patdk-lap> never thought zfs was reliable
[19:38] <cokegen> it is, just that you loose a good deal of performance
[19:38] <patdk-lap> there are like 3 different fuse things to do this, each of them failed horrible for me
[19:38] <resno> im looking for a solution to maximize the space on the new drive and previous one
[19:38] <patdk-lap> just format and mount them, done :)
[19:38] <cokegen> resno: mind that there's no perfect solution to every problem
[19:39] <resno> cokegen: ive learned that
[19:39] <cokegen> why not 2 copies with rsync over the 2 disks ?
[19:39] <cokegen> separately
[19:40] <cokegen> I mean, if you just need backups
[19:40] <cokegen> if you need to actively use that space it wont work
[19:41] <patdk-lap> rsync? backups?
[19:41] <cokegen> well, he isn't 100% clear on what he want
[19:41] <patdk-lap> he wants to have 3tb of drive space
[19:41] <patdk-lap> he doesn't want backups
[19:41] <cokegen> just giving him some ideas
[19:42] <patdk-lap> he wants as many files as possible to be working, if one fails
[19:42] <cokegen> hmmmm
[19:42] <resno> i like lvm, but dont like the danger it presents
[19:42] <cokegen> lvm in itself is not a danger
[19:43] <cokegen> but trying to have 3 tb on those 2 disks ONLY is
[19:43] <cokegen> just taht
[19:43] <cokegen> want security, use zfs, or raid 1
[19:43] <cokegen> (some level of security)
[19:43] <patdk-lap> the mythtv people worked around it by just mountingeach drive as it's own drive
[19:43] <cokegen> think on a failing power source too as a point of failure
[19:44] <patdk-lap> then having the myth software write to whatever drive has the most free space
[19:44] <cokegen> is what I told him
[19:44] <cokegen> just mount each drive separately
[19:44] <resno> patdk-lap: ill look at what myth pepole setup then
[19:45] <cokegen> no FS will save you if the power source fails real bad (and it happens)
[19:45] <resno> you guys server admins?
[19:45] <cokegen> I kinda am
[19:46] <cokegen> that's why I'm telling you, there's always more than one way to do things
[19:46] <cokegen> in that department at least
[19:47] <resno> yea, lvm seems like a great solution...
[19:47] <cokegen> I use it
[19:47] <cokegen> it's cool to grow
[19:47] <resno> but i dont like the concept of any one driving failing and everything crashing
[19:47] <cokegen> with reiserfs you can even grow your fs on the fly without unmounting
[19:48] <cokegen> can't you have another machine and go backing up once a day ?
[19:48] <cokegen> I found THAT to be the most reliable solution on small setups, really
[19:49] <cokegen> that way you only use one disk and the cost is low
[19:49] <cokegen> in the worst case you loose a day of work or less
[19:49] <cokegen> if raid fails you need to recover
[19:49] <joe> anyone familiar with linux vps + ubuntu ?
[19:49] <cokegen> it's a pain in the ass
[19:50] <resno> cokegen: i do have another machine i can back up to but it doesnt have that much space
[19:50] <cokegen> add there another disk
[19:50] <cokegen> problem solved
[19:50] <cokegen> you can't have security without spending some money
[19:50] <cokegen> not with only 2 disks
[19:50] <patdk-lap> heh? everyhing I think supports growing the fs on the fly while mounted, ext2, ext3, ext4, xfs
[19:51] <cokegen> no, ext3 doesn't
[19:51] <cokegen> you have to unmount first
[19:51] <cokegen> not sure ext3
[19:51] <cokegen> and xfs
[19:51] <patdk-lap> I grow ext3 all the time mounted
[19:51] <cokegen> I'm 99.5% sure you can't do that
[19:52] <cokegen> I'll google it
[19:52] <cokegen> that's one of the good points of reiser btw
[19:52] <joe> anyone can help with linux vps + ubuntu karmic
[19:52] <patdk-lap> man resize2fs
[19:52] <patdk-lap> "The resize2fs program will resize ext2, ext3, or ext4 file systems.  It can be used to enlarge or shrink an unmounted file system
[19:52] <patdk-lap>        located on device.  If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the  kernel  supports  on-line resizing."
[19:53] <patdk-lap> been using it for like 4 years now
[19:54] <cokegen> I don't know if it's safe
[19:54] <Nafallo> karmic? building on a version that's only supported for another few months?
[19:54] <cokegen> but it's a good thing to know if you say it's working
[19:58] <cokegen> I read somewhere that online resizing with extX was not safe
[19:58] <patdk-lap> did you happen to notice the date it said that?
[19:58] <cokegen> but it seems that it works
[19:58] <resno> joe: what kinda help ?
[19:58] <patdk-lap> I know years and years ago, it wasn't
[19:59] <osmosis> if I do   sudo rm file , then realize a made a mistake, ..is there a way to undo?
[19:59] <cokegen> yeah, probably years ago
[19:59] <cokegen> 2 to 3 years
[19:59] <resno> osmosis: i think its gone when you erase it
[19:59] <cokegen> again, good thing to know
[20:01] <cokegen> patdk-lap: http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html
[20:01] <cokegen> that's were I read it :P
[20:01] <cokegen> old docs
[20:01] <cokegen> and it was dangerous on etch which was the distro I was using at the time
[20:02] <patdk-lap> ya, that was pre-2006
[20:02] <patdk-lap> in 2006 resize2fs online resizing was added
[20:03] <cokegen> osmosis: unmount as that partition as quick as you can and try some utils in the system rescue cd @ http://www.sysresccd.org/Main_Page
[20:03] <cokegen> in reality, I'm going back to linux
[20:03] <cokegen> so there are things I need to "refresh"
[20:05] <cokegen> was tired with the lack of hardware support on the desktop and well, the other day tried a maverick livecd and everything was working
[20:05] <cokegen> seems the perfect time for a comeback
[20:05] <patdk-lap> heh, I've been using ubuntu since feisty
[20:05] <patdk-lap> and using slackware since '95
[20:05] <cokegen> I was started in '95 too
[20:06] <cokegen> with an infomagic cd set
[20:06] <patdk-lap> I have one slackware system still running
[20:06] <cokegen> had slackware, debian and red hat plus a mirror of some ftp's
[20:06] <cokegen> and in 2000 or 2001 was sick of always having to do stuff to normally work
[20:07] <cokegen> so I went to windows on the desktop, never for servers, but to work I only needed putty and that was it
[20:07] <cokegen> and well, the ubuntu pple did a great job polishing stuff
[20:07] <cokegen> is really almost there
[20:08] <patdk-lap> the only thing that kept me off unix for desktop, was the ungodly amount of screen space X used
[20:08] <cokegen> the flash player is the only thing that I can't make it work 100% ok
[20:08] <patdk-lap> use noflash :)
[20:08] <cokegen> yes, I know
[20:08] <cokegen> it's more of a security concern these days
[20:09] <cokegen> anyway, when I go to youtube it doesn't work ok
[20:09] <cokegen> fullscreen hangs, and other problems
[20:09] <cokegen> anyway, it's a proprietary piece of shit
[20:09] <cokegen> I'll not blame linux this time
[20:10] <cokegen> adobe should work on an open source player ... it's good for everyone, and no one but them will be able to reproduce something like flash to work on
[20:11] <cokegen> but it will open the door to proper implementations on different OS's and that kind of stuff
[20:11] <cokegen> sucks always having that one little problem that's too big to do the switch
[20:11] <cokegen> I do web development so I care about flash ... have to
[20:13] <qman__> did you try with a different browser? flash was unusable in firefox for me, but in chromium it's ~98%
[20:13] <qman__> stutters sometimes but watching videos works fine
[20:15] <cokegen> have to test chromium
[20:15] <cokegen> is that I just installed maverick on my other machine
[20:15] <cokegen> was trying everything on a liveusb with persistence
[20:15] <cokegen> to actually see if it was worth the shot
[20:15] <cokegen> worth the try
[20:16] <cokegen> (my english is not that good, sorry ;-)
[20:17] <cokegen> I really like chromium/chrome but there's nothing like firefox/firebug to do web development
[20:18] <cokegen> neither opera nor chrome are good in that regard
[20:20] <Dibbler__> Evening all , I need 2 dhcp servers on the same subnet , which are physically 2 networks connected by a "TUN" . Is there a comprehensive document somewhere i can read through so i don't overlook anything . A dhcp on either side of the tun needs to assign ip's from diffrerent pools to machines on their respective sides. I would need to block packets with requests , to pass over the tun i would think , probably more to it .. Atm i have it set up funct
[20:22] <Dibbler__> i said tun didn't I .. i meant TAP
[20:22] <cokegen> Dibbler__: what about just blocking 68 from trespassing the tun ?
[20:22] <cokegen> bc each dhcp should reply only requests from each side
[20:23] <cokegen> so, I say just do some iptables magic and block 68 (or whatever port dhcp is running, can't remember) from going from one side to the other
[20:23] <Nafallo> Dibbler__: sounds like it would be easier to use subnetting and routing. are there a reason that's not an option?
[20:23] <Dibbler__> thats how it is running now
[20:24] <cokegen> of course, if the machines are in the same subnet that is bc the machines have to work together
[20:24] <Nafallo> subnets have nothing to do with reachability
[20:24] <Dibbler__> no
[20:24] <Dibbler__> they are communicating fine :)
[20:24] <cokegen> Dibbler__, what about blocking 68 from one side to the other ?
[20:24] <Dibbler__> it's flippin windows
[20:25] <Dibbler__> i don't want to change all the firewall rules on all the computers to include other subnets for filesharing
[20:25] <Nafallo> Dibbler__: so... if it's working now, I have to ask what you're trying to achieve?
[20:25] <cokegen> you don't have to
[20:25] <Dibbler__> like i said
[20:25] <Nafallo> oh.
[20:25] <cokegen> you have to just block 68 from one side to the other
[20:25] <cokegen> is that possible ?
[20:26] <Dibbler__> the fact it's reachable and routing nicely doen't mean disocovery works etc
[20:26] <Dibbler__> it's not ,
[20:26] <Dibbler__> i cant block traffic from one side to the other
[20:26] <Dibbler__> well i could
[20:26] <Dibbler__> but that would only block replies
[20:27] <Dibbler__> i can block 68 .. but to where
[20:27] <Dibbler__> they don't have an ip atthat point
[20:27] <Nafallo> Dibbler__: block on the interface level
[20:27] <Nafallo> not ip
[20:27] <cokegen> what links that "TUN" ?
[20:27] <Dibbler__> i could block outgoing 68 yes
[20:27] <cokegen> 2 linux boxes ?
[20:28] <Dibbler__> yes 2 ununtu servers
[20:28] <Dibbler__> ubuntu
[20:28] <cokegen> well, do an iptables rule to block 68 from one side to the other
[20:28] <cokegen> problem solved
[20:28] <Dibbler__> i could block 68 from both mac's to their respective other sides
[20:28] <cokegen> you have one dhcp server on each side
[20:28] <Dibbler__> well side would mean machine in this case
[20:28] <Dibbler__> since there are no "sides"
[20:29] <Dibbler__> dince it's tun
[20:29] <cokegen> one or more machines
[20:29] <Dibbler__> and therefore bridged
[20:29] <Dibbler__> and 1 interface
[20:29] <cokegen> aha
[20:29] <cokegen> you're right
[20:30] <Dibbler__> so on some level i would need to deny packets .. lvl 3 with a specific header from crossing over
[20:30] <Dibbler__> that's not firewall stuff
[20:31] <Dibbler__> thats above
[20:31] <cokegen> can't you configure the dchp server on each side to assign a different pool range ?
[20:31] <Dibbler__> yes
[20:31] <cokegen> that way you can completely block 68 from each side and no ip address would overlap
[20:32] <Dibbler__> oh yes i can
[20:32] <cokegen> machines still communicating etc etc
[20:32] <Dibbler__> but imagine a machine with no fixed address
[20:32] <Dibbler__> being connected
[20:32] <Dibbler__> why would any of the dhcp's think it's his to give an ip to
[20:33] <cokegen> don't understand ...
[20:33] <Dibbler__> take a switch , connect 2 dhcp servers
[20:33] <Dibbler__> connect a client
[20:33] <Dibbler__> which one will give the ip
[20:33] <Dibbler__> theres no difference
[20:33] <Dibbler__> when using tap
[20:33] <qman__> you have two ubuntu machines with tap or tun interfaces
[20:34] <Dibbler__> i want to use tap
[20:34] <qman__> you simply need to block packets on 67:68 from going through those interfaces
[20:34] <Dibbler__> i am using tun
[20:34] <cokegen> you need some physical separation
[20:34] <Dibbler__> there is only 1 interface
[20:34] <cokegen> vlan
[20:34] <Dibbler__> the bridged one
[20:34] <qman__> iptables -A OUTPUT -o tun0 --sport 67:68 -j DROP
[20:34] <qman__> something like that
[20:35] <Dibbler__> thee is no traffic
[20:35] <Dibbler__> there
[20:35] <cokegen> but if you connnect everything to a switch then there are no "sides"
[20:35] <Dibbler__> exactly
[20:35] <Dibbler__> the tap is a bridge
[20:35] <Dibbler__> there are no sides
[20:35] <qman__> Dibbler__, you apply the rule to your bridging interfaec
[20:35] <qman__> it still works
[20:36] <qman__> you just create the rule based on the interface, not the IP
[20:36] <Dibbler__> but output from where
[20:36] <Dibbler__> the input and output are both tap
[20:36] <qman__> it doesn't matter
[20:36] <Dibbler__> there is no firewall involvement
[20:36] <qman__> yes, there is
[20:36] <qman__> it is an interface, the firewall applies
[20:37] <qman__> it doesn't matter what kind of magic it's performing to bridge the networks, there are still two tap interfaces
[20:37] <Dibbler__> if you put a 68 67 frop on eth0
[20:37] <qman__> and you can still filter traffic on those tap interfaces
[20:37] <Dibbler__> what is going to prevent 2 computers from using it
[20:37] <Dibbler__> no
[20:37] <qman__> you don't use eth0
[20:37] <Dibbler__> you can't
[20:37] <qman__> you use tap0
[20:37] <qman__> yes, you can
[20:38] <qman__> I use a tap interface with openvpn, the firewall still applies
[20:38] <Dibbler__> there is no difference between it being eth0 or tap
[20:38] <Dibbler__> i would need to filter on level 3
[20:38] <Dibbler__> the actual requests
[20:38] <qman__> it's not as complicated as you're making it
[20:38] <cokegen> why not redirect all traffic through separate interfaces ?
[20:38] <Dibbler__> then i would need diff subnets
[20:38] <Dibbler__> and thats how it works now
[20:39] <qman__> just because the networks are bridged doesn't mean the interfaces go away
[20:39] <qman__> you can still filter traffic
[20:39] <cokegen> no, bc you can block just dhcp
[20:39] <enquora> I'm having trouble with a borked package installed from a ppa.    aptitude purge problem package list  is intended to remove data and configure files as well as uninstall, right?
[20:39] <Dibbler__> there is only 1 interface qman
[20:39] <Dibbler__> rules need a source and a dest
[20:39] <qman__> no, they don't
[20:40] <qman__> you can simply drop all traffic from anywhere to anywhere on the DHCP ports
[20:40] <cokegen> how not qman__ ?
[20:40] <qman__> on your VPN interface
[20:40] <Dibbler__> see
[20:40] <cokegen> anywhere IS a source or a dest
[20:40] <Dibbler__> anywhere to anywhere
[20:40] <qman__> and that solves the problem
[20:40] <Dibbler__> there is no to
[20:40] <qman__> it doesn't matter whether you're using bridging or tunneling, it'll work
[20:41] <Dibbler__> if you make a bridge there are no filters between the interfaces on an ip level
[20:42] <qman__> enquora, purge removes all configuration files as well as the package
[20:42] <qman__> Dibbler__, yes there are
[20:42] <cokegen> Dibbler__ is right
[20:42] <qman__> just because it's not routed doesn't mean you can't filter it
[20:42] <cokegen> a bridge is like connecting those 2 int to a switch
[20:42] <cokegen> directly
[20:42] <cokegen> physical separation is not possible
[20:42] <qman__> the traffic still passes through the interface, and netfilter still processes it
[20:43] <Dibbler__> netfilter does ipx now does it ..
[20:43] <qman__> who said anything about ipx?
[20:43] <Dibbler__> me
[20:43] <Dibbler__> just now
[20:43] <Dibbler__> becaus ethat will pass on a bridge
[20:45] <Nafallo> wait. what are you trying to achieve again?
[20:46] <Dibbler__> 1 subnet on 2 physical locatiuons connected through a tap
[20:46] <Dibbler__> i need a dhcp on both sides
[20:46] <qman__> even if netfilter doesn't process the ipx traffic, the traffic is still going through an interface
[20:46] <qman__> and netfilter can still filter it
[20:46] <Nafallo> and why do you need to block dhcp at all?
[20:46] <qman__> I have a configuration this way
[20:46] <qman__> it works
[20:46] <Nafallo> just make each dhcp server serve half the subnet?
[20:47] <cokegen> yeah, that's what I said Nafallo
[20:47] <Dibbler__> with dynamic ip's .. how would i prevent one or the other from giving it
[20:47] <cokegen> the thing is that the interface is bridged and he has no "sides"
[20:47] <Nafallo> Dibbler__: why do you need to prevent it?
[20:47] <Dibbler__> discover will be sent
[20:47] <qman__> there are still two sides to a bridge
[20:47] <cokegen> to have a "side" he'll need physical separation
[20:47] <Dibbler__> there is no ip at that point
[20:47] <Dibbler__> both dhcp wil reply
[20:48] <Nafallo> just let whatever dhcp answers faster give the ip?
[20:48] <Dibbler__> then what if the tap disconnects
[20:48] <cokegen> ip doesn't mean that if you connect that to a switch the traffic isn's available
[20:48] <cokegen> to me it seems you need physical separation
[20:48] <cokegen> like a vlan or something like that
[20:49] <Nafallo> Dibbler__: you're on the same subnet... why does it matter?
[20:49] <cokegen> or just connect either side to different network interfaces
[20:49] <cokegen> but yes, Nafallo is right, you're trying to do that on the same subnet
[20:49] <cokegen> there's no point on that
[20:49] <Nafallo> the client won't throw away the IP just because it can't reach the DHCP server. at least not until after the dhcp timeout.
[20:49] <Dibbler__> N: it matters becaus ethey are in different locations
[20:50] <Dibbler__> but i supose i could just do with the 1 thne
[20:50] <Dibbler__> then
[20:50] <Dibbler__> and hope for the best
[20:50] <qman__> the only reason it would matter is the default gateway setting
[20:50] <Dibbler__> yes that too
[20:50] <qman__> when the bridge dips those with addresses from the other side will not be able to reach the internet
[20:50] <Dibbler__> yes
[20:50] <Dibbler__> they both have different def gateways
[20:51] <Dibbler__> so yes
[20:51] <Dibbler__> thats why i need 2 lol
[20:51] <Dibbler__> and thats why i asked
[20:51] <Nafallo> meh. no one said anything about reaching the Internet :-P
[20:51] <qman__> but like I said, a simple firewall rule blocking DHCP solves this
[20:51] <qman__> it's not that complicated
[20:51] <Dibbler__> believe me Qman
[20:51] <Dibbler__> you can't block a bridge if it goes nowhere but on both sides of it
[20:52] <qman__> there's no such thing as a bridge that goes nowhere
[20:52] <Nafallo> Dibbler__: qman__ didn't tell you to block the bridge...
[20:52] <qman__> you are bridging two networks together
[20:52] <Dibbler__> it goes from one side of the bridge to the other
[20:52] <Dibbler__> and you can't filter trafic on that
[20:52] <Dibbler__> on an ip level
[20:52] <qman__> yes, you can, because there are still two tap interfaces
[20:53] <cokegen> yes, you can
[20:53] <Nafallo> ignore the bridge for a bit. it's just an interface on top of other interfaces.
[20:53] <cokegen> what about a virtual interface to help a bit
[20:53] <Dibbler__> taps are virtual interfaces
[20:53] <qman__> not needed
[20:53] <cokegen> block the traffic and then do the tap to the other
[20:53] <Nafallo> also, you don't want to block it on an ip level. you want to block it on an interface level. (phy)
[20:53] <qman__> right
[20:53] <qman__> just block all DHCP traffic in and out of the tap interfaces
[20:54] <Nafallo> stop digging up the stack :-P
[20:54] <qman__> it's a virtual interface, but it's still an interface
[20:54] <qman__> and you can still create rules that use it
[20:54] <Dibbler__> but there is nothing going in and out the tap interfaces
[20:54] <qman__> yes, there is
[20:54] <Dibbler__> wait sec
[20:54] <Dibbler__> 1 sec
[20:54] <qman__> all traffic that goes between the two sides of the bridge goes through the tap interface
[20:55] <Dibbler__> http://www.shorewall.net/OPENVPN.html#id36132361
[20:55] <Dibbler__> so everything is clear
[20:55] <Dibbler__> this is what im talking about
[20:55] <Dibbler__> bottom bit , bridging 2 networks
[20:56] <qman__> yes
[20:56] <Dibbler__> i get 1 bridge on each firewall
[20:56] <qman__> this is also what I'm talking about
[20:56] <garymc> my server is handing php a wrong timezone of 01/01/1970 anyone know how I fix this?
[20:56] <Dibbler__> that is a bridge of the phys interface and the tap interface
[20:56] <qman__> the way openVPN works is by creating virtual interfaces
[20:56] <qman__> all traffic that goes across the bridge goes through those virtual interfaces
[20:56] <qman__> and you can apply firewall rules to those interfaces
[20:57] <Dibbler__> br0
[20:57] <Dibbler__> on both firewalls
[20:57] <Dibbler__> have a look
[20:57] <cokegen> garymc: php.ini
[20:57] <cokegen> give me a sec
[20:57] <garymc> yeah but what have I got to set?
[20:58] <qman__> then you simply block it on br0 as well
[20:58] <qman__> it's not hard
[20:58] <garymc> ive uncommented date.timezone =
[20:58] <garymc> and added UTC on the end
[20:58] <Dibbler__> quote "The Shorewall configuration is just a Simple Bridge."
[20:59] <garymc> but its not fixing it
[20:59] <qman__> you're digging too deep
[20:59] <Dibbler__> LOL
[20:59] <qman__> have you even tried to set the rules?
[20:59] <qman__> you're confusing theory and simplified explanations with how it actually works
[20:59] <Dibbler__> at the moment it's 2 subnets
[21:00] <Dibbler__> seriously i'm not
[21:00] <cokegen> phpinfo() says that php.ini is actually loaded ?
[21:00] <qman__> it's not magic, all traffic passes through interfaces
[21:00] <cokegen> http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
[21:00] <qman__> and all interfaces can have rules applied
[21:00] <Dibbler__> it doesn't
[21:00] <qman__> that's how it works
[21:00] <Dibbler__> no
[21:00] <qman__> yes
[21:00] <garymc> cokegen : yes
[21:00] <Dibbler__> you can only filter level 5 with a firewall
[21:01] <Dibbler__> bridges are level 3
[21:01] <garymc> HOw can I test my time settings are correct
[21:01] <cokegen> I have date.timezone = UTC
[21:01] <cokegen> and it HAS to work
[21:01] <Dibbler__> there is no ip level traffic
[21:01] <Dibbler__> believe me
[21:02] <garymc> yes i have added mine to that. It was commented out.
[21:02] <garymc> Once I change I ran /etc/init.d/apache2 restart
[21:02] <Nafallo> if there are no ip traffic, what is it then?
[21:02] <garymc> not working
[21:02] <Nafallo> are you trying to do dhcp over something else than ip?
[21:02] <Dibbler__> your dhcpdiscover is not ip level
[21:03] <cokegen> garymc: phpinfo() should say something like Loaded Configuration File => /srv/php/etc/php.ini
[21:03] <cokegen> with the php.ini at the end
[21:04] <cokegen> also, comment other date.something stuff in php.ini
[21:05] <cokegen> and of course restart apache or whatever webserver you have (if you actually have one)
[21:06] <qman__> Dibbler__, dhcp happens on IP
[21:06] <Dibbler__> yes
[21:06] <qman__> I can't explain it any clearer
[21:06] <Dibbler__> yes it does
[21:06] <qman__> all traffic passes through interfaces
[21:06] <Dibbler__> source address 0.0.0.0
[21:06] <qman__> firewall rules apply to interfaces
[21:06] <Nafallo> http://en.wikipedia.org/wiki/Dhcp#DHCP_discovery
[21:06] <Dibbler__> dest 255.255.255.255
[21:07] <Dibbler__> i know
[21:07] <qman__> your VPN/bridge/whatever does not change that fact
[21:07] <Dibbler__> no no it doesnt
[21:07] <qman__> you just need to find which interface your traffic is passing through, and filter it
[21:07] <Dibbler__> and you can't filter traffic between branches of a bridge
[21:07] <qman__> yes, you can
[21:07] <Dibbler__> on an ip level
[21:07] <qman__> you can filter on every interface that exists
[21:07] <qman__> even if no routing occurs
[21:08] <garymc> php 5.2.10
[21:08] <qman__> even if they don't have IPs assigned
[21:09] <Dibbler__> i think i found what i need
[21:09] <Dibbler__> ebtables does layer 3 filtering
[21:09] <Dibbler__> ill have a look at that
[21:09] <Dibbler__> thank you for trying guys
[21:10] <cokegen> garymc: worked ?
[21:10] <Nafallo> Dibbler__: you are telling me iptables -A INPUT -i tap0 -j DROP wouldn't cause any disruption in your tunnel traffic?
[21:10] <Dibbler__> br0
[21:10] <Dibbler__> in this case
[21:10] <Dibbler__> not tap
[21:10] <Nafallo> Dibbler__: br0 is on top of tap0 and ethX.
[21:11] <Dibbler__> yes
[21:11] <Nafallo> Dibbler__: you are climbing to far in teh OSI stack again.
[21:12] <Dibbler__> i will try
[21:14] <Dibbler__> but once you make a bridge
[21:14] <Dibbler__> your tap and ethX iterfaces get no Ip velel address or anything
[21:14] <Dibbler__> really guys
[21:14] <Nafallo> just stop thinking about the damn bridge for a bit :-P
[21:14] <Nafallo> :-)
[21:14] <lifeless> Nafallo: oh hai
[21:15] <Nafallo> hi lifeless :-)
[21:15] <Dibbler__> once it's there
[21:15] <Dibbler__> the interfaces connected to it have no lvl 5 traffic
[21:15] <Dibbler__> you can't make rules
[21:15] <Dibbler__> and yoy din't seem to believe me
[21:15] <Nafallo> fine. you can't make rules :-)
[21:15] <Nafallo> I give up
[21:15] <Dibbler__> again i am sorry
[21:16] <Dibbler__> i hope you never have to do this
[21:16] <Nafallo> I'm running a bridge with 7 mixed virtual and physical interfaces in production.
[21:16] <patdk-lap> level5 traffic? your blocking http cookies? :)
[21:17] <Dibbler__> http://forum.soft32.com/linux2/Ebtables-stop-DHCP-ARP-ftopict40834.html
[21:17]  * Nafallo shrugs
[21:18] <garymc> HOw do I update php5.2.10 to 5.3? or the lates version?
[21:18] <cokegen> garymc: worked ?
[21:18] <garymc> no I got disconnected
[21:18] <garymc> I think I need to update php
[21:18] <ivoks> ebtables?
[21:18] <ivoks> come on man :)
[21:18] <ivoks> iptables -m physdev --physdev-in eth1
[21:18] <ivoks> iptables -m physdev --physdev-in eth0
[21:18] <Dibbler__> Nafallo , again i'm sorry to have bothered you
[21:18] <ivoks> kthxbye
[21:19] <Nafallo> hi ivoks :-)
[21:19] <Dibbler__> i'm fine now , i have found what i needed ,
[21:19] <garymc> ok whats the best way to update php withour busting anything?
[21:19] <Nafallo> Dibbler__: good. :-)
[21:19] <cokegen> garymc: always better to have the lastest php but you don't need it to fix that
[21:19] <lifeless> garymc: apt-get upgrade
[21:19] <garymc> no?
[21:19] <patdk-lap> upgrading php will always bust php :)
[21:19] <garymc> I dont wanna do that
[21:19] <ivoks> so manu people want php 5.3
[21:20] <ivoks> just to realize their app doesn't work
[21:20] <ivoks> and i hate web developers
[21:20] <garymc> ok so what do you suggest?
[21:20] <cokegen> and I hate you
[21:20] <cokegen> :D
[21:20] <ivoks> kill webdevs
[21:20] <ivoks> :)
[21:20] <ivoks> why do you need php 5.3?
[21:20] <cokegen> 90% of the php code out there sucks
[21:20] <patdk-lap> I'm pretty happy with php 5.3 :)
[21:20] <ivoks> just because of the number or what?
[21:20] <patdk-lap> didn't have anything broke from the upgrade
[21:20] <garymc> well my php developer is running a test version on his server which is working and hes running 5.3
[21:21] <cokegen> and php in itself sucks, just like any other language for the web
[21:21] <garymc> my server is running 5.2.10
[21:21] <cokegen> there's very little that doesn't work from 5.2 to 5.3
[21:21] <ivoks> garymc: tell your web developer that isn't how work is done
[21:21] <cokegen> it's very well documented
[21:21] <ivoks> you have production and then you copy prouction env to create staging
[21:21] <lifeless> http://devzone.zend.com/article/11701?
[21:21] <garymc> ok im lost on what to do here
[21:21] <patdk-lap> or you just make your program compatable :)
[21:22] <ivoks> you don't let your web dev to come up with some random stack that's impossible to maintain
[21:22] <lifeless> http://www.php.net/manual/en/migration53.incompatible.php
[21:22] <patdk-lap> garymc, you using karmic?
[21:22] <patdk-lap> cause lucid comes with 5.3, and lucid is lts, so
[21:22] <garymc> errrm cant remebr if I upgraded or not
[21:22] <cokegen> garymc: what problem do you actually have
[21:22] <lifeless> garymc: have your web dev read the migration docs, and get him to code compatibly
[21:22] <ivoks> cokegen: his problem are web devs :)
[21:22] <cokegen> I don't think upgrading php will fix it
[21:23] <cokegen> ivoks: so I'm the problem ? :D
[21:23] <garymc> hes writing a script that shows a date , but on my system its showing 01/01/1970
[21:23] <ivoks> :)
[21:23] <cokegen> with what function exactly ?
[21:23] <cokegen> date() ?
[21:23] <ivoks> date was there before i was born :)
[21:23] <lifeless> garymc: and on your system
[21:24] <cokegen> yes, but I think the problem is the data he's providing to the date() function
[21:24] <lifeless> garymc: if you run 'date' in a shell, what does it show?
[21:24] <cokegen> if you provide date() with null you get 01/01/1970
[21:24] <garymc> here is the string hes using echo date('d/m/Y', strtotime('next friday'))
[21:24] <cokegen> so the problem could be something else
[21:24] <cokegen> echo strtotime('next friday');
[21:26] <garymc> ok yes possibly and Im oblivious to what it is
[21:26] <ivoks> Nafallo: hi :)
[21:28] <garymc> lifeless : Sat Dec  4 21:27:38 GMT 2010
[21:28] <cokegen> and echo strtotime('next friday'); ?
[21:28] <cokegen> should give you a timestamp (that's php code of course)
[21:28] <cokegen> not in a shell
[21:31] <cokegen> garymc: also, is date/time support enabled in a phpinfo() ?
[21:31] <garymc> ill look now
[21:34] <garymc> yes its enabled
[21:34] <cokegen> you need to see if echo strtotime('next friday'); is actually returning an int (timestamp)
[21:34] <ivoks> php 'echo strtotime('next friday');'
[21:34] <ivoks> will that work?
[21:35] <ivoks> nope :)
[21:36] <patdk-lap> php -r 'echo strtotime("next friday");'
[21:38] <garymc> where do I put that? in terminal window?
[21:38] <cokegen> on code
[21:40] <garymc> on code?
[21:40] <cokegen> just do a new php file and put <?php echo strtotime('next Friday'); ?>
[21:41] <cokegen> see what that gives you
[21:41] <cokegen> should give you an int
[21:41] <garymc> 1291939200
[21:42] <garymc> what the hell is that ? ^
[21:43] <patdk-lap> php -r "print date('d/m/Y', strtotime('next friday'));"
[21:43] <ivoks> that's date
[21:43] <ivoks> that's Fri, 10 Dec 2010 00:00:00 GMT
[21:43] <cokegen> well, then that date line should never give you 01/01/1970
[21:43] <cokegen> you're looking somewhere else man
[21:44] <ivoks> i bet he doesn't have connection to sql :)
[21:44] <cokegen> date is independent from whatever config you have providing the 2nd paramenter
[21:44] <garymc> ok it must be the php code my pdev is using
[21:44] <ivoks> php -r "print date('d/m/Y', '0');"
[21:44] <ivoks> that's 1/1/70
[21:45] <cokegen> ivoks,  THAT should give you 01/01/1970
[21:45] <ivoks> yep
[21:45] <cokegen> unix epoch
[21:45] <cokegen> but not with 1291939200
[21:45] <cokegen> I say impossible
[21:45] <ivoks> of course
[21:45] <ivoks> that's what i'm saying
[21:45] <ivoks> he's 'dating' 0, instead of meaningfull time
[21:45] <cokegen> maybe he placed the code somewhere else etc etc
[21:46] <ivoks> he's feeding 0 to date()
[21:47] <garymc> would updateing be harmful?
[21:48] <cokegen> well, it seems php is NOT the problem
[21:48] <cokegen> so I'd recommend against upgrading in this case
[21:49] <ivoks> problem is in web dev, as always :D
[21:49] <ivoks> make that 'php wana be web dev'
[21:50] <garymc> am i gonna mess up php if i try upgradE?
[21:51] <ivoks> garymc: we can't tell you if upgrading php will help or not
[21:51] <ivoks> garymc: cause date() function isn't the problem
[21:51] <ivoks> garymc: you don't know where it is, and it's very hard for us to find it for you
[21:56] <cokegen> fuck ... x-chat dies on me
[21:57]  * cokegen is starting with all the linux idiosyncrasies
[22:14] <garymc> ok i need to upgrade php
[22:15] <coketo> why's that ?
[22:15] <garymc> Apparently there are other reasons I need to upgrade php
[22:16] <garymc> does "apt-get upgrade" upgrade everything?
[22:16] <coketo> for security, not much from the functionality perspective
[22:16] <garymc> not just php?
[22:16] <coketo> apt-get upgrade php
[22:16] <coketo> (I think)
[22:16] <garymc> you think i will break php?
[22:16] <ivoks> you should update whole distrbution
[22:16] <coketo> I agree with ivoks
[22:16] <garymc> will it mess any of my current setup?
[22:16] <ivoks> if you have php 5.2, then you are in pre-lucid
[22:17] <garymc> I got a working web server on there etc
[22:17] <garymc> it an LTSP server
[22:17] <garymc> Linux Terminal Server Project
[22:17] <ivoks> do you even know which version of ubuntu you have?
[22:17] <garymc> I have upgraded from jaunty to karmic
[22:18] <garymc> I think im on karmic
[22:18] <garymc> ubuntu 10 something
[22:18] <ivoks> karmic is 9.10
[22:18] <garymc> what command tells me my version?
[22:18] <ivoks> lsb_release -a
[22:19] <garymc> Karmic 9.10
[22:19] <garymc> it also says "No LSB modules are available"
[22:19] <ivoks> that will be EOL in 5 months
[22:19] <garymc> So If I upgrade will it delete my SQL server or anything?
[22:20] <ivoks> no, it will upgrade
[22:20] <garymc> ok so whats the command to upgrade the whole system?
[22:20] <garymc> apt-get upgrade
[22:20] <ivoks> you are maintaining that server since jaunty?
[22:20] <garymc> yes
[22:20] <ivoks> and you don't know basic functions of apt?
[22:21] <garymc> well, im in and out of use, ive got a bad memory used to smoke alot of pot
[22:21] <ivoks> you need to update to current karmic patches and fixres
[22:21] <ivoks> apt-get dist-upgrade is used for that
[22:21] <garymc> can i not do that with one command?
[22:21] <Nafallo> do-release-upgrade does all that surely?
[22:22] <ivoks> Nafallo: i don't think it updates current release
[22:22] <garymc> Ok so could you tell me the exact command I need to use?
[22:22] <Nafallo> not sure if it did back in karmic, but pretty damn sure it did in 10.04.
[22:22] <ivoks> i did, a minute ago
[22:22] <garymc> apt-get dist-upgrade
[22:22] <garymc> ^ yes
[22:23] <ivoks> yes
[22:23] <garymc> ok im going to do it
[22:23] <ivoks> you should do that reguallry
[22:23] <ivoks> if you didn't, then your system is full of security holes
[22:23] <garymc> ok its running now
[22:25] <garymc> i guess its gonna take a while
[22:25] <ivoks> Nafallo: i didn't do do-release-upgrade since hardy :)
[22:26] <garymc> ivoks
[22:26] <Nafallo> ivoks: your systems wouldn't be covered by support then ;-)
[22:26] <garymc> it failed
[22:26] <ivoks> Nafallo: eh?
[22:26] <ivoks> Nafallo: from hardy to lucid
[22:26] <ivoks> garymc: hit the panic button!!!
[22:27] <Nafallo> ivoks: pretty sure our only supported options would be to use the upgrade-manager these days. I could be wrong though.
[22:27]  * Nafallo shrugs
[22:27] <ivoks> garymc: since you never did security updates, your system probably doesn't know where to find them
[22:27] <garymc> it says to try apt-get update
[22:27] <ivoks> that's why you should run apt-get update first
[22:28] <garymc> ok lol
[22:28] <ivoks> Nafallo: you didn't understand me
[22:28] <ivoks> Nafallo: i haven't run do-release-upgrade on anything newer than hardy; all my servers are LTS
[22:28] <Nafallo> ivoks: ah. sorry. yes. makes sense now :-)
[22:29] <Nafallo> ivoks: I'm obviously a bit disappointed that your laptop isn't running the latest and greatest, but that's not my concern ;-)
[22:29] <ivoks> it's maverick :p
[22:29] <Nafallo> oh. and you would have done it through the gui... never mind.
[22:29]  * Nafallo blames the party last night :-P
[22:34] <garymc> Ivocs : I ran upgrade but it says im still 9.10
[22:35] <ivoks> of course you are
[22:35] <ivoks> don't you read?
[22:36] <garymc> yep I ran apt-get dist-upgrade and it hasnt upgraded me but looked like it went smooth
[22:36] <ivoks> 22:21 < ivoks> you need to update to current karmic patches and fixres
[22:36] <ivoks> now you are on up to date karmic
[22:36] <ivoks> to upgrade to ubuntu 10.04
[22:36] <garymc> Ohhh right, so what do I do?
[22:36] <ivoks> you should run do-release-upgrade
[22:36] <garymc> so
[22:37] <garymc> apt-get release-upgrade
[22:37] <ivoks> khm
[22:37] <garymc> khm?
[22:37] <ivoks> 22:36 < ivoks> you should run do-release-upgrade
[22:38] <garymc> so in terminla type "do-release-upgrade" ?
[22:38] <garymc> ok its away
[22:39] <garymc> ok it says  I f I continue an additional ssh daemon will be started at port '9004'
[22:40] <ivoks> we know how it goes
[22:41] <ivoks> we've done it... lost of times, if not a hunderd :)
[22:41] <garymc> OK, I dont mean to be a pain
[22:41] <cap_00> i updated 10.4 this morning now my network interfaces are missing
[22:41] <ivoks> talking about perfect timing :)
[22:41] <garymc> you gotta be kidding me!!
[22:41] <cap_00> can anyone help me either undo the update or walk me through claming the network interfaces
[22:42] <ivoks> cap_00: dmesg | grep eth
[22:42] <garymc> ARRRRHHHHH!!!! Dont be saying this shit
[22:42] <cap_00> i don't get anything under that command.... nada
[22:42] <ivoks> cap_00: do you know what network cards you have?
[22:42] <garymc> my screen is just sitting at Calculating changes.. is this normal?
[22:42] <cap_00> lshw -C network shows both my interfaces as UNCLAIMED
[22:42] <cap_00> intel, built into the mobo
[22:43] <ivoks> cap_00: uname -a says what?
[22:43] <ivoks> wait... unclaimed?
[22:44] <ivoks> uname -r
[22:46] <cap_00> ya, first one says linux server 2.6.32-26-server yada yada
[22:46] <ivoks> lspci | grep Ethernet
[22:46] <ivoks> paste it on the pastebin
[22:47] <cap_00> pastebin?
[22:47] <ikonia> garymc: please control the language
[22:47] <ivoks> pastebin.ubuntu.com
[22:47] <cap_00> oh
[22:47] <garymc> sorry
[22:48] <cap_00> k
[22:48] <cap_00> i can't ssh, obviously so i'm writting everything out by hand
[22:49] <ivoks> oh,right
[22:49] <ivoks> then just type the model
[22:49] <databits> anyone here familiar with cyrus ?
[22:49] <ivoks> Intel Corporation XXXXXXX Gigabit Network Connection
[22:49] <ivoks> that XXXXXXX
[22:49] <ivoks> type it here :)
[22:49] <ikonia> ivoks: do "sudo ifconfig -a" do you see an eth device for it
[22:50] <cap_00> 82573L and 82573E
[22:51] <ivoks> those are supported
[22:51] <Patrickdk> hmm, I have an 82574L, e1000e driver
[22:51] <ikonia> sorry, that was for cap_00
[22:51] <ivoks> looking at 82575EB
[22:51] <cap_00> ya, everything was working fine until this morning when i updated using apt-get update
[22:51] <ivoks> cap_00: lsmod | grep e1000
[22:52] <ivoks> then lsmod | grep igb
[22:52] <cap_00> ifconfig only shows lo even though i name eth0 and 1 in /etc/networking/interfaces
[22:52] <cap_00> k jas
[22:52] <ikonia> sounds like the modules are not loaded
[22:53] <cap_00> ya
[22:53] <ivoks> i don't understand you cap_00
[22:53] <ivoks> :)
[22:53] <ivoks> ah, Just A Second
[22:54] <Patrickdk> what exactly do you have in interfaces? :)
[22:54] <cap_00> neither lsmod did anything
[22:54] <ivoks> interfaces aren't the problem, at least not yet
[22:54] <ivoks> modprobe e1000e
[22:54] <Patrickdk> hhm
[22:54] <ivoks> modprobe igb
[22:54] <ivoks> not sure which one is for that model, but one of those must be
[22:55] <cap_00> FATAL: Module e1001e not found
[22:55] <ivoks> e1000e
[22:56] <cap_00> same
[22:56] <ivoks> you don't have e1000e module?!
[22:56] <cap_00> says...
[22:56] <ivoks> /lib/modules/2.6.32-26-server/kernel/drivers/net/e1000e/e1000e.ko
[22:57] <ivoks> do you have this file?
[22:57] <cap_00> all config files need .conf: /etc/modprobe.d/aliases, it will be ignored in a future release then the fatal part
[22:57] <ivoks> ah
[22:57] <ivoks> mv /etc/modprobe.d/aliases /etc/modprobe.d/custom-aliases.conf
[22:57] <ivoks> depmod
[22:58] <ivoks> modprobe e1000e
[23:00] <cap_00> did mv and not found
[23:00] <ivoks> kernel module not found?
[23:00] <cap_00> i think so
[23:01] <cap_00> FATAL: module e1000e not found
[23:01] <ivoks> ls /lib/modules/2.6.32-26-server/kernel/drivers/net/e1000e/e1000e.ko
[23:01] <ivoks> does that ^ file exist?
[23:02] <cap_00> it's called e1000.ko on my box
[23:02] <cap_00> in the /e1000/ dir
[23:02] <ivoks> there are both e1000 and e1000e
[23:02] <ivoks> i asked for e1000e
[23:03] <cap_00> i only have the e1000 when i do ls /lib/modules/2.6.32-26-server/kernel/drivers/net/
[23:03] <ivoks> how's that possible?
[23:03] <ivoks> did you run out of disk space?
[23:03] <cap_00> good question
[23:03] <cap_00> nope
[23:03] <Patrickdk> maybe his fs got corrupted
[23:03] <cap_00> 50gb free
[23:04] <ivoks> then just install the package again
[23:04] <Patrickdk> or apt didn't finish unpacking the kernel?
[23:04] <Patrickdk> apt-get install --reinstall linux-server
[23:04] <cap_00> how, i'm not on the net anymore
[23:04] <Patrickdk> actually, need the real package
[23:04] <ivoks> dpkg -i /var/cache/apt/archives/linux-image-2.6.32-26-server*/deb
[23:04] <Patrickdk> cap_00, doesn't matter, unless you did an apt-get clean
[23:04] <ivoks> bah
[23:04] <ivoks> dpkg -i /var/cache/apt/archives/linux-image-2.6.32-26-server*.deb
[23:05] <cap_00> it won't overwrite any server files will it? like samba?
[23:05] <ivoks> no
[23:05] <ivoks> just broken kernel
[23:06] <ivoks> Patrickdk: that would just reinstall meta package ;)
[23:07] <Patrickdk> I realized that after I type it :)
[23:07] <cap_00> no such file or directory
[23:07] <cap_00> :(
[23:07] <ivoks> boot an older kernel
[23:07] <Patrickdk> usb stick time :)
[23:07] <Patrickdk> or that :)
[23:07] <ivoks> so, someone was tampering with your files
[23:08] <ivoks> if the cache is empty, someone deleted it
[23:08] <cap_00> i was in the middle of trying to get KVM to bridge to my lan
[23:08] <ivoks> and i find it... strange that only modules missing are those you need :)
[23:09] <cap_00> other then that, all i did this morning was apt-get update and apt-get upgrade
[23:09] <ivoks> dist-upgrade i hope
[23:09] <cap_00> oh no!!!!!!!!!1
[23:09] <cap_00> just upgrade
[23:09] <ivoks> upgrade wouldn't install new kernel
[23:10] <ivoks> so, you were broken before you did apt-get
[23:10] <cap_00> wow
[23:10] <cap_00> ok, we'll lets fix it
[23:10] <databits> [17:48] <databits> Dec  4 17:44:39 ubuntu cyrus/imap[12980]: executed
[23:10] <databits> [17:48] <databits> Dec  4 17:44:39 ubuntu cyrus/imap[12980]: accepted connection
[23:10] <databits> [17:48] <databits> Dec  4 17:44:39 ubuntu cyrus/imap[12980]: badlogin: [192.168.1.114] plaintext databits SASL(-13): authentication failure: checkpass failed
[23:10] <cap_00> so i need 10.4 LTS image on a bootable usb?
[23:10] <cap_00> or will a CD do?
[23:10] <ivoks> no
[23:10] <databits> does anyone have any idea what might be causing this issue ?
[23:10] <ivoks> you need to boot and older kernel
[23:11] <Patrickdk> hold down shift while you boot
[23:11] <Patrickdk> use down arrow
[23:11] <ivoks> if you don't have, copy the deb to the usb stick
[23:11] <cap_00> is there a live 10.4 command line server usb ? i thought i tried and failed
[23:11] <cap_00> or just install to a usb drive?
[23:11] <ivoks> you just need usb stcik
[23:11] <cap_00> got one
[23:12] <ivoks> it is 386 or amd64?
[23:12] <cap_00> oooooh copy that file from the cd?
[23:12] <cap_00> 64
[23:12] <ivoks> http://hr.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.32-26-server_2.6.32-26.48_amd64.deb
[23:12] <ivoks> download this
[23:12] <ivoks> copy to stick
[23:12] <ivoks> install on server
[23:13] <ivoks> of course, if you have needed usb modules :)
[23:13] <cap_00> lol lets hope
[23:14] <cap_00> the backup drive is usb and it worked last week...
[23:14] <ivoks> your system broke between last reboot and now
[23:15] <cap_00> oh right...
[23:15] <cap_00> fingers crossed
[23:15] <ivoks> it would be smart to find out when, who and why
[23:15] <cap_00> i'm the only one with root priveledge.... ???
[23:16] <ivoks> if $who is someone you don't know or $why just sounds stupid, you'll need to reinstall the system :)
[23:16] <cap_00> really?
[23:16] <ivoks> then i guess you know who $who is :)
[23:16] <cap_00> lol
[23:16] <ivoks> unless you have some disorder
[23:17] <cap_00> i hope not
[23:17] <ivoks> http://en.wikipedia.org/wiki/Dissociative_identity_disorder
[23:17] <ivoks> like this one
[23:17] <cap_00> lol
[23:17] <cap_00> let me check the raid 1 array to see if something is up there
[23:18] <ivoks> or... of course... maybe you just think that you're the only root
[23:19] <ivoks> while reality is somewhat different
[23:19] <cap_00> raid looks fine
[23:20] <ivoks> it's not raid
[23:20] <ivoks> if it would be raid, you won't be able to boot
[23:20] <ivoks> it user
[23:20] <cap_00> just wanted to make sure it wasn't something hardware.......... ish
[23:20] <ivoks> it's user
[23:20] <cap_00> how do i see a full list of priveledged users?
[23:20] <ivoks> that's what i'm saying... if it's hardware problem on raid, then your FS wouldn't know who it is and refused to work
[23:21] <ivoks> members of admin group
[23:21] <ivoks> /etc/sudoers
[23:21] <osmosis> beautiful!  if my server gets too high a load average...all my virtual guests go crazy with CPU Stuck issues. wait a go kvm!
[23:21] <ivoks> and, what lots of people forget, /root/.ssh/authorized_keys
[23:22] <ivoks> osmosis: or... you could ask first
[23:22] <osmosis> shuttleworth says it right here, ubuntu is not a server distro.  http://www.markshuttleworth.com/archives/517
[23:23] <cap_00> i'm the only IT guy here, and certainly the only one that knows linux
[23:23] <ikonia> nice job promoting your own distro to business when you are supposed to want to compete with Redhat
[23:23] <cap_00> not that i'm much past a newb with a book
[23:25] <shauno> I don't see anything in that post that says it's not a server distro
[23:25] <ivoks> ikonia: ?
[23:25] <ikonia> ivoks: shuttworth's blog post
[23:25] <ivoks> ikonia: what about it?
[23:26] <ivoks> ikonia: have you read it?
[23:26] <yann2> osmosis, what version are you using?
[23:26] <ikonia> ivoks: pretty much
[23:26] <ivoks> it mentions server 4 times
[23:26] <ivoks> once, where it says that server is ahead of desktop
[23:27] <osmosis> yann2, LTS 10.04.  Its been out for 7 months, and still not stable for virtualization
[23:27] <ivoks> and other three times in links
[23:27] <yann2> osmosis CPU stuck you say? on  the guest or the host?
[23:27] <ivoks> osmosis: i do high cpu work on VM, and other VMs don't have a problem
[23:27] <osmosis> ivoks, shuttleworth says that his focus is on improving the desktop
[23:27] <osmosis> yann2, guest
[23:27] <yann2> osmosis, what are the guests?
[23:27] <ivoks> "it just wasn’t being delivered in a way that would take it beyond the server, or to the general public."
[23:27] <yann2> 10.4 too?
[23:27] <osmosis> forget about it. ive been trying to get it fixed for months.
[23:27] <osmosis> yann2, also 10.04 LTS
[23:28] <yann2> have been running 10.4 hosts and vms for a while, havent had any issues yet, but relatively low load. I've got CPU stuck issues on a specific sun server and with hardy though :)
[23:28] <shauno> I think that it's safe to agree that linux is doing better in the server space that on the general public's desktop.  he doesn't negate the work on -server anywhere in that.
[23:29] <yann2> kvm-pxe is broken in lucid though, but easily circumvented by using maverick's
[23:29] <osmosis> oh well, dont worry about it. im just frustrated. sorry to vent. bye
[23:29] <ivoks> or, even easier
[23:29] <ivoks> yann2: all the files are there, just in the wrong place
[23:30] <ivoks> simple cp solves the issue
[23:30] <cap_00> usb works
[23:30] <yann2> ivoks, kvm-pxe? maybe, not sure, there was a symlink story, but I think it didnt work even with the symlinks (as far as I remember)
[23:30] <cap_00> but can't install file
[23:30] <ivoks> cap_00: how come?
[23:30] <cap_00> i can install it right from /mnt/usb/ right?
[23:30] <yann2> I think there was another bug behind the one you mention :)
[23:31] <garymc> Wow this takes a long time
[23:31] <ivoks> yann2: i've been using pxe boot since lucid was released
[23:31] <ivoks> yann2: i've pxe booted lots of machines on lucid
[23:32] <ivoks> not sure what you are talking about
[23:32] <cap_00> says no such file or directory :(
[23:32] <ivoks> cap_00: did you mount the drive?
[23:33] <cap_00> unless i'm missing a typo.... sudo dpkg -i /mnt/usb/linux-image-2.6.32-26-server_26.32-26.48_amd64.deb
[23:33] <cap_00> ya i can ls
[23:33] <ivoks> cap_00: did you mount the drive?
[23:33] <ivoks> ok
[23:33] <ivoks> does installation starts?
[23:33] <ivoks> or it tells that /mnt/usb/linux-image-2.6.32-26-server_26.32-26.48_amd64.deb doesn't exist?
[23:34] <cap_00> doesn't exist
[23:34] <ivoks> is that the only .deb file there?
[23:34] <cap_00> yup
[23:35] <ivoks> try sudo dpkg -i /mnt/usb/linux*deb
[23:35] <cap_00> ok
[23:35] <ivoks> that way making a typo is much harder
[23:36] <cap_00> error processing /mnt/usb/...... conflicting packages - not installing linux-image2.6.32-26-server
[23:38] <cap_00> that seems very bad :(
[23:39] <cap_00> it also says -virtual conflicts with -server
[23:39] <ivoks> virtual?
[23:40] <cap_00> i installed kvm libvirt-bin ubuntu-vm-builder
[23:40] <ivoks> is that virtualized server or normal server?
[23:40] <cap_00> and linux-image-virtual for kvm
[23:40] <ivoks> no man
[23:40] <ivoks> :)
[23:40] <ivoks> linux-image-virtual is for virtualized machines
[23:40] <cap_00> woops....
[23:40] <ivoks> for guests
[23:40] <cap_00> why would i do that
[23:40] <cap_00> remove?
[23:41] <ivoks> yes
[23:41] <cap_00> reboot?
[23:41] <ivoks> no
[23:41] <ivoks> you have half-installed kernel now
[23:42] <cap_00> 32.8kb of pain gone
[23:42] <ivoks> the one you installed from usb stcik
[23:42] <ivoks> stick
[23:42] <ivoks> first, remove all virtual kernels
[23:42] <cap_00> it still says conflicts
[23:42] <cap_00> how?
[23:42] <ivoks> apt-get remove linux-.*virtual.*
[23:43] <cap_00> couple of damaged link warnings
[23:43] <cap_00> says may need to re-run boot loader
[23:44] <ivoks> did it finish?
[23:44] <cap_00> which i did this morning after the udate......... all cause i installed the virutal kernel on my host?
[23:44] <cap_00> i think it did
[23:44] <ivoks> did it finish?
[23:44] <ivoks> whell, do you have shell or not?
[23:44] <ivoks> :)
[23:44] <cap_00> yes
[23:44] <ivoks> install the kernel from usb stick
[23:45] <cap_00> k
[23:45] <cap_00> YAY!
[23:45] <ivoks> now reboot
[23:45] <cap_00> *bows down*
[23:46] <ivoks> http://en.wikipedia.org/wiki/Dissociative_identity_disorder
[23:46] <ivoks> ^^
[23:46] <cap_00> lol
[23:47] <cap_00> they're up now
[23:48] <cap_00> should i do a apt-get upgrade to clean anything up?
[23:48] <ivoks> dist-upgrade
[23:48] <cap_00> k
[23:48] <cap_00> that'll keep me on 10.4 lts right?
[23:48] <ivoks> yes
[23:48] <cap_00> y
[23:49] <ivoks> do-release-upgrade moves you to newer version
[23:49] <ivoks> perfect command name
[23:49] <cap_00> lol
[23:49] <ivoks> i'm serious
[23:49] <ivoks> :)
[23:49] <cap_00> warning: linux-server linux-image-server cannot be authenticated
[23:50] <ivoks> update
[23:50] <cap_00> y/n?
[23:50] <cap_00> k
[23:50] <cap_00> i did linux-image-virtual for kvm like a week ago lol and just rebooted this morning
[23:51] <cap_00> it's stuck at 0% connecting to us.archive.ubuntu.com
[23:51] <ivoks> ah... us
[23:51] <ivoks> can't do right... anything :)
[23:52] <cap_00> lol
[23:52] <ivoks> it's actually cname for UK mirror, iirc
[23:52] <ivoks> or not
[23:52] <cap_00> may need to tweak the network connection i can't ping google.com
[23:53] <cap_00> i can only ping machine's on my lan
[23:53] <ivoks> well, that's another story now
[23:53] <ivoks> and since it's almost 1AM over here
[23:54] <ivoks> i'll pass this one :)
[23:54] <cap_00> lol ok
[23:54] <cap_00> thanks for all your help, i should be able to peice this together
[23:54] <ivoks> np, good night
[23:54] <cap_00> night
[23:54] <garymc> im still upgrading :S
[23:55] <garymc> should I reboot server once relaese upgrade is completE?
[23:55] <cap_00> ouch
[23:55] <garymc> or does it do it automaticly
[23:56] <garymc> cap_00 what you mean?
[23:56] <garymc> am i about to get my fingers well and truly burnt?
[23:57] <cap_00> i was joking
[23:57] <garymc> :S phew
[23:57] <garymc> gota go pick missus up now too
[23:57] <ivoks> do-release-upgrade will guide you
[23:58] <garymc> still upgrading... it goes on on and on like Ariston
[23:58] <cap_00> sleep typing ;)
[23:58] <ivoks> no, last smoke and last beer
[23:58] <garymc> ok ill be back in 20 mins if your still here