b0nghitterwhen installing freenx to ubuntu-server 11.04, should i install the desktop first? i want the minimal xfce desktop available to freenx00:25
b0nghitterthe PPA repo seems to not be available? trying to follow https://help.ubuntu.com/community/FreeNX on ubuntu server 11.0400:34
b0nghitterFailed to fetch http://ppa.launchpad.net/freenx-team/ppa/ubuntu/dists/natty/main/source/Sources  404  Not Found00:39
b0nghitterthey dont have one for 11.04 yet00:39
b0nghittercan i change natty to one of the other dists, and have itwork without any problems?00:40
amitHello all. Would appreciate some upstart wisdom: What's the recipe for telling a job to stop when another, *non-upstart* daemon is stopped (More broadly, instruct the job: "You stop running if this job stops running")?02:10
nibalizeramit: it needs to recieve a signal to stop on02:13
nibalizerso you'll have to hack the non upstart job to emit a signal on shutdown, then catch that signal with your upstart02:14
nibalizerafaik there's no clean way to have it poll the other job to see if it's still running, though certianly you could put pgrep in a while loop02:15
=== aguaithefreak is now known as aguair
twb1 plum.cyber.com.au mdadm: RebuildFinished event detected on md device /dev/md1, component device  mismatches found: 1280003:25
twb...when my monthly raid rebuild happens, should I worry that it finds some mismatches?03:25
DerEnsBossCan someone give me tips for the best IRC-Chat-Bot and IRC-Server ?03:47
twbDerEnsBoss: for what use case?  An internal office IRC server?03:51
DerEnsBossFor my Privat Network03:51
twbSo you will have what, maybe a couple dozen users at most?03:52
twbAnd they'll be more-or-less trusted friends/family/coworkers/whatever?03:52
DerEnsBossIts for Test03:52
DerEnsBossHow it Works03:52
DerEnsBossto set it up03:52
twbSo it's for pedagogy.03:52
DerEnsBossfor myself to learn03:53
twbIn that case you are best choosing a simple implementation03:53
twbFWIW I run ircd-irc2 because it's the oldest (and therefore, presumably, easiest) variant in Ubuntu03:54
twbOr you know, you could just bugger off in the middle of a conversation03:54
toddnineHi guys.  Have a question about ntp.  I've installed the ntp client, and our servers generally line up.  However after about 3 to 4 days I start getting 1+ seconds of drift between them.  Is there a way to force them to update every 10 minutes?  We use down to millisecond timing in our cluster, so it causes a lot of problems with our data storage when the times are out of sync05:33
toddninehere's my conf file.  https://gist.github.com/28938913f9a0947a240605:34
twbtoddnine: ntp or ntpdate?05:36
twbPer ntp.conf's manpage, it appears to poll every 10s by default (maxpoll)05:37
twbtoddnine: oh, you're using some remote NTP server05:40
twbtoddnine: deploy a local one, then have *it* look at your country's RR NTP servers, and have the rest of your servers look at it.05:41
toddninetwb: I'm on aws, does it provide an ntp service for it's Dcs?05:41
twbPossibly you can set them up as peer-peer, but I haven't tried that05:41
twbtoddnine: I do not provide support for AWS, sorry05:41
twb(Above was assuming your cluster was on a fast LAN, not distributed across "th cloud")05:42
toddnineYeah, they're all in the same zone, so the same dc05:42
jmarsdentoddnine: https://forums.aws.amazon.com/thread.jspa?messageID=53658  may be relevant??05:51
twbI wonder if the problem is the VM technology is not giving the VM every tick05:55
jeeves_mosstwb, I think it's more that installing VMWare server2.0 on Ubuntu 10.04 is a huge pain in the ass!05:56
twbjeeves_moss: huh?05:56
twbjeeves_moss: he's using amazon stuff05:56
twbBut yeah, steer well clear of vmware, especially vmware server05:56
jeeves_mosstwb, awww06:04
toddninejmarsden: Yeah, unfortunately that's outdated06:17
toddninethose files don't exist within the distribution any longer06:18
jmarsdentoddnine: OK... but it sounds like you have an EC2/cloud-specific issue, so asking the cloud/EC2 community is probably a good way to go.  I06:18
jmarsdenm not sure milisecond sync across the could is a "normal" expectation, to be honest...06:19
toddninejmarsden: Agreed.  Didn't get any response on the aws channel either06:19
toddnineI'm not 100% convinced that's the issue, I just noticed we get it a lot less when our clocks our synced.  We're getting jobs that are executing multiple times in our queueing system, and it seems that it's due to the cluster not correctly syncing delete operations06:20
twbtoddnine: presumably you are paying Amazon money06:22
twbtoddnine: so call their tech support people06:22
twbAlso maybe get a DBA to fix the code so it doesn't rely on timing belts06:22
toddninetwb: Doesn't work that way mate :)06:22
toddnineWe're not using a db, we're using distributed storage.  The quorum doesn't return properly if the timestamps don't line up06:23
=== koolhead11|afk is now known as koolhead11
=== smb` is now known as smb
jamespagemorning all09:37
koolhead11morning jamespage09:38
kbrown90I'm a new Ubuntu Server Administrator and i am needing some guidance.09:47
twbkbrown90: be more specific09:48
kbrown90i've recently installed Ubuntu Server 10.10 and got Apache 2.2 webserver up and working... now i'm stuck on trying to get a mailserver up and running.09:48
kbrown90i've got MySQL install as well.09:49
ubottuThe Ubuntu server guide may be found at http://help.ubuntu.com/10.04/serverguide/C/09:49
kbrown90but i'm having problems with getting the server to give me the settings and configuration files for postfix.09:50
twbRun postconf09:51
kbrown90everytime i use the command "telnet localhost 25" my server kicks back as it's trying to connect to "::1..." which i don't think is right and i'm not sure why? could someone help?10:51
kbrown90i'm trying to set up Postfix on my Ubuntu Server 11.0410:52
persiakbrown90, Try using a hostname that is only defined in IPv4, or "" if you don't want to hunt one down.  Then again, depending on your usage scenario, you might consider not responding to IPv6 a bug.11:06
koolhead11kbrown90, did you checked this https://help.ubuntu.com/community/Postfix  before asking here ?11:20
koolhead11can someone help me in modifying the topic here11:20
kbrown90yes. I followed all the directions from there.11:20
kbrown90When you install LAMP That should also include PHP right?11:24
kbrown90my computer i use to test my webserver out on is trying to download my php files instead of displaying them... why?11:32
koolhead11kbrown90, restart apache once11:32
kbrown90i just restarted the whole system. and it still doing it.11:32
koolhead11see the link11:33
kbrown90i well, i just got a lot of info from using the "info.php" thing, but my php forum is still not comming up. Could there be a problem somewhere else?11:44
koolhead11kbrown90, is php5 running on php.info11:45
koolhead11and also check the apache log11:46
kbrown90It says "PHP Version : 5.3.5-1ubunntu7.2"11:47
koolhead11kbrown90, well check the php code then. :)11:48
kbrown90would earlier versions of PHP work if i run PHP5?11:49
kbrown90can i install and run MySQL4 while running the newer versions as well?12:03
joschikbrown90: it's possible with some manual hacks, but you really shouldn't do this12:44
joschikbrown90: mysql 4 is veeery old and EOL12:44
qman__kbrown90, make sure your forum software is up to date and PHP 5.3 compatible14:17
qman__there were some major changes from PHP 4 and less major ones from 5.214:18
qman__which can break code14:18
rduranHi, I am having trouble to set master user authentication with dovecot. Here is 'dovecot -n' output http://pastebin.com/Mjufm8eS the problem is when I try to login with master user via imapsync authentication failed: Here is dovecot log with failed authentication: http://pastebin.com/p2wWGkTD14:28
rduranmaster user "zimbra" is in "/etc/dovecot-passwd.masterusers". The problem is dovecot try to authenticate ldap user "example" with the master users password and fails.14:29
uvirtbotNew bug: #799775 in python-gflags (universe) "[MIR] python-gflags" [Undecided,Fix committed] https://launchpad.net/bugs/79977514:43
=== guampa_ is now known as guampa
metap0dHi everyone, I am using the HTML2PDF library to create PDF's with PHP. I have noticed that on my local machine these PDF's render in 2-3 seconds but over Ubuntu Server they take over a minute. Does anyone have any idea what could be causing this or how to improve performance?15:19
metap0dI use the Google Charts API which is what takes so long .. but I am new to this and not sure what I should change15:19
metap0dMy server keeps using the loopback as interface, how could I change that to eth0?15:28
sabgentoncan you see what packages u installed with apt-get now days15:30
sabgentonin desketop the software center tells you an install history15:30
sabgentonaptituted does in /var/log/aptitude15:30
sabgentonbut I can't see anything in apt-get15:30
Pablitohola buenas alguien me podria ayudar porfavor15:38
Pablitoalguien que hable spañol15:38
genii-around!es | Pablito15:38
ubottuPablito: En la mayoría de canales de Ubuntu se habla sólo en inglés. Si busca ayuda en español o charlar entra en el canal #ubuntu-es. Escribe "/join #ubuntu-es" (sin comillas) y dale a enter.15:38
koolhead11has anyone tried phpmyadmin with debconf-set-selections16:38
koolhead11SpamapS, ping16:38
DanaGSay, anyone know of a setup that'll give me what FreeNAS does -- that is, a web interface, AND zfs?17:31
DanaGNote that I don't absolutely need the web interface itself to expose ZFS.17:31
DanaGOr rather, I'd want it to expose swapping drives, but not necessarily expose snapshots.17:31
JoeCoderdoes anyone know a good channel to ask domain-related questions (A/MX records, subdomains, etc.) ?17:34
JanCJoeCoder: searching teh channel list shows me a channel named #dns17:36
uvirtbotNew bug: #805572 in bind9 (main) "package bind9 1:9.7.3.dfsg-1ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/80557217:36
JoeCoderalso, how do I search the channel list?17:36
JanCdepends what IRC client you use, in XChat it's in the Server menu17:37
JoeCodertrillian has "browse channels" but there are thousands and not even alphabetized.  useless.17:38
JoeCoder(and no search)17:38
JanCno option to search?17:38
JanCuse xchat instead  ;)17:39
JoeCoderI would if I spent more time on irc.  I'm here maybe 15 minutes a week.17:40
b0nghitteri'm trying to follow https://help.ubuntu.com/community/FreeNX on ubuntu server 11.04, but there is no PPA repo for 11.04... can i get around this somehow without any problems?17:53
=== koolhead11 is now known as koolhead11|afk
=== med_out is now known as medberry
=== Bilge_ is now known as Bilge
RoyK^split splat splatter?18:55
=== RoyK^ is now known as RoyK
=== tsimpson_ is now known as ts2
JoeCodermy server ran out of space.  How can I use the command line to see where all of the space went19:05
JoeCodersomething like df -R, if it existed19:05
StevenRJoeCoder: you probably want "du"19:06
RoyKwhy -R?19:06
StevenRRoyK: recursive19:06
JoeCoder-R is used for recursion in other commands19:06
RoyKdf looks at filesystems, not directories19:06
StevenRJoeCoder: cd / ; du -h --max-depth=119:06
StevenRprobably a start19:06
StevenRman du for more info, it's quite powerful19:06
JoeCoderaha, var/log/apache2 is 8GB19:07
JoeCoderthis is a test server; I've got only my own stuff running on it.19:07
StevenRmight want to look at log rotation and compression19:07
JoeCoderstill learning19:07
RoyKJoeCoder: probably forgot to rotate the logs, I guess19:07
RoyKas StevenR said19:07
JoeCoderor I don't know how :)19:07
JoeCoderi've heard about log-rotate?19:07
RoyKman logrotate19:07
RoyKhm... but iirc log rotation for /var/log/apache2 should be in there by default19:08
RoyKof the file is named something.log19:08
DanaG1Say, what's the difference between ubuntu desktop kernel and server kernel?19:08
RoyKDanaG1: very little - server version uses lower HZ (ticks per second) and perhaps some other tweaks - that's about it19:09
RoyKI guess NUMA may not be in the desktop version either19:09
DanaG1And is there some ubuntu server web-interface app?19:09
ubottuwebmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system.19:09
DanaG1What's recommended now?19:10
RoyKerm ... what's the other? the bot used to name it19:10
ubottuzentyal is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/Zentyal (Project formally known as eBox - including in Lucid/10.04).19:10
DanaG1Packages are still named ebox.19:11
RoyKubottu: no, webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle  configuration files, and is likely to cause unexpected issues with your system.19:11
RoyKubottu: no, webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle  configuration files, and is likely to cause unexpected issues with your system, see !ebox instaed.19:11
RoyKubottu: no, webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle  configuration files, and is likely to cause unexpected issues with your system, see !ebox instead.19:11
ubottuwebmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system.19:11
ikoniaRoyK: it already exists19:11
JoeCodervar/cache/apt is 114MB.  Do I need to setup somethign to occasionally clear it?19:12
RoyKikonia: saying no, blah to ubottu gives it a correction19:12
ikoniait doesn't need a correction19:12
RoyKikonia: a correction that needs to be approved19:12
ikoniait doesn't need a correction19:12
RoyKikonia: it should be corrected to inform users about ebox, which it didn't19:13
ikoniait doesn't need it19:13
RoyKobviously not, but sometimes it's better to inform users directly about alternatives than telling them to FGFI19:13
ikonianot when ebox has caused almost as many problems in the past - it's missed off for a reason19:14
DanaG1hmm, then what else is recommended?19:14
ikoniaoptions are limited19:15
DanaG1I'm pondering between Ubuntu Server and FreeNAS.19:15
DanaG1The latter has ZFS and a nice web interface, but the former has support for things like amd64_edac.19:15
DanaG1And boatloads more packages.19:15
JoeCoder8GB is pretty big for a server that only I use.  apache's error.log was 8GB.  Every entry seems to be: "mysql: Error reading file 'UNOPENED' (Errcode: 22)"  I think it got stuck in some kind of loop, but I don't know what caused it.19:15
RoyKanyone here using ZFS fuse on ubuntu?19:16
RoyKI hear the write performance is rather horible...19:17
ikoniaunless it's native....it sucks19:17
JoeCoderapache's error.log is growing at a rate of 3MB per second19:17
JoeCodertail error.log19:17
DanaG1I once used ntfs-3g to copy to a nearly-full, highly-fragmented drive.19:17
ikoniaJoeCoder: what's hitting that ?19:17
ikoniaJoeCoder: turn the debug level down ?19:18
DanaG1It seriously went down to BYTES per second.19:18
JoeCoderall of the entries are, "mysql: Error reading file 'UNOPENED' (Errcode: 22)"19:18
RoyKJoeCoder: tail -f19:18
ikoniaJoeCoder: whats referencing that file ?19:18
RoyKshould be the apache processes19:18
JoeCoderI don't have a file named "UNOPENED"19:18
RoyKlsof error.log19:19
JoeCoderlsof ?19:19
RoyKlist open files19:19
RoyKlsof gives you  then PIDs keeping a file open19:19
JoeCoderhad to install it.19:19
JoeCoderapache is using mod-suexec and php with fastcgi19:20
RoyKthat's the rotated one19:21
JoeCoderthat's the one that is being written at 3MB/sec.  I mistyped before.19:21
RoyKJoeCoder: any idea why sh/mysql is keeping that file open?19:21
RoyKdo you have a cron job using it or something?19:22
RoyKwhich version of ubuntu is this?19:22
JoeCoderphp calls the mysql and sh commands.19:22
JoeCoderI'll take a look at my php code that invokes those.19:22
RoyKJoeCoder: then it seems one of them is doing something like a tail -f and isn't killed on logrotate19:22
JoeCoderdoes logrotate rotate based on time or size?19:23
RoyKJoeCoder: you might want to change the logrotate post script19:23
DanaG1hmm, are there documented cases of ebox breaking things?19:23
StevenRJoeCoder: kinda both.19:23
RoyKJoeCoder: usually time, once a day or once a week or so19:23
RoyKdepending on the settings19:23
RoyKbut if some processes keeps the file open, and the postrotate script doesn't do its job, the process (apache) will keep logging to the same file even though the filename's new19:24
JoeCoderthis log continues to be written at 3MB/sec even after mysql and apache have been stopped19:25
RoyKin unix, the filename is merely a pointer after all19:25
JoeCodermaybe I have a runaway shell script.19:25
RoyKwhy would a shell script _write_ to that file?19:25
JoeCoderI have no idea19:25
JoeCodersame for mysql19:26
RoyKwell, track down whatever's filling up your drive and kill it19:26
JoeCoderthe php code calls a shell script and mysql; maybe apache redirects their output before they're invoked.19:26
RoyKand perhaps use nagios/icinga to monitor the drive fill so that you get an alarm before the disk is full19:26
DanaG1Really, does ebox break stuff?19:27
JoeCoderit was a call to the mysql command line utility I had made to import a database dump, called from php19:28
RoyKDanaG1: search the net, the bug database etc - personally, I only use the commandline for managing unix machines19:28
DanaG1oh, and that ebox looks like it's intended to serve as a router.19:28
JoeCoderso it must have had its output redirected to that file by apache19:28
JoeCodermystery solved, except for why mysql got stuck in that loop.19:28
RoyKDanaG1: ebox isn't a router, but I guess there might be stuff in there to configure linux as a router :P19:29
DanaG1I already have Tomato as my router.19:29
RoyKDanaG1: then don't use your server as a router :P19:30
DanaG1hmm, so anyway, here are the use cases I need most: ssh server, samba, and backups -- using ZFS, I want snapshots.19:30
DanaG1And a Deluge server.19:31
DanaG1Maybe I don't all that much need a web interface, after all.19:31
DanaG1s/ all that//19:31
RoyKDanaG1: if you plan to use zfs, you might want to test openindiana - things get a little faster when zfs is native...19:32
=== mquin_ is now known as mquin
* RoyK has some 350TB on ZFS on openindiana - works rather well...19:34
DanaG1What's the userspace like?19:37
DanaG1Oh yeah, random amusing thing found in a user manual for the SuperMicro atom board:19:39
DanaG1System Management Architecture for Server Hardware.19:39
DanaG1I don't want a SMASH anywhere near my server!19:39
RoyKsupermicro has ATOM boards?19:39
* RoyK didn't know19:39
DanaG1X7SPA / X7SPE.19:40
DanaG1No ECC, though.19:40
DanaG1I decided to go with an HP MicroServer instead.19:40
DanaG1the cost for Atom + case + drive tray + psu is greater than the cost for the Microserver.19:41
DanaG1And no ECC.19:41
RoyKDanaG1: you won't get ECC without a CPU that can handle it19:42
DanaG1Right.  The Athlon II Neo N36L does support ECC.19:42
RoyKmost CPUs have the memory controller built-in these days, and Intel only supports ECC on Xeons19:42
RoyKfor AMD it's a different and more happy story :)19:43
DanaG1Now if only AMD would make an IPMI chip that had a basic Radeon in it...19:44
DanaG1So you could get KMS on KVM, instead of garbage ASPEED or Matrox.19:44
DanaG1At that point, I'd rather use ssh or serial console.19:44
RoyKDanaG1: using a remote graphical console?19:45
DanaG1am I?  Right now I don't have the IPMI card for the thing.19:46
RoyKbut are you using X?19:46
DanaG1Right now, I have FreeNAS on a USB drive, and an old Ubuntu desktop install on the data drive.  (I have another drive coming tomorrow).19:47
DanaG1So, I do have X, but I don't anticipate much needing it for admin stuff.19:47
RoyKjust try openindiana text install instead19:48
RoyKyou won't need the fancy X stuff anyway19:48
=== juliux_ is now known as juliux
Utopiahhi #ubuntu-server20:15
=== Xalem_ is now known as Xalem
UtopiahI install lighttpd on natty/11.04, I can start it without problems via lighttpd -f /etc/lighttpd/lighttpd.conf but /etc/init.d/lighttpd start returns "Warning: Fake start-stop-daemon called, doing nothing." which I suppose happen because it's using an empty initctl rather than initctl.REAL so I thought I should use upstart thus service but that's the same, it uses start-stop-daemon  and not start-stop-daemon.REAL so now Im lost20:17
Utopiah(the goal is to have lighttpd start at boot, using /etc/rc.local failed too)20:17
pmatulisUtopiah: i believe there is a switch you need to toggle in the lighttpd conf file20:24
pmatulisUtopiah: actually, disregard20:24
Utopiahthe lighttpd conf file given by the Ubuntu default package if for init.d rather than upstart as far as I can tell20:25
Utopiah(but then I just discovered upstart today so I might be completly wrong)20:27
Utopiahexact output is http://pastebin.com/raw.php?i=TJ6Y0Xw4 btw20:29
pmatulisUtopiah: that link is bad20:33
UtopiahI make it die too soon, sorry http://pastebin.com/raw.php?i=4cqHQKLi20:35
pmatulisUtopiah: maybe pastebin the upstart job20:59
uvirtbotNew bug: #805661 in ntp (main) "NO reference clock support.  I need Oncore ref clock support in ntp." [Undecided,New] https://launchpad.net/bugs/80566121:02
donnieLot of people here suggest to use ssh for everything. I just setup a Ubuntu Server. I want see it as network drive on my local network on both Ubuntu and windows installation. Is it possible to mount ssh as a network drive on windows? Or i should just use samba.21:02
=== smw_ is now known as smw
greppydonnie: use samba for local shares.21:26
donnie@greppy thanks. i completely messed up my smb.conf reinstalling samba wouldn't rewrite it so i deleted the samba folder. Now it seems it is gone permanently. Any way to get it back21:41
ascheelIs there a way to pull a list of all installed packages from an Ubuntu installation that is accessible but unbootable (turned into a USB drive since it won't boot).  All files look good to go.21:41
greppydonnie: uninstall and purge and then reinstall21:41
greppydonnie: this would also be why backups are so prized, even for "it's just a little edit, no big deal..."21:42
qman__ascheel, chroot, dpkg -l21:52
=== andregondim is now known as Andre_Gondim
ascheelqman__: gotcha21:53
=== viezerd- is now known as viezerd
ascheelqman__: seems to have worked just dandy.  Thanks!22:23

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