Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. [server] Re: Creating an upstart service for dumping and uploading a mysql database on shutdow

    Hi Ian, thanks for your answer.



    The idea here is that I have an UPS that will send the shutdown command to the server when battery runs low to a certain amount I define. So power loss...
  2. [server] Re: Creating an upstart service for dumping and uploading a mysql database on shutdow

    Anyone could help with this?
  3. [server] Re: Creating an upstart service for dumping and uploading a mysql database on shutdow

    http://upstart.ubuntu.com/

    Upstart is the replacement of the System-V init for managing system boot and shutdown, so I am trying to accomplish this using upstart. That's why the script goes on...
  4. [server] Creating an upstart service for dumping and uploading a mysql database on shutdown

    I am running Ubuntu Server 14.04 LTS x64. I have two KVM guests. One is a file server and another runs mysql server.

    I have a script that I run on the file server. The script connects via ssh to...
  5. [ubuntu] Re: dpkg: warning: files list file for package "pachage-name missing"

    Anyone could help with this issue?
  6. [ubuntu] Re: dpkg: warning: files list file for package "pachage-name missing"

    For instance, samba wasn't working, and I wasn't able to re-install it. I copied /var/lib/dpkg/info from second server to first, and after that I could re-install samba and it is working now, but...
  7. [ubuntu] Re: dpkg: warning: files list file for package "pachage-name missing"

    I have another server which is pretty much similar to this I had the problem. I was making some upgrades on both, and on this second I didn't run into problems, so I'm pretty sure that I caused the...
  8. [ubuntu] Re: dpkg: warning: files list file for package "pachage-name missing"

    Ubuntu Server 12.04.2 LTS installed by myself about 3 years ago.
  9. [ubuntu] dpkg: warning: files list file for package "pachage-name missing"

    Hello. I was having a problem with system upgrade that latter I found was caused by a full /boot partition. Before being aware that this was the problem (which is already solved), I tried some other...
  10. Replies
    15
    Views
    2,168

    [ubuntu] Re: Ubuntu Server - Shutdown script

    I made further tests. Now I understood how rsa keys works and generated the needed ones for the passwordless ssh upload of the mysql dump.

    After that, I had another problem with the rsync command,...
  11. Replies
    15
    Views
    2,168

    [ubuntu] Re: Ubuntu Server - Shutdown script

    I made one test and it seems it worked! I just had a problem with permissions on the uploaded file, but that is a problem related to the rsync command itself, not with the Upstart script.

    I will...
  12. Replies
    15
    Views
    2,168

    [ubuntu] Re: Ubuntu Server - Shutdown script

    Hello andrei. Thx for your help.

    Since Upstart is the replacement of init.d, I got interested in learning it. So I am firstly making the tests BkkBonanza suggested. Soon I 'll make your tests too....
  13. Replies
    15
    Views
    2,168

    [ubuntu] Re: Ubuntu Server - Shutdown script

    Thanks for the help BkkBonanza.

    I thought it would be easier to accomplish this. I'll need some more reading.

    After further tests with mysql conf file and/or apcupsd I come back to tell the...
  14. Replies
    15
    Views
    2,168

    [ubuntu] Re: Ubuntu Server - Shutdown script

    I read a little about Upstart, got an example script and made some tests.

    This is the script I put on /etc/init:



    description "dotProject backup"
    author "Rodrigo"
    #env HOME=/home/rodrigo...
  15. Replies
    15
    Views
    2,168

    [ubuntu] Re: Ubuntu Server - Shutdown script

    Thx for the advice on Upstart. I will read about it and make some more tests. After them I come back to tell the results.
  16. Replies
    15
    Views
    2,168

    [ubuntu] Re: Ubuntu Server - Shutdown script

    Ok, so it seems exit codes have nothing to do with controlling shutdown proccesses.

    mysqldump doesn't take more than some seconds for this database. So I could use your suggestion and make many...
  17. Replies
    15
    Views
    2,168

    [ubuntu] Re: Ubuntu Server - Shutdown script

    Hello LHammonds.

    That's what I am thinking, the other shutdown processes go on, so my script isn't finished.

    What I am looking for is exactly a way to make other shutdown processes wait for my...
  18. Replies
    15
    Views
    2,168

    [ubuntu] Ubuntu Server - Shutdown script

    Hello.

    I am running Ubuntu Server x64 12.04. I have apcupsd properly running. I would like my server to run a script before it is shutdown by apcupsd.

    Since I didn't find something specific for...
  19. Replies
    3
    Views
    703

    [SOLVED] Re: cron stoped sending mails

    I did no changes, and server just started sending emails again, even for users other than root. I don't know why, but it is working.
  20. Replies
    3
    Views
    703

    [SOLVED] Re: cron stoped sending mails

    I have made some more tests and notice I was messing some things up.

    Firstly, cron wasn't working as should. As I could find searching other forums, cron really had a problem after upgrades in...
  21. Replies
    3
    Views
    703

    [SOLVED] Re: cron stoped sending mails

    I have two almost identical servers running in diferent places. I searched my emails received from both, and I stopped receiving cron emails in both after this upgrade:

    apticron report [Mon, 30...
  22. Replies
    3
    Views
    703

    [SOLVED] cron stoped sending mails

    Hello.

    I have a Ubuntu Server 11.04 x64. My emails are sent via ssmtp.

    Everything worked fine, but cron stopped sending emails.

    ssmtp is working, as I can see by testing it on terminal (echo...
  23. [ubuntu] Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    It would be good, but seems they gave up some months ago.We just got the post for ourself. :-)
  24. [ubuntu] Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    It seems the same way to me, since it worked with a 2 disk raid1 without these further steps.
  25. [ubuntu] Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    Holy ****!

    Let me breath a little before trying this.

    Later I'll post the results.
Results 1 to 25 of 60
Page 1 of 3 1 2 3