[00:00] giovani: yeah.. I'm comfortable doing it manually.. just asking if there was an easier way [00:01] I don't see why you'd want/need two different ports anyway -- just use two different ddns names, and use name-based virtual hosting [00:01] what file(s) is being updated when I'm running services-admin and enable/disable a service? [00:01] duvnell1: what's services-admin? [00:01] or use something like nginx ;-) [00:01] I have dhcpd enabled, and it's starting on boot, but it's apparently dying because it's not in the ps list after booting.. starting it manually fixes things [00:01] giovani: this is my first time using linux as a server so i thought that would be the best way [00:02] giovani: System->Administration->Services [00:02] sam_: the proper way would be to register two dns names with your ddns provider [00:02] duvnell1: we don't support guis in here [00:02] and I do see dhcpd start in /var/log/messages [00:02] ok.. no more GUI talk [00:02] how do I enable/disable a service? update-rc.d? [00:03] sudo /etc/init.d/service start|stop|restart [00:03] ..umm.. start a service at boot [00:03] you can do it manually [00:03] or using the tools provided [00:03] the tool name is my questio [00:03] what tool do I use to arrange for a service to start at boot? [00:04] duvnell1: red hat's chkconfig is being imported into ubuntu. i believe it started with 8.10. it doesn't do a great job right now (not very intelligent) but you may want to check it out [00:04] update-rc.d works fine [00:06] so update-rc.d is creating the symlinks for me.. that's cool [00:06] duvnell1: yeah, it's a standard SysV tool, not ubuntu-specific [00:06] is upstart still being used on server edition ? [00:06] yes [00:06] and upstart is following the rc dirs ? [00:07] yes, upstart is supporting the legacy rcX.d style setup [00:07] I don't believe upstart has a fully working replacement yet [00:14] giovani: It does, but there's no compelling case to rework packages to use it. It's used some, but generally only in Ubuntu specific stuff. [00:14] ok.. this server is flaky.. [00:14] my server [00:14] duvnell: be more specific than "server is flaky" please [00:14] last thing I said was "what is non-legacy for upstart" [00:14] did you get that and answer it? [00:15] no, I didn't get that [00:15] your internet is probably having issues [00:15] by flaky, I mean I've got it acting as a router doing NAT.. and it's fine until no body does anything and it kinda dies.. went and looked and dhcpd was no longer running.. I think my machine attempted to lease again and that's what killed it [00:15] no it's not [00:15] from the server I can do things fine [00:16] duvnell: the bottom-line re: upstart is ... we're still using the legacy rcX.d files [00:16] duvnell: For Upstart, lots of stuff from http://upstart.ubuntu.com/ [00:16] cool.. good to know [00:16] but upstart can be used in the more-upstarty way if you'd like [00:16] check out /etc/event.d/ [00:17] dhcpd server is dying at boot (it does start in /var/log/messages), but then it's not running after boot is done.. and now apparently it's dying just on occasion.. restarting manually fixes it (for a time) [00:17] I was gonna see if I can get some debug logging out of it [00:18] which dhcpd are you running? [00:18] I'd recommend dnsmasq for any small setup [00:18] dhcpd3 [00:19] I'd recommend dnsmasq [00:21] am I still here? [00:21] duvnell: looks like it [00:22] dang.. happened again [00:22] increasing lease time.. the example had 600 seconds.. I think that was the problem [00:22] and it would be dead after 600 [00:22] afk.. got 2 eat [00:38] back [00:39] dhcpd still alive [00:39] surprised.. well of course nothing's been requesting anything.. lemme force that [01:14] Hi ya'll! While installing 8.10 server edition, I get to "Installing additional components" and about 24% of the way in the screen goes to fitfluuy blinking black/white and after about 10min I get a whole column of "Failed" down the left side of the screen. [01:25] Hehe, there's a bit of a draft in here. [01:25] I hope mdelaur closed the door behind him. [01:26] mac9416: checked another console? usually dmesg and logs end up there [01:26] OK, I'll do that... [01:31] Well, the "failed" messages were coming on so fast that I could only get a fleeting glimpse of the messages, but one of them said something about running out of memory. [01:31] I'm not even sure how much ram is in the machine. [01:32] I think there is a lowmem option in the installer? [01:35] I just built a lightweight machine for a NAS but when I go to install ubuntu server from the cd menu, I just keep seeing errors like this http://pastebin.com/m7c9abf9a [01:37] okay, so my problem is that eth0 is not configured at the time that dhcpd starts.. [01:38] so it's a startup issue.. I'm finding ubuntu-server not as friendly as the desktop.. just a perception at the moment.. so If I want dhcpd to start later than it is starting, how do I do that> [01:38] ? [01:39] I found this out by noticing dhcpd's error in syslog and then logging ifconfig -a during boot. .which showed no IP on eth0 and it caused dhcpd to not start [01:39] I ran chkconfig and it completely rewrote the rc.d directories [01:39] wasn't too happy about that, but I figure there's either a fix to reorder it back or I can just work with chkconfig [01:40] android60, I'm a n00b, but that looks like a hard drive error. IDK what to do about it... [01:40] maybe I should be running ubuntu desktop on this machine :) [01:40] er.. that machine [01:42] Well, devnull, have you tried starting the daemon by hand? [01:43] mac9416: ive tried 4 hard drives and all same error, im trying a diff cd drive right now [01:43] its a new mobo so im wondering if the ide connection is bad on it [01:43] ya same error w.e hard drive connceted and diff disk drive [01:44] mac9416: yeah.. I'm continuing a convo from earlier on here [01:44] yes it works manually [01:44] w.o** without [01:44] I changed the init script to start after NetworkManager [01:44] but I'm guessing whether I should even use that tool on server [01:44] i would not use dhcp on a server [01:44] and it doesn't fix it [01:44] Generally you don't use NetworkManager on a server [01:44] android60, are you sure the cable is good? [01:45] unless i had a really impressive config [01:45] what does NetworkManager do anyway [01:45] configure wireless and dhcp generally [01:45] automagically [01:45] so I am running dhcp client here also [01:45] for the cable modem [01:45] would that cease to work if I removed that service? [01:46] mac9416: yup, tried a known working cable to [01:46] does starting networking in general run dhclient? [01:46] /etc/network/interfaces controls that [01:46] androin60, Hmmm. It looks like a drive issue, but hav you checked the disk's integrity? [01:47] duvnell: to be fair, networkmanager requires X, which I would also not put on a server [01:47] ok.. so I'm gonna guess I should remove NetworkManager and just use the /etc/init.d/networking script instead? cause I don't see it in rc.3 or 5 [01:49] arg.. chkconfig -e.. changing networking to "on" and it's refusing to change.. chkconfig -e again shows it back to 0S [01:49] is that an "automatic"? [01:50] mac9416: yup and tried an unopen lts 8.04 server disk to [01:53] android60, I'm Googling your error message. I admit, it's got me stumped... [01:54] ya ive been at it all day [01:54] im thinking its the ide connector on the motherboard [01:54] duvnell: NetworkManager shouldn't be on your server -- your network settings should be configured in /etc/network/interfaces, which is read by /etc/init.d/networking [01:54] androin60, Under waranty? :-( [01:54] mac9416: brand new motherboard, got it yesterday [01:55] android60, Well, I'd send it back. I mean, you seem to have given it enough chance to prove itself innocent... [01:56] ya [01:56] :/ [01:56] i just returned a different brand board that the bios wouldnt even recognize 2 of the sata ports [01:56] Look at this maybe? http://www.linuxquestions.org/questions/linux-hardware-18/ahci-dvd-drives-542784/ [01:56] That's bad. [01:59] does lighttpd support .htaccess [01:59] ? [02:00] android60, what brand MB is it? [02:01] sam_: no [02:01] sam_: all configuration is done inside lighttpd.conf (or other confs you include in there) [02:02] mac9416: biostar [02:02] android60, from Newegg? [02:02] ya [02:02] giovani:ok thanks [02:02] a760g m2+ [02:03] ya [02:03] from newegg [02:03] Well, if there's no reson to do otherwise, I'd go Gigabyte. One time I had to acll their tech support (due to my own ignorance) and the guy that answered my question sounded as if he had built the board himself. :-D [02:04] sam_: by the way, lighttpd has its own irc channel on freenode; #lighttpd [02:04] ok [02:04] ha ya [02:04] thats what i get for trying to save some money [02:04] Well, when you're trying to go for a low price machine... [02:05] ya [02:05] I mean they built it to work didn't they, so it should. [02:05] exactly [02:05] But, anyway, at least you can get your money back. [02:12] duvnell. Clever nickname. [02:26] so, if there's not a supported GUI tool that writes out the /etc/network/interfaces file, is there a CLI tool that I should be using.. or should I be trying to create everything by hand? [02:30] Generally the installer writes a good one for you and they aren't very hard to edit by hand. [02:35] duvnell: by hand ... it's what everyone does [02:35] Everyone's doing it :-D [02:35] All the cool guys. [02:35] Even the uncool guys. [02:35] Except for Blake. [02:35] He doesn't use networking. [02:36] Haha [02:48] Hm. Is there some different set of preseed values for Xubuntu vs Ubuntu preseeds? I used one which worked there and just changed all "ubuntu-desktop" and so on to "xubuntu-desktop" but after automated PXE install no gui [02:56] * genii makes more coffee [02:58] Maybe it's some gdm package name thing. Is it named differently for xfce? [03:21] genii: xdm ? [03:22] jmarsden: I'm dumping an installed package list now off a good box and gonna do a compare [03:22] I can startx so it must be window manager === timburke_ is now known as timburke [03:58] hello people [03:58] i am new to ubuntu server [03:58] i want to put web site on server with couple pictures [03:59] should i put everything into /var/www [03:59] wizardslovak: that's the default location for web files, yes [03:59] ok so if i want to make new location then i will have to change location in apache right? [04:00] yes [04:00] wizardslovak: or use the default [04:00] except that he said he wanted to use a different location [04:00] if you want to use a different location, apache's config will have to be changed to reflect that [04:01] where is apache config located? [04:02] Or do userdirs or something [04:02] wizardslovak: /etc/apache2/apache2.conf [04:02] wizardslovak: /etc/apache2/* # But it will be easier by far to use the default as it is if you are not already familiar with configuring apache. [04:02] please refer to https://help.ubuntu.com/9.04/serverguide/C/httpd.html [04:04] Hmmm, someone should probably update the /topic to point to that guide not the older one in its tinyurl, I think. [04:05] jmarsden: well the topic refers to 8.04, so I don't think it's there by mistake [04:05] if it was refering to 8.10, I'd agree [04:05] but they're clearly wanting to stick to LTS [04:09] well i am browsing apache2.conf and i dont see nowhere directory [04:10] "/var/www [04:12] wizardslovak: That's why I said it is easier to stick with the defaults unless you are already familiar with configuring Apache... and why i said /etc/apache2/* ... try looking in /etc/apache2/sites-available/default if you really want to see that. [04:14] yeah, jmarsden is right ... just don't forget the 000 -- /etc/apache2/sites-enabled/000-default [04:15] giovani: No, that is a symlink to the file I mentioned earlier :) [04:16] point taken :) [04:24] anyone a postfix wiz? I would like to reject any email except to an allowed list of names on my server [04:26] duvnell1: that is a pretty normal goal [04:27] currently I'm getting spam on common users like root, avahi, etc [04:27] would just like to reject [04:35] i would not reject mail to root but you might take a look in /etc/aliases [04:35] duvnell1: keep things like root, postmaster abuse etc [04:36] well, root is fine from the inside.. but it's the outside I'd like to reject it from [04:36] #postfix [04:36] goood idea :) [04:37] i would not ever reject mail to root [04:37] reason? [04:37] this is just my home server [04:38] i think its rfc to accept it but i may be wrong and its only best practice [04:38] of course processes tend to email root.. and so like I say, that's fine from the inside [04:39] I know we're not supposed to talk about GUIs in this channel.. but do you know of a GUI tool for configuring postfix, or should I just continue with vi.. [04:39] ? [04:40] duvnell1: who made this rule about not talking about a gui? [04:41] giovani did :) [04:42] duvnell1: as long as the discussion pertains to ubuntu server it should be ok [04:43] pmatulis: does ubuntu server make available a GUI for editing postfix config [04:43] that you know of [04:43] duvnell1: more often than not, however, such discussions become less and less about the server and more about the tool. [04:44] duvnell1: often times, using a gui will make very complicated changes to solve a small problem, introducing complexity [04:45] duvnell1: no such tool is shipped in the base system [04:46] duvnell1: there was discussion about integrating ebox or puppet but this has not happened [04:47] duvnell1: many people use webmin but i do not recommend it. as i do not recommend any such tool [04:47] duvnell1: what i do recommend is learning how a mail server works [04:50] k thx... editing text is oka [04:50] GUI just lays out your options more easily some times [04:52] duvnell1: they're dangerous and they don't teach you anything. you still have to know what you're doing === timburke_ is now known as timburke [08:13] is it better to run 8.10 on or 9.04 on a server? === Barre_ is now known as Barre [08:29] Hi, my debian server can't boot after loading the lilo. It stops on the screen "loading lilo ............." [08:29] nothing continue [08:29] so what's the problem [08:30] no, it's "loading linux ..............." === RoAk is now known as RoAkSoAx [09:27] bulllp: I guess you have to select or add a boot option to see what error you get. And later maybe start from cd if it can't be fixed with a option or selection with lilo [09:35] hey, what flag do i need to get make-kpkg to build a kernel headers deb? [09:36] i've upgraded to 9.04 and i'm having issues with the klogd service [09:37] it hangs when starting: "* Starting kernel log daemon..." [09:38] Ramblurr: start it from commandline and watch where it hangs with strace or something.. [09:43] http://rafb.net/p/nWkhXP12.html [09:44] hum [09:51] Ramblurr: Problem with the pid file? [11:41] hi to all [11:43] I have one problem with Postfix Mail Server [12:00] so people, any assistance about the Postfix :S [12:17] :S [12:30] Any simple backup tool for backup files whenever USB drive is instered? [12:30] inserted [12:32] Padhu: udev and rsync. [12:33] You write a udev rule that reacts to the insertion of that particular USB drive by running mount and rsync commands. [14:03] New bug: #371218 in dhcp3 (main) "No DNS servers whith dsl-connection using pppoe" [Undecided,New] https://launchpad.net/bugs/371218 [14:09] hi there. after upgrading mysql to 5.1 (in jaunty) the readline abilites (eg Ctrl-r to search) stopped working in the mysql client [14:10] any hints whats going wrong there? can someone verify that issue on his system? [14:28] acron17: that sounds like someone decided libreadline couldn't legally be linked against mysql. [14:29] But that's just a guess; try looking at the changelog.Debian.gz in /usr/share/doc [14:32] Do not question the Oracle [14:33] Is that not DO question the Oracle now.. [14:36] twb: thanks for your answer. [14:36] twb: you may be just right. from the changelog: [14:36] Replaced --without-readline to --with-libedit to configure options, as --without-readline doesn't seem to do the right thing anymore. [14:38] twb: how about libedit? doesn't it support features from readline Ctrl-r for example? [14:38] TeLLuS: Nobody questions the Oracle and lives to tell of it [14:42] You would need to ask #OpenBSD about that, I guess [14:42] I link to libedit, too, but I know nothing about it :-) [14:43] I assume you understand what I meant by readline (GPL) being incompatible with non-infective stuff. [14:44] acron17: oh, btw, see also rlwrap, which gives you generic readline support on an arbitrary CLI [14:53] twb: yeah i heard about readline being not compatible with GPL... [14:54] No no, readline *is* GPL [14:54] But if you want to use it, you have to make your thing GPL, too. [14:54] twb: ah ok [14:54] This is different from *L*GPL, which can be used with proprietary software. [14:54] twb: ok. i got the point [14:55] And I assume that mysql is licensed under the LGPL. [14:58] twb: so all in all there is nothing to fix this issue apart from rewritting a mysql client with GPL license or readline with LGPL? [14:59] Basically, the readline authors have *deliberately* arranged things so that if you want to use their package, you have to make your software as free as their software. [14:59] They did this because at the time (and arguably, still) there is nothing as good as libreadline. [15:00] Now, you could build your own mysql packages that use readline instead of editline, but you would not be allowed to distribute them. That's why Debian's binaries use editline. [15:00] Sorry, s/Debian/Ubuntu/ [15:12] twb: thanks for these informations... [15:13] No problem. [16:06] is there a way to automate a server installation? For example, apache + vhosts, postgresql + db user...? [16:06] New bug: #371269 in mysql-dfsg-5.0 (main) "mysql server 5.0 crashes on installation" [Undecided,New] https://launchpad.net/bugs/371269 [16:15] benc: sure, a script [16:33] giovani: do I put complete config files in the script? [16:35] benc, its kind of up to you how to script it...thats the beauty of scripts [16:36] benc, you can have the script edit confs or create them, copy them in from elsewhere [16:36] foxbuntu: ok .thanks [16:40] New bug: #364811 in mysql-dfsg-5.0 "5.0.51a-3ubuntu5.1 installation failed (dup-of: 291987)" [Undecided,New] https://launchpad.net/bugs/364811 [18:16] Hey, there is a package in the repositories with not one line of documentation.. [18:26] libapache2-redirtoservname [18:27] got to look at the sourcecode to find one line of information: RedirectToServerName must be either \"On\" or \"Off\"." [18:28] Thats the ONLY ONE information in the whole internet..? [18:32] mpathy: I'm unclear ... what's the problem? [18:40] Hi! I have got a question about the integration of samba. [18:43] Samba and Linux keep seperate passwods, but when I set my password in Linux and never set up Samba passwords, Samba seems to know the passwords... can this be? [19:00] dangerseeker: I don't know specifically -- but I remember there being a sync tool for keeping those files the same [19:03] giovani: it did surprise me. that's because I ask. And glancing over the documentation and ubuntu wiki I did not found anything yet. [19:09] I just added a Linux user, logged him in via ssh and *bam* there he is in the samba user database (/etc/smbpasswd)... but WHY? [19:09] * andol suspects PAM [19:09] dangerseeker: What version of Ubuntu are you running? [19:11] andol: PAM seems to be a good place to look. I am running 8.04.1 [19:16] dangerseeker: Well, taking a quick peak I'm pretty sure you'll find the culprint in /etc/pam.d/common-auth and the way it calls pam_smbpass.so. [19:17] dangerseeker: Of course, I'm mostly making an educated guess right now. Don't have time to look up the specific details right now. [19:18] andol: many thanks! Now I have a sensible starting point for further research. [19:21] Have any of you done the 8.10 -> 9.04 upgrade on a server? If so, how did it go? Any problems? [19:40] tsrk, did it on two servers. no trouble at all. [19:41] anyhow, a backup might be quite useful, as shit always happens, when you're not prepared for it. [19:43] yeah, i always have a backup [19:43] just making sure there isn't any shit that's gonna happen for sure :) [19:46] at least nothing i ran into. [19:46] that's good to hear [19:46] is it ok to keep my server online while it upgrades? [19:49] tsrk: yes, this is Linux :-) [19:49] although MySQL and Apache might stop and then ask you some questions during the upgrade [19:50] How do I set up Ubuntu so that security updates are installed automatically? [19:50] thirsteh, when I installed mysql it had a blank root password for a little while didn't it? [19:50] I'm worried about something like that [19:50] tdn, server? [19:50] tsrk, yes. [19:50] not sure then, sorry. I just selected that option when I installed. [19:53] tsrk: not when you upgrade [19:53] Ok, that's good [19:54] the upgrade won't mess with you mysql users/databases, so there shouldnt't be any security leaks during the installation. [19:54] you might wanna shut down the apache mysql, etc daemons though, just to be sure. [19:54] since you'll need to restart the box anyway, this will only increase the downtime, but not cause it in the first place. [19:54] the biggest 'danger' is if you have Apache listening on ports other than 80. You'll have to create duplicate port entries in /etc/apache2/ports.conf after the upgrade, and then restart it [19:55] i don't, it shouldn't be a problem [19:55] i could just block incoming connections before the upgrade on my router [19:56] anyone know what the changes in /etc/mysql/my.cnf are? [19:56] can't tell [19:57] in case you made any changes ot the file, you'll be asked what to do during the upgrade. [19:57] (it will also show a diff if you ask for it) [19:58] yeah i just got that message [19:58] i think the only thing i changed was listen on other than local [20:35] http://3x3cut10n3r.mybrute.com/ <-- have fun & good luck [20:36] my system failed to create /var/run/utmp on startup - what rc script is supposed to do that? [20:37] is there a script which changes /var/run permissions also? [20:47] ah found it it was bootmisc [23:06] New bug: #333504 in php5 (main) "php5 crashed with SIGSEGV in _Unwind_ForcedUnwind()" [Undecided,New] https://launchpad.net/bugs/333504 [23:06] New bug: #352648 in php5 (main) "php5 crashed with SIGSEGV in _Unwind_ForcedUnwind()" [Undecided,New] https://launchpad.net/bugs/352648 [23:12] New bug: #324313 in php5 (main) "php5 crached" [Undecided,New] https://launchpad.net/bugs/324313 [23:16] New bug: #350183 in samba4 (universe) "evolution crashed with SIGSEGV in krb5_cc_destroy()" [Undecided,New] https://launchpad.net/bugs/350183 [23:21] New bug: #357047 in php5 (main) "php5 crashes without doing anything" [Undecided,New] https://launchpad.net/bugs/357047 [23:21] New bug: #362720 in samba (main) "gvfsd-smb crashed with SIGSEGV in llistxattr@plt()" [Undecided,New] https://launchpad.net/bugs/362720 [23:21] New bug: #363270 in php5 (main) "php5 crashed with SIGSEGV in clone()" [Undecided,New] https://launchpad.net/bugs/363270 [23:38] that's a lot of old php bugs to suddenly come up as 'new' [23:38] a lot of dupes [23:41] ajmitch: are they dupes? [23:41] a number of them could be, though it's hard to say at a glance [23:41] * ajmitch bets a number of them could be due to bug 343870 [23:41] Launchpad bug 343870 in php5 "php-cli segmentation fault with mysql extension" [Medium,Confirmed] https://launchpad.net/bugs/343870 [23:42] which is more of a threading bug with mysql libraries [23:51] New bug: #368189 in bind9 (main) "host crashed with signal 7 in dns_lib_initmsgcat()" [Medium,New] https://launchpad.net/bugs/368189