[00:18] Hello. [00:19] I'm trying to upgrade my install of 11.04 to 11.10 [00:19] I got the GUI for upgrade and cancelled on accident. [00:19] How can I resume the GUI for upgrade> [00:19] ? [00:27] just start over, any debs already downloaded will be skipped [00:27] if you cancelled during the install process you may be up a creek and will need to do a clean install. [00:29] hi i've been troubleshooting a problem on an ubuntu system for 15 hours, i have exhausted all ubuntu channels i can think of, so i'm going to try here. i did a distro upgrade that resulted in init not being able to put my software raid together, i can chroot to the environment, i have tried reinstalling legacy grub and reinstalling grub2 multiple times, i just can not get it. would anyone in here please help me trubleshoot this so i can go home? [00:29] Side question: how safe are these upgrades? I tend to believe in backup complete reinstall and selective restore. [00:29] Yompa: i've spent 15 hours so far because of an upgrade [00:29] and im still down [00:31] dork, I wish you good luck and the best! [00:33] thanks [00:34] dork: can you mount your devices ? [00:34] i mean, your HD's [00:34] ? [00:35] i can assemble the raid and mount the raids [00:35] through busybox and and a chrooted environment [00:36] but when servers boot said that cannot find your raid , right ? [00:36] t said this [00:36] http://www.froward.org/~mike/screen.jpg [00:36] http://pastebin.com/Mwn9fAHT <--grub config and raid info [00:37] so it seems it's just not able to assemble the raid [00:37] did you tried to boot an older kernel ? [00:37] in busybox i can assemble it by hand [00:38] virusuy: yes and that did not work [00:38] dork: uhmm [00:39] no idea man, good luck [00:39] anyone else? [00:39] and the best [00:39] virusuy: thanks [00:40] I'm about to build a 1 + 0, nothing that complicated though. Sorry. [00:41] i'm (trying to) manage a PPA for our company and have hit a bit of a snag [00:42] how so [00:43] after rebuilding several packages and regenerating my Release files (sorry, i'm probably butchering the terminology here) i'm getting a dependency error when trying to install one of our packages [00:43] nginx-custom : Depends: nginx-full (= 1.0.6-2) but it is not going to be installed [00:43] E: Unable to correct problems, you have held broken packages. [00:44] FYI dont paste to here [00:44] dork: Raid 1 ? [00:44] mateolargo: why are you generating a custom nginx package? [00:45] EvilResistance: we needed to included several modules that weren't in the default packages [00:45] dork: if you have a RAID 1 array, you can desassemble and try to boot from 1 HD instead of array [00:45] mateolargo: can I /query you for a sec? [00:46] sure [00:47] virusuy: i was going to do that as a last measure [00:47] virusuy: i might as well though i'll have to come back tomorrow anyways [00:47] dork: if you can boot from 1 HD, then you should resync that array [00:48] virusuy: im just not sure how to approach it [00:48] desassemble that array ? [00:48] yeah [00:48] disassemble* [00:49] uhmm that depends on your RAID controller [00:49] it's software [00:49] just trying to figure out the arguments [00:50] so i don't destroy it [00:50] if you can assemble that array in somewhere else, then backup as much you can [00:50] what? [00:50] i mean [00:50] i mean boot one disk [00:50] i've got everything backed up [00:50] oh , ok [00:57] i got it [00:57] i'm pretty sure [00:58] dork: really ? :-) [01:06] yeah [01:06] it's finishing the fsck now [01:06] but i got it to boot [01:06] dork: nice! did you boot from 1 HD ? [01:06] or did something else? [01:06] i basically rescanned for raid arrays and rewrote a new mdadm.conf, the syntax is different, remade init and installed it, it's booting now. [01:06] dork: nice :-D [01:07] took me 16 hours to figure it out [01:07] i'll take nice but i should probably go shoot myself [02:31] New bug: #886423 in php5 (main) "Can't install php5-mysql in Ubuntu 11.10 due to unmet dependencies" [Undecided,New] https://launchpad.net/bugs/886423 [02:38] hello all. trying to find a script that will go thru a folder and expand any compressed .RAR files [02:38] http://code.google.com/p/torrentexpander/ [02:39] seemed to be the answer, and then some [02:39] but perhaps it's too powerful for my needs - i can't seem to get it to do this simple task. has anyone ever used it? [02:45] New bug: #886426 in net-snmp (main) "snmpd init status script doesn't check $SNMPDRUN or $SNMPDRUN" [Undecided,New] https://launchpad.net/bugs/886426 [02:51] arrrghhh: all your files are in the same folder ? [02:52] virusuy, no [02:52] well [02:52] let me rephrase [02:52] everything is in one folder [02:53] but there's a high potential that there are RAR's within sub-folders that will need extracting [02:53] but i do have a 'central point' where all the files in question are going. [02:53] hi...where can I find the php logs? [02:55] m_tadeu, tail -f /var/log/apache/php.errors? [02:55] alternatively, look in your php.ini file [02:55] arrrghhh: doesn't exist [02:56] arrrghhh: I'll check === jhelwig is now known as zz_jhelwig [03:03] virusuy, have you ever used that script? [03:03] it seems really powerful [03:03] but it might be serious overkill [03:03] arrrghhh: no at all, and yes, seems powerful [03:03] i was thinking about looking at its grooming abilites [03:03] abilities* [03:03] but i'm trying to start simple, just want the unrar ability [03:03] and i can't seem to manage that :/ [03:03] arrrghhh: you also can study what does and create your own script [03:03] or "just that" i should say. [03:03] virusuy, i looked at the bash. it's quite complex. [03:03] unrar is ease, [03:04] unrar -h for help, [03:04] i think i can just do the unrar part pretty easily on my own. [03:04] yea [03:04] im trying to ssh into a linux server. i did ssh -v root@ipaddress... and i'm seeing: "debug1: Connecting to IP [IP] port 22. then debug1: connect to address IPADDRESS port 22: Connection refused" ... but nothing else. is there any other reason why the server isnt letting me ssh? is it because its the wrong port (doing new setup on a new server) [03:04] the hardest part is moving between folders and sub-folders [03:04] yea [03:05] arooni-mobile, is the far end open? are you on a LAN? [03:05] arooni-mobile: with wich user are you trying to log in ? [03:05] looks like root [03:05] which might be the problem as well [03:05] virusuy, root [03:05] you can't ssh to root [03:05] arooni-mobile: in some configs root login is disabled by default [03:05] ok i didnt get a user data [03:05] user name [03:06] oops [03:06] :-) [03:06] can you configure sshd_config on the server ? [03:06] i mean, can you acces in other way than ssh ? [03:07] i dont know; this is a new client; and have to figure out leasewebs interface [03:07] so, you're not using ssh in LAN, right ? [03:08] i mean the server is somewhere in the netherlands [03:08] the gateway is provided; but i wouldnt need that to connect i think [03:10] uhmm could be [03:10] i havent heard of using a gateway to connect to via ssh [03:11] is not common [03:11] i just hate it when i have to open a damn ticket just to login [03:11] but , that gateway can allow or deny connections through port 22 [03:11] so should i try to connect other than ssh root@ip [03:11] but why dont you test connect through that gateway before open a new ticket ? [03:12] honestly i didnt know that much about gateways; i thought it was only for when i have a home router [03:12] root shouldn't be allowed through ssh, but, who knows every sysadmin/company is a different world :-) [03:13] arooni-mobile: let me find a how to, cos you can configure ssh to use a gateway in some hosts [03:13] how-to * [03:14] let me rephrase [03:14] you can configure your ssh-client to use a gateway [03:17] oh, can you test this command ? [03:17] I'm unable to get logs from php...I tryed setting error_log to a file, and now to syslog....nothing comes out [03:17] ssh -w host:port gateway [03:17] ssh -W username@host:port gateway === zz_jhelwig is now known as jhelwig [03:26] We are starting to use Linux Servers (Ubuntu) more and more for small business solutions. As we get more I would like to start a standard in managing these servers. What does everyone feel is the best process for updating the servers that provide a certain role like Samba or Postfix. Do download all updates or just security updates, etc.? [03:27] So far we've been installing all updates (apt-get upgrade). [03:28] From time to time I've noticed the apps change and sometimes require .conf file updates that can cause issues if we are not prepared for what can be altered. [03:33] kevcox: it's nontrivial to select only security updates [03:33] So you don't rely on the improvements of the apps that are isntalled? [03:34] kevcox: if you have a bunch of servers, like say five app servers, you can designate one of them a staging server and pull updates to it first [03:34] Just assume if it works then there is no need? [03:34] kevcox: well, suppose you have lucid, lucid-security and lucid-updates in your sources.list [03:34] kevcox: you can't easily say to apt "please apply updates only from lucid-security" [03:35] kevcox: however, -updates mainly contains critical but non-security-related stuff like fixing bugs that result in data loss [03:35] kevcox: so it's a good idea to pull them in anyway. [03:36] kevcox: OTOH -backports and newer distro releases include new upstream releases, and new feaures = new bugs [03:36] Do you recommend for security updates to be performed on their own or manually? [03:37] kevcox: generally I make sure -security and -updates are in sources.list and then just aptitude full-upgrade from time to time. [03:38] So you are pulling all security and distro updates manually from time to time? [03:39] Yes [03:39] What about when you get an app upgrade that requires .conf migration to a new version? [03:40] Then you deal with it at the time [03:40] kevcox: backups .conf files first [03:40] Oh, etckeeper of course [03:40] :-) [03:40] But broadly speaking I will tell the users a day beforehand "I'm doing upgrades at 11AM tomorrow, there are no expected outages, but there might be if something goes wrong." [03:41] How about this.... [03:42] I setup security updates to be automatic during off hours on weekends then perform app updates from time to time... Any issues with setting the standard that you can see? [03:42] kevcox: automatic updates? NO WAY [03:42] Not for critical updates only? [03:42] I have been mostly unimpressed with automated update solutions [03:43] kevcox: its my opinion [03:43] Meaning critical security updates [03:43] kevcox: how does the automated system know which ones are critical? [03:43] twb: indeed [03:43] I guess I see security updates as being critical [03:43] you should take care of security updates, check every update, wich aplication will update , what and which things you need to do before update [03:44] I guess I've failed there [03:44] kevcox: i mean, this isn't mandatory [03:44] I typically logon and see the console tells me there are updates and how many security. I then run APT with UPDATE and then UPGRADE without a second thought. [03:45] No issues thus far but I want to do it the right way or best solution. [03:45] kevcox: yes you can do that and no worries [03:45] but one day, something will fail [03:46] and probably will be on weekend [03:46] at 3 am [03:46] :-) [03:46] No doubt... :/ [03:46] :) [03:47] my opinion. .. [03:48] you just need to update your vital services [03:48] i mean, if you run a apache server, then subscribe to apache's security mailing list to be updated about security fixes and so. [03:48] Do you happen to know the command to update security only using APT? [03:48] and also you will know about updates, what they do and so on [03:49] That sounds like a good idea I need to do. [03:49] Just what I need more emails.. :) [03:49] kevcox: or tag your mails :) [03:50] Another Google Apps user? [03:50] i actually use a lot of mailing list and twitter [03:50] kevcox: gmail only === luciano_ is now known as virusuy === ^tortuguito is now known as tortu [09:45] hi [09:46] i have installed ubuntu-server and using kdm and using virtualbox [09:46] all is going fine except that there is no voice [09:46] i have checked for alsa and pulse audio, both are installed [09:46] how to enable audio so that i can hear sound for virtualbox [09:46] thanks [09:48] message says, pa_pid_file() creation failed [09:48] when i run pulseaudio from terminal [09:49] do i need to configure kdm to use pulseaudio or alsa ? [09:50] is your user in the audio group? [09:52] hmmm [09:52] how to check that [09:55] try the 'id' command in a terminal [09:57] ok [09:57] no there is no audio group [09:58] how to add audio group [10:07] greppy: thanks :) [10:08] sudo adduser 'you' audio :) [10:09] now will it work ? === jason is now known as jasef [13:20] I just had a failure event on one of my mdadm arrays, does anyone know how I can inspect the drive to see if it really was a failure? [13:22] storrgie: i guess you can check your raid status with mdadm --detail /device [13:25] cat /proc/mdstat tells me that one of the drives is a failure [13:25] I need to see if that drive is truly failing smart [13:25] or if it is just an issue where the drive was not spinning up properly [14:11] stgraber: smartctl [14:11] smartctl -t short /dev/sda [14:12] stgraber: smartctl -d sat -t short /dev/sda [14:12] ops - wrong nick - storrgie left, apparently === Major_Tom is now known as Omega42 === |_| is now known as jasef [15:55] Hey guys, looking for some advice on how to setup a Ubuntu server w/ Apach to allow multiple users to host WordPress sites. [15:55] I already know how to setup all these (and have done so), but what I cannot figure out is how to setup permissions / users so that each user can upload files through WordPress & have FTP access, but not be able to see any of the other users directories [15:56] dwelch: check chrooting for ftp server [15:56] let them upload to their home directory and use chrooted sftp/ftps access? [15:56] dwelch: which ftp server are you using? [15:57] vsftp [15:57] RoyK: I hope he doesn't use plain FTP... ;) [15:57] JanC: seems like it... [15:57] dwelch: then check chrooting for vsftpd, it supports it well [15:58] And that works well, but some of these accounts I wanted to allow ssh access to also [15:58] dwelch: ssh/sftp can be chrooted as well [15:58] google for ssh/sftp chroot [15:59] Hi, I currently have a server which I use as SMTP server for my website, my personal mail is done through google apps, and my domain is hosted somewhere else. Now to avoid my emails sent from my server being detected as spam, I want to set up an SPF record. Should I set this up on the server itself? [15:59] JanC: touché [16:00] but another issue might be that scripts run by apache can access data outside the user's home (you might have to use a technique to chroot that too) [16:00] It's been a while, but I feel like I ran into WordPress-upload permission issues when I persued that route [16:00] or at least run them as another user [16:01] Hmm [16:01] dwelch: it's possible to run wordpress as the user (e.g. using FastCGI & such) [16:03] Yeah, I ended up using the apache module mpm_itk to prefork & run the request as the user [16:03] which works, but I'm worried that's a bit scary from a security stand point [16:04] ah, yes, that MPM does the same [16:04] dwelch: filesystem permissions have to be set right too, of course [16:05] Yeah, so basically what I've got now is that each user has their default umask to 770, their site served out of ~/www and mpm running the requests as those users [16:05] dwelch: alternatively you can run multiple webservers in containers or VMs... [16:06] With a chrooted ssh / ftp, security should be in good shape, right? [16:06] Thought of that JanC, but I'm already on a pretty weak VM in a XEN environment (at linode.com) [16:08] right, I was just going to write that it's often a security/cost trade-off ☺ [16:10] dwelch: I don't really know mpm_itk, but maybe it also allows chrooting? [16:10] Haha yeah, definitely a cost trade off preforking all the requests, but I wasn't sure about the security issue [16:11] Okay, well I guess my setup isn't that bad then [16:12] I was scared that someone might come swinging for me w/ that kind of setup :P [16:13] dwelch: what I mean is that you must decide what is secure enough for you and how much money you want to (or can) spend, and balance that ☺ [16:14] Yeah I hear ya. [16:14] I wonder if it would be possible to use ecryptfs or encfs... [16:14] I've read most the formal documentation for each of these, but I'm wondering if there are any really good resources for basic server admin understanding [16:20] Can an SPF record hold multiple IPs or should I create multiple SPF records [16:21] New bug: #886592 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/886592 === smw_ is now known as smw [17:16] JanC: just went and picked up a ubuntu knowledge book from the library, looking into encryptfs for my purposes [17:20] dwelch: the problem with ecryptfs would be to handle automatic mounting in a secure way (because obviously there is no login password entered when apache forks) [17:21] Ah, good point [17:21] there is an #ecryptfs channel on the OFTC IRC network BTW [17:27] O cool, I'll check that out [18:27] remember, remember the fifth of november.... [20:03] Anyone got a minute to help with getting Postfix and SASL to play together? [20:46] qual o conselho para iniciar uma instalacao ubuntu server? === tortuguito is now known as Namorado_da_Swee === Namorado_da_Swee is now known as tortu === tortu is now known as roedor === roedor is now known as esquilinho === Namorado_da_Swee is now known as tortu === tortu is now known as tortuguito