/srv/irclogs.ubuntu.com/2010/01/07/#ubuntu-server.txt

=== MTecknology is now known as Linux
=== Linux is now known as MTeck-Linux
=== kirkland` is now known as kirkland
=== dendrobates is now known as dendro-afk
dim3000how do I start openbox from terminal?02:08
dim3000or any other de for that matter02:13
=== dendro-afk is now known as dendrobates
tonyyarussoWould anyone be able to help me set up ejabberd to have users authenticated against system accounts through PAM?03:16
nvmedoes the server version come with any gui ?03:24
subnot by default, but if you were so inclined you could install one03:25
tonyyarussonvme: not be default.  You likely want to look into ebox.03:25
nvmehow easy is it to put something like gdm on it ?03:26
tonyyarussoVery, but you have to ask yourself why you would want to.03:27
nvmei dont want to, my boss does so the noobies can do stuff too :P03:31
=== Jagged_ is now known as Jagged
tonyyarussoInstalling GDM won't make it any easier for people to administer the server.  It will only make it easier to break it.03:31
nvmew.e03:35
nvmeill just wing it03:35
=== dendrobates is now known as dendro-afk
uvirtbot`New bug: #503768 in clamav (main) "package clamav-freshclam 0.95.3+dfsg-1ubuntu0.09.10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2" [Undecided,Incomplete] https://launchpad.net/bugs/50376805:47
=== dendro-afk is now known as dendrobates
keessoren: how about gcc, glibc for your test-suite tests?07:08
keessoren: and then, everything listed in lp:~ubuntu-bugcontrol/qa-regression-testing/master/  build_testing/07:10
keesextensive instructions on how to modify various packages to get their internal testsuites to run.07:13
=== dendrobates is now known as dendro-afk
kaushalhi08:41
kaushalany gui application for viewing postfix maillog file ?08:41
uvirtbot`New bug: #504157 in eucalyptus (main) "Lucid UEC installer: CC install is not preseeded when separated from CLC" [High,Confirmed] https://launchpad.net/bugs/50415708:46
jmarsdenkaushal: Any text editor would work.  Emacs, gedit, whatever you use for editing text files is fine.08:51
* soren has *again* just had a bird in his office09:25
sorenAn actual bird. The sort that flies.09:25
Jeeves_lol09:25
Jeeves_soren: Do you have your windows opened?09:25
sorenHeck no.09:26
sorenIt's freezing outside.09:26
_rubenhaha09:26
soren(That's my current excuse. during the summer, I use other excuses to never open my window)09:26
sorenIt's a hassle. Eventually I have to close the darn thing again.09:27
Jeeves_soren: So how did the bird get in? :)09:27
sorenJeeves_: Beats me. My house must be leaking.09:28
sorenMy wife do open windows, though. Maybe it flew in that way and somehow thought, "hey, I'll go against all my instincts, and fly down to the darkest corner of the basement and scare the shit out of someone."09:28
Jeeves_:D09:29
sorenWorst part: I have no clue where it is now. It's still in here somewhere, waiting for me to be really concentrated, and then it'll come back out and freak me out.09:29
ewooklol09:30
Jeeves_Has everybody upgraded powerdns recursor, btw?09:30
Jeeves_Hmm, Ubuntu hasn't upgraded pdns-recursor yet09:45
Jeeves_Hmm, it has been updated09:49
Jeeves_An hour ago :)09:50
jumbersWhat's the best way to diagnose random hard locks? This is occurring after a kernel upgrade to 2.6.31-1710:23
gzurGHello$sql1 = "UPDATE lmi_ornefni_flakar SET nafn = $1, nafnberi = $2, dags_leidr = '" . $data_date_nuna . "', flokkur = $3, notandi = $4, heimildir = $5, tvinefni = $6, eytt = $7, eytt_dags = $8, eytt_notandi = $9, eytt_skyring=$10,tilvist=$11 WHERE nameid = $12";10:50
gzur$sql2 = "UPDATE lmi_ornefni_linur SET nafn = $1, nafnberi = $2, dags_leidr = '" . $data_date_nuna . "', flokkur = $3, notandi = $4, heimildir = $5, tvinefni = $6, eytt = $7, eytt_dags = $8, eytt_notandi = $9, eytt_skyring=$10,tilvist=$11 WHERE nameid = $12";10:50
gzur$sql3 = "UPDATE lmi_ornefni_punktar SET nafn = $1, nafnberi = $2, dags_leidr = '" . $data_date_nuna . "', flokkur = $3, notandi = $4, heimildir = $5, tvinefni = $6, eytt = $7, eytt_dags = $8, eytt_notandi = $9, eytt_skyring=$10,tilvist=$11 WHERE nameid = $12";10:50
gzuroops10:50
gzursorry about that10:50
Jeeves_:)10:50
gzurSome prepared statements for your perusal.10:51
gzurI just set up ubuntu server and told it to install tomcat6 when I was setting it up.10:51
gzurbut I can't figure out how to start/stop the tomcat server...10:52
gzurit starts up fine on boot10:52
gzurbut atm if I want to reboot the server, I have to reboot the box - which is somewhat less than optimal.10:53
gzurthe shell scripts under /bin don't seem to do anything10:53
Jeeves_gzur: /etc/init.d/tomcat<tabtab> (stop|restart|start)10:54
gzurI'm thinking there's something very obvious that I'm missing here, and was wondering whether anybody could point me in the right direction...10:54
gzurthanks10:55
gzurinit.d10:55
* gzur goes googling what10:56
gzurinit.d is about.10:56
gzurthanks a boatload10:57
garymchey anyone know how to use ftp. I set it up so i could access my ftp web server from the internet. Now I had 5 static ip address's assigned and i assigned one to my LTSP server now i cant ftp to it remotley. Do i have to change anything in ftp and how? what files do i alter and where are they. PLEASE HELP!!11:29
ycyhi there11:49
ycyI have a problem11:49
ycyi deleted all the files in /etc/apt/apt.conf.d/11:49
ycyhow can I regenerate them?11:49
jiboumansycy: assuming you dont have a backup of your /etc or aren't using etckeeper (suggest you do from now on), try using dpkg -S apt.conf.d11:52
jiboumansthat will show you all packages that have installed a file in there11:52
ycyok11:52
ycythen dpkg reinstall all of those pkg?11:52
jiboumans*nods*11:53
alvinWill that work if his apt.conf.d directory is empty?11:53
uvirtbot`New bug: #504215 in libvirt (main) "virsh fails to start kvm domain with bridged nic" [Undecided,New] https://launchpad.net/bugs/50421512:26
acalvohi12:47
acalvoand happy new year12:48
acalvo:)12:48
acalvowhat is the best way to sync between two servers?12:51
cemcacalvo: sync what? is there a master/slave relation? rsync?12:51
acalvoyes, is there a master/server relation12:52
acalvoI want to set up a backup server, so in case the master goes down, the slave takes control of everything (ldap, samba, and so on)12:52
cemclike failover or you start the backup server manually?12:53
acalvowhatever is easier12:53
acalvoI don't mind starting it manually12:53
cemcI would probably do it with rsync, at night when nobody's using it (if that's the case here), and have all the configurations in place in case I have to switch. but that's just me, there are probably much better ways to do it12:55
cemcand more complicated ways too :)12:56
acalvothat sounds pretty useful12:56
acalvojust rsync?12:56
cemcthe problem with that setup is, after you get the master server back up, you have to sync back the changes made on the backup. it really depends on your situation, maybe you should google it first ;)12:57
=== mcasadevall is now known as NCommander
acalvocemc: yes, could be really a problem13:10
zulmorning13:13
=== robbiew1 is now known as robbiew
sommeryo13:27
acalvosommer: tu13:29
=== zoopster1 is now known as zoopster
acalvowhat is the best way to sync two servers?14:13
uvirtbot`New bug: #470179 in php5 (main) "php5 crashed with SIGSEGV in start_thread()" [Medium,New] https://launchpad.net/bugs/47017914:17
_rubenacalvo: define "sync"14:26
acalvo_ruben: I've a production server, and last month we had a power failure which lead to a really big data crash, and I've waste like 5h trying to get it working again (we had backups, but only 1 a day)14:28
acalvoso I'm trying to focus in having two servers: a master/slave relation. So, if one fails, start the other without any data loss14:29
acalvoI don't know if I can run a rsync every hour (or so), or if there is any other solution more appropiated for this goal14:29
_rubenif you want realtime sync of data use something like drbd14:30
acalvommm, clustering then14:30
acalvobut I've already the server working14:31
_rubendrbd can be activated with existing data .. must admit, never done it myself (drbd is still on my todo/wish list)14:32
acalvoI'll give it a look, but I don't know if it fits in the actual enviorenment14:33
acalvois there any other solution?14:33
_rubenits the only realtime sync solution im aware of14:33
_rubenclosest alternative would be a scheduled rsync as you stated yourself14:34
sorenglusterfs14:34
acalvothanks you both, I'll give it a try for both solutions14:35
acalvobut seems that your point is right: clustering14:35
acalvono matter how, is the best way to accomplish real-time data sync14:35
uvirtbot`New bug: #504262 in eucalyptus (main) "Lucid UEC installer: NC doesn't publish its existence" [High,In progress] https://launchpad.net/bugs/50426214:46
EthosAnyone know a way of installing vmware tools into ubuntu server 8.10?14:48
EthosIt seems impossible to find a guide that just works14:48
ttxkirkland: stumbled on bug 504262 now ... I reverted the eucalyptus-nc-publication job to start on "started eucalyptus-nc", pending a more elegant solution with upstart. At least it works.14:49
uvirtbot`Launchpad bug 504262 in eucalyptus "Lucid UEC installer: NC doesn't publish its existence" [High,In progress] https://launchpad.net/bugs/50426214:49
kirklandttx: did you noticed i made libvirt upstart savvy?14:50
ttxkirkland: that's good :)14:50
kirklandttx: and set eucalyptus-nc to start on started libvirt?14:50
kirklandttx: i'm hoping that will take care of a few -nc problems14:50
kirklandttx: not sure it'll solve this though, but i'd be interested in testing14:51
ttxkirkland: not it won't solve this one14:51
kirklandttx: ah, this is the ssh respawn one14:51
ttxwell, an avahi-daemon respawn one14:51
ttxa less-ugly solution would be to use respawn and some way to make it not respawn very fast14:52
ttxsince apparently upstart won't really check state without an event to force it to14:52
ttxkirkland: you know of a way to make upstart respawn slowly ?14:53
kirklandttx: heh :-)14:53
kirklandttx: well, i'm learning more about upstart each night14:53
ttxI hit the respawn limit even on a avahi-daemon restart (which is quite fast)14:54
kirklandttx: that i'm not sure about, but I'll ask slangasek14:54
ttxwe might have to corner the upstart experts at the sprint14:54
kirklandttx: agreed, would be nice to get a comprehensive review of eucalyptus*upstart and their dependencies14:54
kirklandttx: it would be nice to get that on the calendar14:55
kirklandttx: as a 1.5 hour meeting or something14:55
ttxright, let me see if there is a place for that yet14:55
ttxnot yet14:56
EthosAnyone know how to install vmware-tools into server 8.10?14:56
EthosI think 99% of the guides on the internet are written by people who simply make them up14:57
* ttx tries a 5-component separated install now14:57
kirklandttx: as for the "solution", starting on started eucalyptus-nc, that certainly seems reasonable to me14:58
ttxkirkland: well, nothing ensures that ssh / avahi-daemon are available then14:58
ttxkirkland: even if thery always are in my experience14:58
ttxand as soon as you add an "and" to that, trouble starts14:59
kirklandttx: then start on started ssh, avahi-daemon, and eucalytpus-nc ?14:59
Ethosk15:00
ttxkirkland: that would still fail if avahi-daemon is restarted15:00
Ethoshelpful bunch15:00
ttxavahi-publish sigterms when avahi-daemon is stopped15:01
gzur_I've got an ubuntu-server running X. I can connect to it from my windows machine over SSH using putty fine.15:01
gzur_What I'm wondering is whether I can somehow connect to the X server from my windows machine.15:02
gzur_Could you guys at least point me in the right direction.15:02
ttxkirkland: but I agree it's slightly better15:02
ttxand will apply it.15:03
ttxdone15:06
ttx"<gzur_> I've got an ubuntu-server running X" then it's an ubuntu desktop, no ?15:07
ttxEthos: you might have more success in #ubuntu-virt15:08
jiboumansgzur_: you'll need x-forwarding enabled and an x capable client. alternately you can use vnc or somesuch. As ttx pointed out, the desktop folks are more likely to know specifics15:09
gzur_ttx: well - sure.. it's actually ubuntu-server onto which I installed metacity15:09
Ethosttx: that's great thanks :)15:09
gzur_awright15:09
gzur_thanks15:09
ttxEthos: not eveyrone (especially here) is using/needing vmware15:09
EthosYeah, I thought as much15:09
jiboumansgzur_: if you want access to the 'remote desktop', vnc or some such is your best bet and should be easy to set up15:10
gzur_ok15:10
=== dendro-afk is now known as dendrobates
Jeeves_You cannot file bugs on PPA-packages, it seems?15:14
ScottKJeeves_: No.  They aren't in Ubuntu.  Just mail the person that runs the PPA.15:14
Jeeves_ScottK: I'm the person running the PPA!15:15
* Jeeves_ was looking for cheap karma :)15:16
ScottKAh.15:16
Jeeves_Would be a nice feature though15:16
ScottKJeeves_: What I did for the Kubuntu PPA, ~kubuntu-ppa, was make a LP project called kubuntu-ppa and have it have a bug tracker.15:16
ScottKSo it's two separate entities (since PPAs don't have bug tackers), but happens to have the same name.15:17
Jeeves_ScottK: bitcron isn't really worth that much effort :)15:17
ScottKOK.15:17
=== piscue1 is now known as piscue
acalvohow can I force a system to use an ethernet as default?15:22
Jeeves_acalvo: huh?15:29
Jeeves_What other options do you have? :)15:29
acalvoI've two NICs, one has internet access while the other don't15:29
acalvoand checking the route table it seems that it tries only the one that does not have internet access15:29
acalvois there any way to add more weight to the one that has internet access?15:30
Jeeves_acalvo: it will try to use the default route15:30
acalvo10.0.0.0        *               255.255.255.0   U     0      0        0 eth015:30
acalvo192.168.0.0     *               255.255.255.0   U     0      0        0 eth115:30
acalvodefault         192.168.0.1     0.0.0.0         UG    100    0        0 eth115:30
acalvodefault         router.esci.es  0.0.0.0         UG    100    0        0 eth015:30
alvinacalvo: You can change the name of your nics in this file: /etc/udev/rules.d/70-persistent-net.rules15:31
Jeeves_alvin: That something else15:31
Jeeves_acalvo: It will try both these default routes on a round-robin'ish base15:31
Jeeves_If you don't want the default route on one side, you should stop sending it :P)15:32
Jeeves_(or setting it)15:32
acalvomm no15:32
acalvoit's the backup network15:32
acalvojust to communicate between servers15:32
acalvoso it is using a dedicate line15:32
Jeeves_Is everything reachable via both paths?15:33
acalvoyes15:33
Jeeves_Ah, than you can set a metric15:33
acalvoyes!15:34
acalvogood idea15:34
Jeeves_You can set that in the interfaces file15:34
acalvommm how?15:34
acalvook, sorry15:34
acalvogoogled it15:35
Jeeves_man interfaces15:35
acalvoyes, done that15:35
acalvothank you15:35
acalvoit worked! thanks15:36
Jeeves_yw15:36
ttxkirkland: I just committed a fix for bug 504309 -- when you'll build the new release, please doublecheck that it still installs :)16:37
uvirtbot`Launchpad bug 504309 in eucalyptus "Lucid UEC installer: walrus separate install ends up with /var/lib/eucalyptus/.ssh unreadable for eucalyptus" [High,Fix committed] https://launchpad.net/bugs/50430916:37
ttxkirkland: as usual, please do the release dance before you go to bed, even if you didn't commit any fixes16:39
mathiazkirkland: I'm going to close bug 487282 as you mentioned it's working ok now16:39
uvirtbot`Launchpad bug 487282 in eucalyptus "create a packaging branch" [Undecided,Confirmed] https://launchpad.net/bugs/48728216:39
ttxkirkland: fwiw, I haven't hit the "lets restart euca until it wortks and kill -9 it sometimes" recently16:40
ttxI've only been testing the weird topologies, if that's a factor16:40
kirklandttx: that's good :-)16:41
kirklandmathiaz: yeah, agreed16:41
nvmeim trying to install this off a USB drive (unetbootin), but its bugging me with the no cdrom detected prompt, how do i fix that ?16:43
hackeronhey, I see "2010-01-04 06:41:25 GMT FATAL:  terminating connection due to administrator command" - in my postgres log, which kills my apps connected to postgres. Any ideas where is that comment coming from? - the server is in a rack 500 miles away and no one was connected to it17:08
guntberthackeron: have a look at the syslog?17:09
ttxkirkland: if you have some time (?) it would be good to fix bug 497831 -- it's preventing separated component install of SC from autoregistering17:12
uvirtbot`Launchpad bug 497831 in eucalyptus "Eucalyptus-SC doesn't ask the cluster-name question" [High,Triaged] https://launchpad.net/bugs/49783117:12
kirklandttx: working on meeting minutes now17:12
ttxkirkland: happy man :)17:12
kirklandttx: 30 minutes into the 2 hour marathon17:12
hackeronguntbert: nothing there to do with postgres17:12
guntberthackeron: I'm not familiar with postgresql - but I'd gueass evrey kind of "administrator command"  would leave its traces in syslog (around that time...)17:14
hackeronguntbert: it doesnt - nothing around that time in syslog17:15
guntberthackeron: sorry then17:15
manishHello there17:26
Doonzhey guys is there a setting somewhere in ubuntu to throttle transfers?17:34
jpdsDoonz: Don't think so, you can use something like trickle though.17:35
Doonzjpds: thanx, no its just a dedicated server i have i cant get it to go faster that 150kb/s even thos its 100mbit and the remote servers are 20mbit17:36
bogeyd6 If you have a mounted windows share and you are writing files to the mounted location and somehow the mount failes, how do you remount and force the system to sync those files? I did a mount -a and it erased /mnt/windowsshare but I would like to know for the future17:38
bogeyd6Doonz, iptables using hashlimit to throttle to certain ports17:39
bogeyd6doonz you can also throttle everything or whole subnets17:41
=== luis__lopez is now known as luis_lopez
manishHello, I have a LAN with Win2K servers as DomainControllers, want to change over to Ubuntu 9.10 can someone help. I will be provided with a machine tomorrow.17:53
manishcan some one help me here?17:55
PiciI don't know what the question is.17:56
manishPici, I have a LAN with 2 Win2K servers which act as a Domain Controllers.17:58
GNUtoo|oeeehi,I've not an ubuntu-server but a jaunty-based distro and I'd like to assign permanently an ip to eth0....how do I do that....there is iface eth0 + the ip and netmask inet static in /etc/network/interfaces17:58
GNUtoo|oeeeoops17:58
manishThose keep failing and I need to leave my work to keep booting them as often they crash17:58
guntbertGNUtoo|oeee: "jaunty-based" meaning what?17:59
manishI am fed up with them now17:59
GNUtoo|oeeetrisquel17:59
Ash1how do i disable the usb single port...17:59
GNUtoo|oeeeit's exactly like jaunty without the non-free repos17:59
manishSo I suggested to use the Ubuntu server.17:59
Ash1please send me exact configuration18:00
guntbertGNUtoo|oeee: look at https://help.ubuntu.com/9.10/serverguide/C/network-configuration.html18:00
GNUtoo|oeeethanks18:00
GNUtoo|oeeeguntbert, doesn't work...that's the static config I have...I'll explain18:01
GNUtoo|oeeeI've this embedded thing that I'd like to boot with an nfs rootfs18:01
GNUtoo|oeeeso there is a bootloader that configures the ip18:01
GNUtoo|oeeethen the kernel reconfigure the interface18:01
GNUtoo|oeeewith dhcp18:01
GNUtoo|oeeeand then tries to boot on nfs18:01
GNUtoo|oeeebut for some reason the server card(not the embedded thing) is ifconfig eth0 downed by soemthing18:02
GNUtoo|oeeeeven if nm-applet is killed etc...18:02
GNUtoo|oeeethe link is a direct link18:02
GNUtoo|oeeemaybe I should reboot18:03
GNUtoo|oeeeI'll reboot the nfs server18:03
GNUtoo|oeeeso what should I try? a switch?18:07
GNUtoo|oeeeso there would be carrier sensing18:07
GNUtoo|oeees/sensing//18:07
bogeyd6!samba @ manish18:07
ubottuError: I am only a bot, please don't think I'm intelligent :)18:07
bogeyd6!samba | manish18:07
ubottumanish: Samba is the way to cooperate with Windows environments. Links with more info: https://wiki.ubuntu.com/MountWindowsSharesPermanently and https://help.ubuntu.com/9.10/serverguide/C/windows-networking.html - Samba can be administered via the web with SWAT.18:07
bogeyd6manish, perhaps you could setup a script to just reboot the server each night one after the other18:08
cemcI have an Intel Pro 1000 nic, which does wake up the system when I send magic packet with etherwake, but only if it was shut down in Windows. when I shut it down in ubuntu, it doesn't wake up. any ideas?18:13
GNUtoo|oeeemmm after rebooting it the ip seem stable18:14
GNUtoo|oeeeonly error -13 for NFS18:14
GNUtoo|oeeebut that prevent it from booting18:14
Ash1how do i disable the usb single port18:19
GNUtooanyone?18:20
GNUtooI bet error -13 is permission denied18:21
GNUtoobut it works while booting from sd and mounting it18:22
=== mcasadevall is now known as NCommander
bogeyd6Doonz, iptables using hashlimit to throttle to certain ports18:31
=== richard is now known as Guest88015
Guest88015hey, i keep seeing this eerror in my cc.log for UEC in MANAGED-NOVLAN mode, priv interface 'eth0' must be a bridge, tunneling disabled18:35
=== Guest88015 is now known as rj175
rj175I also get failed to attach tunnels for vlan 10 during maintainNetworkState()18:39
Ash1how do i disable the usb single port18:54
uvirtbot`New bug: #504407 in dhcp3 (main) "Option "metric" in /etc/network/interfaces broken" [Undecided,New] https://launchpad.net/bugs/50440719:06
zulwell that sucked19:18
occyChecking `bindshell'...                                     INFECTED (PORTS:  6667)   Should I be worried?  Got this from chkrootkit   we have internal irc server but it's not accessable from the outside world20:24
occySadly we've been having problems with conficker on machines.20:24
occyNow I'm getting:  Checking `bindshell'...                                     INFECTED (PORTS:  1524 6667 31337)20:44
KillMeNowsounds like you gots rooted20:50
scresawnHi. I'm having a problem try to get DRBD working in a cluster environment.  I've tried the tests here: https://wiki.ubuntu.com/Testing/Cases/UbuntuServer-drbd without much luck.  (corosync won't start.) Can anyone help me or at least point me to the most appropriate resource(s)?21:26
unit3Hey, can someone tell me what the separate mysql-server-core-5.1 package is in karmic?21:44
=== Lenios is now known as lenios

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