[01:56] my ubuntu server install keeps hanging and I don't get it..it hangs right after "Freeing unused kernel memory: 1102k freed" [01:58] two things that may help are: "VFS: Mounted root ext4 filesystem readonly" and "ext3-fs sda2 error: couldn't mount because of unsupported optional features (240)" and also "ext4-fs sda2: mounted filesystem with ordered data mode Opts: null" [01:59] Devral [02:00] is it the server or the desktop your trying to install [02:01] it's the server. I've had it installed for months. it was working, then just started doing it suddenly after a power failure [02:02] what ver [02:03] 12.10 [02:03] can I pm you [02:03] sure === rmk` is now known as rmk === Tzunamii_ is now known as Tzunamii === xcrracer_ is now known as xcrracer === xcrracer is now known as 15SAA8CVX === xcrracer__ is now known as xcrracer === freeflyi1g is now known as freeflying [04:58] hello would anyone know why my /etc/mysql/my.cnf would be empty? [04:59] petey: it's easy to empty a file with > -- just > /etc/mysql/my.conf would do it [04:59] how do i repopulate it with the information it needs to run properly? [04:59] mysql -V and all the jazz of creating databases works, i just cant optimize my mysql config! [06:08] hi === hodge is now known as Hodgestar [09:38] I was fiddling and trying to get my certificate to work but now after switching everything back I can't get my website to be displayed outside the lan :(.. what did I Do? [09:41] I solved it by disabling 443 in ports.conf [09:41] hmm [11:34] hi all, i'm trying to set up a vpn connection on a server I only can acces via ssh(or a 6ours-train-trip), so I'm a bit afraid to do it as if I make the server lose internetconnection, I'd be very annoying for me... I tought about using this step-by-step http://cviorel.easyblog.ro/2009/02/09/how-to-set-up-a-vpn-server-on-ubuntu/ , does anyone have any "better" guide? (server : ubuntu 10.04) [11:35] (ifconfig output : http://paste.ubuntu.com/5667063/)(my main problem is I'm not used to work on server and the ifconfig output isn't the same as on a normal computer, I don't know what I should put in "remoteip" and "localip")) === Catbuntu is now known as Guest60790 === ejv_ is now known as ejv === jcastro_ is now known as jcastro === highvolt1ge is now known as highvoltage [14:20] What is the best/easiest way to view and edit your firewall? [14:21] ufw [14:21] comes to mind [14:22] GeekDude: best / easiest is subjective [14:22] some would say, iptables is the best (direct control) [14:22] others would say ufw is good [14:22] i personally use cfs... [14:24] iptables wins points for viewing, simply because it'll show them no matter what frontend (ufw etc) created them. but if you even have to ask, it's probably going to fail you on all other fronts. === Ursinha_ is now known as Ursinha [14:36] I'm trying to setup nagios3 on ubuntu-server 13.04. [14:37] I found that there is a lot of commands in the /usr/lib/nagio3/plugins folder. But none of this can actually be used as a service in my switch.cfg file... [14:37] Is there any way i can actually use all these plugins that i've installed? [14:41] halvors: you'd need to define commands for them. [14:41] hmm. [14:41] In the /etc/nagios3/conf.d/services_nagios2.cfg? [14:41] You may want to check out nagios's online documentation, it can get kind of complicated. [14:42] Shouldn't this been included by the package? [14:42] I don't know what a default nagios3 install looks like anymore, sorry. [14:42] Pici: Nagios's documentation and ubuntu's nagios package seems to differ when it comes to configuration files... [14:43] Pici: Do you know any services.cfg file i can get from the net that covers all the plugins? [14:44] halvors: its all very fluid. You can call the files whatever you want as long as they are referenced in your nagios.cfg file === Pici is now known as ZarroBoogs [15:20] Pici: Do you know the command for monitoring the port status using snmp [15:21] halvors: Sorry, I don't have any snmp commands setup on my nagios install here, and even if I did, I don't know the MIB for that. [15:22] hmm. The commands seems to be "check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB" in the nagios docs, but that doesn't work on ubuntu. [15:22] Also width the ubuntu package... === huats_ is now known as huats [16:02] when I am trying to do gcore I am getting at times this messages... warning: Memory read failed for corefile section, 1048576 bytes at 0x7f700846c000. What can cause this? (Ubuntu 12.10 x64) [16:28] guma: does /proc/pid/maps show that area lacking read permission? [16:28] sarnold: let me check === pgraner` is now known as pgraner [16:30] sarnold: I never looked this befroe. I am new to this. I am assuming you asking me to check range for 0x7f700846c000? [16:31] guma: yeah [16:32] sarnold: 7f700846c000-7f700866b000 ---p 0000c000 08:12 2097441 /lib/x86_64-linux-gnu/libnss_files-2.15.so [16:32] I guess so :) [16:32] why would this be? [16:35] good question :) I wonder the utility of a mapping with no privileges.. [16:38] I'm trying to use snmp with nagios, but are getting the error "Error: Service check command 'check_snmp' specified in service 'Uptime' for host 'infected-tech' not defined anywhere!" [16:38] Anyone knows why? [16:50] halvors: Well, have you defined the service command check_snmp anywhere? :) [16:51] halvors: Unsure on how familiar you are with Nagios, but having a check_snmp service command is separate from possibly having a binary withthe same name. [16:52] halvors: As an example, take a look in /etc/nagios-plugins/config/ping.cfg and you will see the service command check_ping using the check_ping plugin, but also a bunch of other service commands relying on the same plugin [16:53] sarnold: I am wondering is ubuntu has some special security "enabled" that does lock some areas... [16:53] guma: not that I'm aware of.. [16:54] sarnold: what makes me think about this that this is libnss. [16:56] guma: on my bash, libc, libdl, libtinfo, libnss_files, libnss_nis, libnsl, libnss_compat all have mode ---p ... [16:56] ok [16:56] ok so perhaps this is how it is and gdb should just be "silent" about this... [16:57] I was just worrying that something really odd going on. But looks like you have this too :) === matsubara is now known as matsubara-lunch [17:28] hi [17:30] andol: But why isn't it there by default? [17:30] Is there ANY way, if I have multiple dsl / internet connections (e.g 2mbps, 1 mbps, 2 mbps) , to use them as a combined strength of 5 mbps? [17:33] andol: What will the command be then? [17:33] Quest: chapter 4 of the LARTC guide may help: http://lartc.org/howto/ [17:40] sarnold, hm.. so its possible? [17:41] Quest: not for single connections, but you can combine them so that different connections use varying paths [17:41] Quest: yeah; I'd have thought it would require running a routing daemon to do a good job, but that guide makes it look surprisingly feasible. [17:42] k [17:42] sarnold: no point in running a BGP or OSPF daemon without one on the other end of the links [17:42] RoyK: indeed. [17:42] RoyK: aka "well beyond my pay grade" :) [17:44] but yes, it's possible with some LARTC tweaks to make it work (somehow) [17:53] when i press tab key when typeing a path name like /etc/apache2 at the point /etc/apac when tab is pressed. it doesnot auto completes the name to apache2 . rather it adds a tab space. this behavriour is different from all the vps I ever used. why is that? aim on ssh [17:54] Quest: Is bash-completion installed and are you using bash or a different shell? [17:55] halvors: Well, does any of the commands in /etc/nagios-plugins/config/snmp.cfg satisfy what you need to check? Otherwise, just create your own, and use them as examples/inspiration. [17:56] halvors: I mean, the way the service commands are defined is all about what parameters you want to be able to pass to the plugin. [17:56] zatricky, iam on ssh by console [17:56] zatricky, I dont know about bash completeion [17:57] Quest: which shell? [17:57] Quest: ps $$ [17:57] Quest: dpkg -l bash-completion will tell you about the bash-completion package [17:57] sarnold: bash doesn't need that for tab expansion - that package just makes it better [17:57] * RoyK guesses Quest is using dash [17:58] (or tab completion, even) [17:59] Does anybody actually understand what makes the MOTD say "X packages are security updates"? I just had that in there, but doing an 'apt-get -s upgrade' everything was from -updates, not -security. [18:00] tonyyarusso: /etc/update-motd.d/90-updates-available [18:01] RoyK, I have command concole in my linux OS. and the vps iam sshing is also linux [18:01] tonyyarusso: note that security updates are copied from security.ubuntu.com (ie, -security) to archive.ubuntu.com (ie, -updates) within an hour of publication [18:01] Quest: ps $$ ? [18:01] tonyyarusso: for mirroring [18:01] jdstrand: aaah, hrm. So there must be some separate marker then. [18:02] sarnold, bash-completion 1:1.3-1ubuntu8 programmable completion for the bash shell [18:02] RoyK, ps $ ? whats that [18:02] type the "ps $$" in the shell without the quotes [18:02] ps $$ prints the process info of the current process (your shell) [18:02] its two dollar-signs [18:02] Quest: is it 'ii ' or some other status? 'ii ' indicates installed without error [18:03] RoyK, yes. i noticed that the differenct amoungs other vps and this is that its only shows $ rather user@someipt$ [18:03] sarnold, ii [18:03] Quest: its output should be something like this http://paste.ubuntu.com/5668131/ [18:03] tonyyarusso: looks like /usr/lib/update-notifier/apt-check is what generates the actual message [18:04] mine is like this [18:04] PID TTY STAT TIME COMMAND [18:04] 3371 pts/0 Ss 0:00 -sh [18:04] Quest: chsh -s /bin/bash [18:05] RoyK: another guess well guessed. :D [18:05] sarnold: :) [18:05] RoyK, did that [18:06] RoyK, what now? [18:09] Quest: then log out and in again [18:10] hm [18:10] what was actually wrong? [18:10] whong shell [18:10] you had dash as your default shell, and dash sucks [18:11] dash? [18:11] dash [18:12] or sh, which normally is a symlink to dash [18:12] dash does its best to be a small and fast POSIX-compliant 'sh'. But 'sh' is not very friendly. 'bash' is friendlier to more people. [18:12] * RoyK has no idea why dash should be the default shell, since it's not like we're killing our computers running bash [18:13] RoyK: it might be a reasonably VPS setting though, they might give him only 128 M or something. if you're not using those extra features, that extra megabyte might be awesome :) [18:13] hm [18:13] setting SHELL=/bin/bash in /etc/default/useradd makes bash the standard shell for new users [18:13] ) [18:14] :) [18:14] hm [18:14] the admin made my account incompitentlt [18:14] y [18:15] sarnold: really? normally you're not logged into the box most of the time, and using dash really sucks === matsubara-lunch is now known as matsubara [18:16] in my 'raidtest' vm, ps v $$ tells me RSS for bash is 3376kB - not a whole lot [18:17] how to give /home/usename folder to the 'username' ? [18:17] RoyK: I'd prefer to have it for tab-completion, but on a slow-enough link, tab completion uncertainty makes me prefer typing commands entirely... [18:18] * RoyK generally isn't using that slow links :P [18:18] RoyK: it's jarring when on poor-quality wifi.. :) [18:18] the admin has sucked [18:18] sometimes, ok, some Edge link out in the middle of nowhere - that can be rather bad [18:19] Quest: what's bad? just the shell? [18:19] that's default, btw, not the admin's fault [18:19] or when the server you're looking at has unexplained high load and you need to figure it out [18:19] the shell is ok now. but he made my account by my name and gave my home folder as root owner [18:19] RoyK, ^ [18:19] Quest: hehe [18:20] RoyK, how to own my home folder? [18:20] Quest: should have just added you with 'useradd -m ' to have that created automatically owned by you [18:20] Quest: do you have sudo access? [18:20] I guess [18:20] sudo -i [18:20] I guess i couldnt without sudo access? [18:20] no [18:20] that's part of standard unix security [18:21] ya. i can sudo [18:22] sudo -i; cd ~yourusername; cp -R /etc/skel/. .; chown -R yourusername:yourusername . [18:22] what wil cp -R /etc/skel/ do [18:23] the 'skeleton' of what should be in a homedir is in /etc/skel. that's stuff like .bashrc. if those files are there already, you don't need that part [18:23] I just guessed they're not, since the dir was owned by root [18:23] hm [18:25] RoyK, http://paste.ubuntu.com/5668208/ [18:26] Quest: first, check if you have those files in /etc/skel/ in your homedir - just 'ls -a' in both $HOME and /etc/skel/ [18:27] Quest: then, if you don't, first sudo chown -R $USER:$USER $USER [18:27] strictly-speaking not sure if this is server-related - battling to find a ppa or repository for sickbeard - any hints on where I should look? [18:27] then cp -R /etc/skel/. . # with the dots and spaces [18:28] RoyK, chown Masood /home/Masood made drwxr-xr-x 2 Masood root 4096 Mar 27 20:45 Masood [18:28] Quest: $USER:$USER, not just $USER [18:28] you want the group to be changed too [18:29] hm [18:29] * RoyK wonders what sort of admin that creates usernames with initial caps [18:29] :) dumb admin [18:29] heh [18:29] no, it doesn't matter, it's just bad practice [18:29] I was under the impression that a username could *not* be uppercase [18:30] done . Masood@li53-245:/home$ sudo chown Masood:Masood /home/Masood [18:30] drwxr-xr-x 2 Masood Masood 4096 Mar 27 20:45 Masood [18:30] * RoyK hasn't even thought of using anything but lowercase [18:30] Quest: looks ok - pastebin 'ls -a $HOME' [18:30] don't forget the -R ... [18:31] sarnold++ [18:31] Quest: sudo chown -R Masood:Masood /home/Masood [18:31] otherwise you'll only chown the dir, not its content [18:32] thanks ! [18:33] ls -a $HOME [18:33] . .. [18:33] ok, do 'cd; cp -R /etc/skel/. .' [18:33] cd without arguments will send you to $HOME [18:35] where do i need to be while doing cd; cp -R /etc/skel/. . [18:35] logged in as your user. cd alone will take you to your homedir [18:36] Quest: or cp -R /etc/skel/. $HOME if you're nervous [18:36] RoyK, http://paste.ubuntu.com/5668248/ [18:37] Quest: what? no .bashrc or anything in /etc/skel/? [18:37] o_O [18:38] http://paste.ubuntu.com/5668250/ [18:38] well, copy those into your homedir [18:39] the cp -R command should certainly do that for you [18:39] RoyK, i should cp -R while iam in /etc/skel? [18:39] just tried locally here, and it does [18:39] 20:36 < RoyK> Quest: or cp -R /etc/skel/. $HOME if you're nervous [18:40] yeah, my cp -R works as expected and copied the dotfiles too... [18:40] Masood@li53-245:/etc/skel$ cp -R [18:40] cp: missing file operand [18:41] Quest: did you try the full command I gave you, or just cp -R? ;) [18:42] :/etc/skel$ cp -R /etc/skel/. . [18:42] cp: `/etc/skel/.' and `./.' are the same file [18:42] Quest: run cd alone first to go to $home, or cp to $HOME [18:42] I'm rather certain I said that [18:43] iam at home now. what should i type? [18:43] 20:39 < RoyK> 20:36 < RoyK> Quest: or cp -R /etc/skel/. $HOME if you're nervous [18:43] k [18:43] done [18:44] ls -a $HOME [18:44] . .. .bash_logout .bashrc .profile www [18:44] then try to log out and in again [18:45] . .. .bash_history .bash_logout .bashrc .cache .profile www [18:46] RoyK, ok? [18:46] woo. [18:46] Quest: now try your cd /etc/apa and see what happens. :D [18:47] sarnold, that worked ages ago :) [18:47] RoyK, RoyK, so all that was for making these bash ,cache , profile dires visible? why were they so important? [18:47] your prompt should be good now too [18:47] yes it is [18:47] Quest: no, it was to make your shell work as it should [18:47] hm [18:48] why were those files important? [18:49] Quest: they're mostly important if you want to make changes to them; having the skeleton versions gives you a reasonable starting point and good comments in the files showing you some simple changes you can make [18:49] RoyK, you said the admin must have done useradd -m . thats the correct way of doing? if so . what would be the gourp name I would be associated to? [18:49] sarnold, hm [18:50] Quest: 'Masood' appeared to work fine (chown didn't complain, anyway) so that should be your group. the 'id' command will show you your id, primary group, and supplementary groups [18:51] great [18:51] Quest: not *must* have done, *should* have done [18:51] hm [18:51] but don'1t worry about that [18:53] RoyK, sarnold thanks guys !!!!!! [18:53] Quest: have fun :) [18:53] I will [18:58] I have another question that no one answered . I have this error while mounting a ntfs partition. what can be wrong http://paste.ubuntu.com/5668301/ ? [19:00] windows dont checks it. it says to format it [19:02] Quest: I've successfully used The SluethKit to recover data from damaged NTFS filesystems in the past: http://www.sleuthkit.org/ [19:02] hm [19:02] recuva is also good. but I dont want to see my partition go in recovery [19:03] Quest: then don't use NTFS :P [19:03] hm [19:04] I use ext4 and xfs on my systems, depending on how large disk systems I have [19:04] RoyK, I heard linux ext4 data cannot be recovered as linux dels the files from hd. ntfs or fat32 only dels the reference [19:05] Quest: well, most filesystems don't have undelete built-in as bad design like fat32 and perhaps ntfs has. they either remove a file when told to, or keep snapshots to allow rollback. the fat32 way is just very bad design [19:06] Quest: keep a backup - that works - on all filesystems [19:06] is ext3 or ntfs most difficult to recover? [19:07] neither is hard to recover with a backup ;) [19:07] Quest: ext4 _can_ be configured to tell the block layer to throw away the data when it is no longer needed, via the 'discard' mount option, but since the TRIM command is a non-queuable command, it somewhat stalls the IO pipeline... [19:08] hm [19:08] is ext3 or ntfs most difficult to recover (assumed theres not backup) [19:08] Quest: the source code for ext3 is easily available. NTFS source is not. ext3 is likely more recoverable, but .. you should not be in that position in the first place. backups. :) [19:08] sarnold: I think Quest means he wants extN or whatever fs to misbehave like fat32 [19:09] RoyK: oof. the number of mistakes in fat32... [19:09] Quest: I want my filesystems to remove a file when I tell them to [19:10] Quest: if you want snapshots, zfs has it, btrfs has it, lvm has it (somewhat buggy, but hell, better than nothing), xfs might get it soon [19:12] i just wanted to know on which files system files can be recovered most easily if damaged [19:13] good filesystems don't get very easily damaged [19:13] fat32 gets very easily damaged, since it's a lousy filesystem [19:14] ext4 checksums metadata, meaning it'll know if something goes wrong on the lower levels [19:14] zfs/btrfs checksums everything, meaning it'll know if a single bitflop happened [19:14] is btrfs really ready for production use? [19:14] those are self-healing. ext4 is pretty good in that aspect too [19:14] sarnold: no [19:15] sarnold: I have it on a couple of machines for testing - works for that, but wouldn't recommend it in prod yet [19:15] RoyK: okay :) keep me updated. It's souded promising for .. uhh .. six years? :) but I'm still hesitant to try. [19:15] RoyK, there are many recovery tools for ntfs. are there as good as for ext4? [19:16] the wikipedia infobox on filesystems needs another entry, "developer keeps home directory in this format: yes/no" [19:16] sarnold: btrfs raid-[56] was just released in 3.8 (iirc) [19:16] Quest: I can hardly remember a recovery problem with ext4 [19:16] Quest: it happens very rarely, since the filesystem is rock solid [19:17] Quest: so keep a good backup and ask if something goes wrong [19:17] Quest: I've only managed a few hundred linux machines the last 5 years or so, so I may be wrong, but I trust myself on the filesystem part [19:19] ntfs is not as solid as ext4? [19:22] just use native filesystems [19:22] on whatever platform [19:25] hm [20:43] I have installed php5 and apache2 but php is not working. i mean .php files are not parsed. rather downloaded. why? [20:44] try to restart apache2 [20:48] Hopefully you've installed libapache2-mod-php5 and then for good measure issued: sudo a2enmod php5 and then sudo service apache2 restart [21:05] what's the bare minimum space required to get a bootable OS? [21:06] Hey, I'm having a hard time getting nullmailer to send a mail. The mail log always shows "Temporary error in gethostbyname". Any idea what to do next? [21:12] Rack27: can you use nc or telnet to connect to your relay's hostname? [21:14] sarnold, no. Seems that this is not possible [21:15] Rack27: I asked about nc or telnet since they'll use the standard resolver configuration; iirc, ping has its own resolver configuration. [21:15] Rack27: can you do any dns from that host? [21:17] sarnold, sorry, I'm not quite experienced. Trying to learn this, but I can't find any good tutorial for nullmailer online. Someone wrote I have to set up /etc/hosts properly so this can work. [21:17] Rack27: maybe... [21:18] Rack27: if your mail relay doesn't have a resolvable hostname, that's a good second option. best is if it actually resolves. :) [21:22] sarnold: okay, thanks. Will try something ^^ [21:22] Rack27: good luck :) [21:22] :) === Ursinha is now known as Ursinha-afk === Ursinhal is now known as Ursinha === Ursinha-afk is now known as Ursinha [23:08] can any one tell why i cannot hibernate? $ sudo hibernate now . hibernate:Warning: Tuxonice binary signature file not found. /usr/sbin/hibernate: 481: shift: can't shift that many [23:10] are you running the server edition? [23:10] that might be it.. === unreal_ is now known as unreal === gazoombo_ is now known as gazoombo === tedski- is now known as tedski === VD is now known as Guest22466 === Nigel_ is now known as G [23:38] So wait, how in the world would I retrieve a prior version of a file from S3? With versioning enabled, I would've thought it'd be easy, but even the web interface give no option to download specific older versions, much less unofficial tools like s3cmd. [23:48] Does anyone have any idea? Surely there must be *some* way of retrieving prior versions of files from Amazon S3.