Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by ianw1974

  1. Local mirror as a backup

    I suggest haproxy it will probably be easier than heartbeat with ldirectord. With heartbeat and ldirectord I use direct routing rather than masquerade, as it's faster, just a little more effort to set it up. So if you want something simpler for the beginning, use haproxy as it's pretty straightforward.
  2. Local mirror as a backup

    To mirror it you'll need a second server with all the same services that you have on the other servers. However it will require changes to the existing servers if you want to replicate the data and have it shared between them. You can use glusterfs for that. You can configure heartbeat for failover to the server with the data copied and services doubled up such as apache, DNS (bind), samba (smb), etc, etc. It's not going to be too simple to do, it will take a bit of work. PS - likewise, and glad to see someone popped in to post :)
  3. Local mirror as a backup

    Local mirror of which server? Your own? You can do it a number of ways. If just a backup, you could rsync everything in terms of configuration for DNS, squid, Apache, samba. I don't see a reason for doing a backup of the squid cache, as it expires anyway. With rsync, you can use it just to pick up changes, and also with the --delete parameter, it will delete and user data that was deleted between backups. Otherwise, it will just keep adding and adding files even if a user deleted. Rsync can be done over SSH, or you can setup rsyncd on the server in question, and then just make a cron to run nightly. Alternatively, if you want to mirror it, you could also have it run as an active/standby server with HA. If one fails, then the other becomes active without having to restore data from a backup. It all depends on what exactly you want to achieve.
  4. Forum software upgrade

    Yeah :) looking good now, before it was reading everything. Couldn't find where to turn it off in admin panel.
  5. Forum software upgrade

    Any way to control the amount of info being displayed under the avatars to the left? Mine is huge :D
  6. Forum software upgrade

    Don't think we need the portal. I think it's fine how it is right now.
  7. Forum software upgrade

    Can we enable the rewrite url option? Would be much nicer. In admin panel under SEO, but needs to have .htaccess enabled. When enabled, Friendly URLs will not include 'index.php'. In order to support this you must configure your web server to rewrite all URLs for your community directory to the index.php file. For assistance on how to do this, contact your hosting provider or system administrator. To see the .htaccess used for Apache servers for comparison, download this file.
  8. Wine, Crossover and Playonlinux

    Haven't used wine for ages. Tried Medal of Honor - Allied Assault, but couldn't get it to work. Wouldn't install. Main reason, because on my son's laptop with Windows 10, it's unable to install, because they removed something from Windows that dealt with the copyright on the disks. So now, cannot be used, unless Windows XP or perhaps Windows 7. Pity as forgotten that I'd bought the game, and now can't play it at all. Usually searched the winedb to see if it was supported and found that a lot of the apps I wanted to use just didn't work. Have used playonlinux and winetricks, which were quite good. Didn't bother much with Crossover.
  9. Monitors

    John, Using xset is temporary, but it allows you to check and test without editing xorg.conf and rebooting. So you missed the point a little bit there. For permanent changes, you add it to xorg.conf. The link I gave you also had the info there to add it to xorg.conf. As I wrote in my first post Temporarily you can from the console disable DPMI and then gave you the info about using xset. And from the link in the very first section after the contents: the identifier of course will be different depending on your computer. The key line was the dpms false. All the info was there in my post and link that I gave, so no googling was required :)
  10. Monitors

    I was using standard monitor on standard DSUB port. Also on my laptop. So, it'll be something with the HDMI and power management settings for sure, since it's going after 10 minutes. See if you can find a way to disable DPMS. This you should be able to find under NVIDIA settings I expect. Here is a link with more info: https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling I know it's Arch Linux, but the same methods will apply. Temporarily you can from the console disable DPMI. xset -dpms and then when you want to enable it again, just put a + instead of the - before dpms. Failing that, try: xset s off -dpms from the link above it says, to disable dpms and prevent the screen from blanking.
  11. Monitors

    John, I've had this problem, it's not the monitors, rather something in the distro that is ignoring the fact that when watching a video, the screensaver shouldn't kick in or power management causing them to blank. If I remember correctly, there can be a setting in the program you are using to watch videos, that stops the screen from blanking or screensaver from kicking in. Changing from one distro to another fixed the problem. Once, I had it working, then using another distro it stopped working, then switched to something else, and was working again as it should. So this for sure, rules out the issue that its your monitors, but rather a distro inconvenience. This annoyed me previously also, and in the end ended up stopping power management from turning the monitors off, or even from having the screensaver set. Then if I wanted to lock the computer, I just did it with a CTRL-ALT-L to activate the screensaver, rather than have it set for a certain time to come on.
  12. Shutdown time [solved]

    John, See attached screenshots. 01.png - go to Tools, System Tools, System Settings. 02.png - scroll down for start/shutdown options and double-click. 03.png - disable the confirm logout option. 04.png - this is how the screen should look after you disabled the logout option. Click Apply. now choose restart or shutdown or whichever you want, and you'll now find that it will do it immediately instead of waiting 30 seconds.
  13. Shutdown time [solved]

    Doing a generic search gives this: https://forum.kde.org/viewtopic.php?f=66&t=83273#p140480 the 30 seconds is hard-coded. So you can't change it. But what you can do is disable the confirmation box which is what is displayed for 30 seconds. So if you do that, it will then just shutdown or reboot instead of waiting for 30 seconds. From the link above:
  14. Shutdown time [solved]

    I expect that to be a KDE setting somewhere if it's possible to decrease it.
  15. Shutdown time [solved]

    I've made a virtual machine. Now my question is. When I click an option to shutdown the machine, I'm given a dialog box if I want to then click the reboot or shutdown option. The dialog box has a timer of 30 seconds. Is this what you are referring to? That in case you don't click anything, it will wait 30 seconds, and then restart? Or do you mean that you click restart, the process takes too long to complete? (IE: not related to the timer/dialog box). Please let me know.
  16. Shutdown time [solved]

    John, Not found anything right yet, just some bugs, but nothing hinting at a solution. So am downloading Mageia 5 and I'll make an install tomorrow. Please let me know what desktop did you install? KDE4? As per your signature?
  17. Shutdown time [solved]

    For now, some additional info as I investigate: https://forums.mageia.org/en/viewtopic.php?f=7&t=7923#p50327 If I find anymore in the meantime, I'll try and help, otherwise, I'll be installing it to check it out and find a solution.
  18. Shutdown time [solved]

    Yep, I think I know what you mean, although have no idea where to look. Let me make a default install of Mageia, and I'll see if I can then try and find the setting that you're talking about.
  19. Shutdown time [solved]

    Hi John, A lot of this could be due to services on your system, as it's shutting them all down when you turn it off. We can alleviate the problem by disabling unnecessary services. However, I would need to know what services are enabled. Easier will be a console, because I can filter them. So if you open a console and then do this: su (enter root password when prompted) chkconfig --list | grep :on that will filter all services with the "on" parameter, that shows they are enabled. You can then copy and paste it into your reply. We could do it by screenshots, but it would be too many screenshots to get all the info, and it would show all services enabled and disabled. I'm not using Mageia 5, so am assuming they are still using chkconfig to list services. If not, I'll create myself a Virtual Machine and then take a look for an alternative command to provide you.
  20. Linux Default gateway

    In your ppp config files. Since you have a config already setup, add the option in here. As a guess somewhere under /etc/ppp, although since you configured it, you should know where the files are. I do not know what you configured or where.
  21. Linux Default gateway

    No, you set the config option in my previous post to set the idle time, then ppp0 will be dropped, and your route should be active. I don't know what else you are doing or what your script is for.
  22. Linux Default gateway

    From here: http://www.tldp.org/LDP/nag2/x7297.html obviously n you set a number for in seconds to specify an idle timeout. As I said earlier, I don't have a set up like yours, so it helps if you use google and search for the info I provided you with.
  23. Linux Default gateway

    If you don't have an idle timeout, then your ppp0 connection will stay active. Which is what you have now. If you have an idle timeout set for 3 minutes, then if nothing happens for 3 minutes, the connection will then drop and your system will work how you want it. So you need to do this.
  24. Linux Default gateway

    I expect it won't do it automatically, because it seems you do not have a ppp0 idle timeout. Your simulation with pulling the telephone cable shows that this is the case. So you need to set some kind of idle timeout for ppp0, and then perhaps that will fix your problem.
  25. Linux Default gateway

    As I said, just removing the telephone line, CentOS still thinks the ppp0 connection is active, and it's not responding, and so this is your problem. Ideally ppp0 should disconnect when there is no longer an internet connection. I don't have such a setup to be able to tell you what to do. You need some kind of timeout for ppp0 when it's not in use, or when no traffic is able to go across the link. This would then initiate an ifdown and you would have the default route via your Windows machine. Maybe this google search for an idle timeout will help give you the info you need: https://www.google.co.uk/?gws_rd=ssl#q=linux+ppp0+idle+timeout