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