[00:00] <mac9416_2> BCMM: Man, I've often wondered how to do that myself. I just grabbed that information on the 'ubuntu' thread.
[00:00] <ropetin> Does update-rc.d do anything useful for you?
[00:01] <jmedina> mac9416_2: you can use /etc/rc.local file
[00:02] <BCMM> mac9416_2, http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/
[00:02] <BCMM> init scripts are a bit odd on gentoo, which is what i'm used to
[00:03] <BCMM> but in order to prevent you having to use them for simple things, they have a couple of files local.start and local.stop, which are executed at the end of boot and the start of shutdown by a special init script
[00:04] <BCMM> i presumed ubuntu had something like that, but turns out it's easy to just write a script
[00:04] <mac9416_2> Yeah. Looks like the wordpress arcticle is the key.
[00:08] <jmedina> well if is only a command you can use /etc/rc.local file
[00:09] <mac9416_2> I suppose rc.local is a script that always runs at startup?
[00:13] <ropetin> mac9416_2: yup
[00:13] <jmedina> it is run at the end
[00:14] <jmedina> if you need something more advanced like start the program at a specific stage, shut it down cleanly, reaload service and like that then you need to write your own rc script
[00:14] <mac9416_2> Ahh, cool.
[00:16] <jmedina> just add the command line to /etc/rc.local and you are done :D
[00:43] <mac9416_2> So, does anyone know anything about streaming audio across a network?
[00:44] <ropetin> I've used Icecast in the past to stream over the Internet.  Worked fine fo rme
[00:45] <ropetin> No idea how it compares with any other options, but it was fine for what I needed
[00:46] <mac9416_2> ropetin: would it work on a fome network?
[00:47] <mac9416_2> *home
[00:48] <ropetin> Sure, would work over any network connection
[00:56] <josspyker> anybody using the denyhost script?
[01:19] <FFEMTcJ> can someone help me setup tightvncserver on my server?
[01:25] <FFEMTcJ> i installed xfce4 and tightvncserver.. i get this in the log: http://pastebin.be/17993
[01:34] <slhawkins> Hello
[01:35] <slhawkins> I was having an issue with the Apache Status page coming up no matter where I tried to go as far as my web site went..
[01:35] <slhawkins> So I disabled the status module and now... php doesn't seem to work at all
[01:36] <slhawkins> it's enabled... but when I try to access the site it doesn't even say it's there.. no message from apache or anything
[01:36] <slhawkins> when I direct it to a php file, say index.php... my browser downloads it
[02:19] <buzzsaw> i need a way to split bandwidth i have several computers accessing the same gateway but i dont want any one to get more bandwidth than the other, also i need to make sure that surfing gets priority over any thing else
[02:20] <genii> !info trickle
[02:26] <twb> ubuntu-server does not Recommend acpid.  This means that on a default 8.04 server install, I cannot shut down a server by pushing the power button on the front -- instead I have to either use ssh, or connect a screen and keyboard.
[02:27] <twb> Where on launchpad do I gripe about this?
[02:28] <ScottK> That sounds about right to me.  I can't remember the last time I shut down a server via the power button (or cared to)
[02:30] <twb> ScottK: when you're in the machine room and have found the offending piece of junk, and don't want to walk back to your desk to turn it off.
[02:31] <ScottK> I'm not usually finding the piece of junk by staring at it.
[02:31] <twb> I concede that it's a less common case, but it's still annoying.
[02:31] <ScottK> If it's sufficiently offensive, holding for 4 seconds will turn it off anyway.
[02:31] <twb> Sure, but that's obviously unclean.
[02:32] <ScottK> Right, if it's sufficiently borked, you're unlikely to care.
[02:32] <ScottK> I don't recall ever having had trouble recovering from an unclean shutdown with Ubuntu in any case.
[02:33] <ScottK> You're welcome to file a but (I think ubuntu-meta is the right package), but I doubt it'll get a lot of traction.
[02:33] <ScottK> but/bug
[02:33] <twb> Fair enough.
[02:53]  * ScottK reads the amavisd-new 2.6.3 release announcement and wishes they'd waited until Friday to release it.
[02:54]  * genii waits til Friday to read it
[03:02] <mattt> i'd say keep the power button thing disabled, one less way to accidentally power down a box :)
[03:22] <twb> Ha!
[03:41] <John_Stamos> hi i'm having a problem with dpkg and python-gnome2
[03:41] <John_Stamos> http://paste.ubuntu.com/155680/
[03:41] <John_Stamos> i am running ubuntu server 8.04
[03:43] <ScottK> John_Stamos: That's a but, please file it.
[03:43] <ScottK> but/bug
[03:44] <John_Stamos> already filed ( https://bugs.launchpad.net/ubuntu/+source/gnome-python/+bug/214268 ) i was hoping someone had a solution
[03:45] <John_Stamos> am i correct in saying that the only solution would be to reinstall it
[03:46] <ScottK> I did set the bug to confirmed.
[03:46] <ScottK> The problem is both packages provide a file in the same place with the same name.
[03:47] <ScottK> There are some ways to work around such conflicts, but I don't know enough about those two packages to tell you which approach is likely safest.
[03:48] <John_Stamos> then i guess i'll reinstall, any clue why it did this
[03:48] <John_Stamos> i think i was using a pre-release version, and the person who filed the bug said they were too in the comments
[03:49] <ScottK> You might try purging both packages and reinstalling.
[03:49] <ScottK> That may or may not help, but it's safe.
[03:50] <John_Stamos> which two packages?
[03:52] <John_Stamos> python-modules and python-gconf?
[03:57] <ScottK> python-gcong and gnome-python I think
[03:58] <John_Stamos> so apt-get purge python-gconf gnome-python
[03:58] <ScottK> Note: Gnome stuff is off topic here and I use Kubuntu anyway, so you'd probably be better off in another channel (yes)
[03:58] <ScottK> Make sure it doesn't want to take anything useful with it.
[03:58] <John_Stamos> so if i get rid of gnome, the problem goes away?
[03:59] <John_Stamos> and sorry no one in #ubuntu responds to me
[04:04] <joejc> how long does scanning mirror take?
[04:05] <joejc> and what happens if i dont have internet?
[04:08] <joejc> hello?
[04:10] <genii> It will eventually time out
[04:10] <aesis> joejc: are you asking about how to access repositories without internet?
[04:10] <joejc> im installing in a vm and not sure if i have internet
[04:16] <aesis> I haven't used it, but I just booted my 8.04 server VM and apt-cdrom is installed by default
[04:16] <joejc> its been 30min at what point should i think its not going to work?
[04:49] <reid> hi all, I just put fluxbox on my webserver, and I realized that whenever I type startx, all of my ports close or something.  Any input?
[04:50] <twb> That's bizarre.
[04:51] <ScottK> ports closing or startx on a web server?
[04:51] <twb> The former.
[04:51] <twb> The latter is silly, but not bizarre.
[04:58] <foxbuntu> reid, sounds like fluxbox might have some kind of firewall configured in the session with a default policy of deny all --or-- it has it own network manager and its not configured properly
[04:59] <reid_> oh, its fixed
[04:59] <foxbuntu> what was it
[05:00] <reid_> yeah I was connecting to a local address on my network.  little did I know I wasn't on my network
[05:00] <reid_> lol
[05:00] <foxbuntu> so the later :)
[05:00] <reid_> lol, nah I was trying to access it from my latop
[05:00] <foxbuntu> oh
[05:00] <reid_> laptop, the server is headless, hidden somewhere =P
[05:01] <foxbuntu> well the a pebkac error then :) I have those allot
[05:01] <reid_> lol
[05:01] <reid_> where u work?
[05:01] <reid_> oh I guess you get it enough in here
[05:01] <reid_> lol
[05:02] <foxbuntu> no I work in consulting too
[05:07] <reid_> however, one thing that I did notice.. is that none of the desktop apps are working
[05:07] <joejc> what did the last command do?
[05:07] <reid_> like I right click go to web browser, go to dillo
[05:07] <reid_> and it doesn't actually run =P
[05:07] <ayk> joejc: you are back in the main channel, it reset your IP lease
[07:32] <reid_> hey guys
[08:44] <kraut> moin
[11:10] <henkjan> "And Soren had the brilliant idea of always installing Ubuntu Servers with a degraded RAID-1"
[11:10] <henkjan> quote from dustins blogpost
[11:10] <henkjan> is this about jaunty server install?
[11:10] <henkjan> great idea!
[11:28] <soren> henkjan: I'm afraid not. Hopefully Karmic, though.
[12:16] <incorrect> I am looking at providing some sort of office voip system and IM service in the office,  I am not sure if i should invest time with jabber or asterisk, both or something else
[12:17] <davmor2> Guys I'm just running a quick test that someone went to test and couldn't complete.  I'm having issue though.  The test is the http://testcases.qa.ubuntu.com/Install/ServerWhole virtulization host at the bottom.  I run the kvm command and get the following Directfb/core: Single Application Core.......Initialization error! should this not just work?
[12:37] <simplexio> incorrect: asterisk handles voip systems nicel, and extra features which voip systems need are easy to implement
[12:38] <incorrect> what about a video conferencing system?
[12:40] <davmor2> soren: Are you about?
[12:41] <davmor2> I'm having issues with a kvm test that is on the iso tracker
[12:46] <soren> davmor2: I am.
[12:47] <davmor2> soren: following the kvm example here http://testcases.qa.ubuntu.com/Install/ServerWhole I type in the kvm line on the server and I get a directfb issue
[12:49] <soren> davmor2: Yes, that's expected.
[12:49] <soren> That's not a very good test case.
[12:49] <davmor2> If I run ssh -X user@ad.re.ss I get /usr/bin/X11/xauth:  creating new authority file /home/tester/.Xauthority and the command runs  If I don't add the -X I get the same issue
[12:49] <soren> Right.
[12:49] <davmor2> soren: Thank god for that :)
[12:49] <soren> That's expected.
[12:49] <soren> Try adding -curses to the command line somewhere.
[12:49] <davmor2> I didn't want to fail it if it was just that the docs were wrong
[12:50] <soren> By default, kvm will attempt to use an X frontend. If there's no X server available (e.g. forwarded from the client using ssh -X), it'll fail.
[12:53] <davmor2> soren: Thanks for the info I'll pass the test and we are fully covered again :)
[13:05] <davmor2> #ubuntu-virt
[13:06]  * soren hands davmor2 a "/j"
[13:20] <Ahlee_> when using a preseed file during net installation, what should mirror/http/directory be?  Mine points to the root of my local repository, but the installer is reporting that the mirror is either not valid or does not have a valid Release file on it, despite me being able to wget the Release file when dropping toa shell from within the installer
[13:23] <ivoks> directory should be ubuntu/ right?
[13:24] <Ahlee_> that's what I thought.
[13:24] <Ahlee_> d-i mirror/http/hostname 192.168.212.199
[13:24] <Ahlee_> d-i mirror/http/directory string /ubuntu
[13:24] <Ahlee_> but, no go
[13:24] <ivoks> ubuntu/
[13:26] <ivoks> both should work
[13:26] <ivoks> er...
[13:27] <Ahlee_> I built my mirror with apt-mirror, and 192.168.212.199/ubuntu is where dists/ and pool/ are
[13:27] <ivoks> don't use apt-mirror
[13:28] <ivoks> use apt-cacher
[13:28] <Ahlee_> Any reason?
[13:29] <ivoks> apt-mirror isn't maintained for some time, iirc
[13:30] <ivoks> and it explodes every now and then :)
[13:30] <ivoks> or maybe i'm thinking about some other tool
[13:31] <ivoks> right, i was thinking of apt-proxy
[13:33] <Ahlee_> fair enough
[13:33] <Ahlee_> changing to d-i mirror/http/directory string ubuntu/
[13:33] <Ahlee_> did not work either
[13:34] <Ahlee_> so something's either busted on my mirror (unlikely, as i've been using it for post-install for quite a while)
[13:34] <ivoks> have you looked at logs on your apt-mirror server?
[13:34] <Ahlee_> or i'm overlooking something extremely trivial :)
[13:35] <_ruben> checked the access logs of your mirror?
[13:35] <Ahlee_> you read my mind - i just fired up snoop on that system to watch if any requests are being made (the logs fromt eh installer just say
[13:35] <Ahlee_> Apr 21 13:40:31 anna-install: Queueing udeb apt-mirror-setup for later installation
[13:35] <Ahlee_> Apr 21 13:49:01 main-menu[2403]: INFO: Menu item 'choose-mirror' succeeded but requested to be left unconfigured.
[13:35] <ivoks> not the installer logs, but the logs of apt-mirror
[13:44] <Ahlee_> Nothing on my mirror
[13:44] <Ahlee_> so it's not reaching it during installation
[13:45] <ivoks> ah
[13:45] <Ahlee_> it's a different server than what's serving up my preseed.cfg (preseed.cfg does come off the same server as my dhcp and tftp server)
[13:46] <ivoks> shouldn't it be:
[13:46] <ivoks> d-i mirror/http/hostname string 192.168.212.199
[13:46] <ivoks> notice the 'string' :)
[13:46] <Ahlee_> oh god.
[13:47] <Ahlee_> platform set os state reboot -f
[13:47] <Ahlee_> let's try that again
[13:47] <Ahlee_> sorry about the mispaste
[13:51] <Ahlee_> well, thankfully or not, that didns't seem to resolve the issue
[13:52] <ivoks> anything in the apt-mirror's logs?
[13:52] <Ahlee_> no access to the server, no
[13:52] <Ahlee_> nothing on tcpdump/snoop on port 80, and nothing in the access-logs for the web server serving up the repository
[13:53] <ivoks> and how does it fail in the installer?
[13:54] <Ahlee_> The specified Ubuntu archive mirror is either not available, or does not have a valid Release file on it. Please try a different mirror.
[13:54] <Ahlee_> checking installer debug logs now to see if i can gain any insight as to where it failed
[13:58] <Ahlee_> jackpot
[13:58] <Ahlee_> Apr 22 06:51:06 choose-mirror[6281]: DEBUG: command: wget -q http://192.168.212.199ubuntu//dists/hardy/Release -O - | grep ^Suite: | cut -d' ' -f 2
[13:58] <Ahlee_> adding a leading / to my directory, trying again
[13:59] <ivoks> oops :)
[14:01] <ivoks> interesting
[14:01] <ivoks> http://www.mysqlserverhasgoneaway.com/
[14:01] <Ahlee_> heh
[14:01] <Ahlee_> reminds me of the joke i heard yesterday that oracle will finally do away with ls on Solaris, and replace it with select * from directory where name like '%';
[14:03] <Ahlee_> ivoks: I'm not throwing 404s for some packages, but I'm hitting the mirror, which is definitely a step in the right direction :) Thanks for your help
[14:04] <ivoks> np
[14:05] <Ahlee_> er, s/not/now/
[17:28] <pmatulis> without a GUI, is it possible to do a release upgrade with the CD?
[17:29] <darkvertex> pmatulis: sudo apt-get update might do the trick
[17:29] <darkvertex> s/update/upgrade
[17:30] <ogra> pmatulis, the do-release-upgrade tool might do it
[17:31] <pmatulis> ogra: how does it get the cd?  should i edit sources.list by hand first?
[17:31] <pmatulis> and include a cdrom line?
[17:31] <ogra> no, wait
[17:31] <ogra> http://www.ubuntu.com/getubuntu/upgrading
[17:31] <ogra> see the bottom, should work the same in jaunty
[17:32] <ogra> the cdromupgrade script should do it
[17:32] <pmatulis> ogra: ok but i assumed the cdromupgrade was a gui thing
[17:33] <ogra> you might need update-manager-core i think it triggers update-manager
[17:33] <pmatulis> i'll just try it here
[17:34] <ogra> i pinged mvo in #ubuntu-devel, he should know the answer :)
[17:35] <pmatulis> ogra: heh, i got him before i came here, but he must be away
[17:36] <ogra> yeah, likely pretty exhausted after all the upgrade testing :)
[17:37] <pmatulis> ogra: yup, it works
[17:38] <ogra> great
[17:39] <pmatulis> ogra: k, to avoid getting errors you do this:
[17:39] <pmatulis> sudo ./cdromupgrade --frontend=DistUpgradeViewText
[17:39] <ogra> ah, sweet
[17:40] <pmatulis> i'll ping mvo that he need not ping both of us back
[18:06] <fevel> hello
[18:25] <lauris> hi
[18:28] <lauris> is there some kind of ubuntu archive with 7.10 packages available online ?
[18:42] <Hecate> lauris, try packages,ubuntu.com
[18:43] <lauris> thanks
[18:47] <lauris> found all needed packages to install update-manager-core \o/
[19:12] <pmatulis> i'm looking for the mythical mass user creation script,  i heard about the perl script 'createusers'.  does anyone have any experience with it?
[19:12] <jmedina> pmatulis: what do you want to do?
[19:13] <pmatulis> jmedina: heh, create a batch of users, perhaps providing an input file containing usernames and passwords
[19:13] <yann2> pmatulis > what's that?
[19:14] <yann2> sounds an awful lot like my adduser.sh script ^^
[19:14] <yann2> want me to pastebin it?
[19:14] <pmatulis> yann2: where do i find it?  sure
[19:16] <yann2> http://pastebin.com/d7b8e6cb7  its a list of these :)
[19:16] <yann2> not very clean but when you have the same 3-4 users to create everywhere it helps
[19:16] <yann2> else you can look at puppet :)
[19:18] <pmatulis> yann2: ok, disabling the p/w is one way to push a script through
[19:19] <yann2> it's because i use ssh keys
[19:19] <pmatulis> right
[19:19] <jmedina> I used a CSV file with two columns username,password in plaintext
[19:20] <jmedina> then I used a simple command line to auto user creation
[19:20] <jmedina> well that was for user in ldap/samba
[19:20] <yann2> jmedina > because you know the password of you users? bad bad you :)
[19:20] <jmedina> yann2: well Im root :D
[19:21] <yann2> root? :(
[19:21] <yann2> even as root you shouldnt know your users password
[19:21] <yann2> that way if someone cancels your ssh key you cant connect
[19:23] <PhotoJim> I don't know my users' passwords.  I create one for them, and then tell them to change it.  And I don't make a note of it, so even if they don't, I no longer have it.
[19:25] <jmedina> yann2: yeap, they change their password at first login via windows :D
[19:26] <yann2> :)
[19:26] <jmedina> otheres using a web interface, of course there is a password policy
[19:27] <jmedina> this script it is only for the first import
[20:02] <R4nD0m0324> Hey All
[20:02] <R4nD0m0324> has anyone here ever used Arcserve backup software?
[20:02] <jmedina> R4nD0m0324: a few years ago, than I changed to bacula
[20:03] <R4nD0m0324> did you ever have any performance issues?
[20:10] <sbeattie> Heh, the last time I touched Arcserve was... 1996 or so. That brings back some memories.
[20:27] <jmedina> ivoks are you there?
[20:27] <jmedina> :(
[20:29] <gioele> hello
[20:30] <gioele> in which configuration file the actual Postfix mail delivery is handed-off to Dovecot?
[20:35] <andol> gioele: How do you mean?
[20:40] <jmedina> gioele: it cant be in main.cf as mail_command and as a service/transport in master.cf
[20:40] <jmedina> it depends of your configuration
[20:50] <lamont> gioele: master.cf, mixed with main.cf defining the transport, I expect... OTOH, I haven't actually looked
[20:55] <jgjones> Greetings all
[20:55] <jgjones> Would anyone know of a case where the network within VM's running on XenServer (Citrix) would be flaky?
[20:56] <jgjones> I have a Ubuntu VM running on that, with SSH. Internally I can always access it without issues whatsoever.
[20:56] <jgjones> ADSL Router - port 22 is forwarded to the ubuntu VM (static IP)
[20:56] <jgjones> Sometime I can access it.
[20:56] <jgjones> Sometime I can't access it - it seem to die after a while.
[20:56] <jgjones> and seem to wake up after I access it internally.
[20:57] <jgjones> anyone have a clue?
[21:00] <jmedina> jgjones: probably some problem with tcp checksums or the timer
[21:00] <jgjones> and how would I check this?
[21:00] <jmedina> jgjones: you need to use a packet sniffer and look for any problems
[21:00] <jmedina> bue well, that is about xenserver
[21:01] <jmedina> not ubuntu itself, probably there is more info in citrix forums or in #xen
[21:01] <jgjones> ok I'm not sure how to use a packet sniffer to check - internally it does always work.
[21:02] <jmedina> what you mean internal?
[21:02] <jgjones> but when doing externally - ie from different location over internet - nmap scanning would tell me the port is filtered instead of open
[21:02] <jgjones> internal - behind router, in same location
[21:02] <jgjones> ubuntu vm would be 10.1.1.11 with the router as 10.1.1.1
[21:02] <jgjones> port 22 forwarded to 10.1.1.11
[21:02] <jmedina> jgjones: in DomU try something like this
[21:03] <jmedina> ethtool -K eth0 tx off
[21:03] <jmedina> that have solved alot of problems with xen and linux domu
[21:06] <jgjones> ok thanks, I've saved that into a note
[21:07] <jgjones> for further reading - like to undersand what it does etc.
[21:11] <gioele> jmedina, lamont: no, the master.cf does not define a dovecot transport (I'm adding one right now) and main.cf does not mention it at all
[21:14] <lamont> gioele: and you have mail diverted to dovecot, or you want to have mail diverted?
[21:14] <lamont> if the former, then I'd expect to see it in master.cf.  If in the latter, uh, not sure
[21:15] <gioele> lamont: I would like to have dovecot handle all the mail delivery (as stated in all the dovecot-postfix announcements)
[21:24] <pmatulis> i just upgraded to jaunty on a fresh test vm and the security respository was disabled.  anyone know why?
[21:26] <lamont> gioele: I expect that installing postfix-dovecot should DTRT, though others here would be better for answering that
[21:27] <gioele> lamont: I expected the same, but actually I cannot find how postfix-dovecot affects postfix. It installs a particular dovecot config file, but seems to do nothing on the postfix side
[21:28] <scope006> anyone have any knowledge on getting your open_files_limit above 1024 for mysql on ubuntu server
[21:33] <genii> scope006: Something like open_files_limit = 32768 under the heading [mysqld]         in the /etc/mysql/my.cnf
[21:34] <scope006> genii, yeah but for some reason it caps at 1024 even if i set it higher
[21:36] <gioele> scope006: ulimits maybe
[21:37] <scope006> gioele, yeah it looks like you have to add entries for the mysql username to /etc/security/limits.conf
[22:25] <u16602> how can I start firefox in a terminal or from a script but then fork it to run in the background (so I'm able to do other things in gnome terminal)
[22:26] <soren> You add '&' to the end of the command line... but I really have to ask why you came in here - of all places - to ask this question? firefox? gnome-terminal?
[22:36] <mattt> soren: :)
[22:53] <Shapeshifter> Hi. Does someone know a wrapper for apt/aptitude or other apt clients that have pretty output? apt-get is awful. As a demo what I call pretty, this is pacman output (archlinux) http://stuff.moritzg.ch/prettypacman.png Is there something like that to wrap around apt* ? Asking, as I want to use ubuntu-server on a few servers and not arch.
[23:10] <johnny5> I'm currently running Ubuntu Server in a vmware session using a Bridged network. Is this optimal? It seems like it's slow loading?
[23:16] <musikgoat|main> johnny5: you could have alot of I/O going on,  is the vm disk local or networked
[23:16] <musikgoat|main> ?
[23:18] <johnny5> it's strictly for local development
[23:19] <johnny5> i was thinking maybe, requests were going through too much back and forth
[23:19] <johnny5> or something to that effect
[23:19] <johnny5> maybe I just need to tune apache and mysql
[23:39] <m1r> hello
[23:57] <orudie> самый пре самый брутальный метал