[00:50] how can configure shaperd to limit bandwidth till 512 kb down and 64 kb up to each host, [01:14] How do I found out what columns are which when I do: sadf -d [01:16] # hostname;interval;timestamp;DEV;tps;rd_sec/s;wr_sec/s;avgrq-sz;avgqu-sz;await;svctm;%util === freeflyi1g is now known as freeflying [01:33] I was upgrading everything via apt-get upgrade i got this error http://pastebin.com/m4dd5fc93 i'm on 8.04 [01:33] apt-get -f install, apt-get upgrade, apt-get update, /etc/init.d/acpid stop, dpkg --configure -a => ALL RUN AS SUDO, all stops with a error saying ACPID is not configured Please help me solve this, it's a dedibox, all I have is root access, reinstalling is a problem [01:34] so how can i get rid of acpid error? [01:35] no idea === giovani|1ork is now known as giovani [01:41] well, I don't know much about how acpid works, but my first question would be why /proc/acpi/event does not exist [01:41] does /proc/acpi exist? if not, the system probably booted without acpi support for one reason or another [01:55] proc/acpi exists [01:55] event doesn't [01:55] why not add it? [01:55] touch /proc/acpi/event [01:56] just a wild stab [01:56] I don't think that will work [01:56] event is a handle [01:56] the system writes information to it to control acpi [01:56] gotcha [01:56] well i'm done for the day, seey ou all later [02:03] dumont: afaik, that's a legacy interface [02:03] and has to be explicitly turned on in the kernel config [02:09] dumont: why do you 'need' it? [02:32] is dbus needed in server environment [02:35] qiyong: that would depend on what individual applications you might be running [02:35] 'needed' is unlikely in most situations -- but some apps might make use of it [02:36] giovani: so i'd turn it off [02:36] qiyong: I've already answered your question -- I didn't tell you to turn it off though [02:37] giovani: i only use traditional apps, ftp, apache, mail etc [02:39] qiyong: traditional apps can use dbus [02:40] traditional apps, such as apache, vsftp, postfix [02:40] giovani: ^ [02:40] yes, I saw [02:45] avahi-daemon isn't used in server right? normally. [02:47] qiyong: not typically, nope [02:48] avahi-daemon isn't in the ubuntu server install afaik [02:48] so it shouldn't be there [02:48] how can I turn a desktop install into server install easily? [02:49] i.e., remove desktop apps by a meta pkg or group pkg? [02:49] qiyong: I wouldn't advise it [02:49] it'd be best to start from a fresh install [02:52] what about hald? giovani [02:54] qiyong: we're not here to support the desktop installation [02:55] please use the server installation [02:56] should I reduce the numver of getty? [02:56] qiyong: if you want to ... [02:57] not much benefits [02:57] there will be some minor ram gains [02:57] I'd recommend it if you're on a 64MB system [02:59] doing so is as simple as removing the ttys you don't want from /etc/event.d/ [03:01] New bug: #409146 in ubuntu "none of the function keys are working on my dell mini (dup-of: 383697)" [Undecided,New] https://launchpad.net/bugs/409146 [03:07] giovani: that no longer recorded in inittab? === Guest9171 is now known as tonyyarusso [03:35] qiyong: not for quite a while -- ubuntu uses upstart -- /etc/inittab doesn't exist [03:38] giovani: so debian never have /etc/inittab? [03:39] qiyong: this isn't debian, how is that relevant? [03:40] giovani: ubuntu is debian flavor [03:40] qiyong: incorrecty [03:40] incorrect* [03:40] and I never said anything about ubuntu "never" using traditional init, just that it doesn't now [03:40] since when? [03:41] 6.10 and onward [03:41] which is nearly 3 years now [03:41] what's the codename? [03:42] 6.04 was a lts iirc [03:42] are you not capable of using google? [03:42] google says 6.10 was "Edgy" [03:43] and, 6.06 was an LTS, yes, why is that relevant? [03:43] not much [03:43] why change? [03:43] what about other distros? [03:43] espectiall debian [03:43] because init is ancient, and isn't as flexible as upstart [03:44] debian offers upstart, but doesn't use it by default iirc [03:44] fedora still uses inittab [03:44] no, fedora uses upstart with inittab legacy iirc [03:44] we still has init [03:44] so init is going out of world [03:45] qiyong: you seem to want to create a debate -- this is #ubuntu-server ... Ubuntu has used upstart since 6.10 -- use it or not ... stop complaining [03:45] 2006 was the shift year for ubuntu [03:47] giovani: i don't want debate [03:47] giovani: i just want the reason [03:47] qiyong: I've provided you with a reason [03:47] behind [03:47] you're welcome to do your own research to understand more about the situation [03:48] so debian is still of the old style [03:48] the others are go for upstart [03:48] I've already told you what debian uses [03:49] It *would* be nice if metainit got off the ground and event.d was actually used for more than just inittab... [03:49] sysvinit-compat feels so dirty [03:49] twb: let's not complicate what is already a difficult-to-resolve discussion :) [03:50] ;0 [03:50] I figured I'd just ignore the existing discussion and start a new one ;-) [03:50] Looks like upstart on Debian has propagated as far as testing now -- it used to only be in experimental. [03:51] upstart implementes a new /sbin/init [03:51] yeah, they're working on it evidently [03:51] Debian's adoption is held up because they can't agree on a single "standard" init [03:51] So discussion immediately devolves into a way to properly support the six different init daemons currently in Debian. [03:52] (sysvinit, upstart, runit, cinit, minit, ...) [03:52] a single "standard" init ? [03:52] oh [03:52] qiyong: he's mostly talking to himself -- not you [03:52] sysvinit is the tradiitional one [03:53] let's keep the random, and endless, string of questions to a minimum [03:53] r/c/m init never got widely used [03:53] qiyong: right. Debian basically still standardizes on sysvinit. [03:54] is sysvinit only a gnu implementation/clone of the real sysvinit? [03:54] now this pkg is going to be obsolete, and upstart is a new desgin, and is going to dominate [03:57] upstart was written by Scott James Remnant [03:57] qiyong: your ability to copy-and-paste from the web amazes me [03:57] seems ubuntu fistly began to use upstart [03:57] giovani: lol [03:57] not the web [03:57] "/usr/share/doc/upstart/AUTHORS" [03:59] giovani: at this point I have just plonked qiyong [04:00] twb: I suppose it's time I do the same [04:01] Direct him to -overflow or -offtopic or whatever it's called. [07:59] Hey guys [08:00] whats the easiest way to monitor input voltage of my server [09:47] input voltage? as in from the wall? [09:47] you'd need a dedicated device for that, normal setups don't collect that information [09:48] hi there...I am doing cupsaddsmb -H Printserver -U myuserdomain -a -v and i got the error NT_STATUS_MEDI_WRITE_PROTECTED making remote directory ...please help! [10:54] has anyone here used egroupware? [11:53] Has anyone got any comment on the use of dnsmasq versus bind9/dhcp3 [11:55] <_ruben> the first has smaller footprint and (probably) simpler configuration .. the latter scales better [11:56] _ruben: I set the latter up once but it was some time ago and I can't really recall the details :) Other than it took me a while [11:56] I need to replicate the functionality on another subnet in another office, but each office only has <6 machines === zul_ is now known as zul [11:57] <_ruben> for <6 machines, dnsmasq should do just fine, never used it myself though [11:57] I could try and replicate the bind9/dhcp3 setup I already did, if I can figure out how I made it work, or try dnsmasq instead [11:58] VSpike: learning dnsmasq will probably be worth it in your case. I like it. [11:59] dnsmasq even works quite well on larger sites.. [12:00] dnsmasq has the bonus that it can auto add the hostnames provided over DHCP to the inbuilt dns [12:00] Daviey: I managed to get bind/dhcp to do that :) but it weren't easy [12:01] But yeah, it sounds ideal for the job so I'm tempted to put the effort in to learn it [12:01] and it usually does the right thing by default, so you're less error-vulnerable [12:01] I could even use it at home too [12:01] VSpike: yeah. [12:01] Great, thanks guys. I'll give it a try [12:10] is there an easy way to add another "service type" (normally chosen towards the end of the installation) in a running system? [12:13] <_ruben> probably not [12:16] how do i monitor a bunch of websites from my ubuntu machine [12:18] <_ruben> define 'monitor' [12:19] check if its up [12:19] just the url [12:20] is that ambiguous [12:20] <_ruben> use nagios or something similar [12:20] there r a few perl scripts out there [12:20] that do a curl/wget [12:20] i just need it for a cpl of days [12:20] so dont need to setup nagios [12:21] or rather dont want to [12:21] too much pain for monitoring a site for a day or two [12:24] <_ruben> then use those scripts [12:32] Hi, I've a ubuntu server (9.04) at home. I use it to backup remote server with bacula. I need a window manager/x server to run 'BAT' (bacula administration tool) and also I would like to turn this server into a media center (i've an HDMI output) [12:32] i've search a bit and found http://www.xbmc.fr for the media center part... [12:33] do anybody have some experience on this (ubuntu server -> media center) ? how to proceed, adivices... ? [12:40] Djannakhan: don't use BAT -- use Bweb ... the web interface if you need one [12:40] giovani: why not bat ? is there some issue with this tool ? [12:41] Djannakhan: yes, running a full x server and window manager on a server is a no-no -- and it's not supported in this channel [12:42] giovani: ok, so bat is OK. I'll install bweb too. I still want the media center feature... on which channel can I get help ? [12:43] oh yes i've found it [12:43] hello all [12:43] i'm migrating my network to ubuntu server all the desktops to ubuntu too [12:43] but i need help [12:43] Djannakhan: I don't know, media centers are a huge topic -- I run mine probably very differently from you -- so I won't be of help [12:43] if i eliminate my 2k machines as servers how do i use ubuntu server as a pdc [12:43] or do i need to [12:44] i might be still thinking windows active directory etc, but there wont be any windows clients connecting to the network [12:44] CopyWriter: if you don't have any windows machines, you don't need a domain controller -- since that's a windows technology [12:44] it was playing around in the back of my head for the latter part of 3 days [12:45] ok with that said how do i authenticate users on the system [12:45] giovani: I currently don't run one so... How do you run yours ? [12:45] i mean on the network or do i need to [12:45] CopyWriter: there are tons of different ways, that's a huge topic [12:45] aaah, a simple workgroup then would do the trick if it's for basic networking file sharing [12:45] Djannakhan: I have a backend headless server running mythtv, and then a number of front-ends [12:46] and adding a couple ethernet printers [12:46] CopyWriter: if you want centralized login, linux is perfectly capable of providing it, it's just not a works-with-10-clicks solution like Microsoft offers [12:46] you should read up on it [12:47] LDAP is a good place to start [12:47] centralized login, that the term i didn't know about [12:47] thanks giovani [12:47] googling it now [12:47] uh ... meaning you're authenticating users on a central server? [12:47] that's what AD is [12:47] yes authenticating users using a server [12:48] what's the definition of AD [12:48] i.e. a user can login using his credentians at different terminals [12:48] AD authenticates users centrally [12:48] so AD is providing centralized login [12:49] yes that's what i need [12:49] if you want that same feature in linux, you can look into doing it with LDAP [12:49] yes, I've repeated myself many times now [12:49] :) thanks for your patience [12:49] hi I'm having trouble with this aacraid bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/249964 [12:49] in ubuntu-8.04 running as xen dom0. What is the best way to workaround this problem? [12:49] Launchpad bug 249964 in linux "aacraid driver stalls on high-load SMP machines" [Medium,In progress] [12:50] Can I just recompile aacraid.ko, if yes how? [12:51] AD = Active Directory we were talking about it but it went right over my head [12:51] oioiii: did you actually read that thread? [12:52] oioiii: there's a link to the fix right there [12:52] CopyWriter: wow i never knew this channel existed! [12:52] yes same here [12:53] i was hanging out in the ubuntu channel for some weeks [12:53] then i googled ubuntu-server irc and found it [12:53] giovani: yes I did read it, you mean that link http://bugzilla.kernel.org/show_bug.cgi?id=11120 [12:53] bugzilla.kernel.org bug 11120 in AACRAID "aacraid driver stalls on high-load SMP machines" [Normal,Assigned] [12:53] oioiii: yep, a kernel patch is provided right there [12:54] i'm not quite sure i'll be able to build this openldap [12:54] seems complicated [12:54] probably take a few many tries [12:55] giovani: That means I'll have ti recompile the kernel. I was just wondering if I could only compile aacraid.ko [12:55] oioiii: if it's compiled as a module, sure [12:55] 16 [12:55] CopyWriter: like I said, it's not a point-and-click solution [12:56] workgroup is seeming pretty good right about now :) [13:02] CopyWriter: why are you building openldap? is the binary missing some feature? [13:02] 'm new to all this, i'm just following the info on their homepage [13:03] i think i can do the apt - get thing [13:03] but i'm not at the office right now [13:06] i love this place [13:07] thanks again giovani, you've pointed me in the right direction [13:11] CopyWriter: ubuntu package is called slapd so you should be able to 'apt-get install slapd' [13:12] thanks boohbah, going to try that as soon as i get to the office [13:21] giovani: it's strange, I had a look into the source code of the uptodate driver source code form adaptec and they have a kernel version check for < 2.418 but I'm using 2.6.24-24-xen [13:46] I have a very annoying problem. Every time I log in to one of my servers I am prompted to [sudo] immediately. Does anyone know how I can figure out what script is calling for sudo? [13:54] oh thank god... /etc/bash.bashrc is the problem child [13:55] Shouldn't all of the fisrstlogin stuff be destroyed after the first login. This seems to only be an issue on my 9.04 JeOS systems, 8.10 does not do this. [13:56] and by all I mean 7 of them [13:57] heath|work: did you check your .bash_profile or a hill written alias in your .bash_aliases? [13:59] Djannakhan, there is no reference to the /etc/bash.bashrc file in my home dir [14:02] heath|work: my bash.bashrc file look like this http://pastebin.ca/1519154 maybe yours has a typo... [14:02] note that bash.bashrc is called from /etc/profile [14:05] Djannakhan, that's fine, but here is the pastie of what was in my bash.bashrc: http://pastie.org/572439 [14:06] I guess the dpkg-reconfigure needs to be called, but it is not automatically [14:08] heath|work: Strange thing what you have in your bash.bashrc file... does the file /root/firstlogin_done exists ? [14:08] heath|work: according to the script the sudo touch should occur only once : if [ ! -e /root/firstlogin_done ]; then [14:09] Yes it does exist, but it would always run the sudo command... [14:09] that is strange in relooking at it [14:10] hang on, I haven't corrected a couple of the machines. I will check them [14:11] yep, the file is there and I was prompted for the password again [14:12] heath|work: is the file world readable ? maybe the bash.bashrc can't read it (check /root dir permission) [14:13] heath|work: if the bash.bashrc script need a sudo to touch the file, it means that the script is executed with non root privilege [14:13] Djannakhan, no root is not world readable [14:14] so the script would never know the file exists [14:14] heath|work: yep [14:14] good catch, should I file a bug? [14:15] yep probably, I've checked my server and all my root dir have 700 permission, but maybe I change this when I install my servers... can't remember. [14:16] I would assume that the root dir would be strict [14:17] they just need to move the file somewhere else [14:18] heath|work: no it's not the default... i've checked again my install doc, and I do cd / [14:18] sudo chmod 700 root [14:19] drwx------ 4 root root 4096 2009-06-27 17:42 root [14:19] on all of my JeOS servers [14:20] I am checking my 8.10 server now [14:20] ha... 8.10: drwxr-xr-x 4 root root 4096 2009-07-15 12:39 root [14:23] Djannakhan, where do you submit bugs for JeOS: launchpad ? [14:23] Hi i need help [14:24] I just installed Ubuntu server on my proliant server and it puts me at a command prompt not at root [14:24] I also cant get to root [14:25] I want to install LTSP so thin clients can connect to it and have a gui [14:25] any help appreciated [14:26] garymc, what is your experience with ubuntu servers? [14:26] *level [14:27] none what so ever [14:27] I just been on the LTSP channel and was told this was the best version of linux to use [14:28] I got k12linux working on my computer using a boot dvd. [14:28] Turns out I cant boot from DVD with these servers [14:28] they only have cd drives === maxb_ is now known as maxb [14:28] :( [14:34] garymc, ubuntu does not enable root by default. Best practice is to use sudo [14:34] allowing you to have root privileges to run system wide changes [14:35] garymc, what version of ubuntu are you using? [14:36] lsb_release -a [14:39] its erm 9.04 [14:39] 9.04 [14:39] I just need to install LTSP so my thin clients can connect etc [14:40] at the minute ive just got a commandprompt [14:42] sudo apt-get update && sudo apt-get install ltsp-client [14:43] although I am not sure if there are any other packages you will need [14:44] heath|work: glad you found the culprit [14:44] lol... yeah [14:44] garymc: ubuntu discourages the use of the root account, and encourages you to use sudo instead [14:45] * heath|work already smack his hand [14:46] sgsax, are you a maintainer? [14:46] luckily, if you don't want to have to type "sudo" for every command, you can get a root sheel by using "sudo -i" or "sudo -s" [14:46] heath|work: nope [14:46] just a user :) [14:46] word [14:46] been a debian fan for many years [14:46] discovered that ubuntu has nearly resolved all the problems with debian on the desktop [14:47] I've been an ubuntu fan for a couple of years. I like every article I read with Mark Shuttleworth, great person [14:48] he makes a great "face" for OSS [14:48] how come shuttleworth is never on irc? [14:48] something we've been missing, we could use some good PR [14:48] too busy orbiting the earth? :) [14:48] lol [14:48] linus is brilliant, but he's no spokesmodel :) [14:49] i also learned that south africans pronounce their ccTLD "zed eh"... strange to my north american ears [14:51] bbl... have a great day! [14:51] lots of euro-english speakers used "zed" for the letter "Z" [14:51] seeya heath|work [14:53] including Canadians [14:54] Zed's dead, baby [14:54] don't blame this KS boy :) [14:56] In many dialects of English, the letter's name is zed, pronounced /zɛd/, reflecting its derivation from the Greek zeta (see below). In American English, its name is zee /ziː/, deriving from a late 17th-century English dialectal form. [14:56] zed is oldskool! :D [15:01] Tom_Ass: that's right us Amuricans talk righter then them limeys :) [15:03] sgsax: how do you pronounce "secretary"? [15:04] seck-reh-tary :) [15:04] ^^ [15:04] sgsax: Error: "^" is not a valid command. [15:04] i've heard seck-ruh-tree [15:04] that would be UK-style English [15:05] * sgsax really isn't an isolationist and believes Americal English is the most bastardized collection of grammars on the planet [15:05] sgsax, what are limeys? French? Canadians? [15:06] Tom_Ass: Brits [15:06] ah! [15:11] so anyway, ubuntu is pretty cool [15:12] no, really? =) === _jmedina is now known as jmedina [15:59] <\sh> hmmm... [15:59] <\sh> does anyone run ipvs on jaunty? [16:00] <\sh> ipvsadm --start-daemon master -> Module is wrong version -> fail [16:04] <\sh> bah...that's not ipvsadm...it's *censored* LVSSyncDaemon === Guest62237 is now known as Authority [16:40] New bug: #395055 in nagios3 (main) "Synaptic crashes during Installing software" [Undecided,Incomplete] https://launchpad.net/bugs/395055 [17:00] New bug: #409414 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 5.0.67-0ubuntu6 failed to install/upgrade: 子进程 post-installation script 返回了错误号 1" [Undecided,New] https://launchpad.net/bugs/409414 [18:02] New bug: #409423 in openldap (main) "OpenLDAP Can't Set Multiple Ciphers Using TLSCipherSuite" [Undecided,Incomplete] https://launchpad.net/bugs/409423 [18:13] ah quieter here :D [18:14] as oppose to? [18:14] #ubuntu [18:14] ah [18:15] heh, yes, actually looking for opinions, going to be do a PHP based web app, trying to decide which version to go with, hardy or jaunty? and major pros or cons? [18:15] if its a server, maybe the LTS release? [18:16] if it needs to stick around a while as-is [18:16] addisonj: Newer versions won't buy you much, generaly, and hardy has 5 years of server support. [18:17] addisonj: When it comes to apache/php/postgres/mysql/etc, they move pretty slowly. Running an "old" version is perfectly fine (not like hardy is that old, but whatever) [18:17] alright, and no real benefits to speed from newer kernels then? [18:18] addisonj: Nothing meaningful. [18:18] k, well thank you, ah helpful chat rooms what a breath of fresh air :D [18:18] addisonj: I run an intrepid kernel on one of my hardy hosts, but that's because of a weird bug in a specific device driver that I'm too lazy to bisect and backport the fix for. :P [18:19] yeah, this is going to be a virtual private server, so I hopefully wont have such issues :P === zoopster1 is now known as zoopster [19:02] Hi [19:03] I installed ubuntu server 9.04 64 bits. After the server boots I can't logon with tty1. I have to log on tty2 and then I can run "exec "sbin/getty 38400 tty1" and then I can log on to tty1. Can somebody help me ? [19:13] why when i try to boot with ubuntu 9.04 disk it says GRUB loading please wait error 17? [19:17] garymc: install disk, or a hard drive post-install? [19:18] install disk [19:18] garymc: grub shouldn't be loading from the install disk [19:18] you sure you're not booting from the hard drive? [19:18] yes [19:18] if grub is indeed loading from the install disk ... then the disk is likely corrupted [19:19] i dont think the disk is getting read [19:19] that sounds like it's NOT booting from the CD then [19:19] garymc: you check the boot order in the bios? [19:19] if it's not being read [19:19] garymc: how did you burn the cd? [19:19] im doing another copy at slower speed to test [19:19] Hello everyone. Whenever I try "modprobe kvm-intel" I get this error: "WARNING: All config files need .conf: /etc/modprobe.d/options, it will be ignored in a future release." and nothing else [19:19] garymc: how did you burn the disk? [19:20] in iso burner [19:20] theres an error with the cd [19:20] garymc: did you md5 the iso first? [19:20] no what is that? [19:20] md5 will generate a checksum of the file [19:20] how do i do that [19:21] comapre that to the known good checksum, usually from the same place you got the iso [19:21] md5 ubuntu-blah-bah.iso [19:21] garymc: the .iso file itself could've been corrupted during the download, and the cd itself could be corrupted by bad media or a bad burn [19:21] md5sum ubuntu.iso actually [19:21] yeah im thinking the cd rs im using are crap [19:21] sorry, giovani|work is right [19:21] every FTP/HTTP mirror has a md5sums file [19:21] cos ive downloaded from two diff places and both aint working with these disks [19:21] garymc: there's little harm in checking the md5 of the .iso before burning [19:21] it takes minutes [19:21] and saves you a headache [19:22] aint burnt a cdr in ages untill today always burn dvd r [19:22] they work good [19:22] but my servers only got cd readers [19:22] Max007: sounds like your terminal isn't getting set right, I would think that would get run by .bashrc or .profile, or the system-wide copies of those [19:23] garymc: I just use cdrecord [19:23] even wrote a wrapper script for it [19:23] Max007: cat /etc/event.d/tty1 [19:23] if this slower speed dosnt work im going to buy som new cd-rs [19:23] garymc: you're going to check the .isos md5 first ... [19:23] like I said [19:23] otherwise, you're being foolish [19:23] check the md5sum first, make sure it's a good iso [19:23] dont understand that md5 stuff [19:24] dead simple [19:24] garymc: not understanding it isn't a reason to not do it [19:24] you run md5sum and it generates a magic number [19:24] run "md5sum ubuntu------.iso from a command line [19:24] compare that magic number to the known one [19:24] if they don't match, you've got a bum download [19:24] im doing this on windows does it matter? [19:24] shouldn't, but you'll need an md5sum that runs in windows [19:24] garymc: you'll need a piece of software -- like hashtab then [19:25] well its 7:25 pm here im into unpaid overtime so im gonna go home and get back on it soon [19:26] garymc: and we're unpaid volunteer irc help :) [19:26] infact i dont get paid [19:26] im just knackered [19:26] ive been doing this crap all day to no evail [19:26] fed up now need rest [19:27] ill try this next burn if doesnt work ill go home and try this md5checksum thing out [19:31] garymc: good luck [19:31] thanks === cemc1 is now known as cemc [19:34] what does this mean and how can I fix it: "WARNING: All config files need .conf: /etc/modprobe.d/options, it will be ignored in a future release." [19:35] abel408: just a warning and safe to ignore [19:35] ok [19:35] if you run lsmod and the module is listed, then it's getting loaded [19:36] abel408: I guess it wants you to rename options to options.conf ? [19:40] that would be simplest [19:40] then you'd be future-proof for whenever modutils of the kernel (not sure which) will start requiring this [19:40] s/of/or/ [19:41] cemc: it's a known bug afaik [19:42] abel408: it's a warning, not an error -- google declares it a bug [19:42] hi [19:42] supposedly a new version of module-init-tools from upstream should have fixed the warning [19:42] Max007: did you see my earlier response? [19:43] i have a problem.. what I boot my server, tty1 won't load.. I have no login prompt on tty1. I can only log on to tty2 [19:43] sgsax: nop [19:43] I thought it's a warning because they will require it sometime in the future, [19:43] Max007: I responded to you [19:43] so they're preparing you for it [19:43] Max007: cat /etc/event.d/tty1 please [19:43] cemc: yeah, when that release comes, things will be fixed [19:43] giovani|work: http://pastebin.com/m645fd38a< [19:43] giovani|work: http://pastebin.com/m645fd38a [19:44] Max007: pastebin dmesg [19:44] Max007: that looks good [19:44] looks like mine anyway [19:47] Max007: also what do you mean by "can't login on tty1"? [19:47] when you boot up, all bootup messages should go to tty1 ... so are you seeing those? [19:49] giovani|work: did you see my pastebin ? [19:50] Max007_: only the first one, nothing for your dmesg output yet [19:50] Max007_: the first one, yes, I asked for a 2nd one [19:50] and asked a question you haven't answered [19:50] giovani|work: i'm sorry i'm through a vpn and it keeps crashing [19:51] 14:44 < giovani|work> Max007: pastebin dmesg [19:51] 14:47 < giovani|work> Max007: also what do you mean by "can't login on tty1"? [19:51] 14:47 < giovani|work> when you boot up, all bootup messages should go to tty1 ... so are you seeing those? [19:51] yes i see bootup message [19:51] but there's no login prompt [19:51] Max007_: then I suspect that nothing is wrong with tty1 [19:52] Max007_: press enter a few times -- often messages spill out after the login prompt -- this is how linux works [19:52] giovani|work: that's what i thought but it does nothing [19:52] Max007_: I'm 99% sure you're mistaken :) [19:52] try it again [19:53] giovani|work: I even try to type my login and password... it does nothing [19:53] wait, you're typing your login and password into what? you said it doesn't prompt you [19:53] giovani|work: it doesn't prompt me... i just type it and it appear on the screen [19:53] but nothing happen [19:54] Max007_: I think this is user error [19:54] tty1 is clearly functioning [19:54] apart from my password is displayed [19:54] press enter a few times [19:54] Max007_: are you sure the system is fully booting? [19:54] sgsax: yes i'm sure, i can log on tty2 (ctrl+f2) [19:54] and i can log with ssh [19:54] Max007_: alright, reboot the server [19:55] the server's running squid, which is working weel [19:55] well [19:55] so tty1 is being taken over by syslog output then [19:55] which should go to tty8 or higher [19:55] giovani|work: i rebooted it like 20 times [19:55] and run "sudo ps aux | grep tty" [19:55] Max007_: well then once more won't hurt you [19:55] giovani|work: aigyht [19:55] sgsax: yeah, I covered that a few minutes ago [19:55] Max007_: don't run getty when you reboot it [19:56] just ssh in, or use tty2 [19:56] and run that [19:56] http://pastebin.com/m11d39530 [19:56] you rebooted the server and it's back up already? [19:56] unlikely [19:56] nop i run the command before [19:56] i reboot now [19:57] ok, a pastebin of dmesg then [19:57] ok [19:57] after the reboot [19:57] it's never spawning -- did you edit anything in /etc/event.d? [19:57] giovani|work: i tried to edit /etc/event.d/tty1 to make it the same as tty2 but i restored the backup after [19:58] Max007_: they should be the same, why would you have to change it to make it the same? [19:58] giovani|work: they are not [19:58] giovani|work: there's a little difference. [19:58] tty1 is different from tty2 for me [19:59] oh fair enough [19:59] and is different on my 5 other servers [19:59] tty1 is used for single-user, obviously [20:00] http://pastebin.com/m6d305fa7 [20:00] tty1 and tty2 from another server [20:01] Max007_: how about dmesg? [20:01] http://pastebin.com/m5fbc499f ps aux | grep tty after reboot [20:02] giovani|work: http://pastebin.com/m36d8cf36 --> dmesg [20:08] Max007_: does /dev/tty1 exist? [20:08] sgsax: yep [20:08] ls -la /dev/tty1 [20:08] pls [20:09] crw--w---- 1 root tty 4, 1 2009-08-05 15:00 /dev/tty1 [20:09] bad permissions [20:09] ls -la /dev/tty2 please [20:09] yeah, should be 0600 with root:root as owner [20:09] you've probably poked around with udev.rules [20:10] but the device numbers are correct [20:10] crw------- 1 root root 4, 2 2009-08-05 15:00 /dev/tty2 [20:11] Max007_: tjat [20:11] that's correct [20:11] have you been changing anything in /etc/udev/rules.d/? [20:11] you can try fixing them manually now, but if udev is dorking with them, they'll be reset on reboot [20:11] giovani|work: nope [20:11] Max007_: pastebin "grep tty /etc/udev/rules.d/*" [20:12] or rather "grep -i tty /etc/udev/rules.d/*" [20:12] giovani|work: nothing [20:12] nothing? [20:12] heh [20:12] ls /etc/udev/rules.d/ [20:12] so try fixing them [20:12] chmod 600 /dev/tty1 [20:12] chown root:root /dev/tty1 [20:12] sgsax: no, udev is broken if it doesn't have any files setting tty [20:13] then reboot and see if the permissions stick [20:13] giovani|work: I don't have anything in udev/rules for tty either [20:13] giovani|work: i tried grep -i tty /etc/udev/rules.d/* on another server and there's nothing either [20:13] rebooting [20:13] I only have cd.rules and net.rules [20:13] sgsax: that's not right -- check /etc/udev/rules.d/60-permissions.rules and 40-basic-permissions.rules [20:13] sgsax: what ubuntu release? [20:14] this is 9.04 desktop and not server, but shouldn't be significantly different [20:14] i pressed ctrl alt del to reboot... after that login prompt appeared [20:14] heh, yeah, because that does init 6 [20:14] Max007_: well you seem to have changed /dev/tty's permissions then :) -- or something did [20:14] giovani|work: I did not.. it's a newly installed server [20:15] giovani|work: i installed it 20 hours ago [20:15] weird [20:15] Max007_: well considering you're the only person in #ubuntu-server with this problem [20:15] giovani|work: I have permissions.rules and basic-permissions-rules on my 8.04 servers [20:15] sgsax: ok, so they've changed it since 8.10, which is what my server runs [20:15] I don't have a 9.04 box handy [20:16] 8.04 has udev 117-8, 9.04 has udev 141-1.2 [20:19] still no login prompt after reboot [20:20] crw--w---- 1 root tty 4, 1 2009-08-05 15:16 /dev/tty1 [20:27] wb [20:27] on a new 9.04s install with openssh and virtual machines option, kvm fails at startup, what could be causing this? [20:29] StrangeCharm: your cpu doesn't support hardware virtualization... [20:30] StrangeCharm: egrep '(vmx|svm)' /proc/cpuinfo gives what ? [20:31] stefg, i think my cpu supports some features, but certainly not the latest ones, let me check [20:31] sgsax, giovani|work : any idea ? [20:31] stefg, no result [20:31] StrangeCharm: https://help.ubuntu.com/community/KVM/Installation [20:32] StrangeCharm: no kvm on that machine [20:33] stefg, so no kvm for me. is there an alternate vm manager that works on machines that don't provide specific virtualisation hardware support? [20:35] StrangeCharm: your options: virtualbox (best run with gui).... vmware (eeewwwww) .... forget about virtual servers and run everything on plain hardware (ebox) [20:37] stefg, i'll take a look at the cli interface for virtualbox, i haven't had time to have a good look at ebox, can it run multiple instances of the same software side-by-side? [20:39] StrangeCharm: ebox is a preconfigured system for small enterprises... it frees you from worrying about samba, ldap and most other boring stuff, but is quite inflexible [20:39] so ... no [22:07] ebox, small enterprises? hah [22:24] dmesg reports a lot of [22:24] [2946900.131421] TCP: Treason uncloaked! Peer 91.63.188.225:2363/80 shrinks window 4102367244:4102381644. Repaired. [22:24] should I be concerned? [22:25] I also have (right before that) stuff like [22:25] [2864070.437606] Pid: 0, comm: swapper Tainted: GF 2.6.24-24-server #1 [22:25] [22:26] this is on a fully updated and patched 8.04 server [22:26] LiraNuna: it depends [22:26] if it's a legitimate connection -- then it could be a network error [22:26] giovani|work, unlikely, my server doesn't listen at such high ports [22:26] you're runnign a web server correct? [22:26] if it's not a known legitimate connection, it's probably an indicator of a SYN flood with a tiny TCP window size [22:26] web/mysql/ftp/sftp [22:27] syncookies [22:27] is your kernel installed with syncookies? [22:27] ubuntu's -server kernel [22:27] LiraNuna: right, so it's a client of your web server, obviously [22:27] 91.63.188.225:2363/80 on port 2363 ? [22:27] connecting to port 80 ... [22:27] sigh [22:28] http://ubuntu-tutorials.com/2008/07/04/tcp-treason-uncloaked/ [22:28] oh, I see [22:28] no route to host here [22:28] it's likely a spoof [22:28] check out that post - see if it helps [22:29] LiraNuna: are all of the lines that same IP? [22:29] or many different IPs? [22:29] giovani|work, different IPs [22:29] hggdh: route is fine [22:29] http://pastie.org/573192 [22:29] LiraNuna: welcome to a SYN flood ddos [22:29] so it was a DDoS attack [22:30] of course [22:30] a syn flood [22:30] which is a specific type of ddos [22:30] how can I prevent it? or is it already prevented [22:30] with window resizing, evidently [22:30] my server's fine - I'm just worried by logs [22:30] LiraNuna: read the page KillMeNow sent you [22:30] I am [22:30] and read up on syncookies [22:41] thank you giovani|work and KillMeNow [22:45] si there a standard tutorial for rejiging the filesystem? i need remove /var from a secondary disk (put it back into the main /) and put /home onto another disk [22:48] StrangeCharm: boot a livecd, mount / to somewhere like /mnt/root and your old /var to somewhere like /mnt/var, mkdir /mnt/root/var, copy /mnt/var to /mnt/root/var, edit fstab, tada. [22:49] nick125, why does that need a livecd? [22:49] StrangeCharm: To prevent problems with files in use and stuff trying to access /var while you're messing with it. [22:50] because /var has files that are used by the system. You might succeed if you boot on maintenance mode [22:51] hggdh, is that one of the default boot options? [22:51] That too. PIDs are stored in /var/run, there's /var/log, etc. [22:52] it should be, yes (I do not remember the naming). When you boot, on Grub you should have an option for a normal boot and another for a maintenance boot [22:52] rescue mode or whatnot. [22:53] recovery mode, just checked... memory, memory... [22:57] when you say 'edit fstab' you mean 'remove the entry referring to /var being on another disk' ? [22:59] yes [23:47] ubuntu is working perfectly at the office [23:47] i'm getting loads of problems installing openldap tho [23:48] so just migrating the client machines first, it has been a productive day, got 22 desktops done [23:48] :)