/srv/irclogs.ubuntu.com/2008/07/28/#ubuntu-server.txt

n-iCewhere can I load the programs(commands) that I want to run when ubuntu starts?00:18
dthackern-iCe: /etc/init.d/rc.local00:27
hadsOr maybe cron @reboot as an alternative00:28
n-iCedthacker: thanks!00:34
dthackern-iCe: np :)00:35
n-iCebuut00:35
n-iCehttp://www.asdasd.pastebin.com/m1d69fae100:35
n-iCewhere do I add it?00:35
n-iCethe command is, ddclient00:35
n-iCedthacker: ?00:37
dthackern-iCe: http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/00:39
n-iCethanks!00:39
n-iCethat's for a script00:40
n-iCethis is just a command00:40
n-iCeddlient00:40
n-iCeddclient00:40
dthackern-iCe: please look in /etc/init.d  Is there a file called ddclient?00:44
n-iCeuhm00:49
n-iCedthacker: yes01:03
dthackern-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
n-iCethanks01:06
n-iCehow do I change the login message?01:13
n-iCewhen someone join to ssh?01:13
n-iCedthacker: any idea?01:13
dthackernope :)01:13
duiuIf 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:05
unewbieanybody using ebox?02:17
unewbiei installed hardy+ebox from cd02:17
unewbiemy LAMP is not running02:18
unewbielooks like ebox only manages the apache202:18
unewbieanyone?02:19
duiuYou could try being specific02:20
unewbiemy webserver can't open index.php02:34
unewbiewhat might be wrong?02:34
ScottKI 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:40
unewbiestill not working02:42
hadsYeah, I don't either but `sudo a2enmod php5 && sudo invoke-rc.d apache2 restart` should make things work.02:42
=== erichammond2 is now known as erichammond
Sp0tterHas 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:35
Sp0tterI 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
Sp0tterthanks04:56
unewbieanybody installed ebox?05:21
unewbie!ebox | unewbie05:26
ubottuunewbie, please see my private message05:26
jmazaredoif i put a new lan card on ubuntu server on boot will the os detect the new card?06:04
gladkjmazaredo: mostly yes06:06
jmazaredoif i ifconfig -a it should show right?06:06
gladkyes06:07
jmazaredotyvm06:07
hadsJust beware that interface names are mostly static so if you pull one card and replace it with another then it will be eth1 not eth006:11
=== yell0w__ is now known as yell0w
=== ewook_ is now known as ewook
nxvlsoren: around?07:15
nxvlseems not07:17
nxvlsoren: i've started a workaround on debian support for u-vm-b07:17
nxvlsoren: it actually need the hardest work07:18
nxvlsoren: i haven't still check the bootstrap think nor the kernel flavor (which actually only need to be defined07:19
nxvlbut the structure is already there07:19
nxvlfrom oldstable to experimental07:19
nxvlyou can find it here if you want to take a look: https://code.launchpad.net/~nvalcarcel/ubuntu-jeos/u-vm-builder07:20
nxvli haven't test it yet07:20
=== root is now known as Guest86906
=== Guest86906 is now known as kdb424
kdb424Hi! Is anyone on?08:12
hads!ask08:13
ubottuPlease 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:13
kdb424I 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:17
kdb424Now I'm stuck in this program. Any suggestions?08:22
krautmoin08:28
kdb424Hi08:29
kdb424I'm on the newest ubuntu server in this IRC chat, no gui. How do I exit this? I'm still learning. Sorry.08:30
TNKLTSPHey! Anyone here with LDAP (or more specific LDAP + AD + LTSP) envinroment?08:35
TNKLTSPI'm having bit of a problem here fucking everything up08:36
hads!language08:36
ubottuPlease watch your language and topic to help keep this channel family friendly.08:36
TNKLTSP:) sorry08:37
TNKLTSPanyone willing to help?08:49
TNKLTSPmy problem is that it allways seems to be trying to hit my localhost instead the domain controller I have specified into ldap.conf08:50
TNKLTSPand I have tryed to type it as ldap://, ldaps:// or host *ip*08:51
=== MenZa_ is now known as MenZa
=== crummygummy_ is now known as CrummyGummy
sCOTTohey guys - whats the best thing to replace cPanel with??? considering they dont install it on Ubuntu :(10:07
hadsI think maybe ebox10:10
hads!ebox10:10
ubottuebox 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/eBox10:10
jmazared1is there a bug when installing nagios on ubuntu server?11:43
_rubencheck the bugtracker?11:49
uvirtbotNew 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/25199812:23
zulmorning12:42
sommerhappy monday!12:45
zulmeh ;)12:47
Oliberit's not a happy monday at all12:48
Oliberit's a grumpy and angry one12:48
* dthacker forgot the sarcasm tags12:52
lamonthrm.. 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 me13:01
hadsNothing in my lastlog13:01
lamonthads: cool.  I imagine if it matters, someone will track me down13:19
RockHoundhi everyone. has anyone else had issues when running nscd on a samba/ldap PDC and trying to join domain computers?13:46
RockHoundit 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 entry13:47
RockHoundor maybe it is just me and my setup13:47
jdstrandNafallo: port ranges will be in the next release of ufw14:13
Nafallojdstrand: awesome! will need a ppa later then? ;-)14:17
jdstrandNafallo: actually, once it's in intrepid, you can just install it straight from there on hardy14:21
jdstrand(there are non intrepid-dependant deps)14:22
jdstrands/non/no/14:22
sommerjdstrand: 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
jdstrandsommer: sure-- this is to go along with the server guide?14:24
sommerjdstrand: yepper, here's what I was thinking: http://paste.ubuntu.com/31275/14:24
jdstrandsommer: that is just what needs to change?14:25
sommerjdstrand: I was able to login and get a ticket from the kdc with that :)14:25
sommerwith "auth    [success=done default=ignore]   pam_unix.so" before the krb5 line it never requests a ticket14:26
sommerat least for users in /etc/passwd14:26
sommererr, I'll paste the entire file14:27
jdstrandsommer: please do14:27
Nafallojdstrand: gdebi? I would prefer PPA TBH :-)14:27
sommerjdstrand: http://paste.ubuntu.com/31277/14:28
jdstrandsommer: I think that will short-circuit the pam_ccreds stuff- does it still work?14:31
sommerjdstrand: ummmm, one sec14:31
uvirtbotNew bug: #252566 in openvpn (universe) "Please sync openvpn 2.1~rc8-1 (main) from Debian unstable (main)" [Undecided,New] https://launchpad.net/bugs/25256614:31
sommerjdstrand: I think ccred still works... I see this in the logs: pam_sm_setcred: entry (0x2)14:35
sommerjdstrand: is there a quick test of the ccreds?14:35
jdstrandsommer: bring down networking and try to login14:36
sommerjdstrand: ah gotcha, yaaa I'll have to get back to you on that... accessing from remote at the moment14:37
jdstrandsommer: np14:37
sommerwell maybe there's a way14:38
jdstrandsommer: 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 offline14:38
sommerjdstrand: cool will do14:38
jdstrandsommer: you may be able to try some stuff with your firewall14:39
jdstrand(on the kdc)14:39
jdstrandsommer: the part that I am concerned about is both the logging in while offline, and updating ccreds when online14:40
sommerjdstrand: 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:55
sommernew user that is14:56
jdstrandsommer: sounds like it14:56
jdstrandsommer: it's the 'sufficient' part14:56
kirklandzul: thanks for sponsoring some of the init script patches!14:56
sommerjdstrand: gar... I'll work on that some more than14:56
jdstrandok14:56
zulkirkland: yep no problem14:56
kirklandzul: we're making good progress on that front14:56
kirklandzul: getting some decent help from the community14:57
zulkirkland: yep I saw14:57
zulkirkland: but you could rediff your samba patches ;)14:57
kirklandzul: i'll try to do that today14:58
zulkirkland: np14:58
kirklandzul: i'll also review as many of the patches awaiting sponsorship as I can14:58
floschhi all15:00
=== MenZa__ is now known as MenZa
zulkirkland: that would be great...15:03
zulkirkland: I would bug the desktop team about those patches as well (dbus, etc)15:05
kirklandzul: yeah15:05
lukehasnonameAnyone bought or read "Understanding the Linux Kernel" or "Linux Server Hacks"? Both look interesting and useful15:52
sommerlukehasnoname: I've read The Linux Kernel in a Nutshell... that's a good one, and online for free :)15:56
Sp0tterHas 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:57
lukehasnonamesommer: thanks15:58
lukehasnonamesommer: they should have called it "Linux Kernel in a shell" <_<15:59
uvirtbotNew bug: #252617 in mysql-dfsg-5.0 (main) "Installing MySQL-Server in chroot" [Undecided,New] https://launchpad.net/bugs/25261716:40
uvirtbotNew bug: #251377 in amavisd-new (universe) "Problems with amavisd-new: cannot start the service" [Undecided,New] https://launchpad.net/bugs/25137716:47
Sp0tterHas 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:53
nijabaSp0tter: if you pm me your email, I have a white paper on the subject17:57
Sp0tterthank you very much17:58
Sp0tterI've spent hours and hours reading over and over the docs on ubuntu's site, following step by step to no avail17:58
lukehasnonamenijaba: Throw it up on the wiki17:58
lukehasnonamenijaba: if it's actually useful17:58
nijabalukehasnoname: long story....17:58
Sp0tterBasicly 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 back18:00
lukehasnonamenijaba: o_O18:03
Sp0tternijaba, 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:20
eivindglI'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
mathiazeivindgl: try /etc/ldap.conf18:22
eivindglmathiaz: thanks, found an entry here18:24
* kees is attempting inbox-zero. ... not easy18:34
zulkees: heh18:35
ScottK-palmWould 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
uvirtbotLaunchpad bug 251377 in amavisd-new "Problems with amavisd-new: cannot start the service" [Undecided,New] https://launchpad.net/bugs/25137718:49
ScottK-palmmathiaz: 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:53
Sp0tternijaba: 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?18:54
nijabaSp0tter: not if the only thing you do is changing install parameters.  You will need to fiddle with keyring only if you change the packages AFAIK19:01
Sp0tternijaba: I've tried only changing lines in the isolinux.cfg and the default ubuntu seed file and it gave the MD5 checksum error19:02
nijabaSp0tter: md5sum does NOT use the keyring19:03
Sp0tternijaba: oh, what would cause that then?19:03
nijabaSp0tter: it is only there to verify the integrity of the media19:03
Sp0tternijaba: is there a way to disable that?19:03
nijabaSp0tter: the method I described in the paper to create the iso should recompute the md5 fine19:04
Sp0tternijaba: I haev no need to install any extra packages, just the bare min server19:04
Sp0tternijaba: ok excellent, I'm doing that now thanks19:04
nijabanp19:04
sommerwhy would guilt induce people to help???19:15
sommerah well19:15
Sp0tternijaba: 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 up19:35
Sp0tteralso, there is no isolinux.cat which is mentioned in the paper but i cant find it on my cd19:36
kblinhi folks19:53
kblinI'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
kblinI'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)19:53
kblinhm, never mind, I got slave mode working :)20:05
Sp0tternijaba: 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:12
Sp0tternijaba: even if i remove the  ks.cfg file, it still gives the cdrom error20:15
nijabaSp0tter: hmmm...  maybe you should go ask in #ubuntu-installer20:19
* nijaba interested in Sp0tter's finding, though20:19
Sp0tterI started in #ubuntu with hundresd of people, they sent me here with like 80 people, now i'm in #ubuntu-installer with 20 people20:21
Sp0tterI hope i don't get sent further down the line or there will be nobody left  to help :)20:21
* delcoyote hi20:23
Sp0tternijaba, in your paper when you say 'copy it over',  a regular cp command leaves out the .disk directory, that was my problem :)20:32
nijabaSp0tter: oh, good catch!20:32
nijabaSp0tter: I'll fix that!20:32
uvirtbotNew bug: #252675 in bind9 (main) "Please include 9.4.2-P2 patches in Hardy server" [Undecided,New] https://launchpad.net/bugs/25267520:56
kirklandmathiaz: hi there....  superm1 asked me about the chances of backporting the status_of_proc() function to hardy20:57
kirklandmathiaz: what's your opinion?20:59
kirklandmathiaz: it's a relatively easy backport21:00
kirklandmathiaz: what do you think are its chances of getting SRU'd?21:00
keeskirkland: found a small think-o in mdadm -- it needs to exit 1 at the end of the handler, not just inside the if statement21:01
* kirkland digs up that patch21:01
Sp0tternijaba: 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 file21:03
mathiazkirkland: slim - IIUC status_of_proc is a new feature, not a bug fix.21:03
kirklandkees: yeah, i see that.  you want to handle that on commit, or shall i respin the patch?21:03
keeskirkland: and the mdadm --misc --scan --detail should be silent21:03
keeskirkland: I've got it.  gonna reboot once more21:03
kirklandkees: silent?  really?21:04
keeskirkland: yeah, it's not human-useful information unless something is broken.21:04
kees(the proc/mdstat info gets shown on real failure)21:04
Sp0tterhey 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 color21:05
Sp0tterthen you can keep track of everyone's messages by color on topic21:05
kirklandkees: okay, fair enough21:06
keeskirkland: I'm doing the same for lvm221:07
kirklandkees: cool21:07
* kees reboots to test again21:10
kees(btw, ntpdata filelock appears to be totally broken...)21:10
keess/data/date/21:10
uvirtbotNew bug: #252686 in nagios2 (universe) "Reload action on init script kills daemon" [Undecided,New] https://launchpad.net/bugs/25268621:18
kirklandkees: 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 happy21:20
keeskirkland: nope, I'm just finishing it up and making sure it worked for me in real-life21:21
keesI've uploaded them all now.  \m/21:21
kirklandkees: awesome, thanks dude21:21
keeskirkland: thank _you_!  it's been a long road.  :)21:21
kirklandkees: well, there's more to go, but this is a big help21:22
* kees nods21:22
kirklandkees: being able to tell the kernel on boot to bootdegraded is awesome21:22
keestotally21:22
kirklandkees: mathiaz asked me to write up a blog post on testing this...  i captured most of my thoughts in that wiki page21:22
kirklandkees: did you find the test instructions adequate?21:22
keeskirkland: the only thing I'd say to improve it would be to add "expected output" examples21:24
keeskirkland: 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:24
kirklandkees: gotcha, will do, before the blog post21:26
kirklandmathiaz: are you still interested in a "Boot Degraded RAID: Call for Testers!" blog post?21:26
mathiazkirkland: sure ! :)21:26
kirklandmathiaz: okay, how about I write that one this week, and the Encrypted Private Directory one next week?21:27
keeskirkland: 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
keeskirkland: but that can be done any time.21:27
kirklandkees: yeah, just a log_success_msg()?21:27
keeskirkland: dunno, it needs some though.21:27
mathiazkirkland: wfm21:28
lukehasnonamekirkland: Just curious: If a drive fails in a RAID, how is it currently handled? No need for a huge detailed explanation, just a brief answer21:28
keeskirkland: 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
kirklandkees: 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
kirklandkees: yeah, i was planning on fixing that this week, but iscsi got promoted21:28
keeskirkland: well, that should be "mdadm --daemon"'s problem.21:28
kirklandkees: but good point, i'll add that21:28
kirklandkees: i think mdadm might send email about that21:29
keesit does21:29
kirklandlukehasnoname: handled by whom?  the kernel?  mdadm?  the boot processes?21:29
kirklandkees: good, that's probably adequate21:29
lukehasnonamekirkland: Let me read a bit more before I ask21:30
kirklandlukehasnoname: good man ;-)21:30
kirklandlukehasnoname: now, i'll give you the briefest answer....21:30
kirklandlukehasnoname: 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 it21:31
kirklandlukehasnoname: 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 device21:31
kirklandlukehasnoname: 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 RAID21:32
lukehasnonameah21:34
lukehasnoname>_>21:34
kirklandzul: samba/winbind patch updated: https://bugs.launchpad.net/debian/+source/samba/+bug/24708722:02
uvirtbotLaunchpad bug 247087 in samba "samba init script status action" [Low,Triaged]22:02
J-_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:24
J-_lspci shows the usb2.0 card22:25
J-_dmesg | less shows the drive22:25
yareckonhi guys, I'm migrating from redhat and wanted to put same users on my new debian/ubuntu machine22:26
yareckonwhat is the best way to migrate folks over22:26
yareckonis there a tool that folks recommend?22:27
J-_my external drive is EXT322:27
yareckonI 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 machine22:28
yareckonbut 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 floor22:29
yareckon?22:29
yareckon(hoping someone points me at a tool that does this all automagically)22:30
yareckon:)22:30
J-_sudo fdisk -l doesn't show my external drive.22:31
J-_Can I do something else to see if it's there?22:32
hadsyareckon: 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
yareckonJ- maybe watch messages to see if something changes when you plug/unplug?22:33
yareckonthanks hads, no one logs in with their faces on this box :)   (it's a little workgroup samba server)22:34
hadsI was using UIDs under 500 up until a short time ago when I changed them22:34
yareckonyou just went into /etc/passwd /etc/shadow and /etc/groups and did it by hand or scripted something?22:34
null_vectorAnyone 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:35
hadsyareckon: 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 GID22:36
yareckonyeah, it's keeping the UID/GID accounting straight across all of those files x30 users that has me nervous doing that by hand22:37
yareckonusermod may help22:37
hadsAlso `find / -uid 500`22:40
hadsThat's what I finished mine off with.22:40
yareckonthanks for the help!22:42
hadsNo worries22:43
yareckonI think this is why server guys stick with one distro :)22:43
J-_Here's a pastebin of "dmesg |grep -i usb" http://pastebin.ca/1085636 Does it look proper?22:43
J-_I installed a PCI USB 2.0 card in my server.22:43
yareckoncause it sure isn't as slick as distro hopping on the desktop22:43
Kohlra1problem with postfix, is there a known issue where it never installs properly or is there something i don't know about it?22:50
Kohlra1nvm22:54
Kohlra1some things just don't install right if you try to set certain values during install22:55
sCOTToi think I just fouind my answer to ubuntu server using cPanel...23:24
sCOTTo~~~ALIEN~~~23:24
sCOTTo:D23:25
=== Zyna-laptop_ is now known as Zyna-laptop

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