Search:

Type: Posts; User: Viruk; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    OK - at least we can see why there's a difference in the behaviour of that now.

    Thanks again for all your help with this :)
  2. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    When I rerun the vmware-config-tools.pl script, I have to add the headers back in. The command is removing all of these which is not neccessarily what I need - but I'm aware of it and can add them...
  3. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    As expected that removes a lot of items from the list; however it removes all the headers from the list so the output of:

    dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed...
  4. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    Could that just be because you have run this in the past and the line containing "linux-source-2.6.32" had been removed already?

    I'm going to try running:

    apt-get purge $(dpkg -l 'linux-*' |...
  5. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    2.6.32-41-generic-pae has become available since Friday, so I have gone back to the last snapshot from last week and made sure it is up to date with everything now.

    Running the commands you...
  6. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    I can restore and re-run those tests later today, I'm not sure what could be different between our systems though.

    I'll post some results when I have chance later in the morning.
  7. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    If i edit that to be "head -n -2", the output is the same list with the last line removed - but I suspect you'll have realised that already :)

    so by editing the end of that command I can specify...
  8. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    The output of


    dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | head -n -1
    is


    linux-headers-2.6.32-21...
  9. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    I've already started testing something else from a rollback :)

    apt-get purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^...
  10. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    Updated using apt-get update and apt-get upgrade
    then did apt-get dist-upgrade which took it from kernel 2.6.32-39 to 2.6.32-40

    and logged on to see:


    Linux V-Wiki 2.6.32-40-generic-pae...
  11. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    Yes - I spotted the change and thought that would do the trick.

    I'm re-running through the whole process again to check I haven't done anything stupid....
  12. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    OK, so I've rolled back to the snapshot which is running 2.6.32-39-generic-pae, made sure everything is up to date with apt-get update and upgrade and then done apt-get dist-upgrade which has...
  13. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    When automatic updates are selected on an Ubuntu server, which updates are applied?
    I thought (aparently wrongly) that it was just the equivalent of apt-get update and apt-get upgrade, but that...
  14. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    I'm going to have to pick this up again in the morning, but I also found this:
    http://www.linux-archive.org/ubuntu-server-development/633936-distro-provided-mechanism-clean-up-old-kernels-2.html
  15. Replies
    33
    Views
    15,840

    [SOLVED] Re: Automating removal of old kernels from servers

    Thanks for your replies, I'm juggling some other problems at the minute so will look at this more again in the morning. Here's what I've found so far - although I started writing this response before...
  16. Replies
    33
    Views
    15,840

    [SOLVED] Automating removal of old kernels from servers

    Hi,

    I have had a couple of problems in the last week when some of the ubuntu servers (running on VMware ESXi) ran out of space in /boot due to the different kernels installed during updates.
    ...
  17. Thread: using a netbook

    by Viruk
    Replies
    5
    Views
    389

    [ubuntu] Re: using a netbook

    Averaged over the month thats in the region of 1 hit a minute, it depends when your spikes of traffic occur though.

    You could set it up, start it off and monitor it with something like cacti to...
  18. Replies
    2
    Views
    3,413

    [SOLVED] Re: AWstats and apache redirect

    Aditionally I've just spotted this.

    The RewriteRule needs to be to /awstats/ instead of /usr/local/awstats/wwwroot/cgi-bin/ because the install script for awstats already created the following...
  19. Replies
    2
    Views
    3,162

    [SOLVED] Re: Apache not following certain symlinks

    You should be able to create a symbolic link from the terminal, this has always worked for me on LAMP servers, it should work for you too:

    change to the web directory

    cd /var/www/
    Then create...
  20. Replies
    2
    Views
    3,413

    [SOLVED] Re: AWstats and apache redirect

    I have had some help from elsewhere so I don't take the credit for this, but I'm posting the resolution on here in case its useful to anyone else.

    The original suggestion was adding the following...
  21. Replies
    2
    Views
    3,413

    [SOLVED] AWstats and apache redirect

    I have set up awstats on a test server and it is working successfully. Currently to access the stats the following address has to be used:
    http://server/awstats/awstats.pl?config=config-name

    I...
  22. Replies
    0
    Views
    314

    English/Polish Translation Software

    Does anyone know of any translation software that can do English to Polish and vice versa?

    This will need to run on a netbook and is for Polish pupils in an english school who need help...
  23. [ubuntu] Re: compiz config; all open windows appear as black screen

    Thanks very much darth_borehd. I had exactly the same problem when I set blur windows and this got my desktop back.

    Does anyone know if there is a way to unset a particular option so that if a...
  24. Replies
    3
    Views
    403

    [ubuntu] Re: Problem with ip configuration

    Make sure you set appropriate values for your addresses, I have taken a guess based on the addresses you list. The main problem I can see is that you have stated that the interface will be dhcp then...
  25. Replies
    9
    Views
    3,589

    [ubuntu] Re: SNMP problems on Ubuntu 8.04 Hardy

    Did you ever solve this one?

    I am getting some strange results when monitoring 8.04 servers that I never saw when monitoring 6.06 servers. I wondered if there may be a bug in a package somewhere,...
Results 1 to 25 of 33
Page 1 of 2 1 2