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

yann2http://beranger.org/index.php?page=diary&2008/11/28/20/34/04-ubuntu-developers-discovered-exa  oups00:10
yann2right I'm 4 days late :)00:10
axisysi am having hell of a time installing ubuntu server on x4100 thru SP02:04
axisysi only can ssh to net mgmt port.. so I never see the installation to start .. it sees the CD.. but it is forcing a gui which I cannot have02:05
ballWhat's an SP?02:05
axisyscuz I am trying to install remotely02:05
ballaxisys: try the alternate CD?02:05
axisysball: it is service processor02:05
ballaxisys LOM?02:05
axisysball: yes02:05
axisysno i burned a cd and left it inside the server which is regular server edition and not alternate cd02:06
ballWho makes this x4100 thing?02:06
axisysnow I am away from the box02:06
axisysSUN02:06
ballaxisys: I hate it when that happens.02:06
axisyshttp://www.ubuntu.com/partners/sun looks like my server is certified .. so there is no hardware issue.. just the gui needs to be changed to text02:09
axisysi guess i have to hit esc at some point to escape the splash.. not sure exactly when02:10
=== hiphopgeek is now known as YaNn86
ballstupid graphical splashscreens02:14
ballYou know what though, I have an Ubuntu Server box here I could try for you.  Hang on...02:14
ballIt seems to have a text console (as God intended).02:14
ballLet me reboot though and check for splashes.02:14
ballNo splash screen.  It boots straight into text mode.02:17
axisysu mght have changed it in grub after the initial install ?02:17
ballNo, this is stock.02:17
axisysalternate iso ?02:18
ballNo, ordinary Ubuntu Server02:18
[Solars]try the alternate iso02:24
ball[Solars] He can't reach the CD-ROM drive02:25
[Solars]iirc, the normal cd is gui'ed only02:31
ball[Solars] Ah, come to think of it, I remember seeing the GUI during the install02:32
ball...but once installed it doesn't seem to need one.02:32
[Solars]right02:32
ballaxisys: are you installing?02:33
* ball staggers around a bit02:38
=== chuck_ is now known as zul
* ball sighs02:39
ballI have to go02:43
axisysi will wait till tomorrow02:58
axisysthnx ball, [Solars]02:58
axisysi need to find a way to kickstart the server from an image .. net install ..03:08
jmarsdenhttps://help.ubuntu.com/community/PXEInstallServer may help?03:12
axisysjmarsden: thanx.. let me check it out03:14
=== jussio1 is now known as jussi01
alex_21Hi, I have a problem, I can't resolve addresses when using host or wget from my server04:14
geniialex_21: You have manually configured interfaces?04:15
alex_21Yes, but it worked back when I had eth1 up, and now I commented it out since I am using eth004:17
geniialex_21: Does ifconfig show eth1 still up?04:18
alex_21No, it says eth1 is not configured04:21
geniialex_21: Did you manully swap out cards in it? udev will not re-use eth0 for instance but go to eth1 for a new adapter because that designation is stored by mac address in the udev system04:22
geniieg: if you had tw0 nic and yanked one out, put a new one. Then eth2 would be the new one and not eth0 again04:23
alex_21No, the cards are the same04:23
geniialex_21: Does /etc/resolv.conf   have anything in it?04:24
alex_21Eth0 used to be my spare, and now it isn't anymore, it is my main and eth0 is a spare04:24
alex_21eth1 is now my spare, sorry04:24
geniialex_21: How is it getting it's address? dhcp? semi-staically assigned from a router based on it's mac address? defined in /etc/network/interfaces ?04:26
alex_21Hi,04:27
alex_21Here is my /etc/resolv.conf file http://paste.ubuntu.com/79120/04:27
alex_21And the address is static04:29
geniialex_21: what is result of: route04:34
alex_21http://paste.ubuntu.com/79122/04:37
alex_21There is the output or route04:37
geniialex_21: And 192.168.0.101 is the router address or so?04:38
alex_21Yes, it is my gateway/router04:39
geniialex_21: Add into /etc/resolv.conf for the moment:    nameserver 208.67.222.222              (this is an OpenDNS dns server ip)   then see if you can ping some name04:42
alex_21I did, now what04:45
alex_21It works now04:45
geniialex_21: eg: try to ping by name some site04:46
alex_21It works now with the server you gave me04:47
geniialex_21: OK, so you know you have to give the box some valid dns ip then. Normally your router/gateway should be doing this but it looks like not in this case04:47
alex_21It does for all my other machines though04:47
alex_21But all the other machines use dhcp04:48
geniialex_21: Did you restart networking or so since you switched the adapters around?04:48
alex_21Yes, a few times04:49
geniialex_21: If you have the adapter manually configured for instance in /etc/network/interfaces  then make sure you put in whatever your valid dns ip are into the /etc/resolv.conf04:50
geniialex_21: Alternately set the interface to auto/dhcp and if it needs always same IP then tell the router to assign always the same one by it's mac address04:52
geniialex_21: Then it will get whatever info the other ones get re: dns04:52
mysticaloneI'm having a related issue with my box04:55
mysticaloneI can't seem to make the ubuntu gateway point to the Windows gateway04:56
mysticaloneerr, Windows IP04:56
mysticaloneI have connection sharing enabled on Windows04:56
axisysok I were able to get the pxe boot going.. but when it is ready to display the grub.. i dont see it.. cuz the gui i think04:57
axisysi need to find a way to send the grub menu in non gui format04:57
geniiaxisys: You are using the method which loopmounts the install iso?04:58
axisysthis is what I followed https://help.ubuntu.com/8.10/installation-guide/amd64/install-tftp.html04:58
axisysgenii: i am trying to install using PXE04:58
axisysgenii: i did not follow this https://help.ubuntu.com/community/PXEInstallServer04:59
geniiaxisys: Yes. And then when it boots to the image you have on the server, how was the image produced?04:59
axisysgenii: mounted the CD and copied the netboot dir content04:59
axisysand extracted the netboot.tar.gz in tftp boot dir as well05:00
axisysso hardest part is done.. the network part.. now I need to fix it to display the grub..05:00
geniiaxisys: Using the alternate CD or the regular livecd?05:01
axisysgenii: alternate cd05:01
axisysgenii: wait!05:01
axisysgenii: it was waiting for a enter.. since the screen was blank, i could not tell05:02
axisysbut when i hit enter i see this now05:02
geniiAh, good05:02
axisysLoading ubuntu-installer/amd64/initrd.gz........................................05:02
axisys................................................................................05:02
geniiWell, thats not grub, but doesn't matter05:03
axisysgenii: that is lilo ?05:03
axisysgenii: i was just following this https://help.ubuntu.com/8.10/installation-guide/amd64/install-tftp.html btw05:03
geniimysticalone: When ICS is enabled on a windows box, it usually dhcp assigns to the other box connected to it05:03
geniiaxisys: It's a ramdisk based bootloader so not really has a counterpart like lilo or grub or so05:04
axisysi am still on the same screen.. should it take that long.. wish i could see some log05:04
axisysi should have started tftp in debug mode may be ?!05:05
axisysi have 2G memory on that sun x4100 amd opteron05:05
geniiaxisys: Let it time out or so, it should give some message at that point05:05
geniimysticalone: If your adapter is eth0 try:    sudo dhclient -r eth0 && sudo dhclient eth005:06
axisysgenii: :-)05:06
mysticalonegenii: i'll try it05:07
geniimysticalone: This will release/renew dhcp on it, hopefully windows ICS will give it the info it requires05:08
geniiaxisys: I usually use https://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install as reference for netboot setups05:10
mysticalonegenii: well my Ubuntu box is connected to a router, but my internet goes thru Windows05:10
axisysgenii: yep I have that open too :-)05:10
axisysi can i could modify the default like that05:10
geniimysticalone: So the problem there will be the router wants to give some IP which will likely override the ICS05:11
geniimysticalone: Does the windows box have more than one ethernet adapter?05:11
axisysgenii: however he said no need to do that anymore05:11
mysticalonegenii: Yes, the other one would be the wireless card05:12
geniiaxisys: It begins to boot. So the thing is likely somewhere in the tftpboot, like pxelinux.cfg or so05:14
mysticalonegenii: I tried disabling dhcp on the router, waiting on the box to grab dhcp from Windows05:14
geniimysticalone: That might work as a fast way05:15
mysticaloneand now I can't ssh to it05:15
geniimysticalone: Probably since it's default route is/was the router05:16
axisysgenii: hmm05:17
geniiaxisys: OK. I'd say put back the router. Then just make for the time being a static entry for your eth0 or so.  The defaultrouter will be the Windows IP05:18
axisysmysticalone: that was actually for you05:19
geniiaxisys: Yes, apologies05:19
axisysgenii: np05:19
geniimysticalone: I'll pastebin an example one for you05:20
geniimysticalone: http://paste.ubuntu.com/79134/              If your network is different range adjust accordingly. Then after do: sudo /etc/init.d/networking restart05:24
geniimysticalone: In the example 192.168.0.101 would be the IP of the Windows box05:25
alex_21Hey, I still don't receive mail on my server. I thought just dns was the problem, but I guess not05:27
alex_21I am using Postfix05:28
alex_21And all ports that are needed are open05:28
geniialex_21: Does it have a different IP now?05:31
alex_21Then when?05:32
alex_21Because all my mx records were adjusted accordingly05:33
alex_21But yes, a new IP05:33
geniialex_21: So you need to change the .cf file and rebuild05:33
geniimain.cf05:33
alex_21And also, I can't figure out what is wrong. Peple on the networking channel were able to connect to it yesterday so it looked like it was only dns05:34
alex_21What do you mean rebuild05:34
geniialex_21: You should just be able to:    sudo /etc/init.d/postfix reload             after05:35
alex_21After what?05:35
geniialex_21: After modifying your postif main.cf file to reflect your current box's actual IP or so05:36
genii*postfix05:36
alex_21Oh, ok05:38
alex_21I can't find it. I suppose since this is Postfix inside Zimbra it is a little different05:45
geniiHmm. Unfortunaltely I know nothing about Zimbra05:45
alex_21Oh, lovely. So here is a Blind techie on a Monday night, needing ot get a mail server up and running with an administrator interfacce that is unaccessible05:47
alex_21Lol, I just don't know what to do05:47
alex_21Grrrrrrrrrr05:48
geniialex_21: According to http://www.zimbra.com/forums/installation/10559-modifying-zimbra-postfix-configuration.html you may want to look at zmmta.cf wherever that is05:50
alex_21Ok, thanks05:54
alex_21I'll have a listen to that, smiley, I'll see05:54
alex_21I got the mail. I found it. It was in the deffered mail queue06:33
alex_21Sorry06:33
krautmoin08:27
uvirtbotNew bug: #304388 in samba (main) "Gratuitous file /etc/samba/gdbcommands" [Undecided,New] https://launchpad.net/bugs/30438813:17
FebruariusXhelo everyone13:30
snekhello13:30
FebruariusXi have question13:31
ropetinFebruariusX: ask away13:31
FebruariusXit was all about haproxy? it could replicate anydata comes to pc1 onto pc213:33
alex_21Hey, I can't use a gui front end to manage themes, but can someone walk me through installing a theme that looks like the Mac login - password box n a Mac via the cli13:35
snekservers don't run a gui normally, go back to the normal ubuntu channel :P13:35
alex_21I did but no one knows the cli for it13:36
lukehasnonameHow do I install drivers for new hardware?13:37
lukehasnonameSpecifically, a second network card13:38
lukehasnonamePCI13:38
snekit's not auto detected?13:38
hadsYou shouldn't need to, drivers are kernel modules.13:38
snekdo an "sudo lspci" and see if it gets listed13:38
hadssudo not needed13:39
snekit is on mine13:39
hadsWhy?13:40
snekdunno, it just gives a command not found without it ;)13:40
hadsThat doesn't make sense.13:40
snekbut i must confess that's on my intrepid desktop.. on my hosted server it seems to work without13:40
snekthat's a hardy vps13:40
hadsWell that's not normal. sudo keeps your environment by default.13:41
snekby golly you are right.. lol13:42
snekdamn, if only i knew that earlier hahaha13:42
=== snakebot is now known as sme2k9
ScottK-palmMathiaz: Are you running the meeting today?14:07
ScottK-palmMathiaz (or whoever will run the meeting): I'd appreciate it if my agenda item could go first.14:11
yann2meeting is at 9pm isnt it?14:12
yann2or is that a serverteam meeting? :)14:12
* ScottK-palm is on the road. I think I can squeeze in the first fifteen minutes or so of the meeting.14:12
ScottK-palmServer Team @ 1600 UTC14:13
* ScottK-palm drives like the wind to get to the known free wifi spot by meeting time.14:21
=== lamont` is now known as lamont
nick|herehow can i enable monitor turn off when i close lid15:14
Jeeves_nick|here: That seems to be broken in intrepid15:16
nick|hereJeeves_, what a unlucky man i am :(15:17
Jeeves_nick|here: Me too.,15:20
Jeeves_It doesn't work for me either15:20
nick|hereJeeves_,  i have a macbook pro that has a broken lcd, i managed to install ubuntu server without the monitor (!) then installed openssh server and using it from ssh. but even if it doesn't shows any output from monitor it turns on the light and it makes it hot15:21
Jeeves_nick|here: Ah15:23
_rubenbreak the light as well ;)15:24
Jeeves_:)15:25
Jeeves_Ah well, it's an apple15:25
Jeeves_throw it out of the window!15:25
henkjanah, reminds me of https://lists.ubuntu.com/archives/ubuntu-server/2008-November/002442.html :)15:27
henkjanjeeves realy doesnt like apples :)15:27
erimar77i'm working on a daily/weekly task list.. what are some things other server admins do besides watch ganglia and read slashdot and reddit15:28
Jeeves_erimar77: IRC15:29
Jeeves_Webwereld.nl15:29
_ruben24/715:29
Jeeves_nu.nl15:29
erimar77but of course15:29
Jeeves_erimar77: Read company mailinglist15:29
henkjanreading bofh stories15:29
Jeeves_bother my collegeas15:29
erimar77can't read dutch :(15:30
henkjanplaying pinball15:30
erimar77real pinball, or iphone type pinball15:32
henkjanreal pinball15:32
henkjanat my former employer15:32
erimar77hehe, "former"15:33
_rubenour pinball machine broke .. so now its just table soccer .. not sure what happened to the darts board15:34
henkjanJeeves_: you are still playing pinball?15:35
uvirtbotNew bug: #304437 in openldap2.3 (main) "null_callback: error code 0x12" [Undecided,New] https://launchpad.net/bugs/30443715:38
Jeeves_henkjan: Not much15:43
Jeeves_henkjan: That's because you left us15:43
Jeeves_now I've got work to do15:43
_rubenhehe15:43
akincerTrying to use ssh-copy-id on server 8.04 gives /usr/bin/ssh-copy-id: ERROR: No identities found16:14
akincerGoogle shows signs this is a bug from 200316:14
akincerWTF?16:14
akinceranybody got an idea?16:15
ScixAfter installing tftp-hpa in ubuntu 8.10, where can i find the config file? In 8.07 I could fint it in /etc/default/tftp-hpa16:16
mysticaloneI need help setting up VNC/Remote Desktop on my box. All my attempts to enable Remote Desktop don't allow me to connect.16:17
ballmysticalone: does it work after you've logged in at the console?16:17
akincermysticalone: What version of Ubuntu?16:20
ball(I'm guessing you want to connect to the same desktop you see on the built-in console)16:20
mysticalone8.1016:24
mysticaloneI just went over to the box and desktop isn't properly working16:24
akincerI'm not sure I follow, but did you enable remote desktop access AND uncheck the "ask for confirmation" box on the remote machine?16:27
mysticaloneYes, I did16:30
mysticaloneI can connect fine thru ssh, but I like using the GUI16:31
ScixAfter installing tftp-hpa in ubuntu 8.10, where can i find the config file? In 8.07 I could fint it in /etc/default/tftp-hpa *sorry dump*16:32
ballLast time I tried connecting to :0, I couldn't unless the console was logged in.16:32
ballI count that as a bug.16:32
ballI can launch a separate vncserver though after logging in via vnc16:32
ball(I do that with Ubuntu-server)16:33
mysticaloneI'm logged in physically at the box and thru SSH but I can't connect by VNC16:33
mysticaloneunless the firewall is blocking it16:33
ballmysticalone: what OS is on the box you're trying to connect to?16:33
mysticaloneUbuntu16:34
mysticalone8.1016:34
ballServer or Desktop?16:34
mysticaloneserver16:34
ballWell then it may be that you don't have a :0 to connect to16:34
ballI log in via ssh, start a VNC server instance ("vncserver -geometry 800x600 -depth 24") and then connect to that16:35
ball...usually it's :116:35
ball(in my case)16:35
ballYou'll want to install a window manager or desktop though16:35
ballI'm using Xfce this month16:35
ball(described at http://potchery.blogspot.com/16:35
ball)16:36
mysticaloneI installed gnome16:36
mysticalonethru ubuntu-desktop16:36
ballOh, I don't know how that works then.16:36
ballI'm guessing there's an executable that could launch Gnome on your second display (the VNC server)16:36
ballbrbr16:37
akinceryou installed desktop on a server?16:50
akincerwhy?16:50
ballakincer: I do because I anticipate hanging VNC terminals off the server16:51
ball...so the desktop will run on the server, but appear on the terminal16:51
mysticalonei guess theres no reason to vnc to the box16:54
akincerUnder the hood, the differences between server and desktop are pretty minimal AFAIK. Attaching the desktop packages to the server for production purposes removes the longer packages advantage and you might as well run the desktop version16:55
akincerin other words, adding desktop packages provides no functional advantage that I know of versus running desktop16:56
=== zoopster1 is now known as zoopster
mysticaloneit's just quicker for me to pull up windows16:56
akincerThen run the desktop version and install whatever server packages you need16:57
mysticalonelike the gui for the firewall would be quicker for me than messing with iptables16:57
akincerI'm pretty sure there are remote GUI options16:57
mysticalonethere are16:57
mysticalonei'm currently using ssh -x16:57
mysticaloneit works as long as I know the applet names16:58
mysticalonelike synaptic16:58
akincerIf you need the warm blanket of a GUI, run desktop and install whatever server packages you need16:58
mysticaloneor vino-preferences16:58
akincerthat's infinitely easier than trying to turn server into a desktop IMHO16:58
* ball uses ssh -XCl ball servername16:58
* ball is turning server into several desktops at once :-)16:59
akincerare you suggestion you can't do that on desktop?16:59
akincersuggesting16:59
ballakincer: I'm sure you could, but then I'd have to try to duplicate the desktop config for the local console.16:59
akincerPlus, I'm pretty sure there are distros out there made to do just that. Perhaps that would solve your problem without trying to reinvent the wheel17:00
mysticalonebut whats the fun in that17:00
ballakincer: Edubuntu with LTSP is one option I'm considering17:00
mysticalonegod i don't feel like downloading another image17:00
akincerif learning is what you're after, go for it17:00
mysticalonei know it only takes about 5 minutes but17:01
mysticalonei'd have to erase my cd-rw17:01
mysticaloneoh well17:01
ballakincer: mostly it comes down to VNC Vs. X11 as the graphical terminal protocol17:02
ballEach has its own pros and cons.17:02
ballI should probably set up a second LAN and test LTSP there17:03
akincerFind which fits your situation best and go with it17:03
mysticaloneSo I'm turning my box into a web server, I want multiple users, where do I start, webmin?17:03
ballakincer: I should look in the garage for a PCI NIC.17:04
ball...and some cat5e cables17:04
ivoksmysticalone: what are multiple users on webserver?17:04
mysticalonelike17:04
ballWhy do you want multiple users on a web server?17:04
mysticalonelike a reseller17:04
mysticalonetype of thing17:04
ivokstry with ispconfig17:04
ballselling web space you mean?17:04
mysticaloneya17:05
akincerlisten to ivoks17:05
ivoksispconfig will take care of dns, ftp, mail, web17:05
ivoksand it will still alove you manual edits of configuration files17:05
Faust-Chmm i want to use dovecot in a MS environment but idk how i would ....17:05
ivoksthat's why i just love that software17:05
ballFaust-C: what's dovecot?17:06
ivoksFaust-C: what's wrong with dovecot in ms env?17:06
mysticaloneoo thats nice, webmin is so ugly17:06
ivoksball: imap/pop provider17:06
mysticalonebut isp is pretty17:06
ivoksmysticalone: webmin is also not a tool for that kind of problem17:06
ballAh.17:06
Faust-Civoks, i mean as far as simple administering it17:06
akincerwebmin + Ubuntu = headaches last time I checked. That may be fixed now17:06
Faust-Cwe need to keep emails, and we have a high turnover rate17:06
ballAside from Microsoft not being ideal for server operating systems.17:06
Faust-Cso we constantly have to have access to emails from past employees and keep backups17:07
ivoksFaust-C: do you also plan smtp?17:07
Faust-Catm we have a huge PST file w/ ALL emails17:07
Faust-Civoks, of course, postfix17:07
ivoks:)17:07
akincerFaust-C: Not sure if you have checked into the paid Zimbra version, but it will allow you to fork all emails17:08
ivoksFaust-C: there's a postifx web interface17:08
akincerif you buy that feature, that is17:08
ivokspostfixadmin iirc17:08
Faust-Cakincer, heh yeah ...17:08
ivoksi wouldn't advice zimbra, but...17:08
Faust-Civoks, i mean say we get 3 new users17:08
akincerWhat's so bad with Zimbra?17:08
Faust-Chow simple would it be to manage accounts is what im wondering17:09
ivoksakincer: slugish17:09
ivoksFaust-C: postfixadmin is a web interface17:09
ivoksFaust-C: you can add account, set up an alias and/or forward17:09
akincerivoks: Perhaps your setup wasn't adequate?17:09
Faust-Civoks, yeah im looking at the page17:09
ivoksFaust-C: it even has built-in 'send to all'17:09
Faust-Civoks, but how would you manage the dovecot part?17:09
ivoksakincer: that's also possible, i still use it on one location17:10
ivoksFaust-C: there's nothing to manage in dovecot17:10
* Faust-C gets a lil confused w/ email17:10
Faust-Coic17:10
Faust-Ci didnt realize that17:10
ivoksFaust-C: dovecot just reads users from database17:10
Faust-Cah i was reading that17:10
akincerAny sufficiently complex mail system is pretty resource hungry. The smart run it on RAID 10 or one heck of a stacked RAID 5 to spread the load17:11
intorioI just updated a workstation and ldap authentication just stopped working, server is unchanged, config files are all the same, other un-updated workstations work fine. the auth log complains about not being able to connect to the server, but ldapsearch works fine, any ideas?17:11
mysticaloneivoks: is ISPConfig 3 buggy?17:12
Faust-Ci plan on running this in ESX17:12
Faust-Cwell brb lunch time17:12
ivoksFaust-C: mysticalone didn't use it yet17:12
ballIs RAID 10 a mirrored stripe?17:12
akinceryes17:12
ballNice: fast /and/ redundant17:12
ivoksand expensive :)17:12
akinceryes and yes17:12
drdebianand not growable17:13
balldrdebian: dump to tape, resize, restore ;-)17:13
ivoksball: sometimes, that's not an option17:13
akincerIf you build it right the first time, you don't need to grow it or when it is time to grow, it is time to upgrade the server . . .17:13
ballivoks: that's true.17:13
ivoksin two days i'll be growing one raid5 from 3TB to 6TB17:14
ivoksdumping that to tape... err... it would took ages :)17:14
ballI have a stripe across two 4 Gbyte USB flash sticks :-)17:14
ivoksat least 3-4 days17:14
ballYeah, once you get up into terabyte data sets, it's time to wheel out the big guns.17:15
ivoksTB is a joke today17:16
ivoksthere are TB disks now :D17:16
ballivoks: s/terabyte/multiterabyte/17:16
drdebianwhile from the speed perspective, raid10 does have its merits, raid6 is the practical choice if upgradability is of any importance17:16
ballRAID level 6 I haven't seen a lot.17:16
ballI see lots of RAID 1 and RAID 517:16
ivoksi plan migrating one my raid5 to raid617:17
ivoksraid5 is risky when you have more than 6 disks17:17
drdebiantrue, but in the TB region raid5 won't be enough to survive a rebuild without having another disk fail, statistically speaking...17:17
akincerexcept that it is slower on writes17:17
drdebianraid5 is already risky when you have more than 3 disks. ;)17:17
ivoksdrdebian: well, i didn't have two disks failure on raid5 yet17:18
ivoksand two disks failure could bring raid10 down, too17:18
akincerif speed is your primary concern that trumps all else, RAID 10 is what you use. If you choose RAID 6, speed wasn't your primary concern to begin with17:18
drdebiandepends on which 2 disks fail... AFAIK the kernel implementation with the far2 strategy should survive any 50% of the disks failing...17:19
=== YaNn86 is now known as hiphopgeek
akincerof course, with RAID 10, you can have literally half your drives fail and still be functional17:21
akincerprovided it is all in the same stripe set17:21
ballakincer: I need to get myself more disk drives17:22
a_c_m1i have a crazy problem, thats cost me 2 days dev so far17:24
akincerNow is probably a good time. I would be willing to bet prices are down17:24
akincerlunch time17:24
drdebianthe cool thing about the kernel's raid10 is that you can even have an uneven number of disks...17:25
a_c_m1does ubuntu's php/apache2 have any strange config stuff stopping the www-data user from writing to files outside of the docroot or /tmp - as that seems to be whats happening17:25
ballchroot?17:25
ivoksa_c_m1: learn unix permissions17:25
ballchmod 777 * ;-)17:26
a_c_m1ivoks: handy tip ivoks... thanks, but we've tried chmod 77717:26
ivoksa_c_m1: and check /etc/apparmor.d17:26
a_c_m1chown www-data etc...17:26
ballI was joking btw.  chmod 777 is rarely sane17:26
a_c_m1ball, we've probably lost $1000 so far on this little bug and 2 days on a very tight release schedule, were getting past sane ;)17:28
ivoksa_c_m1: maybe you have enforced apache's apparmor17:29
ivoksprofile17:29
balla_c_ml: I hate when that happens17:29
ivoksa_c_m1: have you checked the logs?17:29
a_c_m1ivoks: i'm googling app armor now, but if you have a link that will let me understand whats going on a bit better it would be great :)17:30
a_c_m1ivoks: which logs17:30
ivoksa_c_m1: apparmor enables you to define where should some processes have acces (rwx)17:30
ivoksa_c_m1: if it is enforced, then it will force the rules; if it's in complaine mode, it will just complain17:31
a_c_m1ivoks: right, there is only a profile (file) for usr.sbin.mysqld, nothing else in ther17:31
ivoksa_c_m1: enter /etc/apparmor.d/ and check if there's a file usr.sbin.apache217:31
nijaba ac17:31
nijabaa_c_m1: https://help.ubuntu.com/community/AppArmor17:31
ogra dc17:31
ogra:)17:31
nijabaogra: :D17:31
ivoksanyway, it's not apparmor17:31
a_c_m1nijaba: cheers17:31
ivoksa_c_m1: check /var/log/apache2/error.log when write fails17:32
ograthe logs shoud something in any case17:32
ogra*sould have17:32
mysticaloneivoks: does ISPConfig use the latest php and mysql builds?17:32
ivoksmysticalone: it uses whatever distribution provides17:33
nijabaogra: sould?  as in James Brownd?17:33
ogralol17:33
ivoksmysticalone: it has PHP (and apache) only for it self17:33
ivoksmysticalone: so, ispconfig compiles apache and php for the ispconfig it self, your clients will have ubuntu's apache and php17:33
a_c_m1ivoks: the message in the log files makes even less sense17:40
ivokspaste it17:40
ivoksi'm sure we figure out something from it17:40
a_c_m1bin?17:40
ivokspaste.ubuntu.com17:41
a_c_m1http://paste.ubuntu.com/79408/17:42
a_c_m1but at no point does the system try to write to /var/www/demo ?!?17:42
a_c_m1im running this on my local host atm (also an ubuntu install)17:43
ballDoes Ubuntu run apache in a chroot dungeon?17:43
ivoksno17:43
ivoksa_c_m1: hm... did you try creating /var/www/demo?17:44
a_c_m1and the REALLY strange thing, is if we change the target dir (which is owned by www-data etc atm, so thats not the issue), to /tmp it works fine17:44
a_c_m1ivoks: trying that now17:44
a_c_m1its now looking for /var/www/demo/modules ?!?!17:45
ivokslooks like a bug in code, if you ask me...17:46
ivoksapplication code17:46
a_c_m1ivoks: i normally would agree. except for, that when the target folder is changed to /tmp/ it works17:47
a_c_m1?17:47
ivoksa_c_m1: and the target folder now is...?17:47
a_c_m1ivoks: /secure17:47
ivoksa_c_m1: try /var/tmp17:47
a_c_m1k17:48
a_c_m1nope17:50
a_c_m1same problem17:50
ivoksdoesn't work?17:50
ivoksnow try /var/tmp/17:50
ivoksnote the last /17:50
a_c_m1yeah, nope, same problem17:51
ivokshm17:51
ivokshave you tried with simple stuff?17:52
ivokslike php script that writes in /secure17:52
ivoksoutside of your application17:53
a_c_m1trying that now17:53
[Solars]ivoks is it possible to reinstall server without removing or deleting a specific diretory?17:56
ivoks?17:56
[Solars]i have a very large directry that would take 10-15 DVDs to backup17:57
[Solars]and i want to revert back to 32-bit apps with a 64-bit keneral17:57
greenfly[Solars]: only if it's on a different partition17:57
greenflyotherwise the installer is going to want to format the partition or at least write over it17:57
ivoksit doesn't have to be on different partition17:57
greenflyI suppose you might be able to tell the installer to not format17:58
greenflyand hope it doesn't clobber the directory17:58
ivoksyou can tell it not to format partition17:58
ivoksand rename the directory to /My_cool_backup17:58
greenflybut if it's the / partition there would potentially be a lot of residual files from the old install not wanted17:58
greenflyyeah you could definitely do something like that17:58
shoot^hey guys, i'm having big issues. My server just randomly crashes after a couple of hours: no errors in /var/log/messages, /var/log/syslog or /var/log/kern.log. It occured on Hardy, and now on an upgrade of Intrepid (which I did to try and fix the problem). Its an old box, with little RAM, but I wouldn't expect that to cause it to become unresponsive when doing very little ...any ideas?17:58
Faust-Cshoot^, sounds like hardware17:59
nat2610_I'm curious about ubuntu-server ... in terms of update / upgrade for the kernel, does it work like ubuntu desktop version ? you get a new kernel through apt, it changes grub and then at the next reboot, you boot on the new revision of the kernel ?17:59
shoot^Faust-C, indeed: but I had exactly the same hardware running Slackware with no problems for many years...17:59
mysticaloneIf I have no intentions of have remote connections to MySQL and intend for all scripts to connect locally to MySQL should I leave the bind 127.0.0.1 alone?17:59
shoot^Faust-C, any other logs I could check?18:00
ivoksshoot^: run memtest18:00
ivokscheck your memory18:00
Faust-Cshoot^, what ivoks said18:00
nat2610_shoot^, the RAM or the Hard Drive ... you might want to run a smart tools checking18:00
nat2610_it can be the hardrive that stop spining ...18:00
Faust-Calso if its a older system it could be PSU and something else18:00
shoot^ivoks, Faust-C nat2610_ ...OK, I shall run memtest... leave it running for a few hours...18:01
Faust-Cmemtest doesnt take that long18:01
nat2610_shoot^, smartcl would be a faster way to start18:01
Faust-Cbut i sincerly think its power18:01
Faust-Cwe have that happen on users systems all the time18:01
nat2610_does it power off ?18:01
shoot^nat2610_, when it crashes? No... no screen output at all when it happens (monitor attached for testing)18:02
shoot^have to hold the power in for 10 secs18:02
nat2610_it's not the hard drive ...18:02
nat2610_that would put some IO error18:02
Faust-Chmm not PSU then18:02
ivokscpu?18:02
nat2610_ivoks, possible ! if it's very hold ...18:03
shoot^ivoks, it *could* be, but it does boot and run for a while18:03
nat2610_how about overheating issue ?18:03
shoot^nat2610_, could be... but the box stays powered up18:03
shoot^again, its not doing anything intensive at the time18:03
ivoksshoot^: on older comps, bios didn't kill the power18:03
ivoksshoot^: is it amd?18:03
shoot^intel pentium, i believe...18:04
ivoksshoot^: like... pentium 1? :D18:04
shoot^in honesty, i cant remember... how embarassing! I bought if from a local school at the end of their upgrade cycle a few years ago18:04
shoot^probs pentium III18:04
=== mdz_ is now known as mdz
nat2610_shoot^, maybe the bios don't handle the ACPI18:04
ivoksshoot^: cat /proc/cpuinfo will tell you all you need to know :)18:05
shoot^nat2610_, i'll open it up, check the system fan (sounds like its on, noisy bugger)18:05
shoot^and check the RAM18:05
shoot^i should have some spare floating around somewhere18:05
nat2610_P3 are known to heat a lot ! check that the fans are clean, not making a weried noise ...18:05
nat2610_I would thing if it was the RAM you would have some kernel panic ... IO error ... but not a black screen18:06
shoot^the lack of errors makes me think it could be a hardware fault, but the fact it ran on slackware fine right up until the upgrade makes me wonder otherwise. Its got a wireless card in there too, running ndiswapper drivers. Blacklisted B43/B43Legacy/B44/SSB18:07
shoot^could that be a problem?18:07
nat2610_shoot^, to test that you would have to unload the module and left the box work for a couple of day  ...18:09
nat2610_btw ... anybody for my question ? Let me repost that ...18:09
nat2610_I'm curious about ubuntu-server ... in terms of update / upgrade for the kernel, does it work like ubuntu desktop version ? you get a new kernel through apt, it changes grub and then at the next reboot, you boot on the new revision of the kernel ?18:09
geniinat2610_: Yes, same process18:10
shoot^nat2610_, let me reboot my box and i'll look for ya18:10
shoot^or, genii will just answer first ;-)18:10
shoot^brb18:10
shoot``back :)18:12
zulivoks: bacula builds ok and runs ok on jaunty?18:15
ivokszul: builds on jaunty; i installed it only on intrepid18:16
ScixHow can i add a LTSP server as an option in a PXELinux boot file18:16
a_c_m1thanks for your help ivoks - still not sure WHY it was failing, but i managed to isolate WHAT was failing and cut it out18:16
ivokszul: will test it on jaunty too; why? problems?18:16
ivoksa_c_m1: so, application bug?18:16
zulivoks: nope just asking18:17
ivoksa_c_m1: if you feel strongly that it's a bug in apache, report it18:17
ivokszul: will test it18:17
a_c_m1ivoks: i'm still not sure whos fault the bug is, it was due to trying to move a file... rename worked fine, but Drupals http://api.drupal.org/api/function/file_copy/6 function didnt seem to be able to18:18
a_c_m1really really strange18:19
ivoksi'm not a web dev, so i hate php18:19
ivoks:D18:20
shoot``ivoks, 1ghz Celeron18:21
shoot``ivoks, ftw :D18:21
ivoks:)18:21
=== shoot`` is now known as shoot^
shoot^nat2610_, "SMART overall-health self-assessment test result: PASSED"18:28
nat2610_shoot^, did you run the long check too ?18:31
nat2610_you can check the /dev/ too18:32
nat2610_like the hard drives18:32
shoot^nat2610_, just the quick one...18:32
shoot^oki18:32
[Solars]ivoks what i was thinking of doing... move all the files /mykewlbackup, boot up with a cd, mount / and rm -rf everything but /mykewlbackup ... thens tart the install18:33
nat2610_but I don't think that's the HD ... as I said, that would popup some error and not crash everything18:33
ivoks[Solars]: and then choose not to format; right, that's ok18:34
[Solars]thanks Ivok, I'll get the new disk image and try that out18:41
uvirtbotNew bug: #301794 in samba (main) "Ubuntu 8.1 cannot connect windows share" [Undecided,New] https://launchpad.net/bugs/30179418:42
leonelScottK: http://svn.clamav.net/websvn/diff.php?repname=clamav-devel&path=%2Ftrunk%2Flibclamav%2Fvba_extract.c&rev=4311&sc=0    <--for the  current  clamav cve18:45
shoot^nat2610_, i'm just running ms18:47
shoot^^mtest18:47
uvirtbotshoot^: Error: "mtest" is not a valid command.18:47
shoot^nat2610_, how long do18:47
shoot^you think would be sufficient?18:48
nat2610_5-10 times the time it usually takes to die18:49
ScixHow can i configure syslinux to boot sendt a client to a LTSP server?18:49
shoot^nat2610_, ah... at times it lasts 4 hours, at times it lasts 2 days...18:49
nat2610_so a week maybe ...18:49
ivoksthere are also phoronix tests18:50
ivoksyou could stress test your hardware with it18:50
ivoksand those are great tests, if i may add18:50
shoot^nat2610_, : ah :-( ...its my development box. a week out would probably mean i should buy a new one, rather than lose productivity18:50
shoot^ivoks, would that speed the process a little?18:50
nat2610_it's hard to tell like that ... but at this point concidering the time you're going to invest to ...18:50
nat2610_exactly what I was going to write18:51
nat2610_I would retire it ...18:51
ivoksshoot^: i guess18:51
shoot^nat2610_, aye. I've been a hobbiest web developer for a long time, so the el cheapo solution was perfect... but now I'm trying to get a business on the go part-time...18:52
ivoksshoot^: it has memory tests which are faster than memtest, but probably not so detailed18:52
shoot^ivoks, ok.18:52
shoot^ivoks, i will leave mtest running when i go out this eve, maybe over night18:52
shoot^if it makes it to the morning without a crash, i think i will assume it is the ubuntu install. Maybe I'll try a completely clean install, maybe I'll go back to slackware...18:52
shoot^if that fails, new box time18:53
shoot^very little capital to invest in new kit at the moment... the new laptop is about all i could afford :)18:53
ivoksand never forget....18:53
ivoks'it's never Ubuntu's fault' :)18:53
shoot^lol, sometimes it just is... my old lappy ran Gusty just fine, but as soon as I upgraded to Hardy... no more laptop18:54
ScottKleonel: I think that's the one that's already fixed.  This latest one is in clamav-0.94\libclamav\special.c18:54
shoot^had to revert back to Gutsy after trying to get the graphics to play nicely for about a week18:54
ScottKleonel: If you look in the svn, it's the last code commit before the 0.94.2 release.18:54
ScottK(skipping all the release specific stuff, of course).18:55
leonelScottK: no cve for  special.c  yet  as I see18:56
ScottKleonel: I think there is no CVE for this security issue.18:56
ivokszul: yep, it works :)18:59
ivokszul: wow, i did a really good job :D18:59
zulivoks: cool yes you did, ill upload it as it is now and then we can fix it up a bit more later19:00
ivokszul: for next revision, we should look at how we can handle upgrade from intrepid19:00
zulivoks: yes we should19:00
leonelScottK:   found it  :  http://svn.clamav.net/websvn/diff.php?repname=clamav-devel&path=%2Ftrunk%2Flibclamav%2Fspecial.c&rev=4483&sc=019:01
ivokstake care guys19:02
ScottKleonel: That looks like it.19:03
leonelScottK:  for intrepid  too ?? or it will get  0.94.2 ?19:04
ScottKleonel: Intrepid will get 0.94.2.19:04
leonelok so only for  hardy gutsy dapper ..19:05
ScottKYes.19:05
ScixHow can i configure syslinux to sendt a client to a LTSP server and boot?19:32
mysticaloneI have ISPConfig installed, I don't have any users or whatever on it. BUT when I point my browser to the server, not ISPConfig, I get the Apache "It works!" text. So I tried accessing it by FTP but can't20:17
mysticalonedo I set the box on fire and run?20:18
axisyshow do I check the hardware raid stat ?20:27
geniiScix: You mean you want to boot a floppy with syslinux, then have it PXE bootstrap itself off some thin server?20:38
geniiBah20:38
The-Kernel1that sounds totally awesome!20:39
geniiThe-Kernel1: Well, some old bios don't allow for PXE boot, but you can make a floppy which does this20:39
The-Kernel1what abotu a USB drive?20:41
The-Kernel1floppy is unrealistic these days20:41
geniiWell, I imagine you could use any medium. However, the method to make the pxe-boot floppy usually involves getting a 1.44 image from boot-o-matic or so20:43
geniirom-o-matic, rather20:44
linuxnewbeHi .. I've a little site and I want to put it online on a ubuntu server21:06
linuxnewbethere is any security issue?21:06
linuxnewbesomeone can tell me how to understand it there could ba any problem?21:07
linuxnewbeIt will be a LAMJ system21:09
linuxnewbeno answer...21:14
linuxnewbewhere can I have information?21:14
antdedyetlinuxnewbe: why do you think there would be a problem?21:14
antdedyetlinuxnewbe: you might want to check the ubuntu server guid for setup advice21:15
antdedyets/guid/guide21:15
antdedyetlinuxnewbe: http://doc.ubuntu.com/ubuntu/serverguide/C/21:15
Ahmucki noticed in manual partitioning one could set up "user quota" type of partitions.  is it to late to do so after partitioning has been done?21:18
antdedyetAhmuck: with ext2 you could add quota afterwords... however I haven't tested it in years.21:19
renton_hello do you know a ready-to-uso IP blacklist to block all junk stuff like facebook, msn messenger and so on from office? thanks21:23
geniirenton: Much of that has not much to do with IP but protocols21:40
geniibah21:40
frojndHello there21:53
frojndI have a little problem sending mail with php function mail()21:53
frojndThe guys at php told me that this has to do with MTA - mail transfer agent21:53
frojndso where can I configure MTA so mail function will be active :) and mail will be send to a certain location ?21:54
frojndWaky waky :D21:55
Ahmucki'm on ext321:55
ScottKfrojnd: There are quite a number of MTAs in Ubuntu.  Which are you using?22:21
keesmathiaz: if you can create a small reproducer for the mysql math problem, I'd bet doko would be very interested22:33
mathiazkees: right - that's what I was thinking about22:33
mathiazkees: I guess it should be a C program22:33
* kees nods22:33
uvirtbotNew bug: #304574 in nagios2 (universe) "package nagios2-common 2.11-1ubuntu1.3 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/30457422:47
TheBeastI just installed mysql-server-5.0 and I'd like to have remote access to the database23:20
TheBeastunfortunately I get an error message saying that I'm not allowed to connect23:20
domasTheBeast: go to #mysql and type 'external' ;-)23:20
TheBeastah23:20
domas(I hope I was seen as helpful ;-)23:21
Eeyore-Jri've asked this here before, but would like a yes/no answer.  is there a way to enable disk quota's for the /home directory without going through setup again and manually enabling that partition as "quota"23:29
geniiEeyore-Jr: man edquota23:33
geniiEeyore-Jr: Also quotaon23:35
Eeyore-Jrk, thx23:37
jmedinaEeyore-Jr: not if /home is under the / partition23:37
Eeyore-Jrit's not.  it's seperate23:38
Eeyore-Jri'd like to limit each user to 8 gb23:38
jmedinagood23:38
jmedinathen mount your /home partition with user quotas23:39
Eeyore-Jri noticed when i was partitioning that there was an option to create "quota accounting" on the partition rather than ext323:40
Eeyore-Jrunfortunately, i enabled ext3, as i was in a hurry23:40
Eeyore-Jri assume it doesn't matter23:40
Eeyore-Jras the format.  so i'm hoping that genii suggestion will "convert it"23:40
jmedinaEeyore-Jr: have you read the quota howto?23:43
jmedinaI have a recipe but is in spanish23:43
Eeyore-Jrno.  i'll look for it23:45
Eeyore-Jri need to create a recepie?23:45
domashehe23:47
domasyou can even mount with -o remount23:47
domasso you won't have to unmount23:47
domasdamn, I didn't use quotas for 10 years :)23:48

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