/srv/irclogs.ubuntu.com/2009/12/05/#ubuntu-server.txt

unit3TDJACR: 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.00:03
chmacAny idea how to delete a file that generates "rm: cannot remove `14.': Input/output error" ?02:25
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:32
janae_i've followed this documentation https://help.ubuntu.com/community/Exim4 but can't get it to work02:33
jmarsdenchmac: 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
chmacjanae_: I suggest you post a specific error or issue. "I can't get it to work" doesn't allow anyone to help you...02:37
chmacjmarsden: Same error for sudo rm. It's a regular file.02:38
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:39
jmarsdenchmac: 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
chmacjanae_: 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:40
jmarsdenjanae_: Have you tried asking in #exim ?  Sounds like SMTP auth is not actually fully enabled in your configuration yet.02:41
iarpis the user 'backup' system required? i can't remember if i created it months ago and i'm having to clean up users02:41
janae_jmarsden, I'll check there thanks02:41
jtajiiarp: backup user is created by the install02:42
iarpjtaji: ty02:42
jmarsdeniarp: 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:42
iarpi have a folder within /home/ for backup but theres nothing inside it, think it'll be fine to delete02:43
jmarsdenProbably.  Who owns it?02:43
iarpmyself actully lol02:43
jmarsdenThen yes, it is safe to delete.02:43
iarpthx mate02:44
jmarsdenNo problem.02:45
kshahI 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 member03:22
kshaham I suppose to reinit the user some how?03:22
clusty1hey04:11
clusty1a bit of a retarded question: what is the regex that matches files of this pattern:04:11
clusty1R<2 numbers>_2<anything>.csv04:12
clusty1basically [0-9] twice04:12
uvirtbotNew bug: #296841 in vm-builder "root account has ! as default password" [Critical,Fix released] https://launchpad.net/bugs/29684104:26
chmacAny idea how to delete a file that generates "sudo rm: cannot remove `14.': Input/output error" ? Regular file...05:00
jmarsdenchmac: Did you fsck that filesystem yet?  Anything show up?05:06
chmacjmarsden: I ran an fsck a while back, I could try it again, good advice05:07
jmarsdenchmac: You could also check /var/log/messages for messages regarding disk i/o problems.05:07
chmacjmarsden: Nothing pops up in /var/log/messages when I try rm again05:08
jmarsdenchmac: What does     ls -l 14.      output?05:10
chmacjmarsden: "ls: cannot access StraightPress.off/14.: Input/output error"05:10
jmarsdenchmac: Hmmm.  So it can't even read the directory entry for the file.05:11
chmacjmarsden: Yeah05:11
jmarsdenchmac: 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
jmarsdenOf course, if you have a few TB of files in that directory this may not be a smart thing to try :)05:13
chmacjmarsden: Yeah, the folder was StraightPress, the .off is because I moved all the other files out :-)05:14
chmacjmarsden: rm -rf StraightPress.off/ gives me the same error, it tries to rm the files recursively05:14
jmarsdenOK.  So... fsck seems called for.  Boot from a livecd if you need to05:14
chmacjmarsden: 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 started05:15
jmarsdenIf the directory is on a partition that is not your / partition, then yes, booting into recovery mode will do it.05:15
chmacjmarsden: Oh yeah, it's on my /home partition, I could probably unmount that if I logged in as root05:16
jmarsdenGo for it :)05:16
chmacNice, that'll be ever so slightly simpler05:16
chmacjmarsden: Thanks for all your help05:16
jmarsdenNo problem.05:17
erichammond"smoser: erichammond, getting closer... now i can upload images, just not kernels" <- Welcome to my world :-\06:26
Y_Guyi can't for the life of me get apache to work06:28
jmarsdenY_Guy: You'll need to be considerably more specific if you want anyone to help you with that :)06:30
Y_Guyok06:30
Y_Guyi unzip the package, and try to use make command06:30
Y_Guyand make install won't work - it says nothing needs to be done for install06:30
Y_Guybut nothing is done, thats the thing06:30
jmarsdenWait... on Ubuntu server you unzip something???  sudo apt-get install apache2   #  will install apache206:30
Y_Guyusing apt-get also leaves me with nothing, have already unistalled and reinstalled06:30
jmarsdenWhat are you unzipping and where did you get it from?06:31
Y_Guytried already, so i resorted to trying the unzipping the download thing06:31
Y_Guyhttp://webdesign.about.com/cs/apache/a/aainstallapache.htm06:31
Y_Guyfollowign this06:31
jmarsdenLet's go back to the packaged approach :)06:31
Y_Guyok sure06:31
jmarsdenWhat exactly happens if you do     sudo apt-get install apache206:31
Y_Guyit says its installed - newest version etc06:32
Y_Guybut when i look under root/etc there's no apache2 folder06:32
jmarsdenLook for /etc/apache2/  not root/whatever06:33
jmarsdenWho or what told you to look under root/ ?06:33
Y_Guythere is no apache2 :s06:33
Y_Guyno one did, i know i'm in the etc directory06:33
Y_Guyi'm just getting my terms wrong, its been a while :P06:33
jmarsdenOK, what does    ls -ld /etc/apache2      output?06:34
jmarsdenY_Guy: You can just cut and paste the command from your IRC session into your command shell window...06:35
Y_Guyls: cannot access /etc/apache2: No such file or directory06:35
jmarsdenHmmm.  What does   dpkg -l apache2     say (just the last line)?06:36
Y_Guyii  apache2                           2.2.11-2ubuntu2.5                 Apache HTTP Server metapackage06:37
jmarsdenLooks sane... what's missing?    Try   dpkg -l apache2.2-common   and tell me the last line again?06:39
Y_Guyii  apache2.2-common                  2.2.11-2ubuntu2.5                 Apache HTTP Server common files06:39
Y_Guywhat if i had deleted the apache folder? i was attempting to instal using the zipped thing and i removed it a few times06:41
Y_Guyits definitely possible i deleted the apache folder by accident06:41
jmarsdenSigh.  OK.    sudo apt-get purge apache2.2-common06:41
jmarsdenAnd then we will reinstall and see if that helps.06:42
Y_Guydone06:42
Y_Guyso normal reinstall now?06:42
jmarsdenYes, sudo apt-get install apache206:42
Y_Guydone06:43
jmarsdenNow does ld -ld /etc/apache2   show you a directory?06:43
Y_Guyyes, the dir is there06:43
Y_Guynow, i suppose i should start it just to see if its working06:43
jmarsdenOK.  When you did the install, did it say it started the apache2 server?06:43
Y_Guyits apache2ctl start correct?06:43
Y_Guyoops sorry, let me check06:44
Y_Guyit did indeed say that06:44
jmarsdensudo /etc/init.d/apache2 start     # should work, but it should have done it for you.06:44
Y_Guyok - so how could i test that?06:44
jmarsdenSo browse to http://localhost and see if you get "It works"06:44
jmarsdenuse lynx or w3m or any text mode browser of your choice.06:45
Y_Guygoing to need a full command there i think06:45
Y_Guyif you don't mind :s06:45
jmarsdenLike....   lynx http://localhost06:45
jmarsdenOr    w3m http://localhost06:45
jmarsdenIf they are not installed, sudo apt-get install lynx     # or   sudo apt-get install w3m06:46
Y_Guyyes, done06:46
Y_Guygot the it works!06:46
jmarsdenOK, so you bnow have a working apache2.06:46
Y_Guythanks a ton :)06:47
jmarsdenNo problem.  Always use packaged software whenever you can, only experts should try installing non-packaged stuff.06:47
Y_Guyyeah, i figured it was a bad idea :/06:47
Y_Guyquick question again06:47
Y_Guyi want to change  documentroot in httpd.conf06:47
Y_Guyis that the only thing i need to change to change the dir i host from? what's the difference between docroot and serverroot?06:48
jmarsdenServer 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_Guyi was under the impression that was what i had to change to serve files from a different directory?06:49
jmarsdenYou are sort of correct but need to understand the way Debian sets up Apache.  For example httpd.conf is empty :)06:50
Y_Guyahh i see - i admit the majority of the experience i've had with apache has been on windows06:50
Y_Guyobviously quite different06:50
Y_Guyif I do want to change the directory i host from, how would i go about it if httpd.conf is empty?06:51
jmarsdenFirst 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:51
Y_Guyi actually did read some of that already06:52
Y_Guyi have this habit of diving into things head first, regardless of rocks :P06:52
jmarsdenOK. 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:53
Y_Guywell, i'm off now, i need sleep06:54
Y_Guythanks again for all your help :)06:54
jmarsdenNo problem.06:55
sporedihow do i install windows xp on ubuntu want understand with cloud07:03
jmarsdensporedi: 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
sporediok07:06
sporedithx07:06
sporedican i send u pm07:06
jmarsdenJust discuss here, unless it is truly personal :)07:07
jmarsdenThat way others can learn from the discussion.07:07
sporediok ,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 vpn07:08
sporedi_sorry i was rebooted07:11
jmarsdensporedi_: This is your first Ubuntu server installation and you want to set up your own cloud already?  Seems very ambitious.07:11
jmarsdenSee https://help.ubuntu.com/community/UEC07:12
sporedi_should i try or learn more ubuntu stuff07:12
jmarsdensporedi_: I would say learn more about Ubuntu server and managing a single Ubuntu server first, then learn the cloud stuff later.07:13
sporedi_ok07:13
khelvanHello, 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:26
mabuskhelvan: try visiting http://www.utorrent.com/testport?port=6881 from the IP address you're using, with port being set to whatever you're using07:43
khelvanmabus - thanks, but the ip address is a headless server, I don't have access to a browser07:45
jmarsdenkhelvan: Just use a text mode browser.   ssh into it and sudo install w3m    and then use w3m http://whatever...07:51
mabuskhelvan: well either nmap it, or yeah, what he said07:52
khelvanmabus, 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
khelvanAnd properly port forwarded.07:54
mabusnmap localhost from the ubuntu box07:55
jmarsdenkhelvan: 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.07:55
khelvanjmarsden - 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
khelvanThe tracker keeps timing out.08:00
jmarsdenI'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:05
mabuskhelvan: what's the tracker?08:08
mabusim oot08:09
khelvanjmarsden - thanks08:10
khelvanmabus - Not sure, like I said I'm a newbie at this. I got it from piratebay :)08:10
khelvanmabus - aha: http://eztv.tracker.thepiratebay.org/announce08:10
noobuntugood morning, anyone has the time to give me some tips about best approach how to partition a multi-host LAMP for development purposes?09:26
arjaone big partition?09:36
noobuntuarj: shouldn't I separate at least /home ?09:55
crohakon中方將統治世界10:08
BellotoHello. 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
BellotoI mean a package for doing it from command line10:14
mabusawstats?10:18
Bellotothank 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 interface10:27
BellotoI meant thank you mabus  ;)10:29
bmbAnyone wanna help ME?10:30
bmbme*10:30
arjjust ask10:31
arjnoobuntu, for simple servers I usually don't bother10:32
noobuntuarj: i would like at least to separate my project files from the system10:34
noobuntuarj: my projects are websites10:35
noobuntuarj: mail server will be also there, since I need it for testing mailing functions integrated into CMS (mostly drupal)10:37
uvirtbotNew bug: #492790 in mysql-dfsg-5.0 (universe) "package mysql-server-5.0 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/49279010:51
Aisonhello, apache error log reports this error: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/ldap.so11:12
broregI'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 ssh11:35
broregthe id for the card is  ID 050d:705a Belkin Components F5D7050A Wireless Adapter11:35
broregThis is how my /etc/network/interfaces looks http://paste.ubuntu.com/335169/11:39
embrikI 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
alex88Aison: is it there?12:02
alex88embrik: write user [ttyname] ?12:05
Aisonalex88, now it is. I had to reinstall php5 ldap12:07
alex88Aison: maybe it has been corrupted12:08
alex88the important is that it's working now..12:08
alex88broreg: have you tried that usb adapter on other pc?12:09
alex88btw can someone help me upgrading my vps?12:13
alex88using normal upgrade from 9.04 to 9.10 just make it non-booting12:13
broregalex88: on the same pc different OS it's fine, same adapter on another pc different os is fine too12:18
alex88mmhh..have you tried to make it connecting with wpa_supplicant?12:20
noobuntui'm getting a problem during karmic install - Installing the base system - Configuring console-setup... on 65% and stays there forever12:25
=== alex88 is now known as alex88[eat]
=== alex88[eat] is now known as alex88
smoserembrik, 'echo hello | wall'12:54
Skaagis upgrading as simple as changing hardy to jaunty in sources.list and doing a dist-upgrade?14:11
arjdon't froget to apt-get update first14:12
jtajiSkaag: I think you're supposed to use do-release-upgrade14:12
Skaagdo-release-upgrade finds no candidates14:12
Skaagarj: of course, update, then dist-upgrade14:13
Skaagweird thing is that do-release upgrade does this: Checking for a new ubuntu release14:13
SkaagNo new release found14:13
jtajiSkaag: there's something you have to change, right now it's keeping you to LTS14:13
SkaagI see14:13
jtajiforget where14:13
Skaagthe latest LTS is still 8.04 I guess?14:13
jtajiyes14:13
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:22
Libertywhat is the command to update my karmic server to get the latest security and stuff14:25
alex88apt-get update->apt-get upgrade14:25
alex88torkel_: have you set ip-masquerade and enabled ip_forward?14:26
Libertythanks..14:27
alex88can someone help me??? how can i check how my vps boots? cause there are no files in /boot... it's a xen vps14:27
Libertyupdate gets the files and upgrade installs .. correct?14:28
alex88Liberty: update gets the packages versions, upgrade downloads and installs packets14:28
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-ptp14:29
torkel_alex88: ip_forward is set to 1 on both servers14:29
alex88mmmhh..are you using openvpn?14:29
Libertytorkel_ thank you very much..14:29
torkel_alex88: and on the remote openvpn point i use iptables -t nat -A POSTROUTING ... -o eth0 -j MASQUERADE14:30
alex88so you use 2 servers? mmmhh14:30
torkel_alex88: ping passes fine, anything else is dropped at the final openvpn destination14:30
torkel_alex88: mysubnet->mygateway->openvpn over internet->anotherserver->internet14:31
alex88like: yourpc->home router->internet->openvpn server->internet?14:32
alex88or yourpc->openvpn server->internet->openvpn server->internet?14:32
torkel_the last one14:33
Libertyalex88 thanks so kindly14:33
alex88Liberty: glad to help14:33
alex88torkel_: 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:34
torkel_no firewalls, only masquerading/forwarding14:35
incorrectwhich is the best kernel to use for kvm?14:35
incorrectserver or generic14:35
torkel_alex88: and all traffic reaches remoteserver (tcpdump -i tun0 (vpn interface) shows that), only icmp echo passes14:36
alex88dunno man..i'm using openvpn only in one server... i've just installed apf, and set tap as trusted interface14:36
alex88set the masquerading and it's enough..14:36
alex88have 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:37
alex88i don't know so advanced ip-tables config..sorry14:38
alex88incorrect: dunno, i think server.. maybe it's improved for background processers14:38
alex88incorrect: dunno, i think server.. maybe it's improved for background processes14:38
incorrecti probably should compile a custom kernel anyway14:38
incorrectother than phpldapadmin, can anyone suggest a good desktop ldap admin tool?14:39
alex88never used ldap i'mm sorry14:50
Davieyalex88: on xen you often don't get to pick the kernel from within the domu/vps15:24
Doorman352Anyone recomend a good network analyzer, to spot collisions or retransmits?15:25
sjrMy 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 fine16:01
eagles0513875!ia32libs16:06
eagles0513875!info ia32libs16:06
ubottuPackage ia32libs does not exist in karmic16:06
eagles0513875hey guys what has replaced ia32libs16:06
Guest82271hey 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
Guest82271has anyone else had this problem?16:11
eagles0513875Guest64268: i havent tried cloud computing but thats saying something wiht how your network is laid out16:13
eagles0513875something about virtual lans16:14
=== johe__ is now known as johe
Guest82271ye i have to say there isnt much documentation out there, the steps that i followed seemed correct16:19
eagles0513875im not much help as this cloud computing is new to ubuntu as of karmic16:21
Y_GuyI know this is off-topic but i can only access my server thru my lan, not online - entering the ip address gives me nothing16:26
Y_Guyif anybody could help just throw me a pm, thanks :)16:26
eagles0513875Y_Guy: do you have openssh-server installed16:27
eagles0513875then all you need to access ur server is the ip and an ssh client16:27
Y_Guycommand to tell? but i'm pretty sure i do16:27
eagles0513875apt-cache policy openssh-server16:27
Guest82271netstat -punta | grep 2216:27
Y_Guyi want to access the site - i already using ssh to access my server remotely16:28
eagles0513875what site16:28
eagles0513875a website16:28
Y_Guybut the site i'm hosting i can only get to by entering the lan address16:28
Y_Guyyes16:28
Guest82271port forwarding on a router?16:28
Y_Guythat may be my problem16:28
Y_Guyi have a router - 1 desktop connected, 1 server, and 2 laptops16:28
Guest82271have u tried to telnet to port 80 from outside your network?16:29
Y_Guyi haven't done anything to it16:29
=== Guest82271 is now known as rj175
Y_Guyno, i haven't tried16:29
rj175try that16:30
rj175if u cnt telnet into it then im guessing its your router or iptables or possibly both16:30
Y_Guyi can't telnet16:31
Y_Guyit definitely could be my router - haven't touched it16:31
rj175ye prob is16:31
Y_Guyhow would i go about fixing it?16:31
rj175what kind of router do u have?16:31
Y_Guysec16:31
=== fahadsadah is now known as TarquinFinTimLin
Y_Guydlink wireless16:33
=== TarquinFinTimLin is now known as TarquinBiscuitba
=== TarquinBiscuitba is now known as fahadsadah
rj175do u have a model ?16:33
Y_Guyi will find it, sec16:34
rj175np :)16:34
Y_GuyDIR 61516:35
rj175http://portforward.com/english/routers/port_forwarding/Dlink/DIR-615/Apache.htm16:35
rj175that should help you16:35
Y_Guygreat, thanks a lot :D16:36
rj175np :)16:36
rj175that sites good for setting up other port forwards, ive started making my servers DMZ and using IP tables16:36
Davidf88rj175: hello16:39
rj175Davidf88: Hey funny seeing you here :P16:39
rj175any cloud experts here?16:44
zroyschwhere 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 ping16:51
Aisonis anybody using mrtg on ubuntu server?17:25
arjI used to17:25
arjcacti now17:25
arjwith rrd17:25
Aisonhmm, maybe I should check that also17:26
Aisonhard to install?17:28
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
Aisonyes17:34
Aisonuse ip route to create alternativ routing tables17:35
Aisonand "ip rule" to define filters which packets have to go to the alternative route17:35
Aisoneg. ip rule add from 192.168.0.0/24 table yourRoutingTable17:36
Aisonnow 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 time17:36
Aisonthe name "yourRoutingTable" have to be defined in "/etc/iproute2/rt_tables"17:37
Aisonthis file is a simple name to index list17:37
Aisonsimply take a unused index17:37
Aisonarj, do you use cacti-spine?17:48
ruben23hi i run this command--->dpkg –get-selections | grep sun-java------> got error http://pastebin.com/m4e4513c, anyone have idea..?17:54
arjthe error is quite clear17:54
arjit's --get-selections17:54
ruben23arj: what arguments should it be..?17:55
arjwhat i just said17:55
ruben23arj: even i remove it still the same error17:56
arjremove what?17:56
jmarsdenruben23: 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
arjit doesnt take an argument17:58
arjbut he does need to look carefully at the option17:58
jmarsdendpkg -get-selections sun-java\*    # sure it does.17:59
jmarsdendpkg --get-selections sun-java\*    # sure it does.17:59
arjoh yeah17:59
arjit doesnt need one, but it does take on17:59
arje17:59
arjyou're right17:59
ruben23 jmarsden:thanks18:00
jmarsdenruben23: You're welcome.  Please do read man pages when you have issues like this, they really do help :)18:01
trimetaMy installation was humming along nicely, until I got to the grub-install step.18:15
trimetaI'm getting "Unable to install grub to /dev/sda: Executing 'grub-install /dev/sda' faiiled. This is a fatal error."18:15
trimetaHow can I figure out what's going on and fix it?18:15
trimetaShould I switch over to the virtual terminal and try running grub-install myself?18:17
trimetaI 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:20
trimetaShit, 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?18:32
Malekoi notice there are lot of console-kit-daemon processes running in my server after upgrading from 8.1019:04
Malekowhats up with this19:04
uvirtbotNew bug: #491148 in apache2 (main) "wollte gallery installieren und bekam fehler" [Undecided,Invalid] https://launchpad.net/bugs/49114819:11
Aisonarj, this cacti is really cool19:21
Aisonhehe19:21
AisonI added 10 devices ;)  all my switches and servers :D19:21
Aisonanybody using cacti and ldap?19:21
NafalloAAAAA19:22
fooIf badblocks -vvv is reporting 95 badblocks, should I replace the drive?19:22
Nafalloquagga is broken in both jaunty and karmic. just saying.19:22
Nafallosoren: ^--19:22
fooGah, sorry, lost connection. If badblocks -vvv is reporting 95 badblocks, should I replace the drive?19:35
jmarsdenfoo: Probably.  In any case you should make frequent backups of any data on it!19:38
foojmarsden: 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 out19:38
andolfoo: In case you need to be 100% sure, then you should replace it.19:39
foowell, maybe I'm exaggerating, but I just want to understand this stuff19:39
fooshould I use smartctl to help me?19:39
fooI've been reading on that... but it doesn't seem to be in accordance with badblocks19:40
andolfoo: 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
jmarsdensudo smartctl -H /dev/sda   # will tell you smartctl's current assessment of drive health19:40
neonfreonthey could have been there from the factory19:41
foothanks guys, it's a 40GB drive that's years old19:41
neonfreonlike andol suggests, whats important is how the number changes19:41
foohere is the output from smartctl -a  http://x03.ath.cx/temp/smartsdc.txt19:41
fooneonfreon: yeah19:41
foojmarsden: let me try that19:41
foojmarsden: that says overall-health self-assessment test result: passed19:42
neonfreonive had drives fail with no warning from smart19:42
neonfreongood luck19:42
neonfreon40gb must be old indeed19:42
andolfoo: 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:42
fooandol: that's important, but I want to do a little learning to make sure I understand this better19:43
fooandol: this is for a local home server19:43
foo(mine)19:43
andolfoo: True, learning is always a good investment.19:43
foowhat'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 measure19:44
fooI am trying to reconcile badblocks with what smartctl is telling me19:44
foo... and so far I am unable to :)19:44
jmarsdenfoo: 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
andolfoo: Let me guess, badblocks isn't showing you any bad blocks?19:45
fooandol: on the 1TB drive?19:46
foojmarsden: ok, so is it safe to assume that by showing that it's time to replace the drive?19:46
neonfreonjust back it up!19:46
andolfoo: never mind.19:47
jmarsdenfoo: 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:47
trimetaSo, 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
fooneonfreon: I have :) I'm learning19:48
andolfoo: 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
foojmarsden: haha, good point19:48
foo:)19:48
trimetaThis 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
neonfreonide drivers are expensive now19:48
neonfreon-r19:48
trimetaSo, everything seemed to be working fine; the new system boots and everything.19:48
trimetaThen I tried to mount /dev/md0 so I could update my kernel. And found I didn't have a /dev/md0.19:48
trimetaWhat's going on?19:48
trimetaI 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
trimetaDid grub not let go of it?19:49
trimetaI don't understand the grub2 configuration enough to know what's happening here.19:50
trimetaDoes someone else?19:50
jmarsdentrimeta: 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:51
trimetaI wanted to start from a degraded RAID1 array, and the ncurses installer doesn't allow that.19:52
trimetaSo I tried making the array separately, but screwed up and made it RAID5.19:52
trimetaThen I went back and made it RAID1 again, though that didn't entirely work, as noted above.19:52
fooandol / jmarsden / neonfreon  - thanks for the tips guys, I'm going to replace the drive19:53
trimetaI tried using the ncurses installer to install grub, and the last time it seemed to work.19:53
trimetaI mean, it did work, insofar as the machine boots. But whatever it did with grub doesn't let go of /dev/sda1.19:54
jmarsdentrimeta: 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
trimetaSince the fourth drive, which will eventually go into the array, has all of the data I want to eventually copy onto the array.19:55
trimetaI 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
trimetaAlso, it's 4.5 TB. I don't exactly want to reformat that.19:56
trimetaIf 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
trimetaAnd that obviously didn't work.19:58
jmarsdentrimeta: 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
trimetaIt's 1.5 TB. I don't have a "spare drive" I can just happen to use for that.19:59
trimetaSeriously, 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:00
* mneptok blinks20:01
jmarsdentrimeta: 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
mneptoktrimeta: people on IRC are volunteers. no one, anywhere on IRC, is obligated in any way to help you.20:02
mneptoktrimeta: 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
trimetaI 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:03
ScottKtrimeta: If you do something in a non-standard way, I am more likely to know how to help you.20:04
mneptokScottK: s/non\-// ?20:05
ScottKmneptok: Yes.20:05
mneptoktrimeta: 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*even20:06
trimetaThat'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:06
ivoksah...20:07
ivoksi wanted to help, but too much text :)20:07
mneptokivoks: my standard reply to prfessors when Tolstoy was assigned reading.20:08
ivoks:)20:08
ivokscrime and punishment?20:08
ivoksthat's a good book20:08
ivoksi've read it in 3 days :D20:08
ivoksah, no, that was dostoyevsky :D20:09
mneptokWarts And Fleas20:13
=== jfluhmann is now known as apunk
=== apunk is now known as jfluhmann
scixgood 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 step21:23
scix*some type of typo21:24
cjwatsoneagles0513875: it's ia32-libs, not ia32libs (it was never spelled "ia32libs")21:25
eagles0513875i got it21:25
eagles0513875didnt have repos that had it enabled21:25
=== noobuntu_ is now known as noobuntu
Davidf88guys, bluetooth dongle on ubuntu server - need help!21:45
uvirtbotNew bug: #490732 in qemu-kvm (main) "KVM guests no longer start after upgrading host system from 9.04 to 9.10 (i386)" [High,New] https://launchpad.net/bugs/49073222:46
zroyschwhere 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 ping22:50
zroyschi was tcpdumping to a file and it just stops, without saying much of why its stopping.22:50
A|3xhi23:02
A|3xi am having difficulties with apache, anybody care to help?23:02
A|3xwhat should be the owner and group of files in /var/www/23:03
ScottKA|3x: Please ask a specific question and people will generally answer, but this channel is generally pretty slow on the weekends.23:04
A|3xmod_rewrite doesn't work23:04
A|3xafter i moved my wordpress installation over to ubuntu server from centos mod_rewrite doesn't work23:05
zroyschA|3x: not sure. tried #apache?23:13

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