[00:03] <unit3> TDJACR: generally speaking keepalived is on a firewall isolating the servers from a different network segment. you could potentially do it on the same segment, but then you'd introduce clients possibly end running around keepalived and avoiding getting load balanced.
[02:25] <chmac> Any idea how to delete a file that generates "rm: cannot remove `14.': Input/output error" ?
[02:32] <janae_> I'm trying to get exim4 set up to authenticate smtp but it doesn't work. Any ideas of what I need to do differently?
[02:33] <janae_> i've followed this documentation https://help.ubuntu.com/community/Exim4 but can't get it to work
[02:37] <jmarsden> chmac: What is the '14.' that you are trying to delete -- a normal file, a directory, or a device file?  And you did try     sudo rm 14.     # already, I take it?
[02:37] <chmac> janae_: I suggest you post a specific error or issue. "I can't get it to work" doesn't allow anyone to help you...
[02:38] <chmac> jmarsden: Same error for sudo rm. It's a regular file.
[02:39] <janae_> chmac, I'm not getting any error messages I can't get the exim to ask for authentication when trying to send an email through it.
[02:40] <jmarsden> chmac: Sounds like the filesystem concerned is in trouble, or the hardware it is on (your disk drive)... I'd (a) back up that filesystem somewhere safe and then (b) umount that filesystem and then run e2fsck over it and see if it finds errors.
[02:40] <chmac> janae_: I'm not really familiar with exim, so can't really help. But you'll get a better response with a specific description of your issue. Your last comment is already streets ahead of your last one...
[02:40] <chmac> :-)
[02:41] <jmarsden> janae_: Have you tried asking in #exim ?  Sounds like SMTP auth is not actually fully enabled in your configuration yet.
[02:41] <iarp> is the user 'backup' system required? i can't remember if i created it months ago and i'm having to clean up users
[02:41] <janae_> jmarsden, I'll check there thanks
[02:42] <jtaji> iarp: backup user is created by the install
[02:42] <iarp> jtaji: ty
[02:42] <jmarsden> iarp: A user backup exists here too, with home dir of /var/backups -- so that was a system created user, or created by a backup application that was installed.
[02:43] <iarp> i have a folder within /home/ for backup but theres nothing inside it, think it'll be fine to delete
[02:43] <jmarsden> Probably.  Who owns it?
[02:43] <iarp> myself actully lol
[02:43] <jmarsden> Then yes, it is safe to delete.
[02:44] <iarp> thx mate
[02:45] <jmarsden> No problem.
[03:22] <kshah> I added a user to the group, and id reveals that they are in fact a member, however when a script is run by that user, they don't appear to have permissions, i have that script outputing the results of their call to `id` and confirmed they aren't a member
[03:22] <kshah> am I suppose to reinit the user some how?
[04:11] <clusty1> hey
[04:11] <clusty1> a bit of a retarded question: what is the regex that matches files of this pattern:
[04:12] <clusty1> R<2 numbers>_2<anything>.csv
[04:12] <clusty1> basically [0-9] twice
[05:00] <chmac> Any idea how to delete a file that generates "sudo rm: cannot remove `14.': Input/output error" ? Regular file...
[05:06] <jmarsden> chmac: Did you fsck that filesystem yet?  Anything show up?
[05:07] <chmac> jmarsden: I ran an fsck a while back, I could try it again, good advice
[05:07] <jmarsden> chmac: You could also check /var/log/messages for messages regarding disk i/o problems.
[05:08] <chmac> jmarsden: Nothing pops up in /var/log/messages when I try rm again
[05:10] <jmarsden> chmac: What does     ls -l 14.      output?
[05:10] <chmac> jmarsden: "ls: cannot access StraightPress.off/14.: Input/output error"
[05:11] <jmarsden> chmac: Hmmm.  So it can't even read the directory entry for the file.
[05:11] <chmac> jmarsden: Yeah
[05:13] <jmarsden> chmac: You could try mkdir /tmp/safeplace && mv StraightPress.off/* /tmp/safeplace    and if that moves everything except 14., you can then try rm -rf StraightPress.off and then mkdir it and move the files back... :)  But this really does look like there is something wrong with the filesyste/directory concerned.
[05:13] <jmarsden> Of course, if you have a few TB of files in that directory this may not be a smart thing to try :)
[05:14] <chmac> jmarsden: Yeah, the folder was StraightPress, the .off is because I moved all the other files out :-)
[05:14] <chmac> jmarsden: rm -rf StraightPress.off/ gives me the same error, it tries to rm the files recursively
[05:14] <jmarsden> OK.  So... fsck seems called for.  Boot from a livecd if you need to
[05:15] <chmac> jmarsden: I figure the alternative kernel will probably do the trick, I'll try it, I had fsck issues once before, I think that's when it started
[05:15] <jmarsden> If the directory is on a partition that is not your / partition, then yes, booting into recovery mode will do it.
[05:16] <chmac> jmarsden: Oh yeah, it's on my /home partition, I could probably unmount that if I logged in as root
[05:16] <jmarsden> Go for it :)
[05:16] <chmac> Nice, that'll be ever so slightly simpler
[05:16] <chmac> jmarsden: Thanks for all your help
[05:17] <jmarsden> No problem.
[06:26] <erichammond> "smoser: erichammond, getting closer... now i can upload images, just not kernels" <- Welcome to my world :-\
[06:28] <Y_Guy> i can't for the life of me get apache to work
[06:30] <jmarsden> Y_Guy: You'll need to be considerably more specific if you want anyone to help you with that :)
[06:30] <Y_Guy> ok
[06:30] <Y_Guy> i unzip the package, and try to use make command
[06:30] <Y_Guy> and make install won't work - it says nothing needs to be done for install
[06:30] <Y_Guy> but nothing is done, thats the thing
[06:30] <jmarsden> Wait... on Ubuntu server you unzip something???  sudo apt-get install apache2   #  will install apache2
[06:30] <Y_Guy> using apt-get also leaves me with nothing, have already unistalled and reinstalled
[06:31] <jmarsden> What are you unzipping and where did you get it from?
[06:31] <Y_Guy> tried already, so i resorted to trying the unzipping the download thing
[06:31] <Y_Guy> http://webdesign.about.com/cs/apache/a/aainstallapache.htm
[06:31] <Y_Guy> followign this
[06:31] <jmarsden> Let's go back to the packaged approach :)
[06:31] <Y_Guy> ok sure
[06:31] <jmarsden> What exactly happens if you do     sudo apt-get install apache2
[06:32] <Y_Guy> it says its installed - newest version etc
[06:32] <Y_Guy> but when i look under root/etc there's no apache2 folder
[06:33] <jmarsden> Look for /etc/apache2/  not root/whatever
[06:33] <jmarsden> Who or what told you to look under root/ ?
[06:33] <Y_Guy> there is no apache2 :s
[06:33] <Y_Guy> no one did, i know i'm in the etc directory
[06:33] <Y_Guy> i'm just getting my terms wrong, its been a while :P
[06:34] <jmarsden> OK, what does    ls -ld /etc/apache2      output?
[06:35] <jmarsden> Y_Guy: You can just cut and paste the command from your IRC session into your command shell window...
[06:35] <Y_Guy> ls: cannot access /etc/apache2: No such file or directory
[06:36] <jmarsden> Hmmm.  What does   dpkg -l apache2     say (just the last line)?
[06:37] <Y_Guy> ii  apache2                           2.2.11-2ubuntu2.5                 Apache HTTP Server metapackage
[06:39] <jmarsden> Looks sane... what's missing?    Try   dpkg -l apache2.2-common   and tell me the last line again?
[06:39] <Y_Guy> ii  apache2.2-common                  2.2.11-2ubuntu2.5                 Apache HTTP Server common files
[06:41] <Y_Guy> what if i had deleted the apache folder? i was attempting to instal using the zipped thing and i removed it a few times
[06:41] <Y_Guy> its definitely possible i deleted the apache folder by accident
[06:41] <jmarsden> Sigh.  OK.    sudo apt-get purge apache2.2-common
[06:42] <jmarsden> And then we will reinstall and see if that helps.
[06:42] <Y_Guy> done
[06:42] <Y_Guy> so normal reinstall now?
[06:42] <jmarsden> Yes, sudo apt-get install apache2
[06:43] <Y_Guy> done
[06:43] <jmarsden> Now does ld -ld /etc/apache2   show you a directory?
[06:43] <Y_Guy> yes, the dir is there
[06:43] <Y_Guy> now, i suppose i should start it just to see if its working
[06:43] <jmarsden> OK.  When you did the install, did it say it started the apache2 server?
[06:43] <Y_Guy> its apache2ctl start correct?
[06:44] <Y_Guy> oops sorry, let me check
[06:44] <Y_Guy> it did indeed say that
[06:44] <jmarsden> sudo /etc/init.d/apache2 start     # should work, but it should have done it for you.
[06:44] <Y_Guy> ok - so how could i test that?
[06:44] <jmarsden> So browse to http://localhost and see if you get "It works"
[06:45] <jmarsden> use lynx or w3m or any text mode browser of your choice.
[06:45] <Y_Guy> going to need a full command there i think
[06:45] <Y_Guy> if you don't mind :s
[06:45] <jmarsden> Like....   lynx http://localhost
[06:45] <jmarsden> Or    w3m http://localhost
[06:46] <jmarsden> If they are not installed, sudo apt-get install lynx     # or   sudo apt-get install w3m
[06:46] <Y_Guy> yes, done
[06:46] <Y_Guy> got the it works!
[06:46] <jmarsden> OK, so you bnow have a working apache2.
[06:47] <Y_Guy> thanks a ton :)
[06:47] <jmarsden> No problem.  Always use packaged software whenever you can, only experts should try installing non-packaged stuff.
[06:47] <Y_Guy> yeah, i figured it was a bad idea :/
[06:47] <Y_Guy> quick question again
[06:47] <Y_Guy> i want to change  documentroot in httpd.conf
[06:48] <Y_Guy> is that the only thing i need to change to change the dir i host from? what's the difference between docroot and serverroot?
[06:49] <jmarsden> Server root is where a lot of other things apache uses are, do not change that.  Why do you want to change DocumentRoot?  Might be better to set up a new virtual host for whatever you do what to do, instead.
[06:49] <Y_Guy> i was under the impression that was what i had to change to serve files from a different directory?
[06:50] <jmarsden> You are sort of correct but need to understand the way Debian sets up Apache.  For example httpd.conf is empty :)
[06:50] <Y_Guy> ahh i see - i admit the majority of the experience i've had with apache has been on windows
[06:50] <Y_Guy> obviously quite different
[06:51] <Y_Guy> if I do want to change the directory i host from, how would i go about it if httpd.conf is empty?
[06:51] <jmarsden> First read the Ubuntu Server Guide (which you should have done before you started all this :)  https://help.ubuntu.com/9.10/serverguide/C/httpd.html is probably the relevant bit.
[06:52] <Y_Guy> i actually did read some of that already
[06:52] <Y_Guy> i have this habit of diving into things head first, regardless of rocks :P
[06:53] <jmarsden> OK. So then you know where to make a new virtual host and set its parameters up the way you want them; use the default one as a starting point and change only what you need to change.
[06:54] <Y_Guy> well, i'm off now, i need sleep
[06:54] <Y_Guy> thanks again for all your help :)
[06:55] <jmarsden> No problem.
[07:03] <sporedi> how do i install windows xp on ubuntu want understand with cloud
[07:06] <jmarsden> sporedi: You could install virtualbox-ose on Ubuntu and then run Windows XP inside a virtual machine, if you have modern hardware and understand how virtual machines work.
[07:06] <sporedi> ok
[07:06] <sporedi> thx
[07:06] <sporedi> can i send u pm
[07:07] <jmarsden> Just discuss here, unless it is truly personal :)
[07:07] <jmarsden> That way others can learn from the discussion.
[07:08] <sporedi> ok ,this is my 1st ubuntu server installation  i play with some other linux some time back but now i want to configure cloud with ubuntu i have install server now do i need to client on local or i can acess my cloud over vpn
[07:11] <sporedi_> sorry i was rebooted
[07:11] <jmarsden> sporedi_: This is your first Ubuntu server installation and you want to set up your own cloud already?  Seems very ambitious.
[07:12] <jmarsden> See https://help.ubuntu.com/community/UEC
[07:12] <sporedi_> should i try or learn more ubuntu stuff
[07:13] <jmarsden> sporedi_: I would say learn more about Ubuntu server and managing a single Ubuntu server first, then learn the cloud stuff later.
[07:13] <sporedi_> ok
[07:26] <khelvan> Hello, I am trying to download torrents via rtorrent on my headless ubuntu server. However, nothing can download. I'm a newbie at this - can someone help me understand what I need to check to see if the proper ports are open on my server?
[07:43] <mabus> khelvan: try visiting http://www.utorrent.com/testport?port=6881 from the IP address you're using, with port being set to whatever you're using
[07:45] <khelvan> mabus - thanks, but the ip address is a headless server, I don't have access to a browser
[07:51] <jmarsden> khelvan: Just use a text mode browser.   ssh into it and sudo install w3m    and then use w3m http://whatever...
[07:52] <mabus> khelvan: well either nmap it, or yeah, what he said
[07:54] <khelvan> mabus, jmarsden, thanks - my port does not appear to be open. Any suggestions on how to open it? I have it open at the router.
[07:54] <khelvan> And properly port forwarded.
[07:55] <mabus> nmap localhost from the ubuntu box
[07:55] <jmarsden> khelvan: Is something on the server listening on that port (your torrent software or whatever)?  If not then a test will most likely not show it as open.
[08:00] <khelvan> jmarsden - No, I didn't...I started rtorrent and now the test worked. I still have a problem though, my rtorrent download won't begin (I'm trying to troubleshoot it).
[08:00] <khelvan> The tracker keeps timing out.
[08:05] <jmarsden> I'm not a torrent expert at all; networking in general I can troubleshoot, but we've already done that and you now have the port open.  Puls it is midnight here and I should go to bed soon :)
[08:08] <mabus> khelvan: what's the tracker?
[08:09] <mabus> im oot
[08:10] <khelvan> jmarsden - thanks
[08:10] <khelvan> mabus - Not sure, like I said I'm a newbie at this. I got it from piratebay :)
[08:10] <khelvan> mabus - aha: http://eztv.tracker.thepiratebay.org/announce
[09:26] <noobuntu> good morning, anyone has the time to give me some tips about best approach how to partition a multi-host LAMP for development purposes?
[09:36] <arj> aone big partition?
[09:55] <noobuntu> arj: shouldn't I separate at least /home ?
[10:08] <crohakon> 中方將統治世界
[10:14] <Belloto> Hello. Is there any package which lets me easily get summaries of apache server logs? (I mean, counting total numbers of visits grouped by visitor IPs, pages ... things like that)
[10:14] <Belloto> I mean a package for doing it from command line
[10:18] <mabus> awstats?
[10:27] <Belloto> thank you awstats, something like that but focused to produce summaries in linux command line ... as I read in awstats page, this is more a web interface
[10:29] <Belloto> I meant thank you mabus  ;)
[10:30] <bmb> Anyone wanna help ME?
[10:30] <bmb> me*
[10:31] <arj> just ask
[10:32] <arj> noobuntu, for simple servers I usually don't bother
[10:34] <noobuntu> arj: i would like at least to separate my project files from the system
[10:35] <noobuntu> arj: my projects are websites
[10:37] <noobuntu> arj: mail server will be also there, since I need it for testing mailing functions integrated into CMS (mostly drupal)
[11:12] <Aison> hello, apache error log reports this error: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/ldap.so
[11:35] <broreg> I'm having a problem with my belkin wireless usb adapter on karmic ubuntu server, the connection keeps constantly dropping, when it's up there seems to be a lot of latency between internal desktops and the server over ssh
[11:35] <broreg> the id for the card is  ID 050d:705a Belkin Components F5D7050A Wireless Adapter
[11:39] <broreg> This is how my /etc/network/interfaces looks http://paste.ubuntu.com/335169/
[12:02] <embrik> I need a command to send a message to all users logged on my system. I've tried wall, but I couldn't get it to work. Is there a command to send a message to the users like pop-up on their desktop?
[12:02] <alex88> Aison: is it there?
[12:05] <alex88> embrik: write user [ttyname] ?
[12:07] <Aison> alex88, now it is. I had to reinstall php5 ldap
[12:08] <alex88> Aison: maybe it has been corrupted
[12:08] <alex88> the important is that it's working now..
[12:09] <alex88> broreg: have you tried that usb adapter on other pc?
[12:13] <alex88> btw can someone help me upgrading my vps?
[12:13] <alex88> using normal upgrade from 9.04 to 9.10 just make it non-booting
[12:18] <broreg> alex88: on the same pc different OS it's fine, same adapter on another pc different os is fine too
[12:20] <alex88> mmhh..have you tried to make it connecting with wpa_supplicant?
[12:25] <noobuntu> i'm getting a problem during karmic install - Installing the base system - Configuring console-setup... on 65% and stays there forever
[12:54] <smoser> embrik, 'echo hello | wall'
[14:11] <Skaag> is upgrading as simple as changing hardy to jaunty in sources.list and doing a dist-upgrade?
[14:12] <arj> don't froget to apt-get update first
[14:12] <jtaji> Skaag: I think you're supposed to use do-release-upgrade
[14:12] <Skaag> do-release-upgrade finds no candidates
[14:13] <Skaag> arj: of course, update, then dist-upgrade
[14:13] <Skaag> weird thing is that do-release upgrade does this: Checking for a new ubuntu release
[14:13] <Skaag> No new release found
[14:13] <jtaji> Skaag: there's something you have to change, right now it's keeping you to LTS
[14:13] <Skaag> I see
[14:13] <jtaji> forget where
[14:13] <Skaag> the latest LTS is still 8.04 I guess?
[14:13] <jtaji> yes
[14:22] <torkel_> i'm trying to setup a vpn tunnel forcing my local subnet to access the internet via the vpn connection (using openvpn tunnel). I can successfully ping internet ip adresses, but anything else does not work. My iptables are not filtering anything as far as I can see :/ Anybody got any suggestion?
[14:25] <Liberty> what is the command to update my karmic server to get the latest security and stuff
[14:25] <alex88> apt-get update->apt-get upgrade
[14:26] <alex88> torkel_: have you set ip-masquerade and enabled ip_forward?
[14:27] <Liberty> thanks..
[14:27] <alex88> can someone help me??? how can i check how my vps boots? cause there are no files in /boot... it's a xen vps
[14:28] <Liberty> update gets the files and upgrade installs .. correct?
[14:28] <alex88> Liberty: update gets the packages versions, upgrade downloads and installs packets
[14:29] <torkel_> alex88: on the server on this subnet i'm using  iptables -t nat -A PREROUTING -s $PRIVATE -j DNAT --to-destination remote-end-of-vpn-ptp
[14:29] <torkel_> alex88: ip_forward is set to 1 on both servers
[14:29] <alex88> mmmhh..are you using openvpn?
[14:29] <Liberty> torkel_ thank you very much..
[14:30] <torkel_> alex88: and on the remote openvpn point i use iptables -t nat -A POSTROUTING ... -o eth0 -j MASQUERADE
[14:30] <alex88> so you use 2 servers? mmmhh
[14:30] <torkel_> alex88: ping passes fine, anything else is dropped at the final openvpn destination
[14:31] <torkel_> alex88: mysubnet->mygateway->openvpn over internet->anotherserver->internet
[14:32] <alex88> like: yourpc->home router->internet->openvpn server->internet?
[14:32] <alex88> or yourpc->openvpn server->internet->openvpn server->internet?
[14:33] <torkel_> the last one
[14:33] <Liberty> alex88 thanks so kindly
[14:33] <alex88> Liberty: glad to help
[14:34] <alex88> torkel_: mmhh..it's strange... have you any firewalls on the servers? have you added the secure interfaces to the whitelist?
[14:34] <torkel_> or actually mypc -> home router -> homeserver -> vpn -> internet -> vpn -> remoteserver -> internet =)
[14:35] <torkel_> no firewalls, only masquerading/forwarding
[14:35] <incorrect> which is the best kernel to use for kvm?
[14:35] <incorrect> server or generic
[14:36] <torkel_> alex88: and all traffic reaches remoteserver (tcpdump -i tun0 (vpn interface) shows that), only icmp echo passes
[14:36] <alex88> dunno man..i'm using openvpn only in one server... i've just installed apf, and set tap as trusted interface
[14:36] <alex88> set the masquerading and it's enough..
[14:37] <alex88> have you tried with tap and not tun?
[14:37] <torkel_> no, but i guess i'll have to try that.
[14:37] <torkel_> i'll try some more before giving up :)
[14:38] <alex88> i don't know so advanced ip-tables config..sorry
[14:38] <alex88> incorrect: dunno, i think server.. maybe it's improved for background processers
[14:38] <alex88> incorrect: dunno, i think server.. maybe it's improved for background processes
[14:38] <incorrect> i probably should compile a custom kernel anyway
[14:39] <incorrect> other than phpldapadmin, can anyone suggest a good desktop ldap admin tool?
[14:50] <alex88> never used ldap i'mm sorry
[15:24] <Daviey> alex88: on xen you often don't get to pick the kernel from within the domu/vps
[15:25] <Doorman352> Anyone recomend a good network analyzer, to spot collisions or retransmits?
[16:01] <sjr> My new Mac OS X machine, is having VERY poor network preformance with my two ubuntu machines, one Ubuntu Server 9.04. It doesn't matter what protocol it is, SMB, SSHFS, HTTP, it seems to stay around 1 MB/sec. Now the weird thing is, that the UBuntu Server has a Windows Virtual Machine on in it and I can transfer between that just fine
[16:06] <eagles0513875> !ia32libs
[16:06] <eagles0513875> !info ia32libs
[16:06] <eagles0513875> hey guys what has replaced ia32libs
[16:11] <Guest82271> hey everyone, Im having a problem with my cloud i keep getting this error "in MANAGED-NOVLAN mode, priv interface 'eth1' must be a bridge, tunneling disabled"
[16:11] <Guest82271> has anyone else had this problem?
[16:13] <eagles0513875> Guest64268: i havent tried cloud computing but thats saying something wiht how your network is laid out
[16:14] <eagles0513875> something about virtual lans
[16:19] <Guest82271> ye i have to say there isnt much documentation out there, the steps that i followed seemed correct
[16:21] <eagles0513875> im not much help as this cloud computing is new to ubuntu as of karmic
[16:26] <Y_Guy> I know this is off-topic but i can only access my server thru my lan, not online - entering the ip address gives me nothing
[16:26] <Y_Guy> if anybody could help just throw me a pm, thanks :)
[16:27] <eagles0513875> Y_Guy: do you have openssh-server installed
[16:27] <eagles0513875> then all you need to access ur server is the ip and an ssh client
[16:27] <Y_Guy> command to tell? but i'm pretty sure i do
[16:27] <eagles0513875> apt-cache policy openssh-server
[16:27] <Guest82271> netstat -punta | grep 22
[16:28] <Y_Guy> i want to access the site - i already using ssh to access my server remotely
[16:28] <eagles0513875> what site
[16:28] <eagles0513875> a website
[16:28] <Y_Guy> but the site i'm hosting i can only get to by entering the lan address
[16:28] <Y_Guy> yes
[16:28] <Guest82271> port forwarding on a router?
[16:28] <Y_Guy> that may be my problem
[16:28] <Y_Guy> i have a router - 1 desktop connected, 1 server, and 2 laptops
[16:29] <Guest82271> have u tried to telnet to port 80 from outside your network?
[16:29] <Y_Guy> i haven't done anything to it
[16:29] <Y_Guy> no, i haven't tried
[16:30] <rj175> try that
[16:30] <rj175> if u cnt telnet into it then im guessing its your router or iptables or possibly both
[16:31] <Y_Guy> i can't telnet
[16:31] <Y_Guy> it definitely could be my router - haven't touched it
[16:31] <rj175> ye prob is
[16:31] <Y_Guy> how would i go about fixing it?
[16:31] <rj175> what kind of router do u have?
[16:31] <Y_Guy> sec
[16:33] <Y_Guy> dlink wireless
[16:33] <rj175> do u have a model ?
[16:34] <Y_Guy> i will find it, sec
[16:34] <rj175> np :)
[16:35] <Y_Guy> DIR 615
[16:35] <rj175> http://portforward.com/english/routers/port_forwarding/Dlink/DIR-615/Apache.htm
[16:35] <rj175> that should help you
[16:36] <Y_Guy> great, thanks a lot :D
[16:36] <rj175> np :)
[16:36] <rj175> that sites good for setting up other port forwards, ive started making my servers DMZ and using IP tables
[16:39] <Davidf88> rj175: hello
[16:39] <rj175> Davidf88: Hey funny seeing you here :P
[16:44] <rj175> any cloud experts here?
[16:51] <zroysch> where is the log that tells me why tcp connections fail on my server for several minutes before coming back up. during this time i can still ping
[17:25] <Aison> is anybody using mrtg on ubuntu server?
[17:25] <arj> I used to
[17:25] <arj> cacti now
[17:25] <arj> with rrd
[17:26] <Aison> hmm, maybe I should check that also
[17:28] <Aison> hard to install?
[17:34] <torkel_> is it possible to route all traffic coming from a given subnet/interface to an alternative route? It is possible using netfilter with an extension that have  a route target, but i can't say i want to compile netfilter/patchomatic/kernel from source on  this eee :)
[17:34] <Aison> yes
[17:35] <Aison> use ip route to create alternativ routing tables
[17:35] <Aison> and "ip rule" to define filters which packets have to go to the alternative route
[17:36] <Aison> eg. ip rule add from 192.168.0.0/24 table yourRoutingTable
[17:36] <Aison> now all packets from 192.168.0.0 are routed to your routing table "yourRoutingTable"
[17:36] <torkel_> ahh, found a webpage describing it :D thanks, saved me alot of time
[17:37] <Aison> the name "yourRoutingTable" have to be defined in "/etc/iproute2/rt_tables"
[17:37] <Aison> this file is a simple name to index list
[17:37] <Aison> simply take a unused index
[17:48] <Aison> arj, do you use cacti-spine?
[17:54] <ruben23> hi i run this command--->dpkg –get-selections | grep sun-java------> got error http://pastebin.com/m4e4513c, anyone have idea..?
[17:54] <arj> the error is quite clear
[17:54] <arj> it's --get-selections
[17:55] <ruben23> arj: what arguments should it be..?
[17:55] <arj> what i just said
[17:56] <ruben23> arj: even i remove it still the same error
[17:56] <arj> remove what?
[17:58] <jmarsden> ruben23: man dpkg and look at the --get-selections option more carefully.  Much more carefully.  Note that it takes an argument.  Provide one, and it will work.
[17:58] <arj> it doesnt take an argument
[17:58] <arj> but he does need to look carefully at the option
[17:59] <jmarsden> dpkg -get-selections sun-java\*    # sure it does.
[17:59] <jmarsden> dpkg --get-selections sun-java\*    # sure it does.
[17:59] <arj> oh yeah
[17:59] <arj> it doesnt need one, but it does take on
[17:59] <arj> e
[17:59] <arj> you're right
[18:00] <ruben23>  jmarsden:thanks
[18:01] <jmarsden> ruben23: You're welcome.  Please do read man pages when you have issues like this, they really do help :)
[18:15] <trimeta> My installation was humming along nicely, until I got to the grub-install step.
[18:15] <trimeta> I'm getting "Unable to install grub to /dev/sda: Executing 'grub-install /dev/sda' faiiled. This is a fatal error."
[18:15] <trimeta> How can I figure out what's going on and fix it?
[18:17] <trimeta> Should I switch over to the virtual terminal and try running grub-install myself?
[18:20] <trimeta> I can't find "grub-install" in /bin, /usr/bin, /target/bin, or /target/usr/bin, but there is a grub-installer in /usr/bin; should I try that?
[18:32] <trimeta> Shit, I just realized my problem. Does anyone know how to eliminate a RAID device? Such that I can use those same physical volumes for a new RAID device, ideally one with the same name?
[19:04] <Maleko> i notice there are lot of console-kit-daemon processes running in my server after upgrading from 8.10
[19:04] <Maleko> whats up with this
[19:21] <Aison> arj, this cacti is really cool
[19:21] <Aison> hehe
[19:21] <Aison> I added 10 devices ;)  all my switches and servers :D
[19:21] <Aison> anybody using cacti and ldap?
[19:22] <Nafallo> AAAAA
[19:22] <foo> If badblocks -vvv is reporting 95 badblocks, should I replace the drive?
[19:22] <Nafallo> quagga is broken in both jaunty and karmic. just saying.
[19:22] <Nafallo> soren: ^--
[19:35] <foo> Gah, sorry, lost connection. If badblocks -vvv is reporting 95 badblocks, should I replace the drive?
[19:38] <jmarsden> foo: Probably.  In any case you should make frequent backups of any data on it!
[19:38] <foo> jmarsden: I do. How can I have smartctl reconfirm my beliefs? I need to be 100% sure. If in doubt, I'll replace it. I've spent 6 hours trying to figure this stuff out
[19:39] <andol> foo: In case you need to be 100% sure, then you should replace it.
[19:39] <foo> well, maybe I'm exaggerating, but I just want to understand this stuff
[19:39] <foo> should I use smartctl to help me?
[19:40] <foo> I've been reading on that... but it doesn't seem to be in accordance with badblocks
[19:40] <andol> foo: In short, if those 95 bad blocks have surfaced during a short period of time, then it is bad for real. If they have surfaced gradually during a long time it might only be semi bad.
[19:40] <jmarsden> sudo smartctl -H /dev/sda   # will tell you smartctl's current assessment of drive health
[19:41] <neonfreon> they could have been there from the factory
[19:41] <foo> thanks guys, it's a 40GB drive that's years old
[19:41] <neonfreon> like andol suggests, whats important is how the number changes
[19:41] <foo> here is the output from smartctl -a  http://x03.ath.cx/temp/smartsdc.txt
[19:41] <foo> neonfreon: yeah
[19:41] <foo> jmarsden: let me try that
[19:42] <foo> jmarsden: that says overall-health self-assessment test result: passed
[19:42] <neonfreon> ive had drives fail with no warning from smart
[19:42] <neonfreon> good luck
[19:42] <neonfreon> 40gb must be old indeed
[19:42] <andol> foo: Also, compare the time and cost you are spending on figuring out whatever to replace the drive in comparsion to the time and cost it will take to replace the drive.
[19:43] <foo> andol: that's important, but I want to do a little learning to make sure I understand this better
[19:43] <foo> andol: this is for a local home server
[19:43] <foo> (mine)
[19:43] <andol> foo: True, learning is always a good investment.
[19:44] <foo> what's confusing me is I've done smartctl -t long on a drive and it fails with a read error... on the 40GB drive. But I did the same thing on one of my 1TB < 1year old drives... and it says the same thing... which is very strange to me, so I'm not sure that's an accurate measure
[19:44] <foo> I am trying to reconcile badblocks with what smartctl is telling me
[19:44] <foo> ... and so far I am unable to :)
[19:45] <jmarsden> foo: Your smarttctl -a output does seem to show some read failures during selftest... I'd replace the drive, an 80GB drive will only cost you a few dollars.
[19:45] <andol> foo: Let me guess, badblocks isn't showing you any bad blocks?
[19:46] <foo> andol: on the 1TB drive?
[19:46] <foo> jmarsden: ok, so is it safe to assume that by showing that it's time to replace the drive?
[19:46] <neonfreon> just back it up!
[19:47] <andol> foo: never mind.
[19:47] <jmarsden> foo: There is nothing certain in life except death and taxes :)  But badblocks and some read errors in smartctl... sure looks like time to replace the drive to me.
[19:48] <trimeta> So, I had some issues installing grub; the first time around, I'd stupidly put my /boot partition on a RAID5 device, and the ncurses-based installer choked. I then copied everything in /boot off to /boot-backup, zeroed the components of the array, stopped it, rebuilt it as a RAID1 array, and copied everything back.
[19:48] <foo> neonfreon: I have :) I'm learning
[19:48] <andol> foo: Anyway, I agree with jmarsden. Myself I would replace the hard drive rather soon. Remeber that hard drives are evil and just keep waiting for the most inconvienent time to cause you trouble :)
[19:48] <foo> jmarsden: haha, good point
[19:48] <foo> :)
[19:48] <trimeta> This still didn't make the ncurses thing happy, but it did let me run grub-install from a chroot, and then I went back and ran the ncurses step.
[19:48] <neonfreon> ide drivers are expensive now
[19:48] <neonfreon> -r
[19:48] <trimeta> So, everything seemed to be working fine; the new system boots and everything.
[19:48] <trimeta> Then I tried to mount /dev/md0 so I could update my kernel. And found I didn't have a /dev/md0.
[19:48] <trimeta> What's going on?
[19:49] <trimeta> I tried to reassemble /dev/md0, but it told me that the first physical partition was already in use. In use by what? mount didn't show anything using it.
[19:49] <trimeta> Did grub not let go of it?
[19:50] <trimeta> I don't understand the grub2 configuration enough to know what's happening here.
[19:50] <trimeta> Does someone else?
[19:51] <jmarsden> trimeta: Who knows?  Assuming this is a fresh Ubuntu server installation, I suggest you just install the whole system more conventionally, rather than using your own strange methods, and then wondering why you get odd issues ?
[19:52] <trimeta> I wanted to start from a degraded RAID1 array, and the ncurses installer doesn't allow that.
[19:52] <trimeta> So I tried making the array separately, but screwed up and made it RAID5.
[19:52] <trimeta> Then I went back and made it RAID1 again, though that didn't entirely work, as noted above.
[19:53] <foo> andol / jmarsden / neonfreon  - thanks for the tips guys, I'm going to replace the drive
[19:53] <trimeta> I tried using the ncurses installer to install grub, and the last time it seemed to work.
[19:54] <trimeta> I mean, it did work, insofar as the machine boots. But whatever it did with grub doesn't let go of /dev/sda1.
[19:55] <jmarsden> trimeta: So... just start over.  dd a few MB of zeroes to each drive if you want to be sure, and then reinstall from scratch.  Why do you want to start from a degraded RAID1 array anyway -- it is more logical to start with a working system, not a broken one :)
[19:55] <trimeta> Since the fourth drive, which will eventually go into the array, has all of the data I want to eventually copy onto the array.
[19:56] <trimeta> I could start over from scratch, but that would involve wiping the main RAID5 array used for /, and I have no reason to believe there's anything wrong with that.
[19:56] <trimeta> Also, it's 4.5 TB. I don't exactly want to reformat that.
[19:58] <trimeta> If I thought that booting the install disk and carefully bypassing the main "install the main system" step would work, I'd do it, but after I messed with stuff I went back and reran all the steps in the installer which had failed.
[19:58] <trimeta> And that obviously didn't work.
[19:59] <jmarsden> trimeta: OK... it just sounds like you have gone down a rabbit trail and got lost, and now things are peculiar... is borrowing a spare drive to use a temp storage not an option?  So you can copy your data to the spare drive, then install the system conventionally, then copy data off the spare drive.  Job done, no messing about needed.
[19:59] <trimeta> It's 1.5 TB. I don't have a "spare drive" I can just happen to use for that.
[20:00] <trimeta> Seriously, is this the "Ubuntu way"? Do things precisely as the instructions say, or you're on your own and we won't try to help you?
[20:01]  * mneptok blinks
[20:02] <jmarsden> trimeta: I have no idea.  I do not work for Ubuntu.  Seriously, doing things the way most people do is more likely to be successful than exploring new weird ways of doing things and getting stuck.  That's just based on 20+ years of professisonal computing experience, not nearly all of it Ubuntu-related.
[20:02] <mneptok> trimeta: people on IRC are volunteers. no one, anywhere on IRC, is obligated in any way to help you.
[20:03] <mneptok> trimeta: the good news is that Canonical sells support contracts for Ubuntu. purchase one, and the paid Canonical support staff *will* be obligated to help you, as long as you are discussing supported packages (Main repo).
[20:03] <trimeta> I know, but if you don't know what's going on, just say that, not "you did something weird, so don't come back until you do it normally."
[20:04] <ScottK> trimeta: If you do something in a non-standard way, I am more likely to know how to help you.
[20:05] <mneptok> ScottK: s/non\-// ?
[20:05] <ScottK> mneptok: Yes.
[20:06] <mneptok> trimeta: maybe my scrollback is a bit messy, but i don;t see anyone ven coming close to saying "don't come back until ..."
[20:06] <mneptok> *even
[20:06] <trimeta> That's fine, but presumably I considered the standard way. "Stop doing things weird" isn't useful advice. "I don't know," while not useful advice either, at least doesn't carry the implication of "you're dumb for having tried anything else."
[20:07] <ivoks> ah...
[20:07] <ivoks> i wanted to help, but too much text :)
[20:08] <mneptok> ivoks: my standard reply to prfessors when Tolstoy was assigned reading.
[20:08] <ivoks> :)
[20:08] <ivoks> crime and punishment?
[20:08] <ivoks> that's a good book
[20:08] <ivoks> i've read it in 3 days :D
[20:09] <ivoks> ah, no, that was dostoyevsky :D
[20:13] <mneptok> Warts And Fleas
[21:23] <scix> good evening from norway. I'm new to OpenVPN and i'm reading this guide https://help.ubuntu.com/9.10/serverguide/C/openvpn.html Is there some type there. Can't get the urls and config files to add up this the previus step
[21:24] <scix> *some type of typo
[21:25] <cjwatson> eagles0513875: it's ia32-libs, not ia32libs (it was never spelled "ia32libs")
[21:25] <eagles0513875> i got it
[21:25] <eagles0513875> didnt have repos that had it enabled
[21:45] <Davidf88> guys, bluetooth dongle on ubuntu server - need help!
[22:50] <zroysch> where is the log that tells me why tcp connections fail on my server for several minutes before coming back up. during this time i can still ping
[22:50] <zroysch> i was tcpdumping to a file and it just stops, without saying much of why its stopping.
[23:02] <A|3x> hi
[23:02] <A|3x> i am having difficulties with apache, anybody care to help?
[23:03] <A|3x> what should be the owner and group of files in /var/www/
[23:04] <ScottK> A|3x: Please ask a specific question and people will generally answer, but this channel is generally pretty slow on the weekends.
[23:04] <A|3x> mod_rewrite doesn't work
[23:05] <A|3x> after i moved my wordpress installation over to ubuntu server from centos mod_rewrite doesn't work
[23:13] <zroysch> A|3x: not sure. tried #apache?