/srv/irclogs.ubuntu.com/2010/03/12/#ubuntu-server.txt

KutakizukariHow do I enable mod_rewrite for Apache2?00:02
RoAkSoAxkirkland, are you planning to separate the code of testdrive? so that it would be easier to create a gtk front-end?00:11
kirklandRoAkSoAx: i think that's part of the gtk writer's job :-)00:12
kirklandRoAkSoAx: but, sure, i would like to see it modularized00:13
RoAkSoAxkirkland, ok I'll see what i can do then :)00:13
kirklandRoAkSoAx: :-)  \o/00:14
kirklandRoAkSoAx: i'm happy to help where necessary00:16
RoAkSoAxkirkland, will poke you when needed since i first have to read your new python code :)00:17
kirklandRoAkSoAx: cool :-)00:17
* kirkland does not claim to be a good python programmer :-)00:17
RoAkSoAxkirkland, neither do I :)00:19
RoAkSoAxi just like it00:19
kirklandRoAkSoAx: same here00:19
RoAkSoAxkirkland, I actually haven't been coding much in the past two years, just small python project last semester for a class and because I wanted to learn python and there comes my liking to it :)00:20
=== FFForever-Away is now known as FFForever
histoAlright I switched boxes now my server is still locking up definately not hardware related.00:36
histoit just hangs randomly sometimes makes it 30 minutes sometimes longer.00:37
histoIts a dell optiplex 170L00:37
histoI did a cli install from the mini.iso. I'm wondering if its some sort of power management thing going on?00:38
histoSyslog and message show nothing of help i'm wondering if anyone has any other ideas?  Someone suggested it may be a power issue. so i took the new box off of the battery backup and put it directly in the wall and it still hung.00:40
=== FFForever is now known as FFForever-Away
qman__Kutakizukari, IIRC,  sudo a2enmod rewrite02:07
GhostFreemanIs there a kernel module to improve performance of ubuntu server inside of a VM?02:09
Kutakizukariqman__, thank you.02:12
\shGhostFreeman: hmmm?02:12
GhostFreemanI was just wondering if there was a kernel module or a package I could install that would give me access to VirtualBox guest directories and such02:13
\shwhatever guest directories are...if you mean to access your guest hd, you could export samba or nfs to the host running vbox easily...but that doesn't improve performance02:14
GhostFreemanperformance is moot if generic support VT-X (I think it does)02:15
* \sh runs ESX on dl385 with 32GB ram and 8 300GB sas drives...02:18
\sh+ adding vmware tools to the standard install layout via puppet == I don't think about performance ;)02:20
qman__heh02:21
qman__I don't think any of my servers even support VT-X02:21
qman__working with old junk here02:21
GhostFreemanwell i'm running 9.10 from VirtualBox so I can fiddle around with Ruby, amongst other things02:21
\shah well...boxes without VT-X (my home server doesn't have such things) I would use LXC as para virtualization02:21
\shwhich uses host io which is sometimes much faster then hypervisors02:22
qman__hmm, I'll have to check that out02:22
qman__most of my stuff is socket 939 AMD, reasonably quick, but predates all the new virtualization stuff02:23
GhostFreemanI was thinking about running VMWare on a Pentium 3 i was gifted02:26
qman__ehh02:27
qman__single P3? how much RAM?02:27
GhostFreemanyeah I felt the same way02:27
GhostFreemanit was a double with 1GB02:27
qman__that's not really enough RAM, but a dual P3 would be enough to toy with some server on server stuff02:28
qman__I've got a dual P3 with ~2.2GB in it02:28
qman__it's too noisy to use on a regular basis though02:29
GhostFreemanthis is the same case02:29
GhostFreemanits off most of the time02:29
\sh Intel(R) Pentium(R) 4 CPU 3.00GHz <- no vt stuff...but HT and 64Bit ready ;)02:29
GhostFreemanI use it as a duplicate "production-like" environment02:29
qman__I installed the HP driver package02:29
qman__changed the noise level from "hearing damage" to "vacuum cleaner"02:30
GhostFreemanlol02:31
GhostFreemanis the machine in question a Proliant?02:31
qman__yes02:31
GhostFreemanmine too02:31
GhostFreemanalthough its a Compaq era02:31
GhostFreemanI didn't even know there were drivers for it02:31
qman__yeah, it's a compaq DL38002:32
qman__the package was for 9.10, even02:32
GhostFreemanis there any benefit to installing the drivers, and is it gettable from apt?02:32
qman__not in apt, had to download a deb from HP02:33
qman__the main benefit is fan control02:33
qman__but it's supposed to add RAID control software and such too02:33
GhostFreemani'll look into this the next time I start it uo02:34
GhostFreemanup*02:34
Emzzzzhttp://imggmi.info/DSC-1268362000.jpg/ do my tits look big?02:53
Error404NotFoundi am trying to configure psad with shorewall. Psad does detect port scans but when i do a iptables -nvL and grep any port-scanner's IP, i don't see anything.03:08
twbError404NotFound: see also #shorewall03:10
Error404NotFoundtwb, done :)03:10
twbBut if shorewall is doing The Right Thing, it will be using ipsets, not separate rules for each offender.03:11
Error404NotFoundtwb, hmmm, and do you have any idea how do i check that?03:16
twbUsing the ipset command, I imagine.03:17
Error404NotFoundtwb, no command ipset found :)03:20
twbYou're not root, or you haven't installed it.03:21
Error404NotFoundtwb, i think its not installed as i am root03:22
uvirtbotNew bug: #537838 in samba (main) "package winbind 2:3.4.0-3ubuntu5.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/53783804:16
funkiwani'm having some issues with a raid1 array. i just rebooted and the raid array attempted to rebuild itself. now that the rebuild is done, it's writing "RAID1 conf printout:" messages to /var/log/syslog every few seconds, and mdadm is reporting the array as either "clean, degraded" or "active, degraded"04:37
funkiwanhere's some sample output of syslog and mdadm and /proc/mdstat: http://pastebin.com/XhFWNvA204:37
sbeattiefor whatever reason, md thinks that /dev/sda1 is a spare. you'll need to add it back with mdadm.04:40
funkiwansbeattie: sorry, just seeing your response04:53
funkiwanany idea why the log file is getting flooded?04:53
sbeattiefunkiwan: no, I haven't seen that behavior before. What release is this?05:01
funkiwansbeattie: karmic, Linux kubuntu 2.6.31-20-386 #57-Ubuntu SMP Mon Feb 8 11:42:49 UTC 2010 i686 GNU/Linux05:02
funkiwansbeattie: the strange thing is that it seems to be continuosly switching between states of "clean, degraded" and "active, degraded"05:03
uvirtbotNew bug: #537851 in dhcp3 (main) "dhclient silently ignores unreadable config-file" [Undecided,New] https://launchpad.net/bugs/53785105:06
KutakizukariWhere do I put a .bash_profile to use for alias?07:54
sherrfunkiwan: still looking at raid problems? Any progress?07:58
twbKutakizukari: that question makes no sense.07:58
funkiwansherr: i am07:58
funkiwansherr: seems that my machine is stuck in a loop. you can see the general output here: http://pastebin.com/XhFWNvA207:59
sherrfunkiwan: always kicked as a "spare" and always sda ?08:00
Kutakizukaritwb, lookup Using aliases to speed up checkout on this page. http://drupal.org/node/32008:00
funkiwansherr: yep08:00
sherrCheck cables and connections to sda etc. - who knows.08:01
sherrHave you tried running "smartctl" on it - see the SMART disk status?08:01
Kutakizukaritwb, says to put it in home directory I did that but did not work maybe /var is the home dir to use?08:01
Kutakizukarior /var/www/08:02
funkiwansherr: i did run smartctl on it, with -t08:03
funkiwansherr: and then looked at the test log and it looked clean08:03
sherrMaybe : smartctl -iHa /dev/sda08:04
funkiwansherr: just put my head down to the drive. heard what sounded like a small pop, followed by what sounded like a drive spinning down, and then spinning up08:05
sherrWell - bad drive I would say. Check the smartctl command on it - but whatever, sounds like you should replace.08:05
funkiwansherr: not quite sure how to read the output: http://pastebin.com/6QeFKEYr08:08
sherrWell it thinks all is well - healthy. However, from what you say, the disk is suspect/bad. So, if I was you, I would replace.08:11
uvirtbotNew bug: #533508 in apache2 (main) "apache2 crashed with SIGSEGV in sapi_getenv() (dup-of: 531706)" [Undecided,New] https://launchpad.net/bugs/53350808:17
funkiwani just tried /dev/sdb for shits and giggles. problems: http://pastebin.com/guprGzW108:18
funkiwanand now /dev/sda1 is listed as faulty08:20
sherrWell, sda has "Reallocated_Sector_Ct" at 5 - which could be a failing indicator, otherwise passed/healthy.08:21
sherrMaybe try - different cables, different disks, check connections. All assuming you have backup of all your important data. Good luck.08:22
funkiwansherr: thanks for your help.08:23
alveraanMy python interpreter starts but all imports fail with an ImportError. Even modules in the standard library fail. Tried purging, then reinstalling all python packages but to no avail.09:02
SandGorgonhi guys.. need help on openvpn. I need to setup openvpn on a hosted machine which runs a reverse proxy, so that incoming requests to that hosted machine can be forwarded to specific clients (that connect using network-manager-openvpn). My config doesnt seem to work.. and I cant figure out routing.. help10:12
_ruben_after reading the thrice i still dont understand what you're trying to achieve10:15
SandGorgon_ruben_, sorry.. lemme try again10:26
SandGorgonwe ought to connect to open-vpn server and get private ip addresses. Someone sends a request to say <openvpn server's ipaddress>:port 8080, then a reverse proxy routes that request to a particular private ip. a different request to port 8081 is routed to different private ip...10:28
_ruben_ah, that's a bit more clear10:29
_ruben_what have you tried so far ?10:29
SandGorgonI havent gotten to the reverse proxy part yet - for starters, I'm trying to setup openvpn, so that I can go to whatismyipaddress.com and see my vpn server's address10:33
SandGorgonI have used a particular configuration and all... but I'm simply unable to connect to my server (using my Ubuntu network-manager's VPN tab)10:34
_ruben_SandGorgon: for that site to work as you'd expect you'd have to route *all* your traffic over the vpn, as for just providing access to certain sites only a few static routes might be neeeded10:34
SandGorgon_ruben_, true.. I'm just trying to work my way up from simple to more fine-grained10:35
persiaRouting all traffic over the VPN is good practice anyway, if the bandwidth is available : there are a number of ways to use separated networking to arrange a back-door into a private network.10:35
_ruben_persia: that highly depends on the scenario i'd say, i'd say for this scenario, its "overkill"10:36
uvirtbotNew bug: #537978 in dhcp3 (main) "Lucid dhclient can't set hostname" [Undecided,New] https://launchpad.net/bugs/53797810:36
SandGorgonare there any openvpn 2.0 configs that I can take a look at - and do I need to mess around with iptables before I can even begin to attempt to connect to my vpn server ?10:36
persia_ruben_: It's unrelated to the scenario, but yes, it may be overkill.10:37
persia(or at least paranoid networking)10:37
_ruben_i really dislike vpn solutions that override your default gateway .. it tends to break more than it solves10:39
SandGorgon_ruben_, a lot of people surf the internet using VPNs... in that case does it not override the default gateway ?10:47
persiaSandGorgon: Depends on the VPN config.  Both methods are in common use.10:50
SandGorgonpersia, any "10-step tutorials" that I can take a look at... I'm a bit overwhelmed by the amount of config options, tun vs tap, tcp vs udp and bridged interfaces10:52
persiaSandGorgon: I don't know of any.10:53
persiaSandGorgon: This is not meant to imply they don't exist: I also haven't every looked for any10:54
SandGorgonpersia, oh ok10:54
_ruben_SandGorgon: vpns in general tend to have a fairly steep learning curve, but once you wrapped you head around the first few hurdles, a lot of the complexity fades away11:02
_ruben_the openvpn documentation itself is fairly decent in my eyes, but i must admit i've been building vpns for several years11:02
_ruben_btw, the reverse proxy setup might be overkill as well .. if its just about making a select few internal sites available to external vpn users, just push routes pointing to those server to the vpn client11:04
_ruben_as tun (routed) versus tap (bridged), tun tends to be most suitable for most cases ... and using udp will give best performance, but using for instance tcp on port 443 will be more firewall friendly (in strict (enterprise) environments)11:05
SandGorgon_ruben_, actually use case is a little different - we have certain secure web interfaces (that may be under development at different times by different developers) - these web interfaces have to be made available to the people outside our organization (on a temp basis). This is why, we need to forward incoming requests to the vpn server to specific vpn client machines11:10
maxagazhow to egrep a number from x to in  file ?11:18
=== _ruben_ is now known as _ruben
erichammondmaxagaz: I couldn't parse your question.  Perhaps you could provide a specific example of what you're looking to do.11:19
pjaneczehi, i have ftp server and want to allow for user to read, execute but not to remove file. Someone know how to do this?11:30
persiapjanecze: Don't give the user write access to the directory.11:32
persia(this also prevents upload, as a side effect)11:32
pjaneczebut it as you say remove upload11:32
pjaneczei want only to not remove files11:33
pjaneczeis it possible?11:36
persiaNot with traditional UNIX permissions.  You may be able to do something with the ftp server configuration (to make it not actually comply with the RFC), or with advanced permissions of some sort.11:37
persiaBut that means reading lots of details about how your selected ftp server works: I don't believe there is a common solution.11:38
pjaneczethanks, I see it's problem. I will do hard links to all files, think that it's some easier way11:40
=== zoopster1 is now known as zoopster
dayomy onboard NIC has got a shaky lan port. i want to install a NIC but have it be eth0,not eth1. how do i do this?11:56
sherrdayo: there are some persistent udev rules you can use. Have a look in /etc/udev/rules.d12:02
sherr"persistent-net"12:02
SandGorgon_ruben, I hae managed to connect to VPN.. however my regular internet stops - I guess that's a feature. How do I keep my internet going inspite of the VPN ?12:08
persiaSandGorgon: Route through your concentrator :)12:09
SandGorgonpersia, cryptic.. I give up.. english please ;)12:12
persiaSandGorgon: Look at the routes on your client.  I believe by default, everything is being routed through the VPN.  Set up the other endpoint of the VPN to route those packets somewhere useful.12:13
persiaAlternately, set up split routing on the clients.12:13
zulmorning13:36
uvirtbotNew bug: #515274 in bacula (main) "Latest Stable is 5.0.0" [Wishlist,Triaged] https://launchpad.net/bugs/51527414:16
=== robbiew_ is now known as robbew
=== robbew is now known as robbiew
SandGorgonhi guys.. how can i ensure that only traffic meant for the VPN's private network (10.8.0.x) goes through VPN and everything else goes through the regular internet ? I would prefer doing it using some directive in the server, so it just works on windows and linux14:43
pmatulisSandGorgon: is that possible?  modifying the remote host's routing table would require superuser privileges14:45
SandGorgonpmatulis, http://schinckel.net/2008/04/30/openvpn-and-default-gateway/  I do not understand it completely yet though14:46
pmatulisnot sure if i trust that face14:47
pmatulisSandGorgon: so that file he's referring to is on the remote host14:48
SandGorgonpmatulis, seems like it14:49
pmatulisSandGorgon: but that's not what you're asking14:49
SandGorgonpmatulis, I understand what you are saying - I'm just asking for any rule that will cause the tun interfaces on the client to reject traffic not intended for the private subnet14:50
_rubenSandGorgon: show us your openvpn server/client configs, you probably either tell the client to override the def gateway, or you push a default gateway from the server14:50
pmatulisSandGorgon: just configure your remote host accordingly14:52
=== Pici` is now known as Pici
SandGorgon_ruben, here is my server config http://paste.ubuntu.com/394057/ - I dont actually use a client config, because I want to work within the GUI of network-manager-openvpn (I have only given it the certificates... it connects fine)14:58
_rubenSandGorgon: odd, redirect-gateway seems disabled14:59
SandGorgonhow can I check what gateways do I get (as a client), once I connect to the VPN ? I'm able to ping the VPN server though15:03
diagoroute -n15:03
SandGorgonhere r my routes - http://paste.ubuntu.com/394064/15:08
SandGorgonah.. seems to be an issue in network-manager-openvpn... esoteric combos of settings15:12
jo-erlendi need some advise. i'm going to place a server in a colocation center this month and i'm going to install ubuntu server on it. i want to use lucid, but should i install karmic now and upgrade later or is it fairly safe to install lucid now?15:27
geniijo-erlend: I don't think anyone would recommend running alpha/beta OS on a production box15:33
=== heynow_ is now known as heynow
pmatulisjo-erlend: consider a pre-production test phase15:35
jo-erlendright. but is it safe to assume that an upgrade from karmic will be unproblematic?15:36
pmatulisjo-erlend: no15:36
_rubennor will running lucid in production now15:36
_rubenupgrades *should* go smooth, but there's no guarantees15:37
jo-erlendok, i have ip-kvm access to it, so i guess i'll go with karmic then.15:38
jo-erlendi am concerned about hardware support regressioms though, but the old kermel will still be available after upgrade, right?15:40
_rubendo a test install with lucid to check for hardware support, then reinstall with karmic15:42
jo-erlendi think i'll do that. thanks.15:43
readinghello.15:45
readingDoes anyone know that Intel s5000pal mainboard 's raid 1 can run in 9.10 server?15:47
readingthank you .15:47
_rubenreading: most onboard raidchips are merely fakeraid, and using mdadm to do full software will probably give you more control and performance15:54
_rubenfull software raid i meant15:54
readingI think software raid need more resouces than hard raid. So I buy a new machine which with intel s5000pal. But I found installer  couldn't found hard disk when I open the raid 1 in BIOS.15:58
readingthank you  _ruben.15:59
_rubenreading: depends, if its fakeraid, it'll still use the cpu for most tasks, if its real hardware raid, then you're probably better of actually using that, assuming you can find drivers for it (if not included in the kernel)16:01
_rubenafter a quick google it seems to be fakeraid16:02
readinglol..... fakeraid..  ..Profiteer16:03
clintonCan I control the installation graphics mode for Ubuntu Server?16:05
NCommandercoffeedude: ping?16:09
readingto _ruben: when I installing ,the ubuntu installer will ask me :"one or more raid ...found ...active the raid driver?"  .Does that means this is a soft raid?16:09
_rubenreading: i think so, i never bothered to mess with fakeraid+linux16:11
readingto _ruben:thank you very much!Tomorrow I will "fix" the Profiteer.He tell me it's a hard raid. T-T16:14
readingto  clinton : graphics mode for server install? I aways install it at text mode.16:15
readinggood bye every one.16:27
jiboumanssmoser: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/531494 just got updates from foundations with requests for more information. please take a look16:28
uvirtbotLaunchpad bug 531494 in upstart "cloud-init job not running in eucalyptus without ramdisk" [Critical,Incomplete]16:28
smoserjiboumans, i responded.16:29
smosermathiaz, i attempted to boot an instance in DC right now, but it appears the metadata service is down for an instance16:30
mathiazsmoser: have you reinstalled the cloud?16:30
smoserno16:30
smoserit was running, i just added a image and booted16:30
mathiazsmoser: ok - it's probably not working as I was working on getting the multi-network installation setup correclty16:30
smoserright.16:31
mathiazsmoser: I'd like to keep working on that today16:32
mathiazsmoser: so I'd say the DC UEC is not working for now16:32
smosermathiaz, well i am not really here right now... have to run, but if you, or anyone could get /var/log/udev from a successful boot of https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/53149416:33
uvirtbotLaunchpad bug 531494 in upstart "cloud-init job not running in eucalyptus without ramdisk" [Critical,Incomplete]16:33
smoserthen i'd be much obliged.16:33
smoserit seems that on the DC we usually successfully boot, but on kirkland's system, we ususally fail16:34
mathiazsmoser: ok16:34
smosermathiaz, but, in order to get that, you'll have to have a working MD service16:34
mathiazsmoser: yeah - the current UEC in the DC is on a multi-network installation16:34
mathiazsmoser: may the CLC isn't able to talk to the NC16:35
mathiazsmoser: or the guest in the NC16:35
smoserright... itst that bug we saw before.16:35
smoseri think maybe it was postponed form alapha316:35
smoserwe'd seen it before.16:35
smoserbut anyway, if you can at some point get a working instance and grab /var/log/udev that would be great.16:36
smosermathiaz, i posted comments in that bug... if you could, that would be fabulous.16:38
smoserif not, i'll get to it Sunday.16:38
mathiazsmoser: ok16:38
smoserbasically, get instance, boot, grab /var/log/udev16:39
smosermost of the time "boot" works in DC, but not other places16:39
smoser:-(16:39
smosersee you all later.  If i'm needed, please feel free to call my cell phone (listed in ldap). i'll check that bug also from time to time. i'm traveling rest of the day.16:40
wack479Sherr: are u in here today?17:03
wack479sherr!!!!!!17:12
wack479u there?17:12
sherrwack479: Hey!17:15
sherrHow are things today? Any news on the raid?17:16
wack479yes!17:16
wack479it was a conflict between dmraid (device mapper) and mdadm17:16
sherrAah.17:16
wack479something similar to this bug i found17:17
wack479https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/44273517:17
uvirtbotLaunchpad bug 442735 in mdadm "dmraid eats mdadm-managed raid in upgrading from 9.04 to 9.10" [Undecided,Invalid]17:17
wack479yep17:17
sherrIs it build now?17:17
sherrbuilt17:17
wack4794.7%17:17
wack479its 4TB worth of space, so its gonna take a while17:17
wack479lol17:17
sherrRight large disks .... :-)17:18
sherrThis is why we need ext4 as well .... fsck times!17:18
wack479exactly!!!!17:18
sherrHow did you fix it?17:18
wack479sudo apt-get remove dmraid17:19
wack479lol17:19
wack479then mdadm -create....17:19
sherrI'll like to read the bug more carefully - it's open and "undecided". I am interested in why dmraid takes "charge" here and screws up mdadm ...17:20
wack479yeah its weird17:21
wack479but thats how i fixed it17:21
sherrMaybe something in your BIOS - SATA RAID, fakeraid?17:21
sherrAnyway - thanks for reporting back and good that it's sorted!17:22
nevansdoes anyone in here know how I can diagnose an ext3 directory's metadata size (NOT "du -sh")?  `ls -lah /var/log 2>/dev/null | head -2 | tail -1 | awk '{print $5 }'` is 156M on one of my servers, with `ls -1 | wc -l` => 10117:23
sherrnevans: what do you mean "metadata size"17:24
sherr?17:24
nevanssherr: what "ls -l" reports as the size for the dir.17:24
nevansnormally it only shows 4K or maybe 8K if I've got thousands of directory entries.17:25
nevansbut in this case, it's showing 156M.17:26
nevansAnd the first time I "ls" the directory, it takes over a minute to display anything (presumably because it has to read all 156M into memory before it can work)17:26
wack479sherr: np!17:29
sherrnevans: just having a look at the man page. ls -l displays a "total" in blocks.17:30
sherrls -ls - the total per listed file in blocks.17:30
sherrYou are talking about the "total=" line?17:31
nevanssherr: no, not the total line, the one just after it.17:32
sherrI don't have anythng after it. An "ls -l" gives me a "total N" line and a list of files/dirs one per line after.17:34
nevanshttps://gist.github.com/694ee0892949a090331517:34
nevansuse the -a option.  :)  it's the "." entry.17:35
sherrOK. Right ... lots of files somewhere.17:35
sherrWhat about a : du -k /var/log | sort -n 2>&! > /tmp/sizes (if you have space there)17:36
sherrOr maybe "sort -rn | less" YMMV17:36
sherrOr just a "find /var/log -type f" to a file/console?17:38
nevanssherr: most of the dir is in one file that isn't being rotated properly.  /var/log/btmp is 900M, and the rest of the dir (inluding subdirs) is only 300M.17:38
nevanssomeone in another channel suggested it might be unlinked inodes that would go away after a "fsck".  we had a seriously misconfigured logrotate at some point in the past, which made millions of /var/log/foo.log.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.gz etc files17:41
sherrWow ... bad. So "btmp" is a failed login attempt file. Tell you something?17:42
sherrNever had a problem. The largest I have anywhere is 0 bytes :-)17:43
nevansI'm just a little bit afraid to reboot this server anytime soon.  I've inherited it, and the previous admin made it a single point of failure (we're using mysql nss and can't easily log into the other servers when this server is down)17:43
sherrI think it is safe to delete /var/log/btmp (will get recreated)17:44
nevansI'll try that too.17:45
sherrBut not sure how trustworthy the system is if that file is so big. last -f /var/log/btmp17:45
nevanseven so, no matter how large that particular file is, it should only account for one dirent on ".", right?17:45
sherrI'd dump a list of all the files/dirs and trawl through it. Sounds like things are a bit messy.17:46
pjaneczedo someone have experience with firefly (mt-daapd)?17:47
nevanssherr: thanks for your help.  :)17:52
sherrnevans: not much help - but interested. Good luck - please report in any developments :-)17:55
timboyneed some help with dhcp. I've got it all set up correctly but I can't access internet from machines connected to dhcp18:11
timboyI'm on the server right now and dhcp server declaration is probably to fault...18:12
sherrtimboy: on the client, is the gateway & broadcast addr correct?18:12
sherrAs a sanity check - can you definitely manually config the ethernet setup and have it work i.e. internet access?18:13
sherrOn the client?18:13
timboysherr, sorry, everything looks good to me. I may not have the right settings going to them. I've got my phone providing dhcp to my laptop via usb and from there I'm trying to give internet to my switch...18:21
timboysettings on machines are taking.18:22
sherrWell, phone/usb/switch/dhcp isn't a configuration I've used ... but it's not rocket science, so should be fixable. Not sure it's a #ubuntu-server topic though.18:28
timboysettings phone provides to my laptop are 192.168.0.202 ROUTE and 192.168.0.202 DNS laptop IP is 192.168.0.1118:29
Ichatwhen running  8.04 server, i tried installing transmission-cli  and  transmission-daemon   -  now when connecting to the  webUI local  it runs (fine?)  - but no remote access -   now when i look for    /etc/transmission-daemon.settings.json  its NOT there...   but the app stil works (local) - how can i fix )18:30
timboyi set my dhcp server subnet to 192.168.1.0 and dns server 192.168.0.20218:30
sherrtimboy: "ifconfig -a" might be useful - plus a network topology maybe. Plus "ping" diagnostics? But sorry ... food beckons for me :-)18:31
sherrsubnet seems odd? Others are 192.168.0.0/24 I assume. Subnet is .1.0? Anyway - back later ...18:31
pmatulisis it possible to set up a single ssh forced command for rsync (no remote daemon) that will allow *mulitple* source directories to be transferred to the local host?  a catch-all that will avoid me having to update authorized_keys when i add a directory for saving18:39
KutakizukariTried to create an alias at sudo gedit ~/.bashrc I created my code from the docs here: "http://drupal.org/node/320" under Using aliases to speed up checkout. When I try my checkoutdrupal I get command not found. What I'm I doing wrong?18:41
pmatulisKutakizukari: i didn't open the link but did you source ~/.bashrc ?18:42
Kutakizukaripmatulis, I added my code to .bashrc at ~/18:43
pmatulisKutakizukari: try 'source ~/.bashrc'18:44
Kutakizukaripmatulis, I type "source ~/.bashrc" nothing happened.18:46
pmatulisKutakizukari: now: 'alias checkoutdrupal'18:46
Kutakizukaripmatulis, returns "alias checkoutdrupal='cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal export -r DRUPAL-6-16 drupal'".18:50
pmatulisKutakizukari: good work18:50
Kutakizukariremove alias18:50
pmatulisKutakizukari: what?18:50
Kutakizukarithat is what it returns but no download18:51
Kutakizukariunder dir /var/www/18:51
pmatulisKutakizukari: well then your command is faulty.  can't help there.  you alias is as you wanted it18:52
Kutakizukaripmatulis, hmmm typed in just checkoutdrupal and now it downloads what did source do.18:52
pmatulisKutakizukari: right, type just the alias name18:52
Kutakizukaripmatulis, I was doing that before but it was not working.18:53
pmatulisKutakizukari: source command "sourced" your .bashrc file.  your system does this whenever you log in.  you, however, did not log in so we did it manually18:53
uvirtbotNew bug: #538178 in mysql-dfsg-5.1 (main) "MySQL crashes after I run sudo apt-get upgrade" [Undecided,New] https://launchpad.net/bugs/53817818:53
Kutakizukaripmatulis, do I need to type source it everytime restart my computer?18:54
pmatulisKutakizukari: i said that this is done automatically whenever you log in18:55
pmatulisKutakizukari: so "no"18:55
Kutakizukaripmatulis, thank you for the help!18:55
pmatulisKutakizukari: keep on truckin'18:55
Ichatanyone here familiar with  transmission-daemon19:03
hggdhkirkland: willing to consider a change in testdrive to allow user config files to live under ~/.config/testdrive (and using optparse)?19:35
kirklandhggdh: hmm, i thought i added that19:35
* kirkland checks code19:36
kirklandfor i in ("/etc/%s" % PKGRC, "%s/.%s" % (HOME, PKGRC), "%s/.config/%s/%s" % (HOME, PKG, PKGRC)):19:36
kirklandhggdh: it sources the files in that order, if they exist19:36
kirklandhggdh: i don't know what "optparse" is though19:37
hggdhkirkland: yes, it goes through /etc/, ~, and ~/.config/testdrive, but the user config file name is fixed on 'testdriverc'19:39
kirklandhggdh: is that bad?19:40
hggdhI need to have slightly different config files for tests19:40
kirklandhggdh: what would you like to call it?19:40
dasunsrule32What is the command to change whether a file can be modified at the filesystem level? Not permissions, chmod, etc?19:40
hggdhso I added in a fourth option -- either a fully-qualified file name, or one off ~/.config/testdrive19:41
kirklandhggdh: so just that file, not a directory?19:41
hggdhkirkland: just *any* file -- for example, I have to test with no network access, and with network access19:41
hggdhkirkland: and they still all add up, overriding as it does now any changed value19:42
kirklandhggdh: sure, sounds perfectly reasonable to me19:42
hggdhkirkland: optparse is the python implementation for getopt19:42
kirklandhggdh: please file a bug, create a branch, propose a merge19:42
hggdhkirkland: will do, thank you19:43
kirklandhggdh: we might have trouble getting a FFe for the getopt change19:43
kirklandhggdh: i'll assume you'll run with that one :-)19:43
kirklandhggdh: but it's in universe, so it shouldn't be too hard19:43
kirklandhggdh: cheers ;-)19:43
hggdhkirkland: heh, yes. But there is no getopt change, optparse comes in the standard python library19:43
kirklandhggdh: sweet, okay, i'm game19:43
kirklandhggdh: the current parsing is fragile :-)19:44
hggdhbug will be created in a few (as soon as I am done with $CURRENT_TASK19:44
hggdhkirkland: rather fragile, yes19:44
blackxoredhi guys19:47
uvirtbotNew bug: #537715 in checksecurity (main) "chsecurity (dup-of: 537685)" [Undecided,New] https://launchpad.net/bugs/53771520:11
keeskirkland: I've assigned bug 525425 to you; will you have time to check that?20:15
uvirtbotLaunchpad bug 525425 in grub2 "lucid server/alternate, software raid 1 will not install correctly; unbootable after failed grub install" [High,Confirmed] https://launchpad.net/bugs/52542520:15
marsjeHi. Can anyone tell me how I can start X windows and start an X app automatically at boot?20:47
marsjeI have installed xfce4 and xdm, but it doesn't seem to work out of the box...20:47
marsjeI get a login screen, but after login I get back at the command line login prompt20:47
erichammondmarsje: I have the exact same requirement for a work project.  However, the #ubuntu-server channel is probably not the best place to ask questions about X.  You might try #ubuntu20:49
marsjeerichammond: I was asking here since I'm using Ubuntu Server as my starting point20:50
marsjeerichammond: if I was using Ubuntu Desktop I wouldn't have this question :)20:50
sherrmarsje: Servers usually don't have X installed, hence the #ubuntu comment. Are you saying that you run a desktop XFCE? And it doesn't start?21:06
jeeves_Mosscan anyone here give me sudgestions on how to repair a server that's coming up with "wrong kernel for CPU"?  I have a server sitting @ a site location with UNTRAINED staff that I need them to repair to remotley21:07
sherrjeeves_Moss: No other kernel to boot?21:11
jeeves_Mosssherr, apparently, when it boots, that's ALL they get (including booting from a live CD?)21:12
jeeves_Mosssherr, http://pastebin.ca/183601321:12
sherrWhat's a "bantu disk image"?21:14
marsjesherr: the plan was to run it headless, but one required app needs X, so I want to install a very lightweight desktop21:14
jeeves_Mosssherr, it was a type-o21:14
marsjesherr: I installed the xfce4 package and I can start it using startx, but I would like it to start automatically at boot21:14
sherrLooks like they're installing an amd64 x64 ISO - try the i686 version21:15
jeeves_Mosssherr, ok, once they get the "right" disk, what should they do?21:16
sherrjeeves_Moss: Don't know. What's installed on the machine?21:17
jeeves_Moss???21:18
sherrIs Ubuntu installed on the machine or are you doing a fresh install?21:20
sherrAre yoyu "rescuing" a broken system?21:20
jeeves_Mosssherr, I'm rescuing a system21:21
sherrSo - try "fix a broken system" using an i686 live CD perhaps.21:21
sherrThe error in your pastebin says "This kernal requires an x86-64 cpu, but only detected an i686-cpu"21:22
jeeves_Mosssherr, do you have the link to the CORRECT live CD they should d-load?21:23
sherrWhat vrsion of Ubuntu do you have installed?21:23
jeeves_Mosssherr, I think it's 9.01.  it's been a long time since I messed with it21:24
sherrYou might be best to find out .... if you want to use the right rescue CD.21:24
sherrCD image mirrors : https://launchpad.net/ubuntu/+cdmirrors21:25
jeeves_Mosssherr, thanks.21:25
sherre.g. http://ftp-stud.fht-esslingen.de/Mirrors/releases.ubuntu.com/karmic/21:25
jeeves_Mosssherr, thanks21:26
sherrThat's assuming 9.10 (karmic) - Use an i386 CD.21:26
sherrNo prob. Good luck.21:26
jeeves_Mosssherr, as long as we can get them to boot the live CD, then I can get the kernel issue fixed21:26
cjanyone here know who's responsible for the @lists.ubuntu.com domain?  It really needs a SPF entry.21:27
cjsorry for being OT... just don't know where to send the question.21:28
|eagles0513875|hey guys21:39
|eagles0513875|im having some weird keyboard issues with a usb keyboard on an ibm server21:39
cj|eagles0513875|: anything interesting in the output of dmesg?21:44
|eagles0513875|cj: operator error cable was not plugged in right into the router21:44
|eagles0513875|funnily enough that made a difference on keyboard responsiveness strangly enough21:45
devmodHi22:19
devmodAny recommendations on some sort of web based system monitoring utility on ubuntu-server repo? (mostly interested on cpu/mem usage )22:20
sherrdevmod: a few options : cacti, munin, mrtg (all rrdtool based I think)22:39
Aisonevening22:41
AisonI installed ubuntu server on my p4 2.4ghz. Installation was no problem, but when I reboot I allways get the message that no boot data was found.22:42
Aisonaltough the drive is detected by the bios22:42
devmodsherr, thanks22:59
jayveeI haven't seen mrtg for years.23:23
hggdhkirkland: I have yet another change to testdrive... I would like to be able to have my ISO cache in one place, and the IMG on another23:35
hggdhkirkland: more to the point, the IMG cache on /dev/shm (so that it will be faster to test ;-)23:35
hggdhkirkland: can I submit Yet Another Branch? :-)23:36
kirklandhggdh: i use symlinks23:45
kirklandhggdh: my caches are in different places too, as i don't want them in my encrypted home23:45
hggdhkirkland: hum. What I would like to get is the user not needing any other action but configuring testdrive/running it23:50
hggdhand I would like to provide the QA tests with pre-set configs for some tests23:50
hggdhand, of course, have a lot of them testers running testdrive23:51

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