/srv/irclogs.ubuntu.com/2015/09/23/#ubuntu-server.txt

=== Lcawte is now known as Lcawte|Away
keithzgHrmm. I'm a bit surprised there's no easy way to tell what files are missing chunks due to bad sectors from a ddrescue .img and .log. Guess I was hoping to be lazy!00:35
sarnoldkeithzg: heh, that seem slike the whole point of having a .log file :)00:36
sarnoldkeithzg: check for strings of 512 or more zero bytes perhaps?00:36
keithzgsarnold: I didn't actually run ddrescue with any fill setting, so as far as I understand it just skips bad sectors, then.00:40
keithzgThe suggested way seems to be to md5sum every file and then run again with filling in missing data and then md5sum *that*, which seems . . . inelegant.00:41
keithzgI just naively assumed these details would be in the log file, which was indeed naive of me since ddrescue itself uses the log file as a reference (for repeated passes on failed sectors).00:43
keithzgThe main problem is the literally millions of files in question here, so . . . this is going to take a while. Alas!00:55
sarnoldand if you have md5sum executions waiting on dead blocks in files that might take even longer00:57
=== markthomas is now known as markthomas|away
=== G__ is now known as g
=== g is now known as G
keithzgWell, I'm running it on the image file created via ddrescue, so that *shouldn't* be a problem, unless I'm being braindead and missing something.01:30
keithzgActually yeah, when I think about it more I don't know why I'm so certain of that, heh.01:30
keithzgBut so far it's going through files quite quickly, there's just a huge ton of files.01:31
genewitchHow good is ubuntu server? Running on old Xeons, in a VM, with only 600MB of memory, it took me 2 years to finally need more memory. Started hitting swap last week, upped to 2000MB now.01:38
genewitchit's my 'primary' linux machine, too.01:40
sarnoldhehe, I bet it reboots in a few seconds, too, thanks to caching in the host :)01:40
=== CiPi is now known as cipi
=== wmp is now known as Guest5451
=== Guest5451 is now known as wiuempe
KervyNgosh peta.. http://motherboard.vice.com/read/peta-sues-for-copyright-on-behalf-of-selfie-taking-monkey :-/07:20
=== athairus is now known as athairuzzz
KervyNhi, some1 got an idea how to configure squid3 to cache by filename? I want to build a deb/rpm proxy and ignore the hostname08:45
=== RedHacK is now known as ASA
=== ASA is now known as RedHacK
=== Lcawte|Away is now known as Lcawte
T3DDYCan HDD failure cause Ubuntu server to crash at startup?12:03
lordievaderYes.12:07
RoyKT3DDY: a disk failure can do most annoying this, so yes. better boot on something live and run smartctl -a /dev/whateveritsname12:13
T3DDYCool, thank you12:14
lordievader+112:26
Eldunarhello. I intstalled ubuntu-server on vbox. It is working on windows host (Connection by putty). But on linux host it is not working. I can not connect to server via ssh. It says that Network is unreachable. I set the network adapters with same options. Can u help me?12:28
kgirthoferi'm installing libreoffice on a cli server, it's failing out on the install of gnome-integration. I can skip that yes, I shouldn't need anything from gnome12:42
jrwrenKervyN: I think apt-cacher-ng does that. it keeps a list of mirrors and considers paths to them to be the same.12:42
Eldunarhello. I intstalled ubuntu-server on vbox. It is working on windows host (Connection by putty). But on linux host it is not working. I can not connect to server via ssh. It says that Network is unreachable. I set the network adapters with same options. Can u help me?12:47
Eldunari have eth0 and eth1 visible. eth1 ipv4 is 192.168.56.10112:48
Eldunarand i can not log in there. i allowed ssh in ufw and i am out of ideas12:49
bananapieIf I mount to a folder that has files in it, can I access the files or are they unreachable until I umount the folder?12:49
bananapienevermind, I found the answer12:51
quantickgirthofer: libreoffice doesn't care if its going on a headless box, it's a GUI application and has the associated dependencies.12:53
kgirthoferthe install script removes a few of the gui dependencies, I think I can remove them12:53
kgirthoferI can't use the install script12:54
ParsectiXGuys I'm using LDAP to have my user Database. How can I sync the system users also ?13:33
ParsectiXMy concern it's for the root/administrator user to have a fail-save mechanism to login on the server.13:33
jrwrenParsectiX: my experience in this area is very dated, but afaik, there are no good solutions for this.13:35
ParsectiXjrwren: thanks for the answer13:38
ParsectiXI just want somehow to have my administrator password locally on each server and also I can change/sync it centrally so every machine can get the change.13:40
patdk-wkno good solution to this?13:52
patdk-wkI wouldn't recommend doing that at all13:53
patdk-wkjust sync your ssh keyfile13:53
jamespagecoreycb, ok to work through rc1?14:15
coreycbjamespage, yep I can start today14:16
Guest92591how can i now what requires systes restart when i get msg on login "1 package can be updated.14:52
Guest925910 updates are security updates.14:52
Guest92591*** System restart required ***14:52
Guest92591sorry, should only put that system restart required14:52
Guest92591what requires my system to be restarted ? where can i find out it ?14:53
Guest925910 updates are security updates.14:53
Guest92591*** System restart required ***14:53
Guest92591damn14:53
Guest92591sry, accident paste14:53
lordievaderUsually kernel updates.14:54
Guest92591damn laptops, should disable the touchpad14:54
Guest92591lordievader: but if it isnt kernel ?14:54
Guest92591im gonna check ubuntu security msgs14:54
lordievaderThere are a couple of other things that require reboots. Libc for example.14:54
Guest92591but is it "required" if just normal use and nothing special than ssh running on server ?14:55
ogra_udev too ... upstart/systemd  would ask for a reboot as well i think14:56
lordievaderMeh, required is a big word. Required to reboot if you want to run the new versions of the software, but if you don't want to reboot nothing is going to stop you.14:56
Guest92591i understand that if kernel update and for example remote root exploit in kernel but just a little update that doestn do anything special should not be a cause to boot a server14:56
TazmaniaI am running a PPTPd server on a Ubuntu 12.04.5 LTS blade server to serve more than 1000 pptp clients.  As the number of clients grow, the ubuntu machine keeps crashing.  Any idea?14:56
patdk-wkwhy remote exploit in kernel?14:57
patdk-wklocal exploit is horrible14:57
patdk-wkif you run any kind of remote services, such as a webserver14:57
Guest92591i run apache and ssh14:57
TazmaniaI have also set up a watchdog timer but it doesn't seem to help.  When the server crashes, only a hard reboot will do.14:57
Guest92591apache2 with php5 and ssh14:57
ogra_lordievader, well, indeed, but i think all of them switch that notification on14:57
ogra_weather you listen to it is indeed up to you :)14:58
patdk-wkGuest92591, so any exploit in the kernel, local, remote, or otherwise, your vaunerable to14:58
patdk-wkunless you can guarrentee there is no exploit paths in your apache/php programs at all14:58
patdk-wkand I have never known that to ever be the case14:58
Guest92591patdk-wk: there is nothing that would be for me in ubuntu security notices for ubuntu-server 14.04 LTS and my software-config14:59
=== Guest92591 is now known as krsna
patdk-wkyou only run php files from ubuntu? without modifications?15:00
=== krsna is now known as Guest31451
patdk-wkyou have never installed a php file outside of apt-get15:00
patdk-wkyou have never been vaunerable to a 0day vaunerability15:00
=== Guest31451 is now known as neurotus
TazmaniaIs there a limit on the number of pptp clients that I can accept?15:14
Tazmaniaon a ubuntu server15:14
cwillu_at_workTazmania, assuming nothing shows up in the logs before it crashes, I'd set up a netconsole to another machine, as the final gasps probably aren't being saved15:14
cwillu_at_work(if things _do_ show up in the logs, you should pastebin your logs :p)15:14
tewardTazmania: I think the max clients is limited by either a config option or your system's memory being consumed15:15
tewarda 'crash' is also not very useful, because it could mean it segfaulted, or your server rna out of memory, etc.15:15
neurotuspatdk-wk: but there's nothing in ubuntu security that would cause me a problem after last kernel reboot and apt-get upgrade15:15
cwillu_at_work(neither of which should cause a hard lockup)15:15
tewardcwillu_at_work: except if all the swap is also consumed and something's not clearing it out15:15
neurotuspatdk-wk: update and kernel change and reboot15:15
cwillu_at_workteward, in which case the oom killer gets involved, and the oom killer definitely will scream into the logs15:16
tewardmhm15:16
cwillu_at_work(and if you've disabled it, well, stop hitting yourself :p)15:16
neurotuspatdk-wk: no security notices for apache or php15:16
tewardcwillu_at_work: oom-killer once hard-froze a Hardy system when it started killing things, so ehh15:16
cwillu_at_work[citation needed]; lots of things get confused for "hard froze"15:16
Tazmaniawhat is oom-killer?15:17
cwillu_at_workTazmania, probably not relevant, unless you have a log file that says otherwise :p15:17
lordievaderOut of memory killer.15:17
Tazmaniaok15:17
Tazmaniathanks15:17
cwillu_at_work(have you looked at /var/log/kern.log after a crash?)15:17
lordievaderTo prevent OOM you usually have a bit of swap.15:18
cwillu_at_workerm15:18
patdk-wkneurotus, you seem to be confused15:18
cwillu_at_workyou usually have a bit of swap so that you don't have to keep idle memory in physical ram15:18
patdk-wkwhat does a security notice have to do with apache or php?15:18
TazmaniaMemTotal is 16GB and SwapTotal is also 16GB15:19
patdk-wkthey can both be security free, and working as intented, and still allow people to run whatever they wish15:19
cwillu_at_workTazmania, as I said, probably not relevant unless you've seen something in a log that suggests this is the problem15:19
patdk-wkI mean, you told it to run a php file15:19
patdk-wkif that php file allows you to, well, exploit the kernel15:19
patdk-wkwell, your rooted15:19
TazmaniaI am just checking the server detail and will look into the log15:19
patdk-wkand if not, your just now part of a botnet15:19
neurotuspatdk-wk: but no kernel change after that or anything else im running15:20
neurotuspatdk-wk: so im confused why reboot required15:20
neurotuspatdk-wk: what log should i read ?15:20
neurotuspatdk-wk: or install some security logging app15:21
TazmaniaI get a lot of input/output errors from PTY failed15:25
neurotuspatdk-wk: i read /var/log/apt/history.log and theres nothing security related after last reboot15:25
neurotuspatdk-wk: i have only installed rtorrent after last boot15:26
neurotusso it should not require reboot15:26
AvatarAif you do an uptime -s and then pastebin that history.log I think you may find out that is not true15:33
neurotusAvatarA: ive done apt-get autoremove which removed old kernel from bootlist, should that be the cause ?15:35
neurotusAvatarA: a cloud-server im running15:35
neurotusAvatarA: kvm virtualization15:36
=== markthomas|away is now known as markthomas
hallynsmb: arges: thanks guys.17:05
smbhallyn, yw17:05
=== neurotus is now known as krsna
arcskyhi guys im trying to connect to my wireless at home. i have some issues. it works with windows. what can i do?18:03
=== athairuzzz is now known as athairus
krsnaarcsky: need more details..18:37
krsnaarcsky: is the network broadcasting SSID ?18:39
krsnaarcsky: going away. hope someone helps u18:42
zikejiOkay I'm having a really frustrating issue getting SSL to work with dovecot :/18:47
arcskykrsna: yes18:59
=== markthomas is now known as markthomas|away
=== pekkos is now known as krsna
=== krsna is now known as Guest3289
=== Guest3289 is now known as neurotus
orfeoHello folks!21:01
orfeoCould someone help me figure how to unblock a virtual server runing ubuntu-server please?21:03
Serushi21:03
orfeohi21:04
Serusmy friend has recently upgraded his server to ubuntu trusty21:04
patdk-wkwell, what is a virtual server21:04
Serusbut now he's getting errors when trying to upgrade21:04
patdk-wkand how exactly did you block it21:04
tonyyarussoorfeo: What do you mean by "unblock"?21:05
Serushttp://pastebin.com/Mk8jq8g3 these are the errors I'm getting21:05
Serushow can I resolve this? I'm pretty sure insserv is conflicting with upstart21:06
orfeowell, I did install a bunch of applications on it and now when I try to stop it running to reinstall it it won't allow me. I figure that it is because there is a process running which is somehow blocking the machine.21:07
tonyyarusso"when I try to stop it" means what, and "it won't allow me" means what?21:08
orfeoFor example, when I try to shutdown the server via control panel I receive a message saying "An Error Occured! A process has already been instantiated for this virtual server. Please wait for the process to finish."21:09
tonyyarussoWhat control panel?21:09
orfeothe VPS control panel21:09
orfeoit is a virtual server. Not local.21:10
tonyyarussoWhat happens why you try to shut it down from within the machine itself?21:10
orfeodo you mean via ssh?21:10
orfeowhat command should I use for that?21:11
SerusCould anybody help me try to resolve my errors with insserv?21:11
tonyyarussoSSH or virtual console - either way.21:11
tonyyarussoshutdown....21:11
orfeoHold on, let me try it.21:11
orfeotonyyarusso: shutdown: time expected21:13
tonyyarussoYup21:13
tonyyarussoLook at the man page for the syntax.21:13
Serushttp://pastebin.com/Mk8jq8g3 can anybody please help me with this?21:15
orfeothe worst happened. I did shutdown now, lot access and the VPS control panel still blocked saying the server is runnig.21:19
orfeohow weird is that?21:19
tonyyarussoWhat arguments did you use?21:20
orfeoshutdown now21:20
tonyyarussoSo you didn't halt it.21:21
orfeois it a problem?21:21
tonyyarussoWell, that's why your server is still running.21:23
orfeoShould I use a shutdown -q now ?21:23
=== markthomas|away is now known as markthomas
tonyyarusso-h is what you wanted21:26
tonyyarussoI don't think there is a -q...21:26
* tarpman generally invokes poweroff(8) rather than try to remember the correct shutdown(8) incantation...21:27
orfeoI thought I saw it. Well, never mind, now its too late. But thank you anyway.21:28
geniiI use shutdown -h now to halt, shutdown -r now to reboot21:29
orfeogenii: cool, good to know. For the next time maybe.21:30
sarnoldSerus: do you need ppp stuff? I think first thing I'd try is apt-get purge ppp pppconfig pptpd ; if you need mdadm for raid on the system to work, leave that alone for now...21:31
=== Lcawte is now known as Lcawte|Away
Serussarnold: some guys in #ubuntu helped me, thanks anyway!22:06
sarnoldSerus: oh cool, what'd they do?22:06
TJ-sarnold: not a lot! Turns out Serus' server release upgrade crashes part way through and it was hard-rebooted22:09
sarnoldTJ-: ah, thanks :D22:10
patdk-laptarpman, I do that too22:11
patdk-lapbut I learned on some systems, the poweroff command means just that22:11
TJ-But I dug into the issue with insserv; it *seems* there's a bug in the LSB headers for the /etc/init.d/mdadm script declaring it requires mdadm-raid, but no such service file exists22:11
patdk-lapdirect poweroff, WITHOUT safely unmounting or syncing the filesystems22:12
tarpmanpatdk-lap: poweroff without shutting down first, you mean?  which systems do that?22:12
patdk-lapsolaris22:12
tarpmanah k22:12
* tarpman mental note22:12
patdk-lapgone oldschool on those, init 022:13
sarnoldtarpman: beware of the 'reboot' command there too22:13
patdk-lapna, reboot is sane22:13
sarnoldoh? was it sunos that just insta-rebooted then?22:13
patdk-lapya, same deal, but htat is safe22:13
sarnold.. if you wanted sync and umount, you would typed those too :)22:13
patdk-lapno, that is different22:13
patdk-lapreboot would do a normal safe reboot22:14
patdk-lapbut it would not do a bios reboot by default, but just a kernel reload, if all the drivers supported it22:14
patdk-lapotherwise you needed to do a reboot -p, to force a full bios reboot22:14

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