+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
*nix Thread, Will I ever get to grips with linux? Running a script .sh in Technical; Originally Posted by Geoff You might want to try editing/creating scripts directly on your Linux machine in future. I do ...
  1. #16
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,528
    Thank Post
    506
    Thanked 54 Times in 48 Posts
    Rep Power
    28
    Quote Originally Posted by Geoff View Post
    You might want to try editing/creating scripts directly on your Linux machine in future. I do it via a SSH session using 'nano'. If you use Putty as your SSH client you can right click to mass paste text into the editor.
    I am using Putty and I pasted directly from a notepad file!

    I am learning quickly here.

    thanks

  2. #17
    treetops's Avatar
    Join Date
    May 2007
    Posts
    42
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    15
    Sorry to but in but has anyone here tried importing all their users from a CC3 network (windows Server 2003) into zimbra?

    I'm trying to use a command from the zimbra site called ldap2zm.pl but i cant for the life of me get it working!

    Got almost everything else up and running.

    Any ideas?

  3. #18

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181
    Quote Originally Posted by treetops View Post
    Sorry to but in but
    Don't. Open a new thread, please.

  4. #19
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,528
    Thank Post
    506
    Thanked 54 Times in 48 Posts
    Rep Power
    28
    Quote Originally Posted by Geoff View Post
    Use 'dos2unix <filename>' to fix it.
    .
    dos2unix did the trick.

    Thanks again for everybodies help. I believe I now have a fully functional and backed up zimbra.

  5. #20
    budgester's Avatar
    Join Date
    Jan 2006
    Location
    Enfield, Middlesex
    Posts
    480
    Thank Post
    4
    Thanked 37 Times in 30 Posts
    Rep Power
    23
    Quote Originally Posted by treetops View Post
    Sorry to but in but has anyone here tried importing all their users from a CC3 network (windows Server 2003) into zimbra?

    I'm trying to use a command from the zimbra site called ldap2zm.pl but i cant for the life of me get it working!

    Got almost everything else up and running.

    Any ideas?
    Are you trying to import mail as well ?

    We use zimbra auth'ed against the CC3 AD, I knocked up an quick php script to create a csv of all the users on CC3 AD then did a bulk create on zimbra.

    This was a couple of years ago though.

    Martin

  6. #21
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,528
    Thank Post
    506
    Thanked 54 Times in 48 Posts
    Rep Power
    28
    @budgester

    Do you have any more info about how you did this?

    At the moment i am just exporting users from sims in a csv and then importing

  7. #22
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,528
    Thank Post
    506
    Thanked 54 Times in 48 Posts
    Rep Power
    28
    Sorry, to get back on topic!
    I can now run the script by typing ./zbackup.sh but It doesn't run in crontab.

    I have ..
    00 23 * * Mon-Fri /usr/local/bin/backupscripts/zbackup.sh

    Do I need to change this somehow so it has the ./ in there?

    Could I change to the correct directory with the crontab and then execute weith ./ in front?

    Thanks (yet again)

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Script to check if app is running ...
    By pooley in forum Windows
    Replies: 4
    Last Post: 5th January 2009, 11:31 AM
  2. kix script not running all the time
    By kubasa in forum Windows
    Replies: 11
    Last Post: 4th March 2008, 10:29 PM
  3. Printer script not running at start up
    By richard in forum Scripts
    Replies: 11
    Last Post: 29th May 2007, 07:39 PM
  4. Need help getting to grips with subnetting
    By Kyle in forum Wireless Networks
    Replies: 26
    Last Post: 3rd April 2007, 11:57 AM
  5. Replies: 1
    Last Post: 31st January 2006, 03:51 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •