/srv/irclogs.ubuntu.com/2010/10/02/#ubuntu-server.txt

euxneksdang, now my server is hanging on "modprobe: FATAL: error inserting padlock_sha"00:03
euxneksnevermind, found a thread with a solution: http://ubuntuforums.org/showthread.php?t=152133600:04
uvirtbotNew bug: #644009 in nagios3 (main) "package nagios3-common 3.0.6-2ubuntu1.1 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/64400900:07
sorush20hi00:14
sorush20I'm installing joomla, I need to know how to install ftp..00:16
demonsporksorush20, best is to use sftp00:17
demonsporkit might already be there unless I missed something when I was installing my server00:18
demonsporkI never installed it but I use it all the time00:18
=== ivoks is now known as ivoks-afk
=== jjohansen is now known as jj-afk
uvirtbotNew bug: #647600 in mysql-dfsg-5.0 (universe) "package mysql-server-5.0 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/64760000:48
qman__demonspork, sftp is part of openssh00:56
qman__it is not installed by default00:56
demonsporkah, I guess I did set up openssh-server00:56
demonsporkI didn't think of that00:57
demonsporkin the meantime, I am trying like 5 different monitoring and graphing solutions and I have been dissappointed by all of them thus far00:57
demonsporkI Can't even get munin to work~~`00:57
qman__in any case, FTP is always a bad idea00:58
qman__see: http://mywiki.wooledge.org/FtpMustDie00:58
qman__just so you know, SNMP is not secure and should only be used on physically secured networks00:59
qman__it doesn't open any holes by itself, but it gives an attacker every bit of information it gives you01:00
qman__basically, SNMP shouldn't leave the server room, and definitely shouldn't be used on the same network as any wireless access points01:02
qman__as far as suggestions for software to use, I don't use any on my network, but I've used nagios in the past to decent effect01:03
qman__I wasn't impressed with cacti01:04
demonsporkyeah, it is implemented on localhost01:06
demonsporksee, my issue is that I am on a single server that I simply would like to monitor the local network port usage, generate some simple graphs about it and generate some graphs of CPU usage01:11
demonsporkall of these monitoring systems are like YEAH WE CAN TALK WITH LIKE 200 DIFFERENT SERVERS AT ONCE AND SEE WHAT IS GOING ON BETWEEN THEM AND YOU CAN HOOK ME UP TO YOUR REFRIGERATOR AND GRAPH THE TEMPERATURE01:12
demonsporkNO01:12
demonsporkDO NOT WANT01:12
qman__well, that's what they're for01:12
qman__aggregate statistics01:12
qman__you just want to monitor one server01:12
demonsporkyeah01:12
qman__for network usage, I use vnstat with the php frontend01:12
demonsporkcan that differentiate between usage on connections on different IP addresses on the same physical adapter?01:13
qman__no, vnstat is for total bandwidth used01:13
qman__there are other softwares though for per-IP usage01:14
qman__trying to think of one in particular01:14
demonsporkso I just spent like 2 days looking at stuff that is waaay more powerful than what I need, but at least the exposure could be useful in a year or 201:15
demonsporkdamnit, I just found an article with a list of what I need01:20
demonsporknow I at least know the stuff to stay away from01:20
demonsporkhow do I gather data about how bad my host's static DNS is?01:26
demonsporkhmm, nvm01:30
demonsporkit looks like they may have actually fixed it01:30
demonsporkwhen I first installed this server, I set up their static DNS, supposedly on site servar, for lookups. The lookups took 4-5 seconds to complete, especially reverse lookups, so a lot of things that use reverse lookups would just time out during login01:31
demonsporkI quickly changed to 8.8.8.8 and 8.8.4.8, google's servars01:31
demonsporkjust because they was easy to remember01:31
demonsporkand now I am testing them out, and their servers seem to be responding quickly now, within 0.016 seconds per lookup01:32
demonsporkwith the known previous issue, should I probably just stick with the google DNS or should I switch back to the on site and just write a script that checks the response time every 10 minutes and switches back to the google DNS if it takes too long for response?01:33
demonsporkis the extra .05ms worth it?01:34
uvirtbotNew bug: #653357 in samba (main) "package samba-common-bin 2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/65335701:41
DravekxI chrooted my users in their home directories. why would that cause php to stop working?01:42
uvirtbotNew bug: #653362 in dovecot (main) "package mail-stack-delivery 1:1.2.12-1ubuntu7 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/65336202:01
SpamapSseems like dovecot has a ton of bugs lately02:04
Patrickdkheh, googles dns servers cache the crap out of things, way more than I think they should02:11
SpamapSPatrickdk: they're pre-caching02:11
PatrickdkSpamapS, what version of dovcot?02:11
SpamapSPatrickdk: they've publicly stated lately that they are trying to cache nearly the entire DNS map.02:11
Patrickdkoh, 1.2.1202:11
PatrickdkSpamapS, ya, I'm always getting stale as crap responses from google dns02:12
demonsporkDravekx, because the PHP binaries and all of the dependencies of such must be inside the chroot, there is no way for the user to use them unless they can see the binaries02:12
Patrickdkso I don't use them anymore02:12
SpamapSPatrickdk: stale? they're not stale if they're inside the TTL02:12
SpamapSwtf.. AT&T isn't letting my tethered android t-mobile phone connect on port 443. How lame.02:15
* SpamapS is so happy they allow port 2202:15
RoAkSoAxkirkland: ping?02:22
uvirtbotNew bug: #653370 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/65337002:36
RoyKimho there is one reason not to use ubuntu - zfs02:37
zanthirHello?02:50
zanthirI screwed up my OpenSSH-server install and would like to start over. Is there a command for that? Something like 'sudo aptitude uninstall openssh-server' or something?02:51
RoyKapt-get remove --purge ssh02:52
zanthirsweet02:52
zanthirYou're my hero royk!02:52
RoyKthen just rm -rf /etc/ssh just to make sure it's gone02:53
zanthirsure02:53
zanthirwhat does the -rf argument mean?02:53
RoyKman rm02:53
zanthiroh, right.02:53
zanthirhuh?02:54
RoyK-r == recursive, -f == force02:54
RoyKapt-get install ssh will recreate that part02:54
zanthirshould I do that, or open ssh?02:54
RoyKif you don't want to remove it, move it somewhere else02:55
RoyKif you're on a remote site, be careful02:55
zanthirI'm not. I'm at home.02:55
RoyKif you have local accesss to the box, no probs02:56
zanthirRight. That's the case.02:56
* RoyK rarely tells people to do destructive things02:57
zanthir*shrug*02:57
zanthirWorst case, I start over from scratch. I haven't set anything up successfully yet. Lol.02:57
RoyKdpkg/apt can be picky sometimes02:58
zanthirI'm using openssh-server instaed of ssh. You meant that though, right?02:58
RoyKanyway - if apt dosn't generate new ssh keys, you can do it yourself02:58
RoyKssh is an alias02:58
zanthiroh.02:58
zanthirso either would have worked, even for the dir?02:59
RoyKjust remember --purge to remove the old bits02:59
zanthirright, did it. Seems to have worked.02:59
zanthirtesting now.02:59
zanthirhey, it worked!03:01
RoyK:)03:01
zanthirI mean, it would have worked the first time if I wasn't trying so hard, lol. I was following some guide and went in and was changing settings around, which I later found out is unnecessary, that it just works out of the box.03:01
zanthirYup, totally works. Thanks again.03:12
RoyKnp03:17
Dravekxwhen I have package updates and security updates, which is recommended: aptitude or apt-get?03:20
qman__either is fine, the recommendation is to pick one and stick with it for everything03:21
qman__most people here use and will supply help using apt-get03:21
demonsporkwoo, I just install the hp utilities for monitoring my ProLiant server03:21
knollsi'm installing ubuntuserver right now, i selected to install security updates automatically.. anyone think that might be a problem?03:21
demonsporkI CAN FINALLY SEE TEMPERATURE INFO03:21
demonsporkknolls, I usually don't simply to keep kernel updates out until I am ready for some downtime for restarts, I don't know for certain but I am pretty sure it is not a good idea to install a kernel update and then not restart the computer with the new kernel for a year03:23
Dravekxknolls, i always use manual. Someone once told me it wasn't wise to auto install updates. I'm not sure if that is correct, but manual works for me.03:23
qman__demonspork, it has no effect03:23
qman__newly installed kernels simply won't be used until reboot03:23
knollsdemonspork: Dravekx: manually doing it works for me too, i thought that 'security updates' would never include anything that makes me reboot03:24
qman__it isn't wise to auto install updates if you're in an environment where downtime is not an option03:24
demonsporkyeah, but what about the kernel headers, when you build stuff against the kernel can it cause issues when the new headers are already installed but the new kernel isn't in place03:24
qman__however, for me, automatic updates are the better choice03:24
qman__because doing it manually, I tend to be lazy and forget to do it03:24
knollsdowntime isn't a problem, as long as it's back up without any issues that i need to spend time sorting out03:25
qman__demonspork, you shouldn't be building stuff on a production server anyway03:25
demonsporkgood point03:25
demonsporkhow much of a performance hit is a pae kernel instead of generic or something?03:25
qman__significant for high performance computing, such as gaming or crunching numbers03:26
qman__but for most uses the extra RAM is worth the hit03:26
demonsporkwell, I have 3GB of ram and the installer automatically gave me a PAE kernel03:26
demonsporkI didn't even think about it03:27
demonspork~~`03:27
qman__it does on all systems by default now03:27
demonsporkk03:27
DravekxI found this: aptitude will automatically install "recommended" packages, while apt-get only installs "depended" packages. So with aptitude you might get a bit more bulk/features.03:28
qman__at least every system I've tried, regardless of how much RAM is available or can be installed03:28
qman__Dravekx, that's an option for both03:28
demonsporkI run a minecraft server and then a multithreading cartographer image generator that takes 5 hours to run with 3 threads. The minecraft server can only run a single thread, so would moving away from a PAE kernel help me when the minecraft server is at 100%03:28
qman__apt-get --no-install-recommends03:28
Dravekxahh. thx03:29
qman__I think -R is synonymous, but double check03:29
qman__it's also configurable in /etc/apt03:29
demonsporkbecause I can't get more than the 3GB in this server03:29
qman__demonspork, you'll probably see a minor performance gain with non-PAE, but you'd have to measure to check03:30
qman__worth trying in my opinion03:30
demonsporkso how do I measure?03:30
qman__choose a given task that takes considerable, consistent time to do03:30
qman__time it with the time command03:30
demonsporkthe next image generation starts in 4.5 hours03:30
qman__install the other kernel, boot from it, repeat03:30
demonsporkoh, consistent time03:30
demonsporkdarn03:31
demonsporkdo you have any good examples of tasks03:31
qman__that would be the only way to get accurate results03:31
qman__you could just switch and see anecdotally if it helps03:31
qman__you can always switch back03:31
demonsporkyeah, but it is unlikely that anything will break?03:31
qman__yeah, you only have 3GB of RAM anyway03:32
demonsporkok, so I am going to include that in my downtime soon03:32
qman__unless you have some other device that requires significant address space03:32
qman__if you had exactly 4GB, you'd lose some03:32
qman__but not with 3GB03:33
demonsporkk03:33
qman__the way it works is, you only have 4GB of addressable space, so that includes RAM and all other devices that need to be addressed like memory03:34
qman__some applications have a lot more than RAM, but typical PCs don't have more than 512MB of 'other' stuff03:34
demonsporkwell, now that I am monitoring my total bandwidth usage I can figure out if I am safe moving to the faster, metered port for my server03:35
demonspork:)03:36
demonsporkI can also tell the temperature of my server03:36
demonsporkbut I can't get the HP management interface to work03:36
demonsporkI don't even know where any config files are for it03:36
demonsporkthe hpsmh thing03:38
demonsporkI don't know where to find documentation on running it03:38
qman__yeah, I've got a compaq proliant, never figured out how to really do anything with the tools beyond installing them03:38
qman__it quieted the fans down, good enough for me03:38
demonsporkoh shiii, would it03:39
demonsporkdamnit03:39
qman__went from hearing damage to vacuum cleaner03:39
demonsporkI could have put this server in a closet on a T1 --- for free --- if it had been quiet enough03:39
qman__still not something you want to sit next to for extended periods03:39
demonsporkwhen I had it sitting in my basement while I was configuring it I wore noise cancelling headphones when it was on03:39
demonsporkahaha03:40
demonsporkRED, the movie, looks awesome03:40
uvirtbotNew bug: #653405 in rabbitmq-server (main) "package rabbitmq-server 1.7.2-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/65340504:06
tacomastercan you point a dns server to its self as a nameserver?04:17
qman__yes04:18
tacomasterok ty04:18
Dravekxanyway to jail users with access to php so chroot is their userdir public_html?04:29
DravekxI can jai them sftp, but then php access is denied.04:30
Dravekxjail*04:30
qman__that's because php runs as www-data04:32
qman__I'd suggest jailing them to their home directory, and having them cd into public_html04:33
Dravekxqman__, I have them jailed at the moment, but they can cd all around the system.04:33
qman__then they're not jailed04:34
Dravekxmaybe not 'jailed'04:34
Dravekxyeah. hmm.04:34
Dravekxqman__, should I use jailkit? Im looking for a good secure way to accomplish this.04:36
qman__no, it's overcomplicated now that ssh has it built in04:36
Dravekxok04:37
=== rgreening_ is now known as rgreening
Dravekxqman__, what do I set the user's shell to? it says /bin/false... but that isnt right.04:50
qman__that won't work with ssh, you need /usr/sbin/nologin04:52
Dravekxah04:52
Dravekxalmost.. getting the BASH error again.04:54
qman__did you change the 'subsystem' line to internal-sftp?04:56
Dravekxlol no.04:57
qman__#Subsystem sftp /usr/lib/openssh/sftp-server05:05
qman__Subsystem sftp internal-sftp05:05
_Techie_when recreating the grub.cfg, is the command sudo update-grub2 ?05:09
qman__IIRC sudo update-grub05:10
Dravekxqman__, yeah.. got it. :) nice! it works.05:10
Dravekxphp is working too, which is odd. It wasnt before.05:10
demonsporkwoo, final setup that does everything I want (except temperatures, because custom HP softwares) is Splunk for monitoring logs, events, processes, netstat and stuff, and BandwidthD for reporting on bandwidth usage on a per IP basis05:16
demonsporknow I just need to write some codes that will generate reports that Splunk can use or monitor05:17
DravekxI've heard good things about Splunk.05:18
DravekxI love the tagline too. lol05:18
Dravekx"Finding your faults just like mom."05:18
demonsporkyeah, I was warned ahead of time that they won't stop trying to contact you when you sign up to download05:19
demonsporklike call the number you are required to give05:19
demonsporkand they have already sent like 3 emails to the account I signed up with05:19
=== _hasan-H is now known as hasan-H
demonsporknow I need to find out what options get disabled when switched to the free05:19
Dravekxsounds like Microsoft when you download any of their trials.05:20
demonsporkso, how do I make it so that not just anyone can connect to my splunk once the enterprise trial runs out?05:48
uvirtbotNew bug: #653424 in rabbitmq-server (main) "apport bug reports for rabbitmq should include /var/log/rabbitmq/startup_log" [Undecided,New] https://launchpad.net/bugs/65342406:06
qman__good question06:16
qman__since it doesn't use apache (I'm guessing?) I'd resort to a firewall rule only allowing connections from your computer06:16
qman__if that's not acceptable you could install a proxy, and only allow connections from that, and use htpasswd authentication on the proxy06:17
qman__or you could make it only allow connections from localhost, then use an ssh tunnel06:18
demonsporkqman__, the ssh tunnel is the one I hadn't thought of yet, thank you06:26
demonsporkGAH, COMPUTERS: HOW DO THEY WORK06:27
Dravekxdemonspork, you start,it works for a while (if you make it that far), it fails, and you start over. welcome to computers. :)06:32
Dravekxthe thing I hate, is when you read and follow something, then it fails because the 'information' was invalid... so then you are stuck with garbage all over your server. LOL06:35
demonsporklol06:37
toolboxhi i am having some problems with fetchmail daemon can anyone advise?08:51
knollswhen a particular domain name is sent to my hosting server, is there a way to open the site in a particular folder inside of /var/www instead of going directly to /var/www?09:46
knollsi'm using ubuntu-server with apache2 php5 sql-server and webmin is installed and working too09:47
=== AntORG_ is now known as AntORG
=== [1]iclebyte is now known as iclebyte
qman__knolls, that's done with your virtualhost configuration10:21
qman__to have a site show up based on domain name, use <Virtualhost www.example.com:80>10:22
qman__also10:22
qman__!webmin10:22
ubottuwebmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead.10:22
_Techie_if you however do still choose to use webmin10:23
_Techie_never cloes the window while installing updates10:23
_Techie_close*10:24
knollstyvm qman__ & _Techie_10:45
uvirtbotNew bug: #653499 in lm-sensors (universe) "sensors report temperature of only one core" [Undecided,New] https://launchpad.net/bugs/65349911:06
=== [1]iclebyte is now known as iclebyte
=== Mak_ is now known as MakX
=== _Techie_ is now known as _TechAway_
kinygoshi..i wonder if anyone could spare a few moments...i've been trying to install RAID on my remote server which has no access to external media, but came with a 2nd physical disk in the box (not partitioned or mounted)...i've partitioned the second disk to match the first, configured degraded raid partitions on in, mounted each partition and copied all data across...i'm now struggling to install grub with Error 1513:31
kinygosi'm at a loss as to where to turn...the / partition on my raid image contains /boot/grub/stage1...but clearly grub cannot see it...am i trying to install grub at the wrong time?13:33
qman__I'm not sure with grub2, but with grub1 you had to change the config to match the new disk configuration13:35
kinygosi've pasted output from mount, fdisk -l, and the errors i get with grub to http://dpaste.com/251965/13:35
kinygosqman__: it is grub 1 i'm trying to use....do you mean the grub config?13:36
qman__grub2 is the default since karmic13:36
qman__not a big fan myself, but that's beside the point13:36
qman__pretty sure grub needs to know your new root disk in the config13:37
qman__the UUID13:37
kinygosgrub-install -v tells me i'm running version 0.97 :(13:38
kinygosso legacy grub13:38
qman__ah13:38
qman__well then, you need to change the root= in /boot/grub/menu.lst to your raid device13:38
qman__it's (presumably) set to the UUID of /dev/sda right now13:38
qman__then sudo update-grub, and reinstall it to the mbr13:39
kinygosqman__: thank you very much :) i'm looking at menu.lst now...13:39
qman__it's a risky move without physical access though13:40
qman__if it doesn't work you'll have to have them fix it for you13:40
kinygosi have a lights out box with remote access...i won't touch the file on sda, only the one on my raid13:41
qman__ah, should be fine then13:42
qman__you can always manually edit the menu for one-time boot to recover13:42
RoyKkinygos: still fighting, are you? :)13:48
RoyKkinygos: tried chrooting into /raid yet before installing grub?13:48
kinygosRoyK: i am indeed :(  i did...but when i do that, it says it doesn't invalid device request13:50
kinygosRoyK: sorry, it says the Selected Disk does not exist when i try to root (hd1)13:50
RoyKis /proc mounted in the chroot?13:52
RoyKchroot /raid; mount /proc; grub-install ....13:52
kinygosit is, but it's empty!!13:52
RoyKthen it's not mounted13:52
kinygoslol13:52
RoyKmount /proc and try again13:53
kinygoswoah....13:54
kinygosthat's a new one on me...didn't know i had to do that...it's not got lots of stuff in it :)  brb13:54
* RoyK shrugs13:55
kinygossame issue :( root (hd1,5), Error 21: selected disk does not exist13:55
RoyKkinygos: pastebin cat /proc/partitions13:55
kinygosRoyK: http://dpaste.com/251977/13:56
RoyKkinygos: what is the grub-install commandline you're using?14:00
kinygosi wasn't using grub-install...i was entering grub to get a grub prompt, then entering 'root (hd1,5)14:01
RoyKuse grub-install /dev/sdb14:01
kinygosok14:01
kinygosbrb14:01
kinygos/dev/sdb: Not found or not a block device14:02
RoyK/etc/init.d/udev start14:02
kinygossame error on grub-install14:02
RoyKor just install it from outside the chroot14:02
RoyKit shouldn't be a problem14:03
kinygosok...one sec14:03
RoyK/dev/sdb is in /proc/partitions, so it should be there indeed14:03
kinygosok, no error reported, and confirmation that (hd1) is /dev/sdb...14:03
kinygosi'll try and boot off that disk14:04
kinygos:(14:13
RoyKdidn't work?14:14
kinygosi don't think so, now14:14
kinygos*no14:14
RoyKcan't you just go there and insert an ubuntu CD yourself?14:14
kinygoson boot up, grub listed the uuid of for hd014:14
RoyKchange the uuid to the device name (/dev/mdsomething)14:15
kinygosRoyK: unfortunately not :(  i've asked if they can just keep a disk in there for me with the cd on lowest boot priority14:15
RoyKthe uuid will be different on a new filesystem14:15
kinygosi did that on the menu.lst in the raid partition14:15
RoyKadd a new entry on the current grub install with the mdsomething partition14:16
kinygosok14:16
kinygosand select it from the grub boot menu...ok14:16
kinygosbizarre, my raid partitions are not mounted...they were when i previously connected14:17
kinygoscd ..14:17
kinygos(lol..oops)14:17
RoyKkinygos: you have rebooted .... if they aren't in /etc/fstab, they won't be mounted automatically14:17
* RoyK sends kinygos to a linux newbies course14:18
kinygosRoyK: ah, rebooted...lol, i only logged out last night :)14:18
RoyKkinygos: no, you just tried to reboot the host where you're trying to make this raid thing14:19
kinygosRoyK: my raid partitions have been renamed...now they're /dev/md_d5 instead of /dev/md5...14:21
kinygosRoyK: does that suggest that i've made a blunder somewhere?14:22
RoyKdo you have /etc/mdadm.conf in there?14:22
RoyKIIRC that's deprecated14:22
kinygosi have /etc/mdadm/mdadm.conf... http://dpaste.com/251986/14:23
RoyKwierd14:24
RoyKI've seen that come up earlier, though14:24
kinygos/dev/md5 is mysteriously missing from there, but they are all called /dev/md_d6 according to fdisk -l14:24
RoyKtry changing the grub config to use those UUIDs14:24
RoyKnever mind the device names14:25
kinygosok14:25
kinygoshmm, those uuid's have a different format to those in /boot/grub/menu.lst14:27
RoyKtry it anyway14:27
RoyKor perhaps try to remove the :'s14:27
kinygosmenu.lst has 51a0c59f-d9bf-4728-bfa3-eb5edaadc93c, mdadm.conf has 890e84df:49191669:92060f38:876c292114:27
RoyKiirc the uuid is just a string14:27
RoyKhttp://en.wikipedia.org/wiki/Uuid14:28
kinygosrebooting now14:29
kinygosok, selected the entry i created, it says file not found :(14:30
kinygosthere should have been an entry in mdadm.conf for /dev/md514:30
kinygosthat's the /boot partition in the raid14:30
kinygossorry...that's the partition that was mounted on /boot in the raid14:31
RoyKsorry, I don't think I can be of much more help.....14:31
kinygosRoyK: you've been very helpful though...i have learnt a few things...i really appreciate your help and efforts14:32
RoyK:)14:32
RoyKkinygos: my advice is to go to the datacentre and install the box with 10.04 by hand14:33
RoyKkinygos: you've spent days trying to figure out this, and may possibly spend more days without much success14:33
kinygosRoyK: indeed, and leave the cd in the drive for future use :)14:34
RoyKindeed14:34
RoyKthey probably won't charge you much as long as you do the work yourself14:34
RoyKbut then, they might tell you 'it's not supported by them', but screw that14:35
kinygosindeed...although i have a long way to go before the server is ready for my application, and i may need a rebuild....i mean, i have to create users, install and configure apache, install and configure postgresql...14:35
RoyKThere are two types of sysadmins, one that wants everything supported so that (s)he can blame someone when something goes wrong, and the other, that just sets up systems that don't fail that easily, and that knows what to do when they fail14:36
kinygosi don't like logging into the server with root14:36
RoyKkinygos: just learn as you go14:36
kinygosRoyK: i've learnt so much in the last week, really good stuff, and the people in this channel are awesome :)14:37
RoyK:)14:37
RoyKalso, read through the bits you need in the ubuntu server guide14:38
RoyKit's quite good14:38
kinygosi'm totally on my own here with the technology in the business...and i'm a developer at heart14:38
kinygosomg...i didn't realise that was available online !!14:39
RoyKwell, unix (or linux) may seem hard from someone that doesn't understand it, I know that, but once you understand how it works, it's quite nice to work with14:39
RoyKhehe14:39
kinygosi've already seen that (even though i've not had so much success with raid)14:40
RoyKeverything is online these days :D14:40
* RoyK installed his first linux box back in 1994 and most stuff wasn't very online at that time..14:40
kinygosanyways, RoyK, i've taken too much of your time today, i'm going to try a few more things and probably be back here tonight again14:41
kinygosi installed my first one around then too, on a sun box, was challenging...compiling the kernel to get apache in there...blimey14:42
RoyKkinygos: if you can take a few hours free monday, got to the datacentre and install the box from scratch. it will save you a lot of headache14:42
kinygosindeed...i do feel like i'm close though...14:43
kinygosand will be so gratifying if i manage it :)14:43
RoyKI've seen that md device naming problem somewhere before14:44
RoyKgoogle for it14:44
kinygosi will indeed14:44
kinygosRoyK: lol..it gets better...i have a sneaking suspicion that the server doesn't have a cd-rom drive...i'll need to use a usb memory stick!!14:53
RoyKkirkland: you can probably use an usb cdrom14:54
RoyKor even burn the iso to a stick14:55
pankaj_sharmaanyone here15:07
RoyK 15:09
pankaj_sharmacan anyone give me the link for how to setup mailserver15:12
RoyK!guide15:13
RoyKpankaj_sharma: the ubuntu server guide has a few things about that15:13
pankaj_sharmatelnet smtp.google.com 25 why doesnt this work?15:22
lnsk hi,i had setup a djbdns resolver in my machine. how can i add some static entries to the dnscache ?15:48
c3lIf I want to run ubuntu on my server. is it smarter to go with the 10.04 LTS, than the newer 10.10 soon released? Im probably not going to reinstall it frequently, so having lts is nice, but do I still get all software updates etc.?16:55
ScottKc3l: You will get security updates and important bug fixes on 10.04, but that's it.16:56
ScottKThe point of having a release is to give people a stable system to use, so we don't generally update it.16:56
ScottKThere are sometimes new versions of packages available in backports.16:56
incorrectbest dynamic dns service for a server?16:56
ScottK!backports16:56
ubottuIf new updated Ubuntu packages are built for an application, then they may go into Ubuntu Backports. See https://help.ubuntu.com/community/UbuntuBackports - See also !packaging16:56
ScottKincorrect: Really no such thing.  Best not to need dynamic DNS for a server.16:57
c3lah, so no newer versions of software, only bug and security fixes?16:57
incorrectScottK, true, however i am being a cheap stake and moving to a broadband service with no static ips16:57
ScottKYes.16:57
ScottKincorrect: No idea then.  Dynamic DNS can never get but so good.16:58
incorrectwell there have been plenty of services that have worked16:58
ScottKc3l: Except for backports (and a very few more general exceptions for bug fix updates), no.16:58
incorrectjust some work better than others16:59
incorrecti just want to find my server easily to vpn back home16:59
c3lScottK: okay, thanks. what's recommended to run on my server, the latest lts or the latest stable?17:00
ScottKc3l: The same will be true for 10.10 once it's released.  The big difference is that you can stick with 10.04 for longer without upgrading it.17:00
ScottKc3l: It really depends.  Unless you really need functionality from newer releases, most people use the LTS for servers.17:00
RoyKc3l: run an LTS release for a server - 10.04 is the latest - 8.04 also works well if you're worried about stability17:00
amarcolinohi anyone can direct me, got two machines that I want to turn into a load balancing cluster, on them will run vm images hosting low traffic websites, any information that can be provided on how to achieve this and keep them in sync?17:01
amarcolinohi anyone can direct me, got two machines that I want to turn into a load balancing cluster, on them will run vm images hosting low traffic websites, any information that can be provided on how to achieve this and keep them in sync?17:01
amarcolinosorry for that17:01
RoyKScottK: security updates and bugfixes for 10.04.1, yes, but you can update to 10.04.2 with slightly more recent versions when that comes17:02
c3lmaybe I should look into debian too. what is your, ubuntu folks, arguments for using ubuntu rather than its parent debian?17:02
ScottKRoyK: All 10.04.2 will be is the bug fix and security updates already released for 10.04.1.17:03
_aegisc3l: more frequent updates17:03
RoyKc3l: ubuntu and debian is basically the same, but some newer stuff are in ubuntu17:03
ScottKc3l: Ubuntu is also better at proactive security changes.17:03
c3lbut if im going for long term stability, the more frequent dist updates wont affect me17:04
c3looh17:04
RoyKScottK: not really - 10.04.1 will be supported, but only for bugfixes, whereas 10.04.2 will contain slightly newer code with potentially new functionality, albeit no psql9 or so17:04
ScottKRoyK: No.17:04
ScottKThe point releases are just redone ISOs to make it possible to install without having to do a bazillion updates after install17:05
RoyKScottK: and saying that ubuntu is more proactive on bugfixes is a bold statement17:05
ScottKThere is no difference between (for example) a 10.04 install with all updates applied and 10.04.1 with all updates applied.17:05
ScottKRoyK: That isn't what I said.17:05
RoyKc3l: if in doubt, run 8.04, it works17:05
ScottKIf you look at https://wiki.ubuntu.com/Security/Features and then look at Debian you'll find that Ubuntu is far ahead on security features.17:06
c3lRoyK: or debian :)17:06
ScottKAlso 10.04 is far ahead of 8.04 in terms of security features too.17:06
RoyKindeed17:06
RoyKc3l: I prefer ubunt myself, 8.04 on servers that I need to trust17:06
ScottKSo unless there is a specific issue that someone is having with 10.04, I wouldn't recommend 8.04 anymore either.17:06
RoyKit's well tested - it works17:07
c3lRoyK: out of curiousity, why? (inputs and thoughts from different people is always nice)17:07
c3lso is debian, afaik its considered the most stable distro out there17:08
RoyKc3l: 8.04 is very well tested, 10.04 has only been around for half a year17:08
amarcolinoanyone here can provide me information on how to approach my problem17:08
RoyKdebian can be a little troublesome if you need new software17:08
c3lRoyK: how would you get new software on lets say 8.04?17:09
ScottKFor pure stability, I would agree that Debian is very good.  I wouldn't argue Ubuntu is better, but the combination of better security features and newer releases make Ubuntu a better server platform for me.17:09
_aegismy 8.04 LTS system got destroyed through the upgrade to 10.04...17:09
ScottK_aegis: Did you file bugs about it?17:09
c3l_aegis: never do dist upgrades ;) backup and reinstall17:09
* ScottK has done several 8.04 -> 10.04 upgrades without issue.17:09
RoyKc3l: you don't, but it's easier to ugrade to a new release than with debian, which releases a new version quite rarely17:09
c3lyeah, thier release cycle is really long17:10
_aegisScottK: Didn't have a system to do that on (nor the time when I had to spend days trying to recover data)...  I did see that the problems were well documented on launchpad...17:10
ScottKc3l: Why do you recommend reinstalling?  Personally the only time I've ever had problems upgrading servers is when I knew I was doing something risky.17:10
RoyKjust to clarify: I use 8.04 for things that needs to work and where old software works well, say dhcp or dns servers. I use 10.04 for everything else17:10
ScottK_aegis: OK.  It's good you checked.17:10
c3lScottK: youre basically the first one ive talked to that have not had trouble with dist upgrades :)17:11
ScottKInteresting.17:11
RoyKwe have 20ish servers on 10.04 - the only problem I've seen so far is that it doesn't have g7717:11
ScottKMy test server is running 10.10 already (upgraded from 10.04 without issue)17:12
c3loh, cool17:12
RoyKI was talking about production servers, not test boxes17:12
ScottKSure.  My production systems are 10.04 all upgraded from 8.04 without trouble.17:12
RoyKsame here except for that little issue with g77 not being around anymore17:13
RoyKbut then, that's not an ubuntu thing17:13
RoyKlinux should have had zfs17:14
RoyKor perhaps the btrfs folks should have done a little better job17:14
ScottKDo we know how good a job they did yet?17:15
ScottKSeems it's still a bit work in progress.17:15
RoyKhas been for a couple of years, yes17:15
RoyKno working raid[56]17:15
RoyKand the current code will rely on md for that part17:16
RoyKmeaning no checksumming on the device level17:16
arrrghhhanyone stream video to a PS3 with their server...?  I've been doing it for a while, but I'm having issues transcoding stuff on the fly so the PS3 can play it...17:42
twister004hi guys.... im using racoon, setkey and shorewall to establish VPN tunnels with my ubuntu-server.... how can i enter a DNS name for the remote VPN gateway instead of an IP?18:02
twister004for instance.... in racoon.conf, 'remote <ip address> {'.... is used to define remote location18:03
twister004phase 1.... is it valid to replace the ip adress with DNS?>18:03
twister004please advise18:03
SpamapStwister004: did you try putting the hostname in there?18:16
twister004no...dont wana mess-up anything18:17
twister004for racoon.conf... i can add it as remoteanonymous18:17
guntbertinstalling with a preseed file: most settings are followed by the installer - exception: the keyboard layout , where might be the error? preseed.cfg: http://pastebin.com/5yVvy84R18:20
=== twister004_ is now known as twister004
=== twister004_ is now known as twister004
=== MenZa is now known as lhavelund
derknechti need a robust open source groupware solution and need a recommendation. Has someone tried simply and can tell me if it is working well?18:34
=== twister004_ is now known as twister004
RoyKderknecht: zimbra18:36
RoyKit's not open in all ways, but it works well18:37
guntbertinstalling with a preseed file: most settings are followed by the installer - exception: the keyboard layout , where might be the error? preseed.cfg: http://pastebin.com/5yVvy84R18:38
pankaj_sharmasomeone tell me .. how to install courier-imap in ubuntu?18:49
guntbertpankaj_sharma: for dovecot there is help  in the !serverguide18:51
pankaj_sharmaguntbert: courier is not good for imap?18:51
guntbertpankaj_sharma: I didn't say that, but if you just need any imap server why not take the easy way and follow the serverguide?18:52
pankaj_sharmaguntbert: ok18:53
pankaj_sharma!serverguide18:53
ubottuThe Ubuntu server guide may be found at http://help.ubuntu.com/10.04/serverguide/C/18:53
=== harrisonk_away is now known as harrisonk
=== unreal_ is now known as unreal
=== harrisonk is now known as harrsonk_away
jformani am trying to figure out that while editing /etc/defaults/libvirt-binand adding an option to libvirtd_opts in that file, it is not taking affect. adding the "--listen" option doesnt seem to be working. i am runing 10.04 LTS19:34
derknechthi there. i need a groupware solution which also do the mailbox and domain configuration (like zimbra does) but will prefere a open source solution. Any suggestions? Thanks20:15
guntbertinstalling with a preseed file: most settings are followed by the installer - exception: the keyboard layout , where might be the error? preseed.cfg: http://pastebin.com/5yVvy84R20:19
vsMSHi. I will setup luzid on my Server. I Plan to install a softraid 1. I Found some hints tha this will be a Problem. Is it really so?20:20
vsMSNobody?20:23
ntenisOThello guys anyone with experience with eucalyptus to ask a question ?20:27
ntenisOTanyone?20:30
uvirtbotNew bug: #653738 in clamav (main) "Microversion update SRU for clamav in Lucid" [High,In progress] https://launchpad.net/bugs/65373820:41
=== _TechAway_ is now known as _Techie_
uvirtbotNew bug: #653775 in samba (main) "other computers can't find my shared files" [Undecided,New] https://launchpad.net/bugs/65377521:56
* RoyK is impressed22:10
RoyKwith the drives in lucid for paravirtualizating under hyper-v, ubuntu runs very well22:11
ruben23hi guys any idea about this----> http://pastebin.com/RqEN6aRu22:30
ruben23now i get this error after several of testing, please anyone--------> http://pastebin.com/Cs8SdTJ622:33
Datzhas anyone read this? http://www.serverwatch.com/tutorials/article.php/3715071/Ubuntu-Server--Kernel-Configuration-Considerations.htm22:41
Datzif so, is it pretty accurate?22:41
arrrghhhcan anyone help me out with a simple init script?  i have it added, i can see it... permissions look right, everything is good but when i try to run it, ubuntu says "No such file or directory" - but i'm autocompleting it with tab so i KNOW it's there....22:42
ScottKarrrghhh: Always use the full path in an init script.22:48
arrrghhhi was using the full path ScottK22:49
ScottKOK.  That's the usual cause of such problems.22:49
ScottKAnd the path has a leading "/"?22:49
arrrghhhyep22:49
arrrghhhi'm just trying to call it manually22:49
arrrghhhlet alone get it integrated with update-rc.d22:50
arrrghhhhrm22:51
arrrghhhwhen i try to run it with ./ I get a really odd error.22:51
ScottKThose are my usual 2 mistakes.22:51
arrrghhhhrm22:52
arrrghhhi opened the file with notepad++ on my windows box22:52
arrrghhhi wonder if that screwed it up22:52
lifelessyes22:52
arrrghhhi thought notepad++ would handle the file properly?22:53
lifelessdid you save from it ?22:53
arrrghhhi know regular notepad will screw it up22:53
arrrghhhlifeless, no but i copied from it22:53
lifelessif it didn't write to it, it shouldn't affect it22:53
arrrghhhhrm22:53
arrrghhhyea i modified the file slightly with notepad++, then copied from it into nano in a ssh session...22:54
ruben23hi how do i cehck the version of my ubuntu server..?22:56
arrrghhhwhen i do 'sudo ./pms-linux status' i get the same "No such file or directory" error.22:56
arrrghhhruben23, well uname -r tells you kernel22:56
ghalebhello, I'm looking for a solution I can create Diskless windows systems booted from linux servers, I have a preinstalled softwares that I don't want to redeploy each time PCs crashed and want applications to run using local diskless machines hardware resources. is it possible ?23:00
arrrghhhghaleb, with LTSP yes, but this would boot Linux systems on the thin clients, not windows...23:01
ghalebarrrghhh: I know LTSP but it's not what I want, I want to boot Windows to hosts and applications to be running on hosts hardware23:02
arrrghhhruben23, there it is.  lsb_release -a23:03
arrrghhhruben23, check out this page - https://help.ubuntu.com/community/UsingTheTerminal23:03
arrrghhhghaleb, not sure that's possible... we used to use novell to drop windows images to clients, but that was just an image server like clonezilla... was NOT a thin-client solution.23:04
ghalebarrrghhh: yea I don't want a thin-client solution, I want to drop windows image, but not for installation, for desktop usage ,23:05
arrrghhhghaleb, not sure what you mean by that then... sounds like you do want a thin-client solution.  clonezilla will drop images...23:06
arrrghhhlifeless, ScottK any other ideas?  I'm at a loss here.23:07
ghalebarrrghhh: I want users to connect their laptops and get his desktop booted from network, not from his drive23:07
ScottKarrrghhh: Not really.  Sorry.23:08
arrrghhhweird23:08
arrrghhhghaleb, so you do want them to work like thin-clients...23:09
ghalebarrrghhh: yeah 'like' but as I know thin-clients will perform application at application server and get back results, I don't want that, I want to use clients hardware resources23:10
ghalebarrrghhh: it's like LTSP in PXE23:10
arrrghhhghaleb, sorry if it's possible i have no clue how.23:10
ghalebarrrghhh: okay thank you very much, I saw it on youtube but don't know how do they pefrom23:11
arrrghhhghaleb, interesting.  i'd like to know how that's done, sounds like it'd be useful at work.23:12
qman__Datz, 7.10 is horribly outdated, but the process used there would work with any version23:13
ghalebarrrghhh: very much, you can get rid of re-installation of windows pain :)23:13
arrrghhhghaleb, yea currently we use vmview... it's not bad but i think it's quite pricey.23:14
ghalebarrrghhh: ah I see. save money in FOS :)23:14
arrrghhhyea, depending on the product money is no object to my company.  which has its perks.23:15
ghalebarrrghhh: I would be happy if I can boot linux for users it's totally possible , but I will get into applications support pain :23:15
arrrghhhyea, probably.23:15
ruben23hi si tehre any package for eaccelerator on ubuntu server lucid...?23:23
uvirtbotNew bug: #653828 in samba (main) "windows computers can't resolve samba share names in 10.04" [Undecided,New] https://launchpad.net/bugs/65382823:31
_Techie_congratulations *buntu users, another PC shop has decided to offer boxes with *buntu pre installed23:59
_Techie_http://www.modster-pc.co.nz/shop/23:59

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