[00:18] where can I load the programs(commands) that I want to run when ubuntu starts? [00:27] n-iCe: /etc/init.d/rc.local [00:28] Or maybe cron @reboot as an alternative [00:34] dthacker: thanks! [00:35] n-iCe: np :) [00:35] buut [00:35] http://www.asdasd.pastebin.com/m1d69fae1 [00:35] where do I add it? [00:35] the command is, ddclient [00:37] dthacker: ? [00:39] n-iCe: http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/ [00:39] thanks! [00:40] that's for a script [00:40] this is just a command [00:40] ddlient [00:40] ddclient [00:44] n-iCe: please look in /etc/init.d Is there a file called ddclient? [00:49] uhm [01:03] dthacker: yes [01:06] n-iCe: then ddclient is going to run as a daemon. to start from the command line use "/etc/init.d/ddclient start" To have ddclient autostart look in system-settings--advanced tab--services. [01:06] thanks [01:13] how do I change the login message? [01:13] when someone join to ssh? [01:13] dthacker: any idea? [01:13] nope :) [02:05] If I specify a command using cron, what happens if I turn the computer off while it's running, or if the computer is off when the command is schedueled to run? [02:17] anybody using ebox? [02:17] i installed hardy+ebox from cd [02:18] my LAMP is not running [02:18] looks like ebox only manages the apache2 [02:19] anyone? [02:20] You could try being specific [02:34] my webserver can't open index.php [02:34] what might be wrong? [02:40] I don't do PHP, but IIRC when people had asked that before it had something to do with Apache not being restarted after PHP was installed or some such. [02:42] still not working [02:42] Yeah, I don't either but `sudo a2enmod php5 && sudo invoke-rc.d apache2 restart` should make things work. === erichammond2 is now known as erichammond [04:35] Has anyone ever fully automated an ubuntu hardy install? I've read all the docs i can find on it, and they say you can, but everytiem i try (edit the isolinux.cfg, add my preseeding file, remaster the iso with a new keyring) all i get is nothing. Nothing ahppens, nothign will install. [04:56] I have to go to bed, but please leavea c omment with my name so i can read it tomarrow. I've tried the custominstall and preseeding tutorials on ubuntu official help, as well as others. And when i hit enter on my Custom Install menu entry it just nothign hapepns.. Same ifi try to use one of the real ones after i've rmasterd the cd, no response. [04:56] thanks [05:21] anybody installed ebox? [05:26] !ebox | unewbie [05:26] unewbie, please see my private message [06:04] if i put a new lan card on ubuntu server on boot will the os detect the new card? [06:06] jmazaredo: mostly yes [06:06] if i ifconfig -a it should show right? [06:07] yes [06:07] tyvm [06:11] Just beware that interface names are mostly static so if you pull one card and replace it with another then it will be eth1 not eth0 === yell0w__ is now known as yell0w === ewook_ is now known as ewook [07:15] soren: around? [07:17] seems not [07:17] soren: i've started a workaround on debian support for u-vm-b [07:18] soren: it actually need the hardest work [07:19] soren: i haven't still check the bootstrap think nor the kernel flavor (which actually only need to be defined [07:19] but the structure is already there [07:19] from oldstable to experimental [07:20] you can find it here if you want to take a look: https://code.launchpad.net/~nvalcarcel/ubuntu-jeos/u-vm-builder [07:20] i haven't test it yet === root is now known as Guest86906 === Guest86906 is now known as kdb424 [08:12] Hi! Is anyone on? [08:13] !ask [08:13] Please don't ask to ask a question, ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely answer. :-) [08:17] I just wanted to say that I finally got a lot of help, and got this server running (I'm on it now). I just wanted to say thanks again to the developers, and the community for this amazing software. It was truely a learning experience too. [08:22] Now I'm stuck in this program. Any suggestions? [08:28] moin [08:29] Hi [08:30] I'm on the newest ubuntu server in this IRC chat, no gui. How do I exit this? I'm still learning. Sorry. [08:35] Hey! Anyone here with LDAP (or more specific LDAP + AD + LTSP) envinroment? [08:36] I'm having bit of a problem here fucking everything up [08:36] !language [08:36] Please watch your language and topic to help keep this channel family friendly. [08:37] :) sorry [08:49] anyone willing to help? [08:50] my problem is that it allways seems to be trying to hit my localhost instead the domain controller I have specified into ldap.conf [08:51] and I have tryed to type it as ldap://, ldaps:// or host *ip* === MenZa_ is now known as MenZa === crummygummy_ is now known as CrummyGummy [10:07] hey guys - whats the best thing to replace cPanel with??? considering they dont install it on Ubuntu :( [10:10] I think maybe ebox [10:10] !ebox [10:10] ebox 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/eBox [11:43] is there a bug when installing nagios on ubuntu server? [11:49] <_ruben> check the bugtracker? [12:23] New bug: #251998 in samba (main) "package update-manager 1:0.87.27 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /tmp/tmph8Z6zU/backports/usr/bin/dpkg returned an error code (1)" [High,Triaged] https://launchpad.net/bugs/251998 [12:42] morning [12:45] happy monday! [12:47] meh ;) [12:48] it's not a happy monday at all [12:48] it's a grumpy and angry one [12:52] * dthacker forgot the sarcasm tags [13:01] hrm.. blue tab and lots of scrollback. I wonder if it was just someone muttering something about something I care abuot, or if someone was looking for me [13:01] Nothing in my lastlog [13:19] hads: cool. I imagine if it matters, someone will track me down [13:46] hi everyone. has anyone else had issues when running nscd on a samba/ldap PDC and trying to join domain computers? [13:47] it seems to be a bad idea running nscd on the ldap server/samba pdc since nscd prevents the immediate availability of the newly created ldap entry [13:47] or maybe it is just me and my setup [14:13] Nafallo: port ranges will be in the next release of ufw [14:17] jdstrand: awesome! will need a ppa later then? ;-) [14:21] Nafallo: actually, once it's in intrepid, you can just install it straight from there on hardy [14:22] (there are non intrepid-dependant deps) [14:22] s/non/no/ [14:24] jdstrand: morning, I had a question about auth-client-config... the kerberos_example profile doesn't work, at least in my testing, and I was wondering if it could be modified? [14:24] sommer: sure-- this is to go along with the server guide? [14:24] jdstrand: yepper, here's what I was thinking: http://paste.ubuntu.com/31275/ [14:25] sommer: that is just what needs to change? [14:25] jdstrand: I was able to login and get a ticket from the kdc with that :) [14:26] with "auth [success=done default=ignore] pam_unix.so" before the krb5 line it never requests a ticket [14:26] at least for users in /etc/passwd [14:27] err, I'll paste the entire file [14:27] sommer: please do [14:27] jdstrand: gdebi? I would prefer PPA TBH :-) [14:28] jdstrand: http://paste.ubuntu.com/31277/ [14:31] sommer: I think that will short-circuit the pam_ccreds stuff- does it still work? [14:31] jdstrand: ummmm, one sec [14:31] New bug: #252566 in openvpn (universe) "Please sync openvpn 2.1~rc8-1 (main) from Debian unstable (main)" [Undecided,New] https://launchpad.net/bugs/252566 [14:35] jdstrand: I think ccred still works... I see this in the logs: pam_sm_setcred: entry (0x2) [14:35] jdstrand: is there a quick test of the ccreds? [14:36] sommer: bring down networking and try to login [14:37] jdstrand: ah gotcha, yaaa I'll have to get back to you on that... accessing from remote at the moment [14:37] sommer: np [14:38] well maybe there's a way [14:38] sommer: I am not sure where ccreds stores it's information, but you'll want to try with a new user as well, to make sure that you can login while online, ccreds gets updates, pull the plug, can login offline [14:38] jdstrand: cool will do [14:39] sommer: you may be able to try some stuff with your firewall [14:39] (on the kdc) [14:40] sommer: the part that I am concerned about is both the logging in while offline, and updating ccreds when online [14:55] jdstrand: okay, so for a new the kdc password is different from the local shadow password... logs in fine when the kdc is started, but when the kdc is stopped only the local password works, so I guess that means ccreds are borked? [14:56] new user that is [14:56] sommer: sounds like it [14:56] sommer: it's the 'sufficient' part [14:56] zul: thanks for sponsoring some of the init script patches! [14:56] jdstrand: gar... I'll work on that some more than [14:56] ok [14:56] kirkland: yep no problem [14:56] zul: we're making good progress on that front [14:57] zul: getting some decent help from the community [14:57] kirkland: yep I saw [14:57] kirkland: but you could rediff your samba patches ;) [14:58] zul: i'll try to do that today [14:58] kirkland: np [14:58] zul: i'll also review as many of the patches awaiting sponsorship as I can [15:00] hi all === MenZa__ is now known as MenZa [15:03] kirkland: that would be great... [15:05] kirkland: I would bug the desktop team about those patches as well (dbus, etc) [15:05] zul: yeah [15:52] Anyone bought or read "Understanding the Linux Kernel" or "Linux Server Hacks"? Both look interesting and useful [15:56] lukehasnoname: I've read The Linux Kernel in a Nutshell... that's a good one, and online for free :) [15:57] Has anyone ever fully automated an ubuntu hardy install? I've read all the docs i can find on it, and they say you can, but everytiem i try (edit the isolinux.cfg, add my preseeding file, remaster the iso with a new keyring) all i get is nothing. Nothing ahppens, nothign will install. [15:58] sommer: thanks [15:59] sommer: they should have called it "Linux Kernel in a shell" <_< [16:40] New bug: #252617 in mysql-dfsg-5.0 (main) "Installing MySQL-Server in chroot" [Undecided,New] https://launchpad.net/bugs/252617 [16:47] New bug: #251377 in amavisd-new (universe) "Problems with amavisd-new: cannot start the service" [Undecided,New] https://launchpad.net/bugs/251377 [17:53] Has anyone ever fully automated an ubuntu hardy install? I've read all the docs i can find on it, and they say you can, but everytiem i try (edit the isolinux.cfg, add my preseeding file, remaster the iso with a new keyring) all i get is nothing. Nothing ahppens, nothign will install. [17:57] Sp0tter: if you pm me your email, I have a white paper on the subject [17:58] thank you very much [17:58] I've spent hours and hours reading over and over the docs on ubuntu's site, following step by step to no avail [17:58] nijaba: Throw it up on the wiki [17:58] nijaba: if it's actually useful [17:58] lukehasnoname: long story.... [18:00] Basicly I need a 100% automated disk that is a failsafe, that someone where i host my server could pop in and walk away and it would do a basic install with openssh. Where i host my server, they have no knowledge of linux and no time to reinstall people's software for them heh, but I'm not looking to make the 4 hour drive there and back [18:03] nijaba: o_O [18:20] nijaba, I have read the paper and notice it doesn't mention anything about recompiling the debian keyring, is this step not needed with the kickstart method? [18:22] I'm having problems with what appears to be an old bug with libnss-ldap and udev (stall at boot) in hardy. It's written in the ubuntu wiki that i should set "bind_policy soft" in /etc/libnss-conf , this file does not exist in hardy (I've created it, but it doesn't help. anyone who knows a fix? [18:22] eivindgl: try /etc/ldap.conf [18:24] mathiaz: thanks, found an entry here [18:34] * kees is attempting inbox-zero. ... not easy [18:35] kees: heh [18:49] Would someone who knows some Perl look at Bug 251377. I think it's not to hard to figure, but I'm mostly offline the next about 24 hours. [18:49] Launchpad bug 251377 in amavisd-new "Problems with amavisd-new: cannot start the service" [Undecided,New] https://launchpad.net/bugs/251377 [18:53] mathiaz: I'm very doubtful for the server team meeting tomorrow. No progress on Clamav/Spamassassin MIR. Please apply liberal amounts of guilt to get people to help. [18:54] nijaba: Is adding your own key and recompiling the debian keyring not part of the kickstart method? From what i've seen so far you can't make any changes to the install iso without doing that? [19:01] Sp0tter: not if the only thing you do is changing install parameters. You will need to fiddle with keyring only if you change the packages AFAIK [19:02] nijaba: I've tried only changing lines in the isolinux.cfg and the default ubuntu seed file and it gave the MD5 checksum error [19:03] Sp0tter: md5sum does NOT use the keyring [19:03] nijaba: oh, what would cause that then? [19:03] Sp0tter: it is only there to verify the integrity of the media [19:03] nijaba: is there a way to disable that? [19:04] Sp0tter: the method I described in the paper to create the iso should recompute the md5 fine [19:04] nijaba: I haev no need to install any extra packages, just the bare min server [19:04] nijaba: ok excellent, I'm doing that now thanks [19:04] np [19:15] why would guilt induce people to help??? [19:15] ah well [19:35] nijaba: when i try to recreate the iso it gives me "genisoimage: Uh oh, I cant find the boot image 'isolinux/isolinux.bin" but its there, and i can do ls isolinux/isolinux.bin and it pops up [19:36] also, there is no isolinux.cat which is mentioned in the paper but i cant find it on my cd [19:53] hi folks [19:53] I'm trying to set up my bind server to refer requests for a subdomain to the subdomain's name server, but that doesn't seem to be working. [19:53] I'm getting a log message of zone win2k3.kblin.local/IN: refresh: non-authoritative answer from master 192.168.2.1#53 (source 0.0.0.0#0) [20:05] hm, never mind, I got slave mode working :) [20:12] nijaba: Now I have it created, but at install time i'm getting a red screen that says 'The cdrom contains a cd which cannot be used for installation." [20:15] nijaba: even if i remove the ks.cfg file, it still gives the cdrom error [20:19] Sp0tter: hmmm... maybe you should go ask in #ubuntu-installer [20:19] * nijaba interested in Sp0tter's finding, though [20:21] I started in #ubuntu with hundresd of people, they sent me here with like 80 people, now i'm in #ubuntu-installer with 20 people [20:21] I hope i don't get sent further down the line or there will be nobody left to help :) [20:23] * delcoyote hi [20:32] nijaba, in your paper when you say 'copy it over', a regular cp command leaves out the .disk directory, that was my problem :) [20:32] Sp0tter: oh, good catch! [20:32] Sp0tter: I'll fix that! [20:56] New bug: #252675 in bind9 (main) "Please include 9.4.2-P2 patches in Hardy server" [Undecided,New] https://launchpad.net/bugs/252675 [20:57] mathiaz: hi there.... superm1 asked me about the chances of backporting the status_of_proc() function to hardy [20:59] mathiaz: what's your opinion? [21:00] mathiaz: it's a relatively easy backport [21:00] mathiaz: what do you think are its chances of getting SRU'd? [21:01] kirkland: found a small think-o in mdadm -- it needs to exit 1 at the end of the handler, not just inside the if statement [21:01] * kirkland digs up that patch [21:03] nijaba: So it installs fine now off the newly made ISO, but it ignores the kickstart / seeding that I do. I still get that terrible 'what language' question twice and the 'detect keyboard' even thoughi have those in my preseed file [21:03] kirkland: slim - IIUC status_of_proc is a new feature, not a bug fix. [21:03] kees: yeah, i see that. you want to handle that on commit, or shall i respin the patch? [21:03] kirkland: and the mdadm --misc --scan --detail should be silent [21:03] kirkland: I've got it. gonna reboot once more [21:04] kees: silent? really? [21:04] kirkland: yeah, it's not human-useful information unless something is broken. [21:04] (the proc/mdstat info gets shown on real failure) [21:05] hey I just thought of a great idea, you know how you can highlight text that has your name in it in the chat here, there should be a plugin that highlights , but it alternates colors in rotation based on the nick.. so first thing sp0tter says withy our name.. then sp0tter is assined color X, then if someone else says your name he is assigned a different highlight color [21:05] then you can keep track of everyone's messages by color on topic [21:06] kees: okay, fair enough [21:07] kirkland: I'm doing the same for lvm2 [21:07] kees: cool [21:10] * kees reboots to test again [21:10] (btw, ntpdata filelock appears to be totally broken...) [21:10] s/data/date/ [21:18] New bug: #252686 in nagios2 (universe) "Reload action on init script kills daemon" [Undecided,New] https://launchpad.net/bugs/252686 [21:20] kees: is there any testing you want/need me to do on my end, or are you just finishing it up? [21:20] * kees -> back and happy [21:21] kirkland: nope, I'm just finishing it up and making sure it worked for me in real-life [21:21] I've uploaded them all now. \m/ [21:21] kees: awesome, thanks dude [21:21] kirkland: thank _you_! it's been a long road. :) [21:22] kees: well, there's more to go, but this is a big help [21:22] * kees nods [21:22] kees: being able to tell the kernel on boot to bootdegraded is awesome [21:22] totally [21:22] kees: mathiaz asked me to write up a blog post on testing this... i captured most of my thoughts in that wiki page [21:22] kees: did you find the test instructions adequate? [21:24] kirkland: the only thing I'd say to improve it would be to add "expected output" examples [21:24] kirkland: and to add the test-case I just tried: the system and drives are all totally fine, but the root UUID in grub is wrong (i.e. test that the "nothing to do" use-case works and we get a shell) [21:26] kees: gotcha, will do, before the blog post [21:26] mathiaz: are you still interested in a "Boot Degraded RAID: Call for Testers!" blog post? [21:26] kirkland: sure ! :) [21:27] mathiaz: okay, how about I write that one this week, and the Encrypted Private Directory one next week? [21:27] kirkland: I'm also thinking of adding a section to the hooks that say something about "no problems detected with md arrays" or something just to have an "else" section that produces some kind of output. [21:27] kirkland: but that can be done any time. [21:27] kees: yeah, just a log_success_msg()? [21:27] kirkland: dunno, it needs some though. [21:28] kirkland: wfm [21:28] kirkland: Just curious: If a drive fails in a RAID, how is it currently handled? No need for a huge detailed explanation, just a brief answer [21:28] kirkland: in your blog post you might want to call attention to that fact that grub isn't raid-sane yet, and that testers could run into that problem. [21:28] kees: I think i'd also like to see something printed when on your subsequent boots when you're in a degraded RAID (but mdadm expects that) [21:28] kees: yeah, i was planning on fixing that this week, but iscsi got promoted [21:28] kirkland: well, that should be "mdadm --daemon"'s problem. [21:28] kees: but good point, i'll add that [21:29] kees: i think mdadm might send email about that [21:29] it does [21:29] lukehasnoname: handled by whom? the kernel? mdadm? the boot processes? [21:29] kees: good, that's probably adequate [21:30] kirkland: Let me read a bit more before I ask [21:30] lukehasnoname: good man ;-) [21:30] lukehasnoname: now, i'll give you the briefest answer.... [21:31] lukehasnoname: the kernel will keep chugging along, reading/writing to the raid device, mdadm will mark the drived 'FAILED', and if configured, send email to the sysadmin about it [21:31] lukehasnoname: prior to the work kees and I have been doing, the next boot would dump you to a busybox prompt, saying your RAID couldn't be started because of a failed device [21:32] lukehasnoname: but we just added support for the user adding a 'bootdegraded=true' bit to the kernel command line, if you wanted to force the boot of a degraded RAID [21:34] ah [21:34] >_> [22:02] zul: samba/winbind patch updated: https://bugs.launchpad.net/debian/+source/samba/+bug/247087 [22:02] Launchpad bug 247087 in samba "samba init script status action" [Low,Triaged] [22:24] So, I've put a new USB2.0 PCI card in my server. Now, I've connected my external drive to it. The server doesn't have a GUI, it's running dapper. Usually I would cd to /media/ and the drive would be there. Can anyone suggest anything? [22:25] lspci shows the usb2.0 card [22:25] dmesg | less shows the drive [22:26] hi guys, I'm migrating from redhat and wanted to put same users on my new debian/ubuntu machine [22:26] what is the best way to migrate folks over [22:27] is there a tool that folks recommend? [22:27] my external drive is EXT3 [22:28] I have seen a guide where you copy the user entries out of /etc/passwd /etc/group /etc/shadow and append them to those files on the new machine [22:29] but redhat UIDs start at 500 while debian ones start at 1000, should I just add 500 to everyone's UID or should I leave them as is and hope that debian can cope with Users under the UID 1000 floor [22:29] ? [22:30] (hoping someone points me at a tool that does this all automagically) [22:30] :) [22:31] sudo fdisk -l doesn't show my external drive. [22:32] Can I do something else to see if it's there? [22:33] yareckon: It will cope with UIDs under 500 but some things expect UIDs to be over 1000 such as the face chooser at login etc. [22:33] J- maybe watch messages to see if something changes when you plug/unplug? [22:34] thanks hads, no one logs in with their faces on this box :) (it's a little workgroup samba server) [22:34] I was using UIDs under 500 up until a short time ago when I changed them [22:34] you just went into /etc/passwd /etc/shadow and /etc/groups and did it by hand or scripted something? [22:35] Anyone have a link to a rough guide of remotely installing ubuntu/debian? I did it a few years ago with sarge but it's been a long time. [22:36] yareckon: usermod -u will change a users UID and the files in their home dir but not files outside it. It also won't change their GID [22:37] yeah, it's keeping the UID/GID accounting straight across all of those files x30 users that has me nervous doing that by hand [22:37] usermod may help [22:40] Also `find / -uid 500` [22:40] That's what I finished mine off with. [22:42] thanks for the help! [22:43] No worries [22:43] I think this is why server guys stick with one distro :) [22:43] Here's a pastebin of "dmesg |grep -i usb" http://pastebin.ca/1085636 Does it look proper? [22:43] I installed a PCI USB 2.0 card in my server. [22:43] cause it sure isn't as slick as distro hopping on the desktop [22:50] problem with postfix, is there a known issue where it never installs properly or is there something i don't know about it? [22:54] nvm [22:55] some things just don't install right if you try to set certain values during install [23:24] i think I just fouind my answer to ubuntu server using cPanel... [23:24] ~~~ALIEN~~~ [23:25] :D === Zyna-laptop_ is now known as Zyna-laptop