/srv/irclogs.ubuntu.com/2009/07/09/#ubuntu-server.txt

jeiworthReepicheep: ok, we'll give it a try, thanks!00:00
ruben23_sata is not supported on ubuntu..?00:01
Reepicheepruben23_:  sata is supported .. it is the controller card that may not be00:03
jeiworthhggdh: yes, me too, i have 2 linksys, which both run with ddr-wrt, so i dont really remember what options are available in the original firmware00:04
jeiworthlol ddr :D dd-wrt of course00:04
jeiworthbrb00:05
Reepicheepjeiworth: you should then be able to block it at the router with dd-wrt (as long as that is the router that you are working with)00:05
Edwin1979jeiworth: an off-topic question...00:06
Edwin1979jeiworth: what is the meaning of 'brb' ? :D00:06
Reepicheepbut like I said before security comes in layers .. so block it at as many layers as possible00:06
ReepicheepEdwin1979: brb = be right back00:07
Edwin1979thanks Reepicheep !!! :D00:07
jeiworthEdwin1979: hehe brb==be right back  ;)00:10
Edwin1979thanks jeiworth ;)00:10
jeiworthEdwin1979: iirc there is a whole wikipedia pages dedicated to irc abreviations :D00:10
jeiworth(iirc==if i remember correctly)00:10
Edwin1979jajajajaja, another IRC abreviation ;)00:11
jeiworthEdwin1979: hehe are you from a spanish speaking country maybe?00:12
Edwin1979yes I am jeiworth, I imagine because our way to laugh (jajajaja instead of hahahaha or hehehehe, right) ;)00:14
Edwin1979I imagine you discovered that*00:14
pixlboxi wanna use python and django with my server, has anyone installed these before ?00:14
DelphiWorldhi00:18
=== KillMeNow[A] is now known as KillMeNow
* KillMeNow is no longer away : Gone for 1 hour 17 minutes 12 seconds01:11
jetoledoes anyone know a good log aggregation type system for linux/unix syslog and windows event log where it is collected in one place and allows an easy way to view/manage log data?01:35
pmatulisKillMeNow: hey, did you get ruben sorted out last night?01:40
KillMeNowi am not sure01:46
KillMeNowlast i heard he installed openssh-server and never came back01:46
KillMeNoweariler today he was having issues with mkfs ext2 when installing ubuntu01:47
KillMeNowjetole - hit freshmeat.net or sourceforge01:47
KillMeNowjust make sure you pick a project that is recent...  you can also push all syslog to another server and then use ngsyslog ?  it allows you to collect syslog info in to a mysql database01:48
KillMeNowgoogle around, you should find something you're looking for01:48
cjwatsonor indeed rsyslog, which is what we'll be using in karmic01:50
pmatuliscjwatson: really?  so that's final?01:50
cjwatsonyes01:50
KillMeNowcjwatson, does rsyslog allow logging in to a SQL Database?01:55
pmatulisKillMeNow: yes it does01:55
KillMeNowoooh...  that's hawt...  last time i did it was on Centos 4 using syslogng or was it ngsyslog01:55
KillMeNowanyways, it was hawt!01:56
pmatulisrsyslog has a lot of nifty features01:56
pmatulisnative encryption, disk queues, and logging templates come to mind01:57
KillMeNowlast time i set it up was to collect all the PPPoE authentications from a Redback, made life easier to grep out issues01:57
* pmatulis has trouble with people who beg for help and disappear once provided the missing piece01:59
* KillMeNow believes in "Teach a man to fish and he'll feed himself"02:00
e-jatif i have dual quad processor ... how to check/monitor if ubuntu maximize / utilizing all the cpu cores? if from top i can see it using 1 cpu only ..03:09
twbe-jat: you should have a load of n where n is the total number of cores.03:13
twbThat is, if it is under full load.03:13
twbFor example, a dual-core, single-cpu system would have a load of around 2.00 when fully utilized.03:13
twbuptime(1) is an easy way to print the load averages.03:14
oh_noesAnyone know anything about open-vm-tools and if/when they'll ever be a stable production version to install on 8.04 LTS servers?03:25
twboh_noes: you mean compared to vmware-tools?03:41
oh_noeswell, vmware tools isnt a deb package is it ?03:41
twbThey're essentially the same codebase, so I don't see how they're any less stable.03:41
twbNote that open-vm-tools is *only* for vmware guests.03:41
oh_noeswell, canonical arent publishing open-vm-tools in the primary production repositorries because it's not stable03:42
twboh_noes: so by extension, neither is VMware03:42
twbBut I think you'll find Ubuntu place open-vm-tools in multiverse because it is unsupported software that depends on unsupported proprietary software (namely, vmware), and it is not available in Hardy because it didn't exist at the time.03:43
oh_noesoh, so its in multiverse, just not main.03:44
twbhttp://packages.ubuntu.com/search?keywords=open-vm-tools03:46
twbUsually I have a test server with all categories and a bunch of releases enabled, so I can see what's what using apt.03:47
poseidonI'm trying to create a little home server with an old computer and ubuntu-server.  I can't seem to get the wireless card to work, however03:55
poseidonIt's a d-link dwa-13003:55
twb!lspci03:56
ubottuSorry, I don't know anything about lspci03:56
twb!wireless03:56
ubottuWireless documentation, including how-to guides and troubleshooting information, can be found at https://help.ubuntu.com/community/WifiDocs03:56
twbposeidon: you might not get much help with wireless here, as it's rarely used in a server.  You might wanna also try #ubuntu or something.  (By all means hang around here, too, though.)03:58
=== s_markow_ is now known as s_markow
billybigriggerif i want a video to play inside the browser, do i have to have apache parse .avi files properly?04:46
billybigriggerhttp://www.thefrozencanuck.ca/burnout.avi doesn't seem to want to play04:46
billybigriggerbut i know its on the server04:46
billybigriggerahh wrong perms04:47
billybigriggernope still not workign04:48
billybigrigger766 should be good enough to view it?04:48
twbbillybigrigger: works for me04:51
billybigriggerya i think its firefox 3.6 thats the problem05:00
billybigriggercrashes everytime i hit the link05:00
twbI was testing with wget05:21
billybigriggerahh05:27
twbFirefox is for chumps05:27
billybigriggeri thought it might have been the app handler in apache or perms05:27
billybigriggerseems to be working now though05:28
billybigrigger3.6 is nice :P05:28
twbI guess you need to make sure it's sending the appropriate content type05:28
billybigriggerstartup times feel like its being restored from minimizing05:28
twbContent-Type: video/x-msvideo05:28
billybigriggerwhere can i add content types05:30
billybigriggeri was going to add it to /mods-availabe/mime.conf05:31
billybigriggerbut see no other similar entries05:31
twbbillybigrigger: sorry, that is what content-type you ARE sending, I guess it's right06:05
twbThe content-type is what the browser uses to work out what to do with the file06:06
MT-Anybody around that uses logcheck?06:14
twb!anyone06:19
ubottuA large amount of the first questions asked in this channel start with "Does anyone/anybody..."  Why not ask your next question (the real one) and find out?06:19
MT-Would this regex -> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ CRON\[[0-9]+\]: pam_unix(cron:session): session opened for user smmsp by \(uid=0\) match this string? Jul  8 08:20:01 insto CRON[30795]: pam_unix(cron:session): session opened for user smmsp by (uid=0)06:25
MT-twb: sorry06:26
twbMT-: the logcheck docs explain how to test regexs06:28
MT-oh, ok06:28
MT-thanks06:29
twb(Sorry, I'm a bit busy.)06:36
alex_jonigreetings, having a small routing problem (probably something misconfigured, but can't figure it out)07:34
alex_joniI have a NAT box (8.04 server) with 2 interfaces (eth0 internal, eth1 external ip)07:35
alex_joniwhen I try to reach the internal network, I see the server is using it's external ip addy.. any idea what I should check?07:35
alex_joni(route seems ok)07:35
cemcalex_joni: reach how ?07:36
twbMy wild guess is that your DNS setup is providing the wrong address for the server, to client machines on its LAN07:42
twbBut the information you've given so far means it could be absolutely anything -- it's not really clear what you're trying to do.07:42
_rubeni'd guess that the nat rule is configured "too wide", as in: gets applied to internal traffic as well, instead of just internet-directed traffic07:46
alex_jonicemc: sorry.. found a problem in my iptables script07:47
alex_joniseems I was pushing everything through MASQ even the nat box07:48
alex_joni_ruben gets a cookie ;)07:48
alex_jonithanks guys07:48
twbAw, I lost.07:51
_rubenhehe08:01
_rubencookie for breakfast ... yum08:01
twbI got doughnuts yesterday!08:02
twbUsually I only have meal.08:02
twbWell, oats, anyway08:03
uvirtbotNew bug: #397312 in nagios-plugins (universe) "Please merge nagios-plugins 1.4.13+git200906171200-1(main) from debian unstable(main)" [Undecided,New] https://launchpad.net/bugs/39731208:11
MT-I'm trying to setup loggerhead. I have no idea what I'm doing... I installed it and I have no idea where to go from here08:19
CTShadowi've got an ubuntu 8.10 server with 2 nic's sharing the same subnet and ltsp installed. on eht0 i've got my production network and on eth1 are my ltsp clients. the server leases ip's with dhcp via both interfaces, but does not respond on arp requests on eth1 (the ltsp interface). how can i fix this?08:31
alex_joniCTShadow: maybe you can try to enable proxy_arp on both interfaces08:58
alex_joniecho "1" > /proc/sys/net/ipv4/conf/eth0/proxy_arp08:58
simplexioCTShadow: just a guess but /proc/sy/net may have some nice switch to help08:59
MT-How can I get all of apache2 back to its original configuration?09:00
simplexiothoght. i have a bridge conf on 3 interfaces and all interface have proxy_arp 009:01
MT-I tried to use apt-get --reinstall, I tried to purge and reinstall, nothing works - not all of the files are recreated09:02
simplexioMT-: dpkg-reconfgiure apache2 may help09:02
simplexio.. dpkg-reconfigure09:03
MT-I tried that too...09:03
sorenMT-: Which files are you missing, exactly?09:03
sorenpurging the existing files and installing them again certainly should reset everything.09:04
MT-all of them09:04
simplexioMT-: one option is go to /var/cache/apt/archives/ and extract apache package and look if there is conf files that you can use, but that a little "hack" around package manager09:04
MT-I think I got it... needed to purge apache2.2-common first09:04
sorenMT-: Which packages did you remove?09:04
sorenMT-: Right. apache2.2-common owns the configuration files.09:05
MT-still not getting to loggerhead :(09:06
sorenHm? What does loggerhead have to do with it?09:07
MT-that was what made me screw everything up09:07
MT-So... can anybody help me figure out how to setup loggerhead?09:13
MT-I installed it and supposedly it should just work on port 8080, but it's not listening at all09:14
MT-oh....09:17
twbMT-: did you read /usr/share/doc/loggerhead/README.Debian.gz?09:20
twbAnd indeed anything else in that dir09:20
MT-twb: I'll try to work off that file09:22
MT-ok... so loggerhead will load once. If I reload the page or click anythin the daemon dies... -_-09:27
CTShadowalex_joni, simplexio: thanks, ill try that and report back09:27
MT-loggerhead is dying after every single page load - AH!09:33
MT-This is ALL I can get for error logs http://bzr.pastebin.com/m6d8b2cbb09:33
MT-error.log is empty09:33
MT-Can anybody tell me if this file looks right? I'm guessing it's probably why this is breaking? http://bzr.pastebin.com/ma4b26c309:38
sorenSorry, never used loggerhead, so it's a bit hard to tell.09:39
=== Enkz is now known as Enkz|Away
CTShadowalex_joni: Unfortunately that did not work. i also did an /etc/init.d/networking restart. do i have to do anything else to make it work?10:04
covidiuHi. How do I enable automatic updates on Ubuntu Server?10:19
twbdrive-by querents :-/10:28
pat_hi all I have a file, where I need to pull the text after the word central............. eg central/test............ well I need to pull the word test.... and Ideas ? , i can do the regex on central but I cannot get the text afterwards. I don't want the entire line, just the text immediately afterward10:56
alex_jonipat_: I'd do a less | grep central| then sed11:00
alex_jonior awk11:00
sorenpat_: Define "text immediately afterward". Up until the next space?11:12
sorenpat_: If so, this should do the trick:11:16
sorensed -e '/central\// s/.*central\/\([^ ]*\).*/\1/ p' -n /path/to/the/file11:16
=== ogra_ is now known as ogra
PC_Nerd1011Hi, running 8.04 server, sudo aptitude install samba hangs on "starting samba daemons".  /var/log/samba/log/smbd mentions a: Unknown parameter encountered: "commend"..... to me that looks like a compile time issue that should have been fixed - but i cannot find anything by googling the error....  can anyone help me get samba installed?13:55
sommerPC_Nerd1011: sounds like a config problem... should the word "commend" in /etc/samba/smb.conf be "comment" ?14:00
_rubenor command .. who knows .. still i wouldnt expect it to hang though14:01
PC_Nerd1011I'm not sure - I'll go and find it.. this was an install direct from "sudo aptitude install samba" - so I posted here straight away... just a moment.14:01
PC_Nerd1011looks like it was...  so its probably a typo I made a few months ago when I was playing around with different bits and peices ( all ne server and all) - and when I uninstalled them they didnt remove configuration files. :) (time to keep debugging)14:03
sommerPC_Nerd1011: just an fyi to remove a packages config files use apt-get purge $packagename14:05
PC_Nerd1011ahh ok thanks :)14:10
PC_Nerd1011um - how long should samba take to start on a dual code xeon server 2gb ram? - nothign in the error logs but hangs ( at least a minute so far) ?14:11
sommerPC_Nerd1011: should take a couple of seconds... looks like you have another problem14:12
PC_Nerd1011yup - just wiped the configuration file and starting fresh.14:14
PC_Nerd1011ok... completely original smb.conf file , dhcp.conf is empty, /var/logs/samba/... log.smbd and log.nmbd both state samba has started - yet sudo /etc/init.d/samba start just hangs..... any suggestions on debugging?14:16
sommerPC_Nerd1011: anything in /var/log/syslog14:18
sommeror /var/log/daemon.log14:18
PC_Nerd1011ok just a sec14:18
PC_Nerd1011nothing in the last few hours from daemon.log, and nothign timewise that coresponds in syslog ( there are a few cron entries, but again nothign within about 1.5 minutes of each attempt at starting)14:20
PC_Nerd1011* just tried again on syslog, and it appears that nmbd has written in a series of lines "become_local_master_stage2(396)", stating that my server {name} is now master on subnet IP.... but the IP is actually the server's IP and not the subnet at all.... could that be why its hangning?14:21
sommerPC_Nerd1011: possibly...  you could also set the "log level = 3" option in smb.conf14:23
PC_Nerd1011o..k.. , let me seek that line out.14:23
PC_Nerd1011I think its crashing on "reloading printcap cache" even though I'm pretty sure I commented out all the printing related conf entries.14:28
uvirtbotNew bug: #306398 in php5 (main) "upgrading php5 package overwrites installed PEAR packages" [Undecided,Incomplete] https://launchpad.net/bugs/30639815:16
acalvoHello.15:26
acalvoI work for an university, and we want to get rid of the manual deploying of OSes in the alum computers. We were thinking of using something thru BOOTP or PXE, but can't find a good tutorial or information. Does anyone know a good place to start?15:29
msantosacalvo: this was a big help for me: https://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install15:31
acalvowell, I've two questions15:32
ruben23hi got problem with ubuntu-server installation- when on partition part i got error the loading freeze...15:33
acalvo1) will it always start from PXE Install Server even if there is an OS installed?15:33
ruben23how do i reformat my whole drive using linux installation disc15:33
acalvo2) how good is to user partimage server?15:33
msantosacalvo: you can set boot preference in the bios usually15:33
acalvoruben23, why don't start from scratch?15:33
acalvoruben23, you can use mkfs.yourdesiredFS /dev/yourpartition15:33
acalvoacalvo, ok, but it will always prompt to the installation15:34
ruben23acalvo:  how do i do that--->can you give link to follow...?15:34
msantosif you set local disk first and pxe second, it will only prompt if the disk is not bootable15:35
acalvomsantos, good point...15:35
ruben23msantos:sorry for that, but got no idea on your point newbie here....sorry again.15:36
acalvoruben23, for example, imagine you have the device SDA with 4 partitions, and you want to format SDA1 to EXT3, you must run mkfs.ext3 /dev/sda1 to achieve that15:39
ruben23acalvo: am about to install form scratch--------> normally im installing ubuntu-server but can proceed during the partition section loading coz it hanged up and freeze the process, several time i attempted, so i decide to reformat my sata hdd first before doing instalation again, can i have option to reformat my hdd with an ubuntu-server installation disc..?15:41
acalvoruben23, well, yes, but it is part of the process. Of couse, you can do it from a terminal (ctrl+alt+[1-7]). But if your computer is hanging at the partitioning process, either is it something wrong with the media (CD or DVD) or is something wrong with your hardware15:43
ruben23hmm..possible--->thanks for the hint15:44
ruben23ill test the media first15:45
acalvoruben23, there is an option at the selection menu of the media15:46
ruben23ok15:48
uvirtbotNew bug: #397203 in samba (main) "ldap.so missing from package" [Undecided,Incomplete] https://launchpad.net/bugs/39720316:01
TheFuzzballHello, I have installed Ubuntu server on a spair laptop so I can use it as a LAMP server but can't connect via an ethernet cable. How do I use the wifi card built into it?16:08
TheFuzzballIt doesn't show up with iwconfig, but I do know the driver that it uses16:08
mathiazkirkland: howdy!16:40
mathiazkirkland: question about libvirt+kvm - is there a safe way to check that all guests have shutdown correctly while rebooting the host?16:40
specto!irssi17:09
ubottuIrssi is a terminal based IRC client. See https://help.ubuntu.com/community/Irssi for help. See also !screen17:09
spectohow do I silence irssi parts and joins?17:10
pmatulisspecto: go to #irssi17:14
spectopmatulis: eh, it was just a simple question thought someone might know17:16
kirklandmathiaz: virsh list ?17:19
mathiazkirkland: hm - I was more thinking about the shutdown process17:20
mathiazkirkland: when you reboot the host, are all the kvm processes just killed?17:20
mathiazkirkland: is there a way to cleanly shutdown all the guests?17:20
kirklandmathiaz: i'm don't know for sure, but i would certainly hope so17:21
uvirtbotNew bug: #397483 in samba (main) "package samba-common 2:3.3.2-1ubuntu3.1 failed to install/upgrade: subprocess post-installation script returned error exit status 3" [Undecided,New] https://launchpad.net/bugs/39748317:21
uvirtbotNew bug: #397474 in openssh (main) "Is there a security ssh issue in ubuntu?" [Undecided,Invalid] https://launchpad.net/bugs/39747418:01
jdstrandmathiaz: virsh shutdown <vm>18:04
mathiazjdstrand: right - does the shutdown libvirt script uses that?18:04
jdstrandmathiaz: that sends an acpi event and if the guest has acpid installed, it will shut it down cleanly. if it doesn't, nothing happens18:05
mathiazjdstrand: right now I have to manually do that for all my vms before rebooting18:05
jdstrand'shutdown libvirt script'?18:05
jdstrandoh18:05
jdstrandI don't know about that18:05
cjwatsonhttp://lists.mindrot.org/pipermail/openssh-unix-dev/2009-July/027726.html, for anyone who's been worrying about this claimed openssh vulnerability18:06
jdstrandmathiaz: I can say that there is a bug in libvirt in Jaunty that will stop (iirc) all machines started after the vm you requested to shutdown is shutdown18:06
jdstrandie, virsh start vm1 ; virsh start vm2 ; virsh shutdown vm1 -- both shutdown18:07
mathiazjdstrand: right - this may be annoying18:08
jdstrandit may be fixed in karmic, I don't know yet18:08
jdstrands/may/is/ ;)18:09
jdstrands/may be/is/18:09
jbernardkirkland: around?18:20
ivoksjust to give you an update on cluster stack18:35
ivoksit seems that we could have full cluster stack by the end of the next week18:35
ivoksupstream released all bits and pieces of what's needed for it18:35
jmedinaivoks: congratulations and thanks18:42
=== zul_ is now known as zul
uvirtbotNew bug: #397534 in mysql-dfsg-5.1 (universe) "package mysql-server-5.1 5.1.31-1ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/39753419:36
Skaaghow do I mount a 'linux raid autodetect' partition?19:43
=== bomana is now known as aboman
Skaagok I managed19:44
=== hggdh_ is now known as hggdh
=== ogra_ is now known as ogra
Max007Hi20:44
Max007I already use a bridged squid proxy but I'd want to do some traffic shaping with it too. What should I use ?20:44
spectoMax007: Hi Max007 , you may have to look into iptables traffic shaping20:46
spectoMax007: not fun though...20:46
ivokshello20:54
spectohi21:02
specto!hi | ivoks21:03
ubottuivoks: Hi! Welcome to #ubuntu-server!21:03
ivoksubottu is just being abused21:03
ubottuError: I am only a bot, please don't think I'm intelligent :)21:03
spectoofftopic | ivoks21:03
spectowhoops21:04
specto!offtopic | ivoks21:04
ubottuivoks: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics. Thanks!21:04
RoAkSoAxlol21:05
ivokshm21:05
Guest45506I have Ubunutu server running and I would like to make it into a dual boot. Is this "easy" to do?21:15
=== Guest45506 is now known as resno
resnoguest45506 is now resno :) thanks21:15
beawesomeinsteadi've been thinking a while on a commercial for our client--local integrator. so, just out of curiosity, what do you guys think about and ad like this? http://img198.imageshack.us/img198/2411/img2426v.jpg21:17
beawesomeinstead!offtopic | beawesomeinstead21:18
ubottubeawesomeinstead, please see my private message21:18
resnoI have Ubunutu server running and I would like to make it into a dual boot, how should re-partition the drive?21:27
jpdsresno: Why would you want a server to dual-boot?21:40
resnojpds: i isntalled server on laptop for some development work...21:40
resnojpds: and to learn how to admin it...21:41
jpdsCouldn't you have used a VM or something like that?21:41
resnoin retrospect, that would have worked, but i didnt think this would happen.21:42
resnook, thanks.21:45
ruben23hi, im instaling ubuntu server 8- on my server hardware problem is during reformatting- it takes long on 33% then my keyboard are blinking---> no progress, is this a signed of media errror or HDD....22:01
diffraruben23: Kernel panic.  Could be bad media, bad memory...  have you checked both?22:02
diffra(by media I mean the hard disk, not the install disk.22:03
ruben23ok, so waht i do with the HDD..22:03
ruben23low level format it..?22:03
ruben23then do installation again22:04
diffratry to boot the ubuntu desktop cd and run smartctl -a /dev/sda1 (or /dev/hda1) -- pastebin the output22:04
ruben23ok22:05
ruben23ill go on console terminal..?22:06
ruben23im using ubuntu-server22:06
metalfan_hi22:37
metalfan_what tool do you use to manage services that start at boot from the commandline?22:37
ruben23diffra:..?22:55
ruben23you there..?22:55
ruben23run smartctl -a /dev/sda1 (or /dev/hda1) <---------------how do i do this on boot installation disc..22:58
ruben23on the terminal22:59
ruben23anyone...?23:08
ruben23here can help23:08
metalfan_ruben23, change to a console23:13
metalfan_try alt+f223:13
ruben23 metalfan_: yes i do23:14
ruben23then i run this smartctl -a /dev/sda123:14
ruben23it shows NOT FOUND23:14
ruben23what would i do with that..?23:15
diffraThat's why I didn't suggest using one of the terminals, i doubt it's on the install CD.23:21
diffracheck all the terminals (alt+f2-f9... it's one of those) and look for error logs23:22
ruben23ok23:27
metalfan_ruben23, is that the complete error?23:32
metalfan_does it say command not found?23:32
metalfan_also i doubt that sda1 is right, sda would make more sense since you are searching for drive errors23:33
metalfan_also check is sda is the correct drive/if its there23:34
metalfan_have to go now23:34
=== smultron_ is now known as smultron

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