/srv/irclogs.ubuntu.com/2008/12/18/#ubuntu-server.txt

=== espacious is now known as espacious_
=== espacious_ is now known as espacious
=== liberfiasco is now known as libervisco
nemoegoAny ideas why bind9 on hardy returns SERVFAIL with the default configuration + forwarders?00:18
jmedinanemoego: here works out of the box00:22
jmedinanemoego: run: rndc querylog00:22
jmedinaand watch your logs00:23
jmedinanemoego: can you reach the forwarders?00:23
jmedinatry dig @ip.forwarder google.com00:23
nemoegojmedina: dig @forwader works fine, querylog shows query but nothing else00:25
jmedinanemoego: try a trace00:28
jmedinadig +trace google.com00:28
nemoegojmedina: dig +trace works for both forwarders and local server in the same way (root->gtld->nsx.google.com->ip)00:38
luis__el chat ubuntu server en español, existe?00:41
jmedinaluis__: no tengo idea, pero no creo00:42
jmarsden|workluis__: No se.   Pienso que no.  #ubuntu-es existe00:42
luis__aca puedo hacer consultas en español?00:43
jmarsden|workMi espanol no es sufficiente para consultar en espanol :-)00:45
jmedinaluis__: yo podria ayudarte, pero ahorita solo tengo unos minutos00:45
jmedinaluis__: de donde eres?00:46
luis__de argentina00:46
luis__y tu?00:46
jmedinamexico00:46
nemoegojmedina: could it have something to do with recursion?  when i dig +norecurse i don't get back an IP, but I do get an authority response with the root servers listed and a status of NOERROR00:47
luis__jmedina mi idea es instalar un server ubuntu para ir reemplazando los windors00:48
luis__server00:48
luis__pero ahora solo aprender00:48
luis__jmedina instalaste servidores ya?00:49
jmedinaluis__: la mayoria de la documentaion esta en ingles, esta la guia oficial "ubuntu server guide" podrias empezar por ahi, y claro pues instalando y probando00:49
jmedinaluis__: si, varios a eso me dedico y a dar cursos00:49
jmediname tengo que ir00:49
Deeps#ubuntu-es btw00:49
luis__ok gracias00:50
DarkOverlordAnyone here running 8.10 on esx 3x/3.5 ?01:05
DarkOverlordim trying to sort out some strange (what i believe to be apache2) performance issues.01:06
DarkOverlordbasic install of ubuntu 8.10 as a vm (512MB / 12GB disk Single Proc assigned) - ran all updates on the system (php5 & apache2) have been installed..   the server seems very responsive ... but webpages served up are very slow ie: zero connections to the box other than mine and a page takes upwards of 10sec's to load... (a simple forum page)01:08
DarkOverlordare there any hacks that need to be done on a ubuntu system thats running on a esx 3.5 box?01:09
jmarsden|workDarkOverlord: I'm no esx expert... but you might want to test browsing from the VM itself (use lynx or w3m if you have to!) and see if the page loads are still slow... if they are fast on the inside, it would point to a networking issue rather than straight performance.  Also you could try running top within the VM during that 10 secs and see what is taking CPU time, if anything?01:13
DarkOverlordno GUI on the box, can i load a webpage via a SSH session - im assuming it will just load the text?01:15
jmarsden|workSure. lynx and w3m are text mode (console) web browsers you can sudo apt-get install.01:15
DarkOverlordlooks like it spawed two threads...01:15
DarkOverlordeach one maxxed out around 1.701:16
DarkOverlordlet me try the lynx browser.01:16
DarkOverlordim assuming by default the nic port speeds are setup as auto.01:17
jmarsden|workMe too, but you can install ethtool to check that on the inside of the VM.01:17
DarkOverlordso, it seemed that the sample "IT WORKS" just plain html page loaded fine01:20
DarkOverlordbut when it came to the php page01:20
DarkOverlordit still took a while01:20
DarkOverlordeven while using the lynx browser01:20
DarkOverlordlynx is the shit... lol.01:21
Deepsi'd recommend elinks01:22
Deepsassuming your terminal is capable, it even lets you use your mouse and click on links and the like01:23
DarkOverlordneat... i dont plan on using browsers all that much on these systems though...01:23
DarkOverlordill look it up on my dev box though - thanks.01:24
DarkOverlordim just using Putty to connect to the box.01:24
DarkOverlordanything better for your basic network stats other than "nload"01:24
DarkOverlordthats what im using now...01:24
Deeps'basic network stats'?01:25
DarkOverlordtraffic load etc.01:25
Deepsnever used nload, no idea what it does01:25
DarkOverlordjust displays /in/out traffic01:26
Deepsiptraf may interest you then01:26
DarkOverlord    Avg: 2.30 kBit/s01:26
DarkOverlord                                                       Min: 0.92 kBit/s01:26
DarkOverlord                                                       Max: 12.00 kBit/s01:26
DarkOverlord                                                       Ttl: 2.67 MByte01:26
DarkOverlordOutgoing:01:26
DarkOverlordis..01:26
DarkOverlordsorry.01:26
DarkOverlordlet me checkout iptraf01:27
DarkOverlordverycool.01:27
Deepsfor basic in/out i use bwm-ng01:28
juachello01:28
DarkOverlordyo.01:29
DarkOverlordhttp://66.60.246.203/hosted/theanthills/01:31
DarkOverlordis the test page...01:31
DarkOverlordjust a forum .. well a copy01:31
DarkOverlordtakes like 6-10 seconds to load01:31
DarkOverlordid reallllly like to get all my sites moved over from a windows iis6 box over to these ubuntu servers ive setup01:32
juaci have a question with openssh, is it possible to configure it for passwd authentication on one interface, and keys/whatever on another?01:35
jmarsden|workjuac: Yes.  You can run two copies of it with two different config files.01:36
juacah, ok. i was wondering if it was possible with 1 copy01:36
jmarsden|workI don't think so.01:37
Xperiment62just installed a fresh copy of 8.10 server01:41
Xperiment62can someone please instruct me on how to set up the ftp01:41
LoveGuruyou wanna setup ftp server?01:42
Xperiment62yes01:43
LoveGuruWhat do u want?01:43
Xperiment62i installed LAMP and openssh01:43
LoveGuruproftpd or vsftpd.01:43
Xperiment62either01:43
Xperiment62i want to be able to ftp to the apache files01:43
Xperiment62preferably with a passworded login01:43
hadsSFTP win01:44
LoveGuruXperiment62: http://www.vsftpdrocks.org/ or http://vsftpd.beasts.org/01:44
LoveGuruits vsftpd01:44
LoveGuruXperiment62: ProFTPD mini-HOWTO - Configuring ProFTPD @ http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-ConfigFile.html | HOWTO : Create a FTP server with user ac @ http://ubuntuforums.org/showthread.php?t=79588 | ProFTPD mini-HOWTO Index @ http://www.proftpd.org/docs/howto/index.html | HOWTO: Install proFTPd Administrator @ http://tebl.homelinux.com/files/project_13/source/proftpd_admin_current/misc/howto_install/install.h01:45
Xperiment62umm what order do i look at those in?01:47
LoveGuruits all different url.. just check what u exactly need. :)01:49
Xperiment62the "Create a FTP server with user ac" looks as though it might cover what i need01:50
Xperiment62hrmm01:51
Xperiment62is there a server in synaptic that is designed for use with apache?01:51
hadshuh?01:54
=== luke__ is now known as lukehasnoname
axisyshow to make default editor vim system-wide?03:23
ajmitchhave a look at update-alternatives03:25
jmarsdenaxisys: Or do    echo 'EDITOR=/usr/bin/vim ; export EDITOR' >>/etc/profile.d/make-vim-default-editor.sh03:26
jmarsdenand    chmod 755 /etc/profile.d/make-vim-default-editor.sh03:27
axisysjmarsden: too much hack.. let me try ajmitch's suggestion and run update-alternatives first..03:29
jtajiupdate-alternatives --config editor03:29
axisysjtaji, ajmitch cool worked perfect.. thnx03:30
=== luke__ is now known as lukehasnoname
Kevin_Hi everyone.. Looking for some advice. I installed Apache, PHP, MySQL, and Wordpress on my Ubuntu box in hopes of running my WP site off of it. The WP site is taking ~10 seconds to load & the memory usage on the machine is constantly at 80%. The CPU usage peaks to around 85% when someone views the site. The machine has a Pentium 4 processor with 512Mb RAM. Any suggestions?03:48
ballQuadruple the RAM03:50
Kevin_ball: Is Wordpress really that much of a resource hog?03:50
ballHey, I didn't even know I was /in/ #ubuntu-server!03:50
ballKevin_: I don't know it, but that's a reasonable baseline for a Web app.03:50
ball...for a Web server.03:51
Kevin_Alright, how about the Pentium 4. Do you think I can stick with that or will I have to upgrade to a far more powerful machine?03:51
Kevin_Of course, that was intended for ball. :)03:52
jmarsdenFor a single wordpress blog?  A P4 will be fine once it has enough RAM so it can breathe... but I'm not ball ;)03:52
ScottKHard to know for sure, but likely you'll be RAM or IO bound and the CPU won't be the major driver.  No way to know except to try it though.03:52
ScottKjmarsden: Did you see my note about sepol03:52
Kevin_IO bound - meaning what?03:52
ballI'm inclined to agree with jmarsden and ScottK03:53
ScottKOr whichever selinux package it was ...03:53
jmarsdenScottK: I saw that it depended on some other fix... did that all get worked through the system?03:53
ballMy gut feeling is that you're hitting swap03:53
ScottKKevin_: Disk IO to read/write stuff.03:53
ballyou may be able to type something at the command line to see that.03:53
Kevin_Sorry, I'm sort of new at this stuff.03:53
ScottKjmarsden: It needs testing from intrepid-proposed now.03:53
ball...there are probably Apache tweaks too.03:53
axisyshwo about lamp on p4 with 512M mem ? is that not enough?03:53
ballaxisys: that was the original question03:54
Kevin_Any specific suggestions on how to tackle this problem (besides the RAM, I'm gonna do that)?03:54
axisysor should I replace apache with lighttpd?03:54
jmarsdenAh, OK.  I'll check it out later tonight.03:54
ScottKGreat.03:54
ballaxisys: depends what you're doing03:54
ScottKjmarsden: Just comment in the bug if it works or not.03:54
axisysball: minus WP03:54
jmarsdenKevin_: use a smaller/simpler web app for your blog?03:54
ballWrite your own ;-)03:55
Kevin_jmarsden: This is a pretty big website. It needs WP03:55
Kevin_I'm using it as a CMS03:55
jmarsdenThen it needs a pretty sane amount of RAM ;)03:55
* ball grins03:55
Kevin_Haha, fair enough.:)03:55
Kevin_I'll upgrade it and get back to you guys. Thanks for all the help, the support community here is unbelievable03:55
ballKevin_: you may want to ask the Apache people about tuning03:56
ballI'm guessing you want one instance permanently resident, with appropriate plug-ins03:56
ball...also find out whether it *needs* Apache03:56
Kevin_I'm pretty sure it does.03:56
ballWhat is wordpress written in anyway?03:57
Kevin_PHP?03:57
jmarsdenKevin_: For general PC hardware advice for Linux, see: http://tldp.org/HOWTO/Unix-Hardware-Buyer-HOWTO/ (which I contributed to... shameless plug)03:57
Deeps10 seconds to load up a (largely empty) WP blog?03:57
Deepsthats shocking03:57
* ball nods03:57
ballsmells like swap to me03:57
Kevin_It hits the Index.php file (and a few PHP files it calls) and just is at a stand still03:57
Deepswith 512mb ram?03:58
Kevin_swap.. meaning what?03:58
ballI dislike php03:58
Kevin_Yes 51203:58
Deepsare you running much else on there?03:58
Kevin_Firewall, FTP, Apache, MySQL, PHP03:58
ballKevin_: swap is when your computer runs out of RAM and has to use disk instead.03:58
Kevin_How would I be able to tell if it has moved on to that ?03:58
ballI don't recommend ftp03:58
Deepsrefresh the page a few times03:58
Kevin_System resource viewer?03:58
Deepsif it takes just as long each time, it's not swapping03:58
Kevin_I believe that to be the case. It seems pretty consistently slow03:59
ballDeeps: do you suppose it's launching Apache every time?03:59
ball(every time someone connects)?03:59
Deepsball: if he's using a fairly old browser that doesn't support http/1.1, possibly03:59
Deepsotherwise highly unlikely03:59
jtajiKevin_: you can check swap usage with free03:59
Kevin_I'm using Safari 3 and Firefox 3 to access the site04:00
ballDeeps: Mosaic! :-)04:00
Deeps++ apache keeps childprocs spawned ready to go as + when needed04:00
DeepsKevin_: try it now. refresh the page 10 times in a row, letting it load fully each time first04:00
ballDeeps: that sounds sensible04:00
Kevin_Deeps, I'm really sorry but I have the computer at work. I'll have to try these steps tomorrow04:00
ballAre apache modules child processes, or threads?04:01
ball(is Linux multithreaded?)04:01
Deepsprocs i believe04:01
Kevin_So, I'm going to install a PHP Accelerator (as WP is pretty much all PHP) and up the RAM. I think those will be my first steps.04:01
ballOkay.  How does Apache talk to its child processes?04:01
ballWhat is a "PHP Accelerator"?04:01
Kevin_It optimizes and caches PHP so it doesn't have to be executed every single time04:02
Deepsno idea, i'm not an apache (or C) developer. i suspect it does it does it the same way most apps do when forking child procs04:02
ballKevin_: pity you can't just use a compiled language :-(04:02
Deepsand php accelerators (if i'm right) will take the interpretted code and compile it, hehe04:03
Deepsto make it more efficient04:03
Kevin_Yeah, I really love Wordpress, though. (besides the performance) :)04:03
Kevin_I have another site on an Intel Xeon w/ 2Gb of RAM and it flies04:03
jmarsdenball: http://httpd.apache.org/docs/2.0/mod/worker.html  for info on the apache process model (well, one of them)04:04
balljmarsden: useful info, thanks.04:05
ballKevin_: I've been tinkering with a Xeon box lately.  Can't justify one for use at home though.04:05
Kevin_I really need to launch this site soon and I can spend some cash if necessary. Would I be wise to simply purchase a powerful server if I intend to grow this site?04:05
Deepsyes04:05
ballKevin_: yes, buy something with expandability04:05
* ball tinkers04:06
Kevin_What about an Apple XServe (I ask because I'm a Mac person)04:06
Deepsugh04:06
ballIBM x3650 will take up to 48 Gbytes of RAM04:06
ball...up to eight 2.5" hard disks04:06
balloutgrow that bugger and you're doing alright.04:06
* Nafallo is not a fan of IBM servers04:07
Kevin_Haha, ok. I'm going to have to think about this. Thanks again for all your help, I'll see you later04:07
ballI wouldn't mind an x3250: 8 Gbytes RAM, four 2.5" hot-swap drives04:07
ballNafallo: why's that?04:07
ScottKKevin_: Spend some money on RAM and see what that does for you before you make a major investment.04:08
Nafalloball: HP is far better in my opinion :-)04:08
Deepsilo ftw04:08
jmarsdenKevin_: ScottK is right -- $100 for 2Gb RAM is worth doing first.04:09
Nafallothe IBMs have some weirdness going on with power.04:09
Deeps0407.57 -!- Kevin_ [n=Kevin@c-71-60-105-245.hsd1.pa.comcast.net] has quit []04:09
Deepstype faster? ;)04:09
ballNafallo: power consumption, or POWER processor?04:10
ballNafallo: I recently deployed an HP ML11004:10
Nafalloball: not turning on when power comes back.04:10
ball...was amazed how quiet that was04:10
ballNafallo: usually that's a CMOS setting04:10
Nafalloball: I wish04:10
ballDid you ask IBM?04:11
Nafalloask IBM why they didn't include the settings I need in the BIOS? :-)04:11
Nafallono. haven't done that.04:11
ball...ask IBM wtf your server doesn't boot when power returns04:12
ball...though I'm sure they'll wonder why it's not on a UPS04:12
ScottKEven UPS run down eventually.04:12
Nafalloehrm. we need to be able to remotely reboot the machines. we do so via PDUs :-)04:13
* ball nods04:13
Nafalloso don't really care what they think ;-)04:13
ballScottK: your UPS should be able to tell the server when the battery's running low, so that it can perform an orderly shutdown04:13
ballthen the server should be able to tell the UPS when it's done that, so that the UPS can switch off its load04:13
ScottKball: Separate issue from startup when the power comes back.04:14
ballScottK: yes, that's a fair point.04:14
NafalloHP included screws for new harddrives on the actual caddy to place it in (already empty in the server)04:17
Nafallothey include all tools needed (when you actually do, it's seldom) on the actual servers somewhere as well.04:17
Nafallofeels like they put actual thought into things when they do them :-)04:18
Nafallonot looking back... :-)04:18
ballNafallo: I've been impressed with HP's tech support too.04:18
Nafallothere RMA department still haven't said no to me :-)04:18
Nafallotheir even04:18
Nafalloso yea. I have a favorite brand ;-)04:19
Nafalloehrm. vendor, whatever the correct word is.04:19
ballThat reminds me, I should piece together that Compaq box04:20
=== badawi_ is now known as badawi
blackorgahi all.....04:57
blackorgaanyone got experince in installing xen on hardy?04:57
* ball can't afford a machine capable of running Xen05:11
blackorgai am using an average pc to run xen...:)05:16
blackorgabut only for the sake of learning....:)05:16
blackorgai have one problem....when i run "xm create /etc/xen/ubuntu.lan"05:17
blackorgathis error appeared...."Error: (38, 'Function not implemented')"05:18
blackorgaanyone ever faced this kinda problem?05:18
=== KingOfDos|lap is now known as KingOfDos
=== luke__ is now known as lukehasnoname
ssd7 /quit06:21
spiekeyHello!07:55
spiekeyis there a way to change the reboot key combination from ctlaltdel to ctrl+alt+r ?07:56
spiekeythe stupid windows admins keep pressing that kombination on my kvm switch all the time!07:56
henkjanspiekey: edit /etc/event.d/control-alt-delete08:00
hadsHah I can see that being annoying08:01
spiekeyhehe, thanks!08:03
spiekeyhenkjan: do you maybe know the setting for debian4, too?08:10
hads/etc/inittab08:11
spiekeywell yes...but in both cases...i would like to change it to ctrl-alt-r and not disable it completly08:13
jmarsdenspiekey: See http://en.wikipedia.org/wiki/Magic_SysRq_key for something sort of close to what you are attempting?08:16
jmarsdenI don't think you can make some random  key combo of your choice reboot the Linux box...08:16
hadsOr type reboot08:16
Xperiment62i came in asking about ftp earlier, i now have it set up.. i just need it to automatically change the ownership of the files09:14
Xperiment62so that i dont keep getting 403's09:14
LoveGuruXperiment62: Which FtP server are ya using? proftpd? or vsftpd ?09:15
Xperiment62i am using vsftpd09:15
LoveGuruJoin #Vsftpd they will help ya better with that.09:15
Xperiment62thanks LoveGuru09:15
LoveGuruXperiment62: might be forum will be helpfull check website first. which i gave it to ya09:15
kris_someone here that knows abouot mysql server setup ?10:23
kinnaz_apt-get install mysql-server :P?10:25
kris_that part is over :p  but its more complicated than that ...  what i need is to make a odbc connection from a windows machine in my lan , to my mysql server.  So I have it installed, I reconfigured the /etc/mysql/my.cnf file wit the servers fix ip ... I do not have a firewall set up.  When i do a portscan to my sever it does not show the mysql port ...10:28
kris_the deamon is running and localy it responds correctly10:28
\shkris_: and a mysql -u <user> -p -h <host ip> does work from outside?10:29
hadsAnd you restarted it10:31
kris_yep10:31
kris_restarted first the service10:31
kris_afterwords I also restarted the complete machine10:31
hadsNothing like overkill :)10:31
hadsbind-address 0.0.0.010:32
kris_:p  yeah , but I was getting sick of it so i just rebooted the machine out of frustration (dam, i'm busted)10:32
hadsbind-address = 0.0.0.010:33
kris_bind adres at this time is my servers ip10:33
kris_so i should trye wit 0.0.0.0 ?10:33
hadsShouldn't make a difference10:33
hadsnetstat should tell you how it's listening10:34
=== `6og is now known as Kamping_Kaiser
kris_netstat sais it is listening ...10:35
kris_what is strange is that for my httpd, ftpd, or sshd I can find the ports open and listening10:36
kris_and i can detect them with my portscanner.10:36
pilgrimHello everybody. Can someone help me on an instalation issue? I would like to install Ubuntu Server on a machine that previously had Windows on it, but the thing is I don't want to lose the files that are currently on the hard drive (other than the Windows files). Thanks10:38
kris_using a telnet session from my ubuntu machine to the server on port 3306 i do get a connection10:38
Phil__hello, I have lost connection to the internet, still have limited LAN connection - any ideas?10:38
kris_Pilgrim :  when you install sever you get a menu for the partitioning ...  it wil propose you to shrink your windows partitions to make room for your ubuntu partitions.10:39
kris_also it will install a bootloader so that you can choose between the server and windows when you boot the machine ...10:39
pilgrimThanks Kris. I was thinking about that to, but I was hoping there could be another option. :)10:40
kris_hmmm  If you have a second disk you could dedicate a disk to ubuntu and one to windows ...  but you will still need a bootloader in your master boot record. ..10:41
Deepspilgrim: wubi installer from windows is another option10:42
kris_why do you need the ubuntu server ?  You could use vmware server to create a virtual machine under your windows ...  advantage, no data can be lost.10:42
kris_and vmware server is free ...10:42
hads...of cost10:42
Deepspilgrim: installs ubuntu into a single file on your windows partition, and boots it from there too. it's stored as "just another file" on your filesystem, no risk at all too.10:43
kris_even the vmware esxi is free now ... but i thik that would be a little advanced and it will erase everything so you would have to reinstall ...10:43
pilgrimpersonal page webhosting and mai server. that was the last machine I had that was running on Windows and want to loose it permanently (windows that is)10:43
pilgrimand I always like a clean install better then a VMWare Solution10:45
=== MenZa_ is now known as Menza
=== Menza is now known as MenZa
pilgrimI think the best option is partition the hard drive, install linux, transfer all the files from the windows partition to the linux partition and then delete the windows partition and allocate the free space to the linux one, then edit GRUB10:46
kris_how big is the hd ?10:47
pilgrim120 Gb, and I have about 55Gb free10:47
kris_you could make an iso file from your current file system using an ubuntu live cd for instance,  afterwords you can mount the iso file under a directory, ...10:48
pilgrimthat could be an idea also10:50
kris_yeah but it would imply that you need cleanup the hd, and only copy the files that you would like to keep ..  Iso does not use compression so you would end up with an very large file10:51
Phil__Can't access the internet, LAN seems okay - any takers?11:03
ivoksroute and dns11:07
\shkris_: I wonder if nmap checks for ports > 1024 automatically...11:08
kris_think I found it ...11:09
ropetin] \sh yup11:09
\shropetin: does it?11:09
kris_typo in config file and i am up and running now11:09
ropetinFor me it does (it finds VNC servers as standard, 5900)11:09
ropetinI don't /think/ I've changed anything :)11:09
\shropetin: ok.. I wasn't sure about that...we do have accesslists between our vlans and normally we don't run any mysql server on public reachable ips...11:11
krautmoin12:07
=== andreas__ is now known as ahasenack
=== Coffe2 is now known as Coff3
Coff3Hi ppl, is trying to get kerberos working here..   but to auto get a ticket on login aint realy working for me.12:59
axisyshow do I disable this `Dec 18 07:50:06 sys-ubuntu -- MARK --' ? I am getting every 20 mins13:16
axisysin my log file13:16
ivoksyou don't want to disable that13:16
axisysivoks: who sends it? my fw?13:16
ivoksthat way you know everything is ok with your system13:16
ivoksno, syslog it self13:17
axisysivoks: ok13:17
ivoksit doesn't have any entries, so it puts a 'MARK' in it, so you know everything is ok, and syslog is working13:17
axisysivoks: gotcha13:18
Koonthere is a way of making them less frequent though.13:21
KoonSYSLOGD="-m 60" in /etc/default/syslogd to make them hourly, for example.13:24
axisysKoon: cool.. let me do that .. thnx13:26
ivokswhat kind of a server doesn't have a single entry in syslog for 20 minutes? :)13:27
axisyshow do I know I am using raid controller instead of disk ?13:28
Koonivoks: the fanless brick I use for deb mirroring and other strange uses13:28
axisysit says /dev/sdb13:28
Koonivoks: it avoids waking the disk up too often13:28
ivoksKoon: not even update-motd? :)13:28
ivoksaxisys: lshw13:28
Koonivoks: you're right, I've to check out that one :)13:29
ivoksyou should pipe that trough less13:29
* ivoks patched tar to support selinux, xattrs and acl13:29
ivokswill try pushing that into debian first...13:29
axisysivoks: http://pastebin.com/f7b92a07b13:29
ivoksaxisys: you should read that your self13:30
axisysivoks: yep reading13:30
ivoksi see you have two fujitsu disks13:31
ivoksand one logic disk13:31
axisysivoks: yes.. it is a sun x410013:31
axisysfrom lshw it looks like i am using lsi raid controller /dev/sdb13:32
ivoksand one more disk13:32
ivokson USB?13:32
ivoksand two cdroms13:32
axisysivoks: one cdrom and might be more than usbs13:33
axisysdf -h shows /dev/sdb1 as /13:33
axisysso I guess i am good13:33
ivoksand what's /dev/sda?13:33
axisysi did setup a raid1 .. just want to make sure i am taking advatnage of that13:33
axisysivoks: usb13:34
zuldoes anyone have any problems for apache 2.2.11 for jaunty?13:43
pilgrimI know this is a sacrilege to ask this, but is there a way to install graphical interface on Ubuntu Server?13:48
pilgrim:D13:48
ivokspilgrim: you'll get banned13:54
ivokswe'll set up a kind of ubuntu server shell for jaunty13:55
pilgrimsorry, didn't mean to break any rules. I'm just new to this and I kinda don't get along to well with the command line13:55
pilgrimagain sorry13:56
ivoksthat should help with some stuff13:56
ivoksbut no, no X, never13:56
ivokszul: nope :)13:58
Picipilgrim: You can install a desktop environment for ubuntu-server, but most server applications don't have a gui frontend for administration.14:00
Coff3Pici,  apt-get install ubuntu-desktop i think14:00
Coff3sorry14:00
ScottKpilgrim: You can sudo apt-get install ubuntu-desktop, kubuntu-desktop, xubuntu-desktop, etc. as Pici says, but any questions about it are OT for this channel.14:00
Picipilgrim: You can ask for support in #ubuntu for that :)14:01
pilgrimok guys, thanks a lot. appreciate it, and sorry for the off-topic once more14:01
ivoks:)14:02
kinnaz_http://pics.nase-bohren.de/nerd.jpg14:04
uvirtbotNew bug: #309339 in krb5 (main) "kadmind will not listen on IPv6 ports" [Undecided,New] https://launchpad.net/bugs/30933914:32
Faust-Cheh i manage to have a gallery2 server running w/ all my users hitting it w/ only 512M of ram14:34
SalsaDoomMorning fellas!14:36
kinnaz_Faust-C the swap usage must be nasty14:37
SalsaDoomAnyway familiar with virt-manager? I'm having a problem here .. I'm connecting to a remote server via the ssh tunnel -- and when I open a console window i get a tcpip error, vnc connection refused or disconnected.14:38
Faust-Ckinnaz_: havent had any error reports yet14:39
geekboxjockeyhello14:39
geekboxjockeydoes anyone here have experience using virt-manager or similar to work with xen remotely?14:39
kinnaz_Faust-C i personaly think every webserver should have atleast 1gb memory, prefferebly 2gb14:40
Faust-Ckinnaz_: i just wanted to test this out, its a VM so i can make changes easily14:40
SalsaDoomgeekboxjockey, lol, I'm fighting with an issue like that myself here ;) only its virt-manager /w kvm.14:40
geekboxjockeyI am trying to set up remote management and am not sure of what I need to enable and configure, by default it looks like I can't connect14:40
geekboxjockeySalsaDoom, yeah its great, I like the command line stuff, but I am curious to know if I can expose the system to various users through a GUI, since not all of us are console people :P14:41
SalsaDoomgeekboxjockey, On the surface, it looks fairly simple. I'm having problems opening the console remotely, but otherwise it seems functional. Do you already have the server setup?14:42
SalsaDoomie, you just need to setup a remote management box?14:42
Faust-Cssh ftw14:44
* SalsaDoom seconds this.14:44
SalsaDoomI think that ssh is the single greatest tool ever written ;P14:45
Faust-Cthats one of the main issues ppl have w/ vanilla xen is management tools14:45
Coff3running remote grafic i am using NX .14:45
Faust-CSalsaDoom: agreed14:45
geekboxjockeySalsaDoom: yeah it's up and healthy, I just don't know which service to enable or if i need to add certain permissions for users14:45
geekboxjockeycommand line is great IMHO, but I'm a developer, and I need to sell this to IT people14:45
ScottK!ebox | geekboxjockey14:46
ubottugeekboxjockey: ebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox14:46
SalsaDoomgeekboxjockey, Well, you need to enable a root account I believe. Then just have ubuntu-virt-mgmt installed on the client machine... usual user permissions apply I believe14:47
Faust-CeBox ... not to fond of it14:47
SalsaDoomer, I should be more clear. Root account should be accessible on the -server-.14:47
* SalsaDoom is assuming your talking about virt-manager, since you said gui ;)14:48
geekboxjockeyIdeally it would be nice to just use a simple lightweight client, yeah like virt-manager or convirt etc14:48
geekboxjockeybasically I just need to know what service to enable in the .sxp config for Xen, and what, if anything, to do to create users14:49
SalsaDoomhmmm, I'm only vaguely familiar with kvm, not at all with Xen ;\14:50
rickrossanyone know how to set software raid to use the noop scheduler?14:55
SalsaDoomhmm, well, anyone ever used virt-manager to open a vm console over an ssh tunnel?15:04
SalsaDoomI'm obviously missing something, I get a connection refused ;\15:04
SalsaDoomOh humm. I wonder if my non-standard ssh port might be causing an issue, now that I think about it.15:05
ballhello dinsdale0715:09
dinsdale07hi ball15:10
SalsaDoomaha, yeah, ok, the problem was caused by the non-standard ssh port.15:33
SalsaDoom:)15:33
=== fenris_ is now known as e-jat
Faust-Cisnt there a way to block a user from using dhcp using thier mac address18:36
freaky_thow can I make a apache2 SSL certificate?18:43
jmedinafreaky_t: a self-signed certificate?18:44
freaky_tfor apache218:45
freaky_tyea18:45
freaky_tthat apache2-make-ssl-cert script doesnt exist anymore18:45
jmedinafreaky_t: do it by hand18:45
freaky_thow18:45
jmedinawith openssl18:45
leonelopenssl req -new -x509 -nodes -out server.crt -keyout server.key18:46
freaky_twhere do i specify for how long the certificate is valid?18:46
ScottKleonel: Debian did an update to clamav for etch that dealt with the jpeg issue.18:47
ballAnyone here used Ubuntu in a cluster situation?18:47
ScottKleonel: Maybe you could have a look at their patch and we could backfit the patch to re-enable modules at the same time ...18:47
ScottKball: I'm pretty sure ivoks (not here right now) has.18:48
jpdsfreaky_t: https://help.ubuntu.com/community/forum/server/apache2/SSL18:48
freaky_tjpds that doesnt help18:48
leonelfreaky_t:  add  -days 356 ...18:48
jpdsfreaky_t: https://help.ubuntu.com/8.04/serverguide/C/certificates-and-security.html maybe?18:48
leonelscottK I'll check that  ..18:48
ScottKleonel: Great.18:48
jmarsden|workleonel: man x509 also works :)18:49
leoneljmarsden|work:  and  google ...18:50
ballScottK: thanks.18:50
Fenix|workGreetings... quick question.18:56
ballhello Fenix18:56
Fenix|workthe permission of -rwsrwxr-x ... what is the octal value?18:56
ballwhat's the s?18:57
ball775 if it's rwxrwxr-x18:58
Nafallostick18:58
Nafallosticky18:58
ball7 = 111 = rwx,   5 = 101 = r-x18:58
ballOh, dunno about the sticky bit.18:58
jmedina277518:59
jmedinanot, it is 477519:00
Fenix|workjmedina, ok... so 1775 is for rwxrwxr-s, 2775 is rwxrwsr-x and 4775 is rwsrwxr-x ... sound about right?19:01
jmedinait is SUID19:01
ballAh, the suid bit?19:02
jmedina4xxx SUID, 2xxx GUID 1xxxx Sticky bit19:03
* ball writes that down19:08
Fenix|workjmedina, I'm trying to use find -perm to list all files with SUID bit on and it's listing all files... using find ./ -type f -perm 477519:10
Fenix|workahh... it's my version of find... doesn't support perm19:11
Fenix|workhow does one use find to exclude a particular directory... for instance, I want to find everything in / but exclude /dev from the results19:23
greenflyFenix|work: find / ! -name '/dev'       ?19:27
jmarsden|workFenix|work: If you want to just stay within the / filesystem, you will probably want -xdev as well?19:28
jmedinaFenix|work: try find / -type f -perm -400019:29
greenflyjmedina: but that would potentially exclude other file systems Fenix|work might want19:31
Fenix|workI basically want to find all files with the SUID bit set19:33
Fenix|workregardless of the other portion of the files permissions19:33
greenflyohhhhh19:34
greenflysorry, didn't read the scrollback19:34
Fenix|workdarn... 4000 and u=s don't work19:35
Fenix|workyet 4775 shows a whack of files19:35
slangasekhi, I notice there hasn't been any testing feedback yet for server images on http://iso.qa.ubuntu.com/qatracker/build/all - is anyone looking at these for alpha-2?21:31
Jeeves_Anyone here using teredo ?21:31
Jeeves_(miredo on Ubuntu)21:31
* antdedyet groans21:51
spowersi don't know if this is a dumb idea, but is the jockey driver config tool likely to have a cli frontend made for it ever?21:52
spowersi'm comfortable compiling my own drivers, but i'm also lazy21:52
antdedyetspowers: check out the module-assistant command22:00
spowersthanks, will try it22:00
LoveGuruHello,  have a quick question regarding ssh, when i login to my box through ssh i wan't when i put my login after that it shows my rules before processeding further after put my id and before the password it shows my rules, how can i do that?22:00
spowersLoveGuru: see the sshd_config option "Banner"22:01
LoveGuruspowers: thanks, and after passwd use /etc/motd.tail right?22:02
LoveGuruthats for to motd.22:02
spowersLoveGuru: the sshd banner is sent to the remote user before authentication is allowed, says the manpage for sshd_config22:03
LoveGuruspowers: alright22:03
spowersand motd.tail is sent afterwards, correct22:03
LoveGuruokie thankx :)22:04
=== erichammond1 is now known as erichammond
LoveGuruspowers: Thankyou so much to point me in correct direction.22:17
LoveGuruspowers: i want user jail like.. if i create any user the user got permission like they can't cd .. to any other directory.. well stright i wan't that if i create user they can't move or check any other dir or user ?22:19
spowersthat's a combination of having good filesystem permissions and perhaps you also want to use rbash (man rbash) for their shell22:21
spowersa real chroot jail environment would require a lot of setup22:21
LoveGuruspowers: any guide for chroot jail ? never done it before.22:21
spowersalso you should read up on selinux mandatory access controls22:21
LoveGuruum selinux.22:22
spowersthere's no one way to do it, as far as i know, because chroot is such a rudimentary tool that it can be used in so many different ways as to make explanation difficult22:22
LoveGuruWell basically i never done it before.. so i don't know where should i take my start22:23
spowersbasically it takes a process and makes it so that process can't access directories outside of the specified one.. and it goes for all subprocesses too, which means each chroot environment would need to include a little system22:23
spowersthey're really only good for hackish development or other very specific uses22:23
LoveGuruspowers: well im trying to run small server.22:24
LoveGurui don't want my users can see each of users files22:24
ScottKYou can do that with apparmor too and it's probably easier to get started with.22:24
LoveGuruor anything else in my box22:24
spowersScottK: is apparmor easier than selinux? i'm not familiar with either of them22:24
LoveGurualright thankx guys..22:25
LoveGuruScottK: ur guide always work for me :)22:25
LoveGuruthankx spowers n ScottK22:25
=== chmac is now known as chmac_away
weboideHi there, I'm on ssh to my 8.04 server, I "su john" it asks for the password, but when i start typing it, it says authentication error.22:55
Jeeves_weboide: You should try to enter the correct password :)22:55
weboideJeeves_: I didn't even hit enter22:55
Jeeves_weboide: Ah :)22:56
weboidei start typing (for example): p...22:56
weboideand then it says authentication error22:56
weboideSee for yourself, it shows: asswordsu: Authentication failure22:57
weboideit stops after the first letter22:57
weboideJeeves_: Hmm I think I found it, that debsign that made my terminal crash...22:59
TailsfanHi There, I'm trying to install 8.10 on my Old NetVista Tower but everytime it gets to the hard disk scanning phase, it just flickers and goes in an endless loop23:02
Tailsfanwhat do I do to fix thid23:03
Tailsfanthis*23:03
Mal3kowhat is "search isp.com" in resolv.conf for?23:10
=== chmac_away is now known as chmac
Mal3koanyone still up?23:50
=== liberfiasco is now known as libervisco
Mal3kodoes ubuntu server sync time automatically?23:50
Mal3kodefault ubuntu server install23:50
Nafalloonce on boot23:53
hadsopenntpd is a simple way to do it.23:55
Nafallontp is even simpler, and supported :-)23:56
Nafallontpd even23:56
Nafallobut I think the package is ntp?23:56
infinityThe package is "ntp", yes.23:56
Nafallowhen I installed it it was ntp-simple ;-)23:57
infinityNo idea why anyone would go and compile a random ntp daemon, even if it does have the coolness of OpenBSD behind it.23:57
Nafallothen things started replacing that with simply ntp ;-)23:57
Mal3kontp vs ntpd? what's the diff23:58
Mal3kontp vs openntpd*23:58
infinityThe part where OpenNTPd hasn't seen a portable release in over 2 years isn't comforting either.23:58
hadsYou find ntpd simpler than openntpd?23:59
infinityMal3ko: The difference is implementation.  The difference from a user standpoint is that one is packaged, maintained, and up-to-date, and one only works on OpenBSD unless you want an ancient codebase.23:59

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