[00:09] <pmatulis> kalkin-: investigate 'postfix rewrite sender'
[00:10] <kalkin-> pmatulis: thanks, thats exactly what i needed
[02:10] <Technicus> I have Ubuntu Server Edition installed on VirturalBox.  Guestadditions is installed, how do I change the resolution so that when I go full screen it will fill the screen?
[02:12] <jmarsden> Technicus: Why do you need to?  Just ssh to the server VM from a GUi terminal of your choice :)
[02:13] <Technicus> Ok . . . that is a preferred option.  I am having trouble with ssh.
[02:17] <Technicus> I set the network adapter to NAT and Host Only Adapter, but with Host-Only Adapter, I can connect with SSH but there is no connection with the internet.  Someone suggested that I mak two adapters, but I do not yet understand how to do that.
[02:21] <jmarsden> Technicus: Set networking to Bridged, and bridge you eth0 (or whatever the main NIC on your host machine is)
[02:22] <jmarsden> You will need to shut down the VM, change the setting, and restart the VM.
[02:33] <Technicus> jmarsden: Ok so I just did that.
[02:34] <jmarsden> OK.  So now your VM has an Ip address on your local (real, physical) subnet, right?  So ssh from a terminal emulator on the host PC to the IP of the VM.
[02:35] <Technicus> Please explain how to find the answer to your question . . .
[02:35] <jmarsden> What IP address does your BM now have?
[02:35] <jmarsden> *VM.
[02:37] <Technicus> 192.168.56.10/24
[02:37] <jmarsden> OK, so from a terminal on the host, do   ssh you@192.168.56.10
[02:38] <Technicus> ssh: connect to host 192.168.56.10 port 22: Connection timed out
[02:38] <jmarsden> Did you install openssh-server in the VM ?
[02:39] <jmarsden> If not, do so :)
[02:41] <Technicus> It is installed.
[02:41] <Technicus> I was able to connect to it with the host-only network adapter.
[02:41] <jmarsden> Then either it is not running, or that is not really the IP of the VM, or you have a firewall on the VM...
[02:42] <jmarsden> Yes, but host only is relatively useless for a server... it can't serve anything to anyone except the local host if you do that :)
[02:42] <jmarsden> OK, on the VM, what does     sudo netstat -ntlp |grep :22   output ?
[02:44] <Technicus> Just a moment . . . there was an error and I have to restart it.  It is slow to restart.
[02:45] <jmarsden> It shoudn't be slow to restart... unless you don't have enough RAM for it?
[02:45] <Technicus> How much ram do you suggest?
[02:45] <jmarsden> Well, for a bare server doing nothing, 256MB is enough... but you need to really have that real physical RAM free for it, so it doesn't swap
[02:49] <Technicus> LISTEN
[02:52] <Technicus> So It appears to be functional now.
[02:53] <Technicus> I can at least SSH from the host to the guest not to see if the internet connection is avaliable.
[02:58] <jmarsden> Looks like you are all set. ping 8.8.8.8 from the VM to check internet connectivity
[02:58] <Technicus> It is working!
[02:58] <Technicus> Thanks a lot!
[02:58] <Technicus> Would it be difficult to setup for a static IP address?
[02:59] <jmarsden> No, see the relevant part of the Ubuntu Server Guide.
[03:00] <jmarsden> https://help.ubuntu.com/10.04/serverguide/C/network-configuration.html   and look for "Static IP Address Assignment"
[03:01] <Technicus> This is great . . . thanks lots!
[03:02] <jmarsden> You're welcome.
[04:35] <philipballew> anyone know a cheep domain registry site
[04:51] <lickalott> you want to create a domain or DNS it?
[04:52] <lickalott> philipballew
[04:53] <lickalott> if you come back while i'm gone:  1and1.com for creation, dot.tk for DNS
[05:00] <philipballew> lickalott, i want to make my wordpress link to www.philipballew.com
[05:00] <philipballew> and i want to own that
[05:01] <lickalott> you need both then.
[05:01] <philipballew> how should I go about that
[05:01] <lickalott> 1and1.com for domain space/name then a port 80 redirect from your wordpress to www.philipballew.com
[06:40] <ubun> im trying to install ubuntu10.04 server into a HP Proliant g360 g3. when i get to the partitioning part it says the disc is too small??? (btw im a noob)
[08:38] <airtonix> ubun: if you simply typed a number in the partition size assuming it would be gigabytes then that is your problem
[08:39] <airtonix> ubun: it's megabyes by default when you don't add "GB" to the end of the number
[11:39] <bdmc> Folks,  I have a problem with an upgrade that I am working on.  The machine was running 9.04 and when we rebooted it for maintenance, the machine owner saw the message that said to run do-upgrade ( the upgrade to Natty ) and asked that that be done.  Unfortunately, we are now in a state where none of the recent kernels 2.6.38-x seem to run at all, and the original kernel, 2.6.28-14-server will at least boot, but there are some
[11:40] <maxb> Your message was truncated at "... there are some"
[11:41]  * maxb spends a good few seconds doing the mental maths to establish that 9.04 is jaunty
[11:42] <bdmc> sorry. it went on to say that there are serious errors ( can't read /proc, etc ) so the machine is basically dead.  Any suggestions?
[11:43] <maxb> I feel you've not fully explained the situation, because the ubuntu upgrader would never have gone directly from jaunty to natty
[11:45] <bdmc> and yet it did -- there was only the one command.  However, the machine has been given updates continually, but never rebooted, so you're right, things have been updated, just running on the old kernel until now.
[11:52] <bdmc> maxb: yes, we have tried downloading various kernels, including "linux-image-server" which said that it was installing, but I can't find it.
[11:53] <maxb> I'm sorry, but at the current level of detail of your explanation, I really have no insight into what state your machine is in
[11:54] <maxb> I can definitely say, however, that the Ubuntu *supported* upgrade processes are only from one release to the next immediately following it, and from one LTS to the next LTS
[11:55] <maxb> I am extremely sceptical that do-release-upgrade would have violated this
[11:56] <bdmc> Sorry.  I have been up for more than 24 hours, and may not be thinking as well as I should.  Obviously, the do-release-upgrade was misled if the system was in any other state.  I can't get into it at the moment ( I am on the other side of the continent from the machine. )
[11:57] <bdmc> Could it have had its sources list updated to maverick and updates done properly successfully, even without the kernel being updated ( rebooted ).
[11:58] <maxb> It's possible
[12:00] <maxb> Pretty hideously unwise to have performed an upgrade to a new release series and not have rebooted, thoguh
[12:01] <bdmc> Two questions.  One, if such a thing was done, and therefore most of the machine should have been in a "maverick" state, why would a Natty upgrade with a Natty kernel have failed so?  ( Yes, there was, shall we say, resistance to rebooting while the system was "running."
[12:02] <bdmc> Secondly, during the Natty upgrade, I did see a couple of error messages about improper version numbers.  One was libxen3, if I remember correctly, and the other was cnews.
[12:03] <maxb> I'm afraid you're not really giving enough info about the failures to infer anything useful
[12:03] <maxb> You've said there's some problem booting the natty kernel - but what?
[12:04] <maxb> As for the error messages during the upgrade, I'd need to see the exact messages, or a closer approximation of the exact messages, to understand what they were complaining about
[12:04] <maxb> I suggest sleeping, and coming back here once you have access to the server
[12:05] <maxb> :-)
[12:13] <bdmc> True.  I am going to call it a night for a while.  I am trying to see through someone else's eyes, too, which is a problem.  He has just told me that he was paying attention during the boot, and it looks as if it was stopping on a fsck error.
[12:15] <maxb> a fsck error is a whole different issue entirely
[12:16] <maxb> you really really need to get some exact error messages to better understand the problem
[12:18] <bdmc> I agree.  I was fighting to see what was happening during the boot process, and finally got that message from him.  The system is back up and running now, so I am going to get some sleep and "finish" later.  Thanks for the encouragement.
[13:51] <shadeslayer> hi, i need some help with lvm, i'm completely new to it and was wondering how to increase my swap size
[14:02] <shadeslayer> well .. i think i need to shrink my root partition first to free some space ...
[14:59] <Dice-Man> hi
[15:02] <Dice-Man> how set up quotas on my ssh server ?
[15:03] <Dice-Man> *to
[15:08] <Dice-Man> the server is runnin on a xubuntu desktop version
[15:08] <Dice-Man> i've tried quota with sudo apt-get install quota but when running the cmd quotacheck -vagum it doesn't run
[15:08] <Dice-Man> i got something about lstat
[17:05] <udienz> Is there anybody to merging tftp-hpa now?
[17:07] <udienz> if no one doing merge i'll take it
[17:19] <Technicus> Hello . . . I have a server running ( this is the first time I have ever managed a server ), I have configured it for ZoneMinder video surveillance following the tutorial: < http://www.zoneminder.com/wiki/index.php/Ubuntu_Server_10.10_32-bit_with_ZoneMinder_1.24.2_from_source,_FFmpeg,_libjpeg-turbo,_Webmin,_Cambozola >.  I am having troubles logging into the web admin interface.  How do I make a user, my Ubuntu username an
[19:32] <dxd828> Hey guys, do you know if it would be possible to update cms systems like wp with puppet on multiple servers?
[20:17] <Slyboots> Hi
[20:18] <Slyboots> Im having some serious issues with Ubuntu 11.04 with an AMD Fusion motherboard.. any ammount of network traffic seems to cuase the machine to kernel panic
[20:19] <Slyboots> Get a few messages about "NOZH: Local_softirq_pending 08"; Followed by "BUG : unable to handle kernel paging request at ffff88022c5c3000"
[20:19] <Slyboots> Then kernel panic
[22:21] <multiHYP> hi guys, is there something like homebrew for mac for the ubuntu?
[22:22] <multiHYP> im running 11.04 server
[22:23] <multiHYP> why is my server by default has no user directories? public_html or pictures or documents etc.?
[22:24] <multiHYP> where to go if i have ubuntu server setup/config questions?
[22:26] <Pici> multiHYP: Here is a good place, but I'm not sure why you would think that you should have 'user directories' by default.
[22:26] <multiHYP> cause in the uni we used to have those by default, i guess it was made by the system admin
[22:27] <Pici> You'd need to set that up yourse,lf, I *think* apache's mod_public does that, but don't quote me on that.
[22:30] <multiHYP> might actually try nginx
[22:30] <multiHYP> someone suggested for scala and lift development thats better...
[22:34] <lenios> apache mod_userdir does that
[22:35] <lenios> or are we talking about /home dir for each user?
[23:04] <multiHYP> lenios_: no just the ~/public_html/ or wherever else I shall put my .html .php .war pages and applications.
[23:04] <multiHYP> although somebody recommended me to use nginx
[23:19] <multiHYP> there is no easy way of installing nginx alone without 100 different settings and adjustments on linux ubuntu 11.04.
[23:48] <multiHYP> do i need to open the same udp ports as well for ssh or any other case?
[23:48] <multiHYP> im using ufw
[23:49] <qman__> SSH does not use UDP
[23:50] <qman__> also, ubuntu is secure by default -- that means no extra functions are installed
[23:50] <multiHYP> so 80 for webserver, 22 or any other custom for ssh, 443 for https
[23:50] <qman__> if you want things like userdir, you have to set it up
[23:50] <multiHYP> well i had to setup iptables, thats not exactly secure by default
[23:50] <qman__> yes, it is
[23:50] <qman__> even though iptables has no rules by default, there is also nothing listening by default
[23:51] <multiHYP> maybe to outsiders, which i still don;t think it is, but i want it even sorted for multiple users..
[23:51] <multiHYP> i did setup iptables and now ufw, so hopefully iptables settings are gone
[23:52] <multiHYP> sftp uses the same port as ssh, even if i customised ssh?
[23:52] <qman__> yes
[23:52] <qman__> sftp is a function of the SSH server
[23:52] <multiHYP> also only tcp right?
[23:52] <qman__> it is not separate
[23:52] <multiHYP> ok, thanks qman__ :)
[23:53] <qman__> no firewall is configured out of the box in order to make it easier to set things up, but there also is nothing running and listening out of the box
[23:53] <qman__> so unless you make changes, it is, in fact, secure
[23:55] <multiHYP> yes obviously, but if you run something like webserver, ssh or sftp connections etc then things need to be secured.
[23:55] <multiHYP> im in that phase now
[23:56] <multiHYP> how can i remove the previous settings i specified for uptables? i want to stick to ufw since its much easier.
[23:56] <qman__> ufw is just a frontend to iptables
[23:57] <multiHYP> i remember some /etc/iptables > and the iptables-save/-restore <
[23:57] <qman__> it depends on how you configured it
[23:57] <multiHYP> so how can i double check the state of iptables now?
[23:57] <multiHYP> nano /etc/iptables….
[23:57] <qman__> if you just created some rules via 'sudo iptables ...' then they will be overwritten by UFW
[23:58] <multiHYP> no i overwrote the file and had .test.rules and a default preup and all that
[23:58] <multiHYP> i followed a good article but forgot to bookmark it
[23:58] <qman__> then you'll have to change the files back to default
[23:58] <multiHYP> don't know what was the default :(
[23:59] <qman__> though UFW may override it, I don't know enough about UFW and how specifically it interacts with iptables
[23:59] <qman__> you can always check the current firewall with sudo iptables -L
[23:59] <multiHYP> yes it overwrites i just want to double check just in case