Search:

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

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Other way around: you'd want to reroute a...

    Other way around: you'd want to reroute a different port to 7071. Yes, you should be able to, but it doesn't work for me. I can only get to the login screen. Same thing with proxying. VPN or SSH...
  2. No, I'm not. nmap'ing 65000 ports is a relatively...

    No, I'm not. nmap'ing 65000 ports is a relatively expensive proposition, time, network, and compute-wise. Last time I tested, it took 15-20 minutes to scan all ports on one machine. Trying to do that...
  3. Everyone opens only the ports they deem...

    Everyone opens only the ports they deem necessary. There is a tradeoff between convenience and security. The easy case is where something is really dangerous, and mitigating that requires only minor...
  4. Yes. Really. Full time. How 'bout you? ...

    Yes. Really.

    Full time. How 'bout you?

    You're making my point for me. They are automated stupid systems. The simplest of measures is enough to thwart virtually all of them. Do you think these...
  5. That would be easy with most routers. However,...

    That would be easy with most routers. However, Amazon EC2 has a relatively primitive firewall ability.You should be able to do it with iptables or Apache ProxyPass, but neither have worked for me. I...
  6. Thanks, updated my post. As for logging admin...

    Thanks, updated my post. As for logging admin login attempts, I can only guess that those IP addresses have not been banned yet. With my config, they have 5 tries before being banned, and those 5...
  7. I think mta-dummy is gone from newer Ubuntu. Try...

    I think mta-dummy is gone from newer Ubuntu. Try this:
    http://www.zimbra.com/forums/administrators/15275-solved-yet-another-backup-script-community-version-48.html#post215050
    Alternately, you could...
  8. Seems you have an old version of that script. I...

    Seems you have an old version of that script. I did fix that issue, shown below. The latest version is at zmDBbac.sh

    # : 0.5 alpha:
    # -...
  9. Possible solutions include setting your fetchmail...

    Possible solutions include setting your fetchmail crontab to exclude your backup crontab time, or change one of the scripts to use pgrep or similar to detect whether the other script is running.
  10. If you don't want dar, there is little reason to...

    If you don't want dar, there is little reason to use this script. Just use a basic rsync script. You will not have dated backups unless you use a separate backup tool on your SYNC_DIR.
  11. Try the commands below to identify the user. ...

    Try the commands below to identify the user.


    sudo su - zimbra
    source ~/bin/zmshutil ; zmsetvars
    ldapsearch -x -H ldap://"$HOSTNAME" -D "$zimbra_ldap_userdn" -w "$zimbra_ldap_password"...
  12. Almost. Many/most installations will also require...

    Almost. Many/most installations will also require split DNS. That will require BIND or other setup, which varies a bit depending on the distro and DNS server. You would want to backup that config....
  13. Replies
    2
    Views
    2,675

    "On the filesystem, the user directories and the...

    "On the filesystem, the user directories and the message directories within each user directory are split so that there are a maximum of 4096 (that is, 2 to the 12th) files in each directory."
    ...
  14. Oh, and this just means that symlinks take up an...

    Oh, and this just means that symlinks take up an inode, and hard links can point to that inode. And hard links have to be on the same filesystem (i.e. partition) as the inode they're pointing at, so...
  15. Heh. I had started a reply about symlinks, but...

    Heh. I had started a reply about symlinks, but decided you wouldn't be doing that just for a trial, and inferred mysql was empty on your test restore. :)

    Dar does not follow symlinks to...
  16. Well, you've done the logical things. You could...

    Well, you've done the logical things. You could try to create a dar manually on your SYNC_DIR, as root. The only thing that fits is that dar is not being run as root, but that doesn't make sense...
  17. Skip that. I can see the files as a regular user....

    Skip that. I can see the files as a regular user. Is the command you are using to examine the dar something like:


    dar -l 12_Zimbra_Backup_23-March-2012_FULL
  18. Ugh. I should learn to read. Are you looking at...

    Ugh. I should learn to read. Are you looking at the contents of the dar file as root?
  19. Well, it should be backing up all items in...

    Well, it should be backing up all items in /opt/zimbra to your SYNC_DIR directory, which you have apparently set to /media/disk2/swap/zimbraswap/. The store and db/data directories have no read...
  20. Try sudo /bin/bash...

    Try


    sudo /bin/bash /home/useraccount/zmbak.sh -f > /tmp/zim_backup.log 2>&1
    When it is done, you will have /tmp/zim_backup.log to check for any errors.
  21. The script should be run as root.

    The script should be run as root.
  22. There was a bug in the script. The path to...

    There was a bug in the script. The path to skeleton.sql was hardcoded. I have fixed it. You can download the script again at...
  23. You could check logs, but there likely wouldn't...

    You could check logs, but there likely wouldn't be much of a trail. And you're probably not compromised. Is your /tmp directory set to automatically empty on reboots or via other triggers? Many...
  24. Dunno how I missed that. It is a rather old...

    Dunno how I missed that. It is a rather old version, which will probably not matter.
  25. Change this line, adding `date`: echo "copy...

    Change this line, adding `date`:


    echo "copy archive to $REMOTEHOST" remote directory $REMOTEDIR at `date`
    Or, if you just wanted the time, use something like `date +%H":"%M":"%S`. Note those...
Results 1 to 25 of 225
Page 1 of 9 1 2 3 4