[01:30] hello [01:30] hmmm, on vps i have 10.10, is possible to instal from this 10.10 10.04/ [01:30] ? === dendrobates is now known as dendro-afk [01:57] hi, 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 tftpd [01:57] is there any reason I should use dnsmasq? [01:57] (I really don't like squid) [02:00] Morning, 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:07] owh, did you change runlevel in any script, or grub entry? [02:08] txomon|home: No, the server instance was a pre-built concoction by the VPS provider. [02:09] It 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:11] I can still get into single user mode. [02:16] Does 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. === dendro-afk is now known as dendrobates === nonotza_ is now known as nonotza [02:56] Hrm. 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 ? [03:14] I'm guessing that under OpenVZ some packages are not required or incompatible. How do I list which packages are missing from a standard installation? === nonotza_ is now known as nonotza [03:21] apt-get install ubuntu-standard [03:23] patdk-lap: Any side-effects I should know about? [03:24] heh? how should I know [03:25] your attempting to repurpose a custom install into another custom install [03:25] it's just sloppy and evil [03:25] I agree. [03:25] normally better to just move you stuff from one to the other [03:26] If I had two running servers I would do that, but the OpenVZ server was shutdown without notification. [03:26] why does it have to be running? [03:26] just install a normal ubuntu install into vmware [03:26] then start moving your stuff over [03:27] Except that "my stuff" is in the OpenVZ data that I now have access to under VMware, no longer under OpenVZ. [03:27] So I need to make a "yuk" VMware version of the server, so I can bring it up, then migrate my stuff. [03:27] I still fail to see why *data* must be active and running to be accessable [03:27] Unless you have a better suggestion. [03:27] it's either a tar archive, or a drive [03:28] either is accessable without RUNNING [03:29] Well, the definition of "my stuff" also includes installed packages, not just data. [03:29] solved via chroot [03:30] Hmm [03:30] i have tryed apache and lighttpd server for basic web server but i am not able to get test web page over internet [03:31] what are you getting [03:31] localhost 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 ubuntu [03:32] i am not getting any page ,error [03:33] have you tried any ports other than 80 and 8080? [03:34] yes [03:35] ok lets try it with new lighthttpd [03:37] yes even port 81 is not working [03:37] strange [03:38] what is your dnat look like? [03:38] but when i use reverse proxy i am able to use web site with nginx [03:39] log show its working i am running ftp and ssh they are working using same dnat ---way [03:42] patdk-lap, will you like to take remote ? [03:45] samba35: try "sudo ufw status" to see is there is a firewall install on your ubuntu-server [03:46] i have uninstalled it to be save [03:46] even apparmor is disable [03:47] and that is strage not of web server are working [03:47] but if i use reverse proxy with firewall/utm it works fine [03:50] now i have installed nginx as a reverse proxy and disable nat and use firewall/utm reverse proxy it works [03:50] should i try nginx as a reverse proxy behind lighthttpd ? === seshagiri is now known as [WWE]Seshagiri === [WWE]Seshagiri is now known as [DKBOSS]seshagir [04:05] hey 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] i've confirmed it's there with ls -l, and the permissions are root:root and 755 [04:06] which match others in /etc/init.d... [04:06] Is the error coming from you trying to run the script, or is it coming from inside the script? [04:06] owh, i'm pretty sure from me attempting to run the script === [DKBOSS]seshagir is now known as [InCTF] === [InCTF] is now known as [InCTF]Seshagiri === nonotza_ is now known as nonotza [04:07] excuse the paste. [04:07] sudo /etc/init.d/vm start [04:07] sudo: unable to execute /etc/init.d/vm: No such file or directory [04:07] ls -l /etc/init.d/vm [04:07] -rwxr-xr-x 1 root root 316 2012-01-14 20:58 /etc/init.d/vm [04:08] i didn't think the update-rc.d part was even necessary unless i wanted to put it in the startup... [04:09] i wanted to make sure the script works before doing that part, lol. [04:11] what happens if you do sudo bash -x /etc/init.d/vm start === [InCTF]Seshagiri is now known as seshagiri [04:11] syntax error Oo [04:12] hrm [04:12] i basically stole an existing startup script and tried to modify it for my vbox vm... i'll pastebin the script 1 sec [04:13] sudo bash -x /etc/init.d/vm start [04:13] lol oops [04:13] http://pastebin.com/9ZT0EWvF [04:15] i use the same logic, and that startup script works great. not sure why this one wouldn't... [04:16] move 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] You need to eliminate what's causing the grief. [04:17] hrm... ok [04:18] seems to work. lemme add the line that'll do the magic. [04:20] i didn't do anything differently, at least not from what i can tell. but it's working now, thanks owh. [04:20] i guess i changed the way i went about creating the script... [04:20] oh well, thanks agian. [04:20] again* [04:20] NP [04:29] Installing ubuntu-standard fixed my issues with migrating from OpenVZ to VMware. I'm now going to install my server properly :) Thanks all! === nonotza_ is now known as nonotza === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [05:21] New 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/916680 === seshagiri is now known as paalpaandi === paalpaandi is now known as milkpaandi === milkpaandi is now known as seshagiri [06:03] when i try to add php to apache i am not able to start apache [06:04] http://pastebin.com/dgVPFLkZ [06:17] that error's pretty self explanitory [06:19] i have add that page [06:20] * 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 denied [07:21] Hello all, does anyone know of a way to apply the rsync/rdiff protocol from a streamed/piped input? [07:22] It's a file on the destination, but the source is from a pipe, and is too large to write to a file, then rsync it [07:56] I 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. === Guest99356 is now known as onre === nijaba_afk is now known as nijaba [13:20] 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..... [13:20] sorry for my broken english [13:31] Nede: bad drive_ [13:31] ? [13:32] RoyK, drive is new... test single ok [13:32] insufficient power supply [13:33] i have a Corsair AX1200 [13:34] 4 HD WD2003FYYS [13:55] watch my log in http://forum.ubuntu-it.org/index.php/topic,503747.0.html [14:00] * txomon|home would never use RAID 10... prefers RAID 5 [14:00] txomon|home, raid 5 lo [14:00] sorry... [14:01] txomon|home, raid 5 is low for parity?? i prefer raid 10 for speed. Correct? [14:06] raid5 has write hole issue, also has speed issues if a single drive fails [14:12] patdk-lap, you prefer raid 5 or 10? [14:12] I only use raid10 [14:13] the only time I will even think about raid6, is if it's streaming read/writes only, like for storing backups or multimedia [14:14] patdk-lap, ok, thank's! You use mdadm or hardware card? [14:14] all depends on the application [14:14] you read my problem with mdadm in raid 10? [14:15] no [14:15] copy 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] log: http://forum.ubuntu-it.org/index.php/topic,503747.0.html [14:16] how long after you created the array did you reboot? [14:17] finish sincron...5 hours... [14:18] I try a install new ubuntu and i create new raid 10 with installer bat some problem [14:19] i try sudo mdadm --add /dev/md2 /dev/sdf1. Ok sincron but reboot some problem [14:21] hmm [14:21] sounds like a drive issue [14:21] could be a sata cable issue too [14:21] did you try smartctl? [14:23] driver and cable is new....good news, try now smartctl, one moment... [14:24] patdk-lap, do you know something about orchestra and cobbler? [14:24] new drive and cable means nothing, had both fail new on me [14:24] nope [14:25] oki [14:25] SMART overall-health self-assessment test result: PASSED [14:25] no [14:25] if you do a smartctl -a [14:25] are there any errors in the log [14:25] smartctl -H /dev/sdf [14:25] health assessment just says if the drive thinks it's ok [14:26] doesn't say anything about the cable or anything else [14:27] SMART Error Log Version: 1 [14:27] No Errors Logged [14:29] patdk-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 software [14:50] patdk-lap, total result for smartctl -a /dev/sdf1 is http://forum.ubuntu-it.org/index.php/topic,503747.0.html [16:28] hi, 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:49] Joah, that's not port forwarding, just redirection [16:49] what's the difference? [16:49] and regardless, it's not working at all [16:50] that rule takes incoming traffic on port 8080 and changes it to port 80 [16:50] it doesn't forward it to any hosts [16:50] well [16:50] what i'd like to do is have people be able to connect to a daemon running on port 8002 by connecting to port 843 [16:51] so that is what you want [16:53] actually I said that backwards, it's taking 80 and going to 8080 [16:54] so you'd want to change 80 to 8002 and 8080 to 843 [16:54] oh, hmm [16:55] i had it backwards [16:55] let me try that [16:56] that didn't work, either [16:57] well, first things first [16:57] can you verify your daemon is listening on 843 with netstat -ln [16:58] well, it's running on 8002 [16:58] i want to make it accessible via 843 [16:58] oh [16:58] but yes, it is indeed running on 8002 [16:58] I'm mixing everything up [16:59] then you had the rule right before, the first number is the incoming connections, the --to-port is the port the daemon is listening on [16:59] ah [16:59] and can you make a tcp connection on 8002 to it? [17:00] patdk-lap: the speed issue on drive failure is highly theoretical, the write hole is not, however [17:00] yes [17:00] it's functioning properly [17:00] ok [17:00] i think something may be syntaxically incorrect with that [17:00] royk, how is the speed issue theoretical? [17:00] because ever since i added that to my before.rules [17:00] i've been getting this [17:01] i'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] ERROR: problem running ufw-init [17:01] when enabling ufw [17:01] though, if i do ufw enable again afterwards, it works [17:01] if you need the info off the failed drive, it has to read from all the other drives, and recreate it [17:01] normally it would read off the one drive directly [17:01] so then, pastebin 'sudo iptables -L' and 'sudo iptables -L -t nat' [17:01] therefor your iops just got cut down considerably [17:01] and there should be a ufw log in /var/log [17:02] with raidz it's already cut down, so you don't loose performance, cause you lose it at all times [17:02] I don't know ufw all that well, but I do know iptables [17:03] hmm, you know, qman__ [17:03] it's not showing up at all in those [17:03] but a rule i manually added through iptables to do the same is [17:03] same, with different ports [17:06] iptables -t nat -I PREROUTING -p tcp --dport 843 -j REDIRECT --to-port 8002 [17:06] that would work [17:06] but would ufw clear it eventually, or would it clear on reboot? [17:07] only if it gets reloaded [17:07] so yes, on reboot, but possibly other times as well [17:07] hmm [17:12] yeah, something has to be wrong with that tutorial [17:12] i commented out those lines [17:12] now everything is functioning normally === pdtpatrick_ is now known as pdtpatrick [18:32] hi [18:32] i'm having trouble installing ubuntu server on my desktop [18:32] i tried both 64-bit and 32-bit ISOs [18:32] both reboot at the menu screen [18:32] i.e. if i choose a menu option, the computer disc drive light blinks a bit then the computer reboots [18:33] in 32-bit though it actually just hangs [18:33] it doesn't reboot [18:33] all i see is a blank screen [18:33] the regular ubuntu ISO works fine [18:33] desktop [18:33] as does debian [19:00] Joah: 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 configuration === dendrobates is now known as dendro-afk [19:08] New bug: #911642 in samba (main) "system-config-printer.py crashed with SIGSEGV in debug_lookup_classname_int()" [Medium,Triaged] https://launchpad.net/bugs/911642 === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [21:09] oii [21:09] someone awake ? [21:09] i got this error when booting the server [21:09] >> [21:09] unable to connect to system bus: failes to connect to socket: /var/run/dbus/system_bus_socket: connection refused [21:09] waiting for network configuration [21:09] booting systel without full network configuration [21:09] skipping profile in /etc/apparmor.d/disable: usr.bin.firefox [ok] [21:09] * starting apparmor profiles [21:10] << [21:10] then the system hangs [21:10] i have this error since i upgraded to ubuntu 11.10 [21:32] perre`: firefox on a server? === dendrobates is now known as dendro-afk [21:38] and dbus [21:43] well... i installed ubuntu desktop in hope i got rid of the display error when streaming video on demand [21:44] result: epic fail [21:44] now i only have a command line and the network interface isn't working === dendro-afk is now known as dendrobates [21:56] desktop is back... network won't work :( [22:03] Hi, 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] after server update tis error: [22:03] * Starting ftp server proftpd [22:03] - 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' library [22:03] - Fatal: LoadModule: error loading module 'mod_vroot.c': Operation not permitted on line 68 of '/etc/proftpd/modules.conf' [22:03] ...fail! [22:04] http://pastebin.com/xwMEGHgY === 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 [23:28] hello, i want to install packet without user integrate, but packet have in whiptail option yes and no, how to chose yes automatical? [23:40] I don't understand the question. [23:47] This is a long shot: anybody familiar with slapo-ppolicy account locking semantics? [23:48] I want to manually lock an account until further notice.