[00:00] BCMM: Man, I've often wondered how to do that myself. I just grabbed that information on the 'ubuntu' thread. [00:00] Does update-rc.d do anything useful for you? [00:01] mac9416_2: you can use /etc/rc.local file [00:02] mac9416_2, http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/ [00:02] init scripts are a bit odd on gentoo, which is what i'm used to [00:03] 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] i presumed ubuntu had something like that, but turns out it's easy to just write a script [00:04] Yeah. Looks like the wordpress arcticle is the key. [00:08] well if is only a command you can use /etc/rc.local file [00:09] I suppose rc.local is a script that always runs at startup? [00:13] mac9416_2: yup [00:13] it is run at the end [00:14] 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] Ahh, cool. [00:16] just add the command line to /etc/rc.local and you are done :D [00:43] So, does anyone know anything about streaming audio across a network? [00:44] I've used Icecast in the past to stream over the Internet. Worked fine fo rme [00:45] No idea how it compares with any other options, but it was fine for what I needed [00:46] ropetin: would it work on a fome network? [00:47] *home [00:48] Sure, would work over any network connection [00:56] anybody using the denyhost script? [01:19] can someone help me setup tightvncserver on my server? [01:25] i installed xfce4 and tightvncserver.. i get this in the log: http://pastebin.be/17993 [01:34] Hello [01:35] 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] So I disabled the status module and now... php doesn't seem to work at all [01:36] 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] when I direct it to a php file, say index.php... my browser downloads it [02:19] 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] !info trickle [02:21] trickle (source: trickle): user-space bandwidth shaper. In component universe, is optional. Version 1.07-5 (intrepid), package size 36 kB, installed size 172 kB [02:26] 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] Where on launchpad do I gripe about this? [02:28] 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] 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] I'm not usually finding the piece of junk by staring at it. [02:31] I concede that it's a less common case, but it's still annoying. [02:31] If it's sufficiently offensive, holding for 4 seconds will turn it off anyway. [02:31] Sure, but that's obviously unclean. [02:32] Right, if it's sufficiently borked, you're unlikely to care. [02:32] I don't recall ever having had trouble recovering from an unclean shutdown with Ubuntu in any case. [02:33] 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] but/bug [02:33] 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] i'd say keep the power button thing disabled, one less way to accidentally power down a box :) [03:22] Ha! [03:41] hi i'm having a problem with dpkg and python-gnome2 [03:41] http://paste.ubuntu.com/155680/ [03:41] i am running ubuntu server 8.04 [03:43] John_Stamos: That's a but, please file it. [03:43] but/bug [03:44] already filed ( https://bugs.launchpad.net/ubuntu/+source/gnome-python/+bug/214268 ) i was hoping someone had a solution [03:44] Launchpad bug 214268 in gnome-python "[Hardy] python-gnome2 fails to install/upgade" [Medium,Invalid] [03:45] am i correct in saying that the only solution would be to reinstall it [03:46] I did set the bug to confirmed. [03:46] The problem is both packages provide a file in the same place with the same name. [03:47] 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] then i guess i'll reinstall, any clue why it did this [03:48] 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] You might try purging both packages and reinstalling. [03:49] That may or may not help, but it's safe. [03:50] which two packages? [03:52] python-modules and python-gconf? [03:57] python-gcong and gnome-python I think [03:58] so apt-get purge python-gconf gnome-python [03:58] 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] Make sure it doesn't want to take anything useful with it. [03:58] so if i get rid of gnome, the problem goes away? [03:59] and sorry no one in #ubuntu responds to me [04:04] how long does scanning mirror take? [04:05] and what happens if i dont have internet? [04:08] hello? [04:10] It will eventually time out [04:10] joejc: are you asking about how to access repositories without internet? [04:10] im installing in a vm and not sure if i have internet [04:16] I haven't used it, but I just booted my 8.04 server VM and apt-cdrom is installed by default [04:16] its been 30min at what point should i think its not going to work? [04:49] 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] That's bizarre. [04:51] ports closing or startx on a web server? [04:51] The former. [04:51] The latter is silly, but not bizarre. [04:58] 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] oh, its fixed [04:59] what was it [05:00] yeah I was connecting to a local address on my network. little did I know I wasn't on my network [05:00] lol [05:00] so the later :) [05:00] lol, nah I was trying to access it from my latop [05:00] oh [05:00] laptop, the server is headless, hidden somewhere =P [05:01] well the a pebkac error then :) I have those allot [05:01] lol [05:01] where u work? [05:01] oh I guess you get it enough in here [05:01] lol === t__ is now known as canadiandude [05:02] no I work in consulting too [05:07] however, one thing that I did notice.. is that none of the desktop apps are working [05:07] what did the last command do? [05:07] like I right click go to web browser, go to dillo [05:07] and it doesn't actually run =P [05:07] joejc: you are back in the main channel, it reset your IP lease === ayk is now known as aesis [07:32] hey guys [08:44] moin === Nicke_ is now known as Nicke === adam7_ is now known as adam7 [11:10] "And Soren had the brilliant idea of always installing Ubuntu Servers with a degraded RAID-1" [11:10] quote from dustins blogpost [11:10] is this about jaunty server install? [11:10] great idea! [11:28] henkjan: I'm afraid not. Hopefully Karmic, though. [12:16] 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] 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] incorrect: asterisk handles voip systems nicel, and extra features which voip systems need are easy to implement [12:38] what about a video conferencing system? [12:40] soren: Are you about? [12:41] I'm having issues with a kvm test that is on the iso tracker [12:46] davmor2: I am. [12:47] 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] davmor2: Yes, that's expected. [12:49] That's not a very good test case. [12:49] 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] Right. [12:49] soren: Thank god for that :) [12:49] That's expected. [12:49] Try adding -curses to the command line somewhere. [12:49] I didn't want to fail it if it was just that the docs were wrong [12:50] 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] soren: Thanks for the info I'll pass the test and we are fully covered again :) [13:05] #ubuntu-virt [13:06] * soren hands davmor2 a "/j" [13:20] 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] directory should be ubuntu/ right? [13:24] that's what I thought. [13:24] d-i mirror/http/hostname 192.168.212.199 [13:24] d-i mirror/http/directory string /ubuntu [13:24] but, no go [13:24] ubuntu/ [13:26] both should work [13:26] er... [13:27] I built my mirror with apt-mirror, and 192.168.212.199/ubuntu is where dists/ and pool/ are [13:27] don't use apt-mirror [13:28] use apt-cacher [13:28] Any reason? [13:29] apt-mirror isn't maintained for some time, iirc [13:30] and it explodes every now and then :) [13:30] or maybe i'm thinking about some other tool [13:31] right, i was thinking of apt-proxy [13:33] fair enough [13:33] changing to d-i mirror/http/directory string ubuntu/ [13:33] did not work either [13:34] so something's either busted on my mirror (unlikely, as i've been using it for post-install for quite a while) [13:34] have you looked at logs on your apt-mirror server? [13:34] or i'm overlooking something extremely trivial :) [13:35] <_ruben> checked the access logs of your mirror? [13:35] 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] Apr 21 13:40:31 anna-install: Queueing udeb apt-mirror-setup for later installation [13:35] Apr 21 13:49:01 main-menu[2403]: INFO: Menu item 'choose-mirror' succeeded but requested to be left unconfigured. [13:35] not the installer logs, but the logs of apt-mirror [13:44] Nothing on my mirror [13:44] so it's not reaching it during installation [13:45] ah [13:45] 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] shouldn't it be: [13:46] d-i mirror/http/hostname string 192.168.212.199 [13:46] notice the 'string' :) [13:46] oh god. [13:47] platform set os state reboot -f [13:47] let's try that again [13:47] sorry about the mispaste [13:51] well, thankfully or not, that didns't seem to resolve the issue [13:52] anything in the apt-mirror's logs? [13:52] no access to the server, no [13:52] nothing on tcpdump/snoop on port 80, and nothing in the access-logs for the web server serving up the repository [13:53] and how does it fail in the installer? [13:54] 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] checking installer debug logs now to see if i can gain any insight as to where it failed [13:58] jackpot [13:58] 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] adding a leading / to my directory, trying again [13:59] oops :) [14:01] interesting [14:01] http://www.mysqlserverhasgoneaway.com/ [14:01] heh [14:01] 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] 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] np [14:05] er, s/not/now/ === MohammadBoozary is now known as Mohammad[B] === mdz_ is now known as mdz [17:28] without a GUI, is it possible to do a release upgrade with the CD? [17:29] pmatulis: sudo apt-get update might do the trick [17:29] s/update/upgrade [17:30] pmatulis, the do-release-upgrade tool might do it [17:31] ogra: how does it get the cd? should i edit sources.list by hand first? [17:31] and include a cdrom line? [17:31] no, wait [17:31] http://www.ubuntu.com/getubuntu/upgrading [17:31] see the bottom, should work the same in jaunty [17:32] the cdromupgrade script should do it [17:32] ogra: ok but i assumed the cdromupgrade was a gui thing [17:33] you might need update-manager-core i think it triggers update-manager [17:33] i'll just try it here [17:34] i pinged mvo in #ubuntu-devel, he should know the answer :) [17:35] ogra: heh, i got him before i came here, but he must be away [17:36] yeah, likely pretty exhausted after all the upgrade testing :) [17:37] ogra: yup, it works [17:38] great [17:39] ogra: k, to avoid getting errors you do this: [17:39] sudo ./cdromupgrade --frontend=DistUpgradeViewText [17:39] ah, sweet [17:40] i'll ping mvo that he need not ping both of us back [18:06] hello [18:25] hi [18:28] is there some kind of ubuntu archive with 7.10 packages available online ? [18:42] lauris, try packages,ubuntu.com [18:43] thanks [18:47] found all needed packages to install update-manager-core \o/ === mvo__ is now known as mvo [19:12] 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] pmatulis: what do you want to do? [19:13] jmedina: heh, create a batch of users, perhaps providing an input file containing usernames and passwords [19:13] pmatulis > what's that? [19:14] sounds an awful lot like my adduser.sh script ^^ [19:14] want me to pastebin it? [19:14] yann2: where do i find it? sure [19:16] http://pastebin.com/d7b8e6cb7 its a list of these :) [19:16] not very clean but when you have the same 3-4 users to create everywhere it helps [19:16] else you can look at puppet :) [19:18] yann2: ok, disabling the p/w is one way to push a script through [19:19] it's because i use ssh keys [19:19] right [19:19] I used a CSV file with two columns username,password in plaintext [19:20] then I used a simple command line to auto user creation [19:20] well that was for user in ldap/samba [19:20] jmedina > because you know the password of you users? bad bad you :) [19:20] yann2: well Im root :D [19:21] root? :( [19:21] even as root you shouldnt know your users password [19:21] that way if someone cancels your ssh key you cant connect [19:23] 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] yann2: yeap, they change their password at first login via windows :D [19:26] :) [19:26] otheres using a web interface, of course there is a password policy [19:27] this script it is only for the first import [20:02] Hey All [20:02] has anyone here ever used Arcserve backup software? [20:02] R4nD0m0324: a few years ago, than I changed to bacula [20:03] did you ever have any performance issues? [20:10] Heh, the last time I touched Arcserve was... 1996 or so. That brings back some memories. [20:27] ivoks are you there? [20:27] :( [20:29] hello [20:30] in which configuration file the actual Postfix mail delivery is handed-off to Dovecot? [20:35] gioele: How do you mean? [20:40] gioele: it cant be in main.cf as mail_command and as a service/transport in master.cf [20:40] it depends of your configuration [20:50] gioele: master.cf, mixed with main.cf defining the transport, I expect... OTOH, I haven't actually looked [20:55] Greetings all [20:55] Would anyone know of a case where the network within VM's running on XenServer (Citrix) would be flaky? [20:56] I have a Ubuntu VM running on that, with SSH. Internally I can always access it without issues whatsoever. [20:56] ADSL Router - port 22 is forwarded to the ubuntu VM (static IP) [20:56] Sometime I can access it. [20:56] Sometime I can't access it - it seem to die after a while. [20:56] and seem to wake up after I access it internally. [20:57] anyone have a clue? [21:00] jgjones: probably some problem with tcp checksums or the timer [21:00] and how would I check this? [21:00] jgjones: you need to use a packet sniffer and look for any problems [21:00] bue well, that is about xenserver [21:01] not ubuntu itself, probably there is more info in citrix forums or in #xen [21:01] ok I'm not sure how to use a packet sniffer to check - internally it does always work. [21:02] what you mean internal? [21:02] but when doing externally - ie from different location over internet - nmap scanning would tell me the port is filtered instead of open [21:02] internal - behind router, in same location [21:02] ubuntu vm would be 10.1.1.11 with the router as 10.1.1.1 [21:02] port 22 forwarded to 10.1.1.11 [21:02] jgjones: in DomU try something like this [21:03] ethtool -K eth0 tx off [21:03] that have solved alot of problems with xen and linux domu [21:06] ok thanks, I've saved that into a note [21:07] for further reading - like to undersand what it does etc. [21:11] 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:12] New bug: #365259 in samba (main) "on update to jaunty, configuration questions are asked in curses dialog but debconf is configured to use kde" [Undecided,New] https://launchpad.net/bugs/365259 [21:14] gioele: and you have mail diverted to dovecot, or you want to have mail diverted? [21:14] if the former, then I'd expect to see it in master.cf. If in the latter, uh, not sure [21:15] lamont: I would like to have dovecot handle all the mail delivery (as stated in all the dovecot-postfix announcements) [21:24] i just upgraded to jaunty on a fresh test vm and the security respository was disabled. anyone know why? [21:26] gioele: I expect that installing postfix-dovecot should DTRT, though others here would be better for answering that [21:27] 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] anyone have any knowledge on getting your open_files_limit above 1024 for mysql on ubuntu server [21:33] scope006: Something like open_files_limit = 32768 under the heading [mysqld] in the /etc/mysql/my.cnf [21:34] genii, yeah but for some reason it caps at 1024 even if i set it higher [21:36] scope006: ulimits maybe [21:37] gioele, yeah it looks like you have to add entries for the mysql username to /etc/security/limits.conf [22:25] 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] 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] soren: :) === timburke_ is now known as timburke [22:53] 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] 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] johnny5: you could have alot of I/O going on, is the vm disk local or networked [23:16] ? [23:18] it's strictly for local development [23:19] i was thinking maybe, requests were going through too much back and forth [23:19] or something to that effect [23:19] maybe I just need to tune apache and mysql [23:39] hello [23:57] самый пре самый брутальный метал