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

smoserkirkland, mathiaz http://www.scratchbox.org/ is what i was talking about00:41
smoserat lunch00:41
pmatuliswhen was iSCSI support available in linux?01:16
twb2.6.1201:18
twbhttp://en.wikipedia.org/wiki/ISCSI01:18
=== AntORG_ is now known as AntORG
=== genii is now known as Amastasius
=== Amastasius is now known as genii
=== rberger_ is now known as rberger
pmatulistwb: thanks.  i wanted to compare with OpenBSD (which is just now working on it)01:28
=== spidoodle is now known as ProjectXXSorrow
=== ProjectXXSorrow is now known as ProjectxSorrow
erichammondwhat is the syslog that Ubuntu prefers over syslog-ng?04:05
erichammondah, rsyslog (I think)04:06
sbeattieerichammond: correct, rsyslog.04:15
erichammondsbeattie: Thanks.  Just finished reading the feature list.  disk-based buffering sold me, but I was impressed by many others.04:18
erichammondI plan to convert from syslog-ng at the next opportunity.04:18
stsmis there a mips version?06:04
twbI think persia told me it was in an pre-alpha state06:05
twbDebian has mipsel, of course...06:06
stsmlol i'm not even gonna say what i think about debian06:07
stsmgenerally its the most negative place i found so far on freenode intirely, thats all i'll say06:08
stsmi'm looking for something else that supports mips06:08
stsmif there's nothing else available then debian i'll just choose for nothing06:08
twbstsm: Debian is not on Freenode.06:12
twbstsm: if you went to #debian on Freenode, you'd find only the people who are too stupid to read announcements.06:12
stsmtwb, its also on freenode next to oftc06:12
stsmtwb, last time i went to oftc the same people were there06:12
stsmdebian is just no option anymore for me06:14
stsmso no mips yet for ubuntu-server or ubuntu?06:15
twbShrug.  I've told you what I know.06:15
stsmyeha pre-alpha06:15
psteynHi, any reason why cacti depends on libapache2-mod-php5?  I'm trying to convert my apache2-mpm-prefork +  libapache2-mod-php to an apache2-mpm-worker + libapache2-mod-fcgid setup, but don't want to lose Cacti06:16
psteynI think this is a bug06:16
stsmonly thing i can find was a place on launchpad, but its from last year so06:16
stsmtwb, thanx for the info06:16
twbpsteyn: then report it as a bug06:20
psteynon it06:23
Callum__Does anyone know if copying a MBR from one drive to another using dd if=/dev/sd* of=/dev/sd* bs=512 count=1 will wipe out all the other information on the drive?07:18
Callum__on the drive I'm copying to07:19
twbCallum__: that copies the partition table, too.07:24
twbSo it'll "wipe it out" in the sense that nothing will see the original partitions07:24
twbFrom memory, the bootloader lives in the first 446 bytes.07:24
Callum__okay07:25
=== sourcode_ is now known as sourcode
=== Pierreb_ is now known as Pierreb
jayveesoren: if I did you a debdiff of #535397 (hopefully right this time) would you be more likely to fix it? :)08:31
jayveehmm, ubottu doesn't recognise it08:31
jayveeLP #53539708:31
jayveehttps://launchpad.net/bugs/53539708:31
jayveeubottu seems to be in a coma08:32
ubottuError: I am only a bot, please don't think I'm intelligent :)08:32
jayveeso I see.08:32
eagles05138785hey guys im following this tutorial https://help.ubuntu.com/community/Git when it says copy the public key what public key?09:24
sherreagles05138785: ssh public key it assume you have or know how to make. This is not on topic for #ubuntu-server.09:29
eagles05138785sherr: i asked in here cuz im setting up git on ubuntu server09:30
sherreagles05138785: It is not relevant or specific to server (or desktop) though. Maybe try #git?09:33
eagles05138785sherr: ok. thanks ill just follow the ubuntu wiki how to on how to generate a key09:33
=== bianster_ is now known as bianster
mealstromhas someone worked with puppet? how to copy files from client to server ?10:00
eagles05138785mealstrom: i would recommend scp (secure copy)10:00
jayveeeagles05138785: irrelevant.10:01
jayveepuppet works differently.10:01
eagles05138785ahhh10:01
jayveemealstrom: puppet has a built-in puppet:/// URI scheme10:01
eagles05138785i was answering his 2nd part of the question jayvee10:01
jayveeoh right10:01
jayveewell when you know what puppet is, then you see that they are really just one question.10:01
mealstromjayvee: yes, I can copy from server to client . and daes it work in client to server way ?10:01
jayveeah, I see10:02
* jayvee scratches chin10:02
mealstromjust want to copy some backups10:02
eagles05138785mealstrom: ya it does but not 100% sure how to do it10:03
eagles05138785mealstrom: how big are the backups cuz if they are of decent size you can eat up all your bandwidth10:03
eagles05138785unless this is a home network10:03
mealstromoffice network 100 Mbit... looks like puppet has "filebucket"  for backup storage.10:04
mealstromlets dig filebucket :) thanks btw10:04
twbDepends what you're backing up.10:04
mealstromhome directories every 3 month's10:05
twbIf you mean backups of, say, /home, puppet's filebucket is probably not the right thing10:05
mealstromFILEFC="/tmp/`ifconfig | grep 192.168.1. | cut -d' ' -f12 | cut -d':' -f2`"10:05
mealstromtar -cvzf $FILEFC.tar.gz /home . then just copy this backup to server10:05
twbmealstrom: I'd just use rsnapshot to backup to another building, and do that every night.10:05
twbIf you have tape or generally want to go overboard, there's amanda10:06
twbI don't know why anyone would deploy a new tape solution, though.10:06
jayveewhy?10:07
jayveewhat's wrong with tape?10:07
twbjayvee: it's expensive and slow10:07
twbFor WORN, sure.10:07
=== dendrobates is now known as dendro-afk
=== au is now known as Guest68752
=== ogra_ is now known as ogra
yann2hello, I got a bug to file against the samba apparmor profile in lucid, should I file it against apparmor, against samba, ...? technically it's more a bug of the configuration13:07
yann2official ubuntu manual recommends to put folders to share in /srv/samba, but apparmor prevents smbd from accessing /srv13:07
jdstrandyann2: is this from the apparmor-profiles package?13:08
jdstrand(samba should not be shipping a profile for smbd by default)13:09
yann2I believe so, I can't remember installing it manually, but I wouldnt rule it out...13:09
yann2maybe its from apparmor-profile, not impossible that I installed it and forgot about it13:09
jdstrandyann2: dpkg -S /etc/apparmor.d/usr.sbin.smbd13:09
twbyann2: report it against apparmor; if you're wrong it'll be reassigned.13:09
yann2indeed then :)13:09
yann2apparmor-profiles it is13:09
jdstrandyann2: feel free to file a bug against apparmor. that profile needs work (it is on the TODO list), is complain mode only and also community supported atm (ie, it's in universe)13:10
jdstrandyann2: what I mean be all of that is that even though it is installed and noisy, it shouldn't be blocking anything, unless you manually put it in enforcing mode13:11
yann2was in enforce mode... but I tink I had a play with apparmor a long time ago13:11
yann2(is a dev server)13:11
yann2so maybe I just activated it :)13:12
jdstrandyann2: probably. if you have modified it in such a way that it works well with a default samba installation according to the Ubuntu manual, then please submit your updated profile in the bug and we can review it for inclusion in the package (and upstream)13:13
yann2haven't touched it (yet)13:13
jdstrand(and by 'package', I mean the apparmor-profiles package for now)13:13
* jdstrand nods13:13
yann2is there a way to report a bug using http://bugs.launchpad.net ?13:15
yann2oh man the guy who decided to remove the "report bug" link on that page really should get fired every time I try to report a bug I just cant find out how to do it13:17
jdstrandyann2: https://bugs.launchpad.net/ubuntu/+source/apparmor/+filebug13:17
yann2thanks13:17
jdstrandnp13:17
yann2alright done: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/545061 , thanks a lot for your help jdstrand . I believe quite a few people will get in trouble trying to share other folders when this profile get into enforce mode though ;)13:22
BulleTh0If I have a subnet routed behind an ip how do I use an ip from that subnet with windows desktops ?14:06
baba_b00iehello14:14
BulleTh0How do I disable NAT ?14:16
baba_b00iei'm looking in to building my first ubuntu server. my server would be used as a file server and media sharing with my xbox 360. was hoping someone could point me to some rockin faq, doc websites14:18
Rafael_i need help with Webmin: si coloco https://xxx.xxx.x.xx:10000 i can see webmin, but if i place  https://hostname:10000 nothing..can somebody please help me?14:30
=== dendro-afk is now known as dendrobates
reisiRafael_: could it be intentional?14:33
hggdhRafael_, try 'ping `hostname`, and see if the IP addresses match14:33
Rafael_let me try14:33
Rafael_hggdh: 64 bytes from myplasticare (127.0.1.1): icmp_seq=2 ttl=64 time=0.019 ms14:35
Rafael_ the ip address of the lan ubuntu should be 192.168.1.11 not 127.0.1.114:35
hggdhRafael_, check your /etc/hosts, I am quite sure you will find your hostname maped to 127.0.1.114:36
Rafael_hggdh: i am a newby..let me try, if not i will google and if not i will ask you14:37
yann2mmh it seems hardy's puppetmaster can't handle lucid's puppet :(14:38
yann2[2010-03-23 14:35:04] 10.0.10.108 - - [23/Mar/2010:14:35:04 GMT] "PUT /production/certificate_request/10.0.10.108 HTTP/1.1" 404 324  < is that worth a bug report, or isn't it supposed to work?14:38
Rafael_hggdh: this is what i found:14:40
Rafael_::1 ip6-localhost ip6-loopback14:40
Rafael_fe00::0 ip6-localnet14:40
Rafael_ff00::0 ip6-mcastprefix14:40
Rafael_ff02::1 ip6-allnodes14:40
Rafael_ff02::2 ip6-allrouters14:40
Rafael_ff02::3 ip6-allhosts14:40
Rafael_192.168.1.11    myplasticare14:40
trembyhow do upgrade to the latest? currently on Hardy and some of its software is a little too old for my current needs14:40
Picitremby: If you want to upgrade to the next LTS, you'll need to wait until the end of April. Otherwise you can upgrade to 8.10->9.04->9.1014:42
trembyneed to make a move today, really. it's blocking my work. do i have to go through each step like that?14:42
trembywould things break if i just pointed it to the 9.10 repos and said dist-upgrade?14:42
jpdstremby: That's not supported.14:43
Picitremby: Its likely.  I definitely wouldn't do that on a production server.14:43
trembyit's a testing server14:43
Picitremby: You can upgrade from one LTS to the next though.  So you will be able to go from 8.04 to 10.04 once its released.14:43
trembyoh, i see14:43
trembyhmm, in that case maybe i'll work around my issue, build some stuff from source14:43
Rafael_hggdh: can you give me some idea on what to do?14:44
trembythanks14:44
jaraco_mobileHow do I run a process as a different user? I'm using Ubuntu 9.10 (as found on rackspace-cloud). When I run "su tomcat6 whoami" I get no output. When I run "sudo -u tomcat6 whoami", it reports the username. I want to launch this as a script, so sudo is not appropriate.14:44
trembyjaraco_mobile: you probably mean su tomcat6 -c whoami14:45
jaraco_mobiletremby: same result - no output.14:45
jaraco_mobileBTW, root account is enabled... and I'm running su as root.14:46
trembyhmm, all i can say is it works for me14:46
trembysudo su -; su tremby -c whoami14:47
trembygives me "tremby"14:47
jaraco_mobileodd14:47
jaraco_mobileI'll try a clean server and if it's still behaving as such, I'll try rackspace support.14:48
=== jaraco_mobile is now known as jaraco
jaracoOkay. I found that su works for a regular user account, but not for the tomcat service account.14:54
hggdh!pastenbin | Rafael_14:54
jaracoWhose shell is set to '/bin/false'14:54
trembyoh there you go. use the shell switch of su14:55
hggdh!pastebin| Rafael_14:55
ubottuRafael_: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.14:55
jaracotremby: thanks for the tip. I'll look into it.14:55
trembysu tomcat5 -s /bin/sh -c whoami14:55
jaracoIndeed, that does the trick. Thanks!14:55
trembyno prob. should have realized you were trying to use a system account...14:56
jaracoI sure do love rackspace cloud. I was able to stand up a new, clean server and eliminate all other variables in just a few minutes.14:57
jaracoIs using 'su' the best way to launch a system process under a particular userid, or should I be using something else?14:59
yann2sudo -u jaraco ls14:59
trembyit's su or sudo really. or using that user's own crontab i guess15:00
PiciI usually drop things into the user's crontabs.  Then again, these are accounts that don't belong to particular people that I deal with.15:00
hggdhRafael_, IIRC, webmin will by default only allow localhost to connect15:01
trembyi think it's a bit neater to stick them all in root's crontab. hard to keep track otherwise15:01
Rafael_hggdh: did i did rigth the pastebin?15:02
hggdhRafael_, I guess you did not ;-)   Did you post the link here?15:03
Rafael_sorry...not let me try15:03
=== dendrobates is now known as dendro-afk
Rafael_hggdh: i guess is: http://pastebin.com/p0GG7KXd15:07
hggdhRafael_, some issues: (1) you have multiple definitions of the mypasticare and mypasSticare15:11
hggdhRafael_, (2) lines 5 and 19 are simply plain wrong15:12
hggdhRafael_, so, please correct/clean up your /etc/hosts, and then you can try again15:12
Rafael_hggdh: should i just delete or correct15:13
Rafael_hggdh: sorry but when i copy and paste something wsa paste not correctly..this is a new pastebin: tkae a look and please give me your feedback:  http://pastebin.com/VmkpeX7315:19
smoserhttps://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/52314815:22
smoserkirkland, https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/54232415:23
hggdhRafael_, lines 2 and 11 conflict15:24
Rafael_hggdh: Thanks so much for your help as you can see i am a newby and not so smart..just learning...question..so if i have assign on my LAN a static ip address of 192.168.1.11, can i delete line 2 or what is 127.0.1.115:26
hggdhRafael_, yes, you can delete line 215:27
Rafael_hggdh: will try..what is the 127.0.1.1?15:28
hggdhRafael_, any addresses in the 127/8 range are non-routeable addresses (this is what is usually called the localnet). 127.0.0.1 should usually be set to localhost15:29
_rubenbah .. pmacct is built without ipv6 support15:49
Rafael_hggdh: i try and clean it, this is how it looks now http://pastebin.com/74hkyhrm  i reboot ubuntu but still webmin is not working with the hostname15:55
bogeyd6kk Rafael_15:55
bogeyd6Rafael_, what do you have in /etc/hosts15:56
Rafael_hggdh: if i do a ping now i get: 64 bytes from myplasticare (192.168.1.11): icmp_seq=1 ttl=64 time=0.022 ms15:58
Rafael_bogeyd6: see http://pastebin.com/74hkyhrm15:59
bogeyd6and you cant go to http://myplasticare?16:00
RoAkSoAxahasenack, ping16:00
ahasenackRoAkSoAx: hi16:01
ahasenackRoAkSoAx: hi16:01
RoAkSoAxahasenack, hi, may I PM you?16:01
Rafael_bogeyd6: my original question was:  i need help with Webmin: si coloco https://xxx.xxx.x.xx:10000 i can see webmin, but if i place  https://hostname:10000 nothing..can somebody please help me?16:01
ahasenackRoAkSoAx: yes16:01
sorenRoAkSoAx: Thanks for pushing the glusterfs update. I really appreciate it.16:15
Rafael_any help?16:16
djveerhey guys, I got a ubuntu server  box running MySQL/Apache that the hard drive is in a buggered state in... I tried to use dd on the drive to make an image but even with the noerror option, it still is giving me input/output errors. Is there anyway I can make it run  enough to get a dump of the MySQL database I need?16:49
djveerThis was just a testing box so it's not super important (or I would have made backups) but I would be handy to get the data off16:50
djveer*it would16:50
djveerThere any way to do a dump of the database from a liveCD?16:50
kirklandsmoser: http://paste.ubuntu.com/400069/16:53
kirklandsmoser: something like that in the header16:53
ttxkirkland, smoser, mathiaz: how is it going ?16:53
smoserexcellente16:54
kirklandttx: we made some progress yesterday; i have pictures of our todo/done stuff from the flipchart16:54
kirklandttx: i'll email those to you, if you like16:54
kirklandttx: our main blocker right now is that we have a 49KB/s download speed from the hotel where we're working16:54
ttxkirkland: beh16:55
sherrdjveer: maybe ddrescue?17:05
RoAkSoAxsoren, no prob :)17:38
smoserhttp://cdimage.ubuntu.com/releases/lucid/beta-1/17:47
=== dendro-afk is now known as dendrobates
djveersherr: can dd_rescue be ran from a live CD environment?17:53
kirklandttx: https://bugs.edge.launchpad.net/server-papercuts/+bug/54526217:56
ttxack17:56
sherrdjveer: I see no reason why not. It's in the repos - have a go. Good luck :-)18:08
=== jldugger is now known as pwnguin
ttxkirkland: approved as papercut, assigned to you :P18:20
djveersherr: Thanks! I think i'm going to try freezing the drive for 30 min or so before18:20
djveersherr: i've been told people have had good luck doing that18:21
sarthorHi, i have ubuntu-server  9.10 installed. squid/dhcp/shorewall 4.4/pppoe-server,  running, i want to put one access point having no security key, that the people can connect, and when they start browsing, so all their browsing redirect to http://192.168.0.100:80, Coz there is my page with detail to get user name and password and use internet,, I am also running pppoe-server,18:26
jdstrandzul: hey, just hitting the nut upgrade. is it just me or should /etc/nut/ups.conf not be a conffile? I'm getting prompted on upgrade and there is no reasonable default afaict. the same goes for upsd.users, upsmon.conf and nut.conf18:37
zuljdstrand: hmm....not sure can you open up a bug just in case18:38
kirklandttx: thanks18:38
=== ProjectxSorrow is now known as damagepizzadamag
=== damagepizzadamag is now known as ProjectXSorrow
Rafaelhggdh: any other help you can provide me?18:56
Rafaelbogeyd6: Any oither help that you csan provide will be appeciated18:58
bogeyd6Rafael,18:59
bogeyd6Rafael, is it sitll the problem of https://hostname doesnt work?18:59
bogeyd6from the client, not the webmin server19:00
Rafaelbogeyd6: yes if i type https://myplasticare:100000 does not work19:03
bogeyd6Rafael, which dns server is the client set to use?19:03
Rafaelbogeyd6: just to be sure..how can i check that19:04
bogeyd6Rafael, on client if windows just type "ipconfig /all" in a commmand windows19:05
bogeyd6Rafael, if linux just type "cat /etc/resolv.conf"19:05
Rafaelbogeyd6:thanks, let me check on windows client19:06
bogeyd6k19:06
Rafaelbogeyd6:http://pastebin.com/sV1azZkb19:12
bogeyd6Rafael, and the dns server 156.154.70.22 is set to resolve http://myplasticare ?19:12
bogeyd6Rafael, another fix would be to edit the host file of the windows client19:20
ninjixI'm having a problem with likewise-open not being able to change password for AD account. Anyone experienced with likewise-open?19:27
kirklandsmoser: mathiaz: http://www.southcoastdeli.com/menu.html19:39
shennygI am looking into using AWS ELB for my commerce site. Will my site/code/php be able to see the users IP address? I have geolocation on my site and from the research I have done is that under https it doesn't pass the users IP. Is that correct?20:44
smoserkirkland, bug 541486 is ready to be sponsored... it could be queued with other eucalyptus changes, but i think its ready.21:23
kirklandbug #54148621:23
* kirkland smacks ubottu 21:23
Rafaelbogeyd6: sorry i have to leave, but i am back. you are saying that i should edit the host file on the windows client?21:36
jaracoI have a java servlet that I would like to deploy on Ubuntu. I'm able to download the stock apache binaries for tomcat 6.0.20 and deploy the app in that environment. I would prefer to use Apt and the ubuntu tomcat package, but when I do, I get cryptic errors. Can someone suggest how I might track down the differences between the Ubuntu package and the stock tomcat binaries?21:36
jaracoSorry, I realize that's not a very specific question.21:37
sherrjaraco: I guess you could a) look at the version number and b) Go through the changelogs and compare21:42
=== robbiew is now known as robbiew_
hggdhmathiaz: I *did* restart the CC with CLEAN=1 (tried different things, and found this requirement elsewhere)...22:22
mathiazhggdh: hm...22:22
hggdhmathiaz: but, anyway, I am going to do it all again ;-)22:22
mathiazhggdh: did you "restart *eucalyptus-cc* CLEAN=1"22:23
mathiazhggdh: or restart euclyptus-*cloud* CLEAN=122:23
hggdhmathiaz: yessir22:23
mathiazhggdh: ?22:23
hggdhoh22:23
hggdh*now* I am in doubt22:23
hggdhI followed the docs22:24
mathiazhggdh: eucalyptus-cloud doesn't support CLEAN, eucalyptus-cc does22:24
mathiazhggdh: right - I've updated the test cases22:24
hggdhmathiaz: I will have to do it again, so we will find out :-)22:24
mathiazhggdh: right22:24
mathiazhggdh: how is the uec test rig doing?22:24
hggdhmathiaz: did not touch it since Monday22:25
hggdhmathiaz: can I keep on using it?22:25
mathiazhggdh: yes22:25
mathiazhggdh: testing beta1 and you getting familiar with the test rig is the most important thing22:25
hggdhmathiaz: ack22:26
hggdhmathiaz: will restart the tests, then, from the beginning (still set to use the ISOs22:26
norkaknI have a server with a load of about 970.  `ps aux` and `lsof` freeze and dont' return anything.  There are lots of runaway defunct ps procs that I cannot kill22:34
norkaknis there any way to kill things?22:34
norkaknThere are some dmesg things about the raid, but mdadm says everything is fine22:34
norkaknkernel is 2.6.24-19-server22:35
sherrnorkakn: sounds bad. If you have a console, maybe an "init 1" and try and clean up?22:52
norkaknit's a mail server, and it is still responsive, and it is 3 hours away from the nearest coworker22:53
norkaknI'm at a bit of a loss, I haven't had things resistant to -HUP then -9 before22:54
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== jaraco1 is now known as jaraco

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