/srv/irclogs.ubuntu.com/2012/01/15/#ubuntu-server.txt

wmphello01:30
wmphmmm, on vps i have 10.10, is possible to instal from this 10.10 10.04/01:30
wmp?01:30
=== dendrobates is now known as dendro-afk
txomon|homehi, I am trying to create something similar to orchestra, but not exactly. I want to use apt-cacher-ng instead of squid and instead of dnsmasq, bootp and tftpd01:57
txomon|homeis there any reason I should use dnsmasq?01:57
txomon|home(I really don't like squid)01:57
owhMorning, I'm between a rock and a hard place. Had a Hardy server running as a guest under OpenVZ. I installed a Hardy server guest under VMware. I then rsynced the OpenVZ to the VMware box, excluding /etc/fstab,/boot,/proc,/lib/modules and /sys - I can now boot the VMware guest in single mode, but normal boot gives me INIT: no more processes left in this runlevel. Any suggestions?02:00
txomon|homeowh, did you change runlevel in any script, or grub entry?02:07
owhtxomon|home: No, the server instance was a pre-built concoction by the VPS provider.02:08
owhIt looks to be running kinit. I just renamed inittab to inittab.off and rebooted - if it was running upstart all should have worked, but it seems to have been borked.02:09
owhI can still get into single user mode.02:11
owhDoes anyone have any suggestions of things to look into? I wonder if there is a tool that can give me a "diff" between a standard install and the borked one I have.02:16
=== dendro-afk is now known as dendrobates
=== nonotza_ is now known as nonotza
owhHrm. The instructions for making an OpenVZ guest include removing tty. I'm guessing this will be a problem under VMware. How do I restore that, as well as /lib/udev ?02:56
owhI'm guessing that under OpenVZ some packages are not required or incompatible. How do I list which packages are missing from a standard installation?03:14
=== nonotza_ is now known as nonotza
patdk-lapapt-get install ubuntu-standard03:21
owhpatdk-lap: Any side-effects I should know about?03:23
patdk-lapheh? how should I know03:24
patdk-lapyour attempting to repurpose a custom install into another custom install03:25
patdk-lapit's just sloppy and evil03:25
owhI agree.03:25
patdk-lapnormally better to just move you stuff from one to the other03:25
owhIf I had two running servers I would do that, but the OpenVZ server was shutdown without notification.03:26
patdk-lapwhy does it have to be running?03:26
patdk-lapjust install a normal ubuntu install into vmware03:26
patdk-lapthen start moving your stuff over03:26
owhExcept that "my stuff" is in the OpenVZ data that I now have access to under VMware, no longer under OpenVZ.03:27
owhSo I need to make a "yuk" VMware version of the server, so I can bring it up, then migrate my stuff.03:27
patdk-lapI still fail to see why *data* must be active and running to be accessable03:27
owhUnless you have a better suggestion.03:27
patdk-lapit's either a tar archive, or a drive03:27
patdk-lapeither is accessable without RUNNING03:28
owhWell, the definition of "my stuff" also includes installed packages, not just data.03:29
patdk-lapsolved via chroot03:29
owhHmm03:30
samba35i have tryed apache and lighttpd server for basic web server but i am not able to get test web page over internet03:30
piercedwaterwhat are you getting03:31
samba35localhost works fine ,i have firewall/utm where i have add DNAT and i check with tcpdump when i hit my web site some packets are comming to ubuntu03:31
samba35i am not getting any page ,error03:32
patdk-laphave you tried any ports other than 80 and 8080?03:33
samba35yes03:34
samba35ok lets try it with new lighthttpd03:35
samba35yes even port 81 is not working03:37
samba35strange03:37
patdk-lapwhat is your dnat look like?03:38
samba35but when i use reverse proxy i am able to use web site with nginx03:38
samba35log show its working i am running ftp and ssh they are working using same dnat ---way03:39
samba35patdk-lap, will you like to take remote ?03:42
delerium_samba35: try "sudo ufw status" to see is there is a firewall install on your ubuntu-server03:45
samba35i have uninstalled it to be save03:46
samba35even apparmor is disable03:46
samba35and that is strage not of web server are working03:47
samba35but if i use reverse proxy with firewall/utm it works fine03:47
samba35now i have installed nginx as a reverse proxy and disable nat and use firewall/utm reverse proxy it works03:50
samba35should i try nginx as a reverse proxy behind lighthttpd ?03:50
=== seshagiri is now known as [WWE]Seshagiri
=== [WWE]Seshagiri is now known as [DKBOSS]seshagir
arrrghhhhey all.  trying to create a service that runs on boot, and i've added it to /etc/init.d, i did update-rc.d... but every time i try to run it by hand it says "no such file or directory".04:05
arrrghhhi've confirmed it's there with ls -l, and the permissions are root:root and 75504:05
arrrghhhwhich match others in /etc/init.d...04:06
owhIs the error coming from you trying to run the script, or is it coming from inside the script?04:06
arrrghhhowh, i'm pretty sure from me attempting to run the script04:06
=== [DKBOSS]seshagir is now known as [InCTF]
=== [InCTF] is now known as [InCTF]Seshagiri
=== nonotza_ is now known as nonotza
arrrghhhexcuse the paste.04:07
arrrghhhsudo /etc/init.d/vm start04:07
arrrghhhsudo: unable to execute /etc/init.d/vm: No such file or directory04:07
owhls -l /etc/init.d/vm04:07
arrrghhh-rwxr-xr-x 1 root root 316 2012-01-14 20:58 /etc/init.d/vm04:07
arrrghhhi didn't think the update-rc.d part was even necessary unless i wanted to put it in the startup...04:08
arrrghhhi wanted to make sure the script works before doing that part, lol.04:09
owhwhat happens if you do sudo bash -x /etc/init.d/vm start04:11
=== [InCTF]Seshagiri is now known as seshagiri
arrrghhhsyntax error Oo04:11
arrrghhhhrm04:12
arrrghhhi basically stole an existing startup script and tried to modify it for my vbox vm... i'll pastebin the script 1 sec04:12
arrrghhh sudo bash -x /etc/init.d/vm start04:13
arrrghhhlol oops04:13
arrrghhhhttp://pastebin.com/9ZT0EWvF04:13
arrrghhhi use the same logic, and that startup script works great.  not sure why this one wouldn't...04:15
owhmove the vm script out of the way, copy the working script in place, see what happens. Either the script is the problem, or the environment.04:16
owhYou need to eliminate what's causing the grief.04:16
arrrghhhhrm... ok04:17
arrrghhhseems to work.  lemme add the line that'll do the magic.04:18
arrrghhhi didn't do anything differently, at least not from what i can tell.  but it's working now, thanks owh.04:20
arrrghhhi guess i changed the way i went about creating the script...04:20
arrrghhhoh well, thanks agian.04:20
arrrghhhagain*04:20
owhNP04:20
owhInstalling ubuntu-standard fixed my issues with migrating from OpenVZ to VMware. I'm now going to install my server properly :) Thanks all!04:29
=== nonotza_ is now known as nonotza
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
uvirtbotNew bug: #916680 in samba (main) "package swat 2:3.5.11~dfsg-1ubuntu2.1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/91668005:21
=== seshagiri is now known as paalpaandi
=== paalpaandi is now known as milkpaandi
=== milkpaandi is now known as seshagiri
samba35when i try to add php to apache i am not able to start apache06:03
samba35http://pastebin.com/dgVPFLkZ06:04
qman__that error's pretty self explanitory06:17
samba35i have add that page06:19
samba35 * Restarting web server apache2                                                                                             apache2: Syntax error on line 204 of /etc/apache2/apache2.conf: Could not open config directory /etc/apache2/mods-enabled: Permission denied06:20
trevorjHello all, does anyone know of a way to apply the rsync/rdiff protocol from a streamed/piped input?07:21
trevorjIt's a file on the destination, but the source is from a pipe, and is too large to write to a file, then rsync it07:22
ZanzacarI am curious if anyone could help me with determining the authenticity and trust worthyness of software. I was thinking about using Vapor the cross platform steam chat client but I am sure you have to put in all your acount info and I dont know what all the software might do with it.07:56
=== Guest99356 is now known as onre
=== nijaba_afk is now known as nijaba
Nedehi! I have a problem with mdadm in raid 10. Succesfull create array with 4 HD 2Tb, but reboot system it is degraded. 3 HD ok, 1 removed.....13:20
Nedesorry for my broken english13:20
RoyKNede: bad drive_13:31
RoyK?13:31
NedeRoyK, drive is new... test single ok13:32
semiosisinsufficient power supply13:32
Nedei have a Corsair AX120013:33
Nede4 HD WD2003FYYS13:34
Nedewatch my log in http://forum.ubuntu-it.org/index.php/topic,503747.0.html13:55
* txomon|home would never use RAID 10... prefers RAID 514:00
Nedetxomon|home, raid 5 lo14:00
Nedesorry...14:00
Nedetxomon|home, raid 5 is low for parity?? i prefer raid 10 for speed. Correct?14:01
patdk-lapraid5 has write hole issue, also has speed issues if a single drive fails14:06
Nedepatdk-lap, you prefer raid 5 or 10?14:12
patdk-lapI only use raid1014:12
patdk-lapthe only time I will even think about raid6, is if it's streaming read/writes only, like for storing backups or multimedia14:13
Nedepatdk-lap, ok, thank's! You use mdadm or hardware card?14:14
patdk-lapall depends on the application14:14
Nedeyou read my problem with mdadm in raid 10?14:14
patdk-lapno14:15
Nedecopy and paste: hi! I have a problem with mdadm in raid 10. Succesfull create array with 4 HD 2Tb, but reboot system it is degraded. 3 HD ok, 1 removed.....14:15
Nedelog: http://forum.ubuntu-it.org/index.php/topic,503747.0.html14:15
patdk-laphow long after you created the array did you reboot?14:16
Nedefinish sincron...5 hours...14:17
NedeI try a install new ubuntu and i create new raid 10 with installer bat some problem14:18
Nedei try sudo mdadm --add /dev/md2 /dev/sdf1. Ok sincron but reboot some problem14:19
patdk-laphmm14:21
patdk-lapsounds like a drive issue14:21
patdk-lapcould be a sata cable issue too14:21
patdk-lapdid you try smartctl?14:21
Nededriver and cable is new....good news, try now smartctl, one moment...14:23
txomon|homepatdk-lap, do you know something about orchestra and cobbler?14:24
patdk-lapnew drive and cable means nothing, had both fail new on me14:24
patdk-lapnope14:24
txomon|homeoki14:25
NedeSMART overall-health self-assessment test result: PASSED14:25
patdk-lapno14:25
patdk-lapif you do a smartctl -a14:25
patdk-lapare there any errors in the log14:25
Nedesmartctl -H /dev/sdf14:25
patdk-laphealth assessment just says if the drive thinks it's ok14:25
patdk-lapdoesn't say anything about the cable or anything else14:26
NedeSMART Error Log Version: 114:27
NedeNo Errors Logged14:27
txomon|homepatdk-lap, do you know how to distinguish between a RAID via software and via hardware using commands? I have a NAS and don't know if its via hardware or via software14:29
Nedepatdk-lap, total result for smartctl -a /dev/sdf1 is http://forum.ubuntu-it.org/index.php/topic,503747.0.html14:50
Joahhi, all. i'm having an issue with ufw. i'm trying to enable port forwarding with ufw (as outlined in serverfault.com/questions/238563/can-i-use-ufw-to-setup-a-port-forward), but i'm having no luck. any ideas?16:28
qman__Joah, that's not port forwarding, just redirection16:49
Joahwhat's the difference?16:49
Joahand regardless, it's not working at all16:49
qman__that rule takes incoming traffic on port 8080 and changes it to port 8016:50
qman__it doesn't forward it to any hosts16:50
Joahwell16:50
Joahwhat i'd like to do is have people be able to connect to a daemon running on port 8002 by connecting to port 84316:50
qman__so that is what you want16:51
qman__actually I said that backwards, it's taking 80 and going to 808016:53
qman__so you'd want to change 80 to 8002 and 8080 to 84316:54
Joahoh, hmm16:54
Joahi had it backwards16:55
Joahlet me try that16:55
Joahthat didn't work, either16:56
qman__well, first things first16:57
qman__can you verify your daemon is listening on 843 with netstat -ln16:57
Joahwell, it's running on 800216:58
Joahi want to make it accessible via 84316:58
qman__oh16:58
Joahbut yes, it is indeed running on 800216:58
qman__I'm mixing everything up16:58
qman__then you had the rule right before, the first number is the incoming connections, the --to-port is the port the daemon is listening on16:59
Joahah16:59
qman__and can you make a tcp connection on 8002 to it?16:59
RoyKpatdk-lap: the speed issue on drive failure is highly theoretical, the write hole is not, however17:00
Joahyes17:00
Joahit's functioning properly17:00
qman__ok17:00
Joahi think something may be syntaxically incorrect with that17:00
patdk-laproyk, how is the speed issue theoretical?17:00
Joahbecause ever since i added that to my before.rules17:00
Joahi've been getting this17:00
Bogdanieli'm having a problem on a ubuntu server when trying to restart networking stays on reconfiguring the network and doesn't do anything else..17:01
JoahERROR: problem running ufw-init17:01
Joahwhen enabling ufw17:01
Joahthough, if i do ufw enable again afterwards, it works17:01
patdk-lapif you need the info off the failed drive, it has to read from all the other drives, and recreate it17:01
patdk-lapnormally it would read off the one drive directly17:01
qman__so then, pastebin 'sudo iptables -L' and 'sudo iptables -L -t nat'17:01
patdk-laptherefor your iops just got cut down considerably17:01
qman__and there should be a ufw log in /var/log17:01
patdk-lapwith raidz it's already cut down, so you don't loose performance, cause you lose it at all times17:02
qman__I don't know ufw all that well, but I do know iptables17:02
Joahhmm, you know, qman__17:03
Joahit's not showing up at all in those17:03
Joahbut a rule i manually added through iptables to do the same is17:03
Joahsame, with different ports17:03
Joahiptables -t nat -I PREROUTING -p tcp --dport 843 -j REDIRECT --to-port 800217:06
Joahthat would work17:06
Joahbut would ufw clear it eventually, or would it clear on reboot?17:06
qman__only if it gets reloaded17:07
qman__so yes, on reboot, but possibly other times as well17:07
Joahhmm17:07
Joahyeah, something has to be wrong with that tutorial17:12
Joahi commented out those lines17:12
Joahnow everything is functioning normally17:12
=== pdtpatrick_ is now known as pdtpatrick
chuck_hi18:32
chuck_i'm having trouble installing ubuntu server on my desktop18:32
chuck_i tried both 64-bit and 32-bit ISOs18:32
chuck_both reboot at the menu screen18:32
chuck_i.e. if i choose a menu option, the computer disc drive light blinks a bit then the computer reboots18:32
chuck_in 32-bit though it actually just hangs18:33
chuck_it doesn't reboot18:33
chuck_all i see is a blank screen18:33
chuck_the regular ubuntu ISO works fine18:33
chuck_desktop18:33
chuck_as does debian18:33
jdstrandJoah: fyi, see the 'man ufw-framework' man page which also has information on setting up nat and redirects. it will also explain how to add the above rule that you said would work to your ufw configuration19:00
=== dendrobates is now known as dendro-afk
uvirtbotNew bug: #911642 in samba (main) "system-config-printer.py crashed with SIGSEGV in debug_lookup_classname_int()" [Medium,Triaged] https://launchpad.net/bugs/91164219:08
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
perre` oii21:09
perre`someone awake ?21:09
perre`i got this error when booting the server21:09
perre`>>21:09
perre`unable to connect to system bus: failes to connect to socket: /var/run/dbus/system_bus_socket: connection refused21:09
perre`waiting for network configuration21:09
perre`booting systel without full network configuration21:09
perre`skipping profile in /etc/apparmor.d/disable: usr.bin.firefox [ok]21:09
perre`* starting apparmor profiles21:09
perre`<<21:10
perre`then the system hangs21:10
perre`i have this error since i upgraded to ubuntu 11.1021:10
RoyKperre`: firefox on a server?21:32
=== dendrobates is now known as dendro-afk
patdk-lapand dbus21:38
perre`well... i installed ubuntu desktop in hope i got rid of the display error when streaming video on demand21:43
perre`result: epic fail21:44
perre`now i only have a command line and the network interface isn't working21:44
=== dendro-afk is now known as dendrobates
perre`desktop is back... network won't work :(21:56
LcawteHi, I've been trying to setup my mail server like written https://help.ubuntu.com/community/PostfixVirtualMailBoxClamSmtpHowto but my user add script isn't working properly, I get the following output...22:03
perre`after server update tis error:22:03
perre` * Starting ftp server proftpd22:03
perre` - mod_tls/2.4.2: compiled using OpenSSL version 'OpenSSL 1.0.0d 8 Feb 2011' headers, but linked to OpenSSL version 'OpenSSL 1.0.0e 6 Sep 2011' library22:03
perre` - Fatal: LoadModule: error loading module 'mod_vroot.c': Operation not permitted on line 68 of '/etc/proftpd/modules.conf'22:03
perre`   ...fail!22:03
Lcawtehttp://pastebin.com/xwMEGHgY22:04
=== nonotza_ is now known as nonotza
=== dendrobates is now known as dendro-afk
=== Lcawte is now known as Lcawte|Away
=== dendro-afk is now known as dendrobates
wmphello, i want to install packet without user integrate, but packet have in whiptail option yes and no, how to chose yes automatical?23:28
twbI don't understand the question.23:40
twbThis is a long shot: anybody familiar with slapo-ppolicy account locking semantics?23:47
twbI want to manually lock an account until further notice.23:48

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