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