Forum Replies Created

Viewing 15 posts - 16 through 30 (of 55 total)
  • Author
    Posts
  • in reply to: scp weirdness #363703
    andrina
    Participant

    Have you tried throwing in the expect script for a test? Also, what the default shell you’re using when testing interactively? Is it the same shell you script in? Anything significant/custom in your interactive environment that isn’t getting translated into the script? Also – in my last note – along with the quotes I’d removed the “user@” portion of the scp – did you try that?

    in reply to: scp weirdness #363686
    andrina
    Participant

    Is the script being run as the user admin? Try replacing your scp with the following:

    scp -p $this_file_here myremote.mydomain.com:”$this_dir”

    in reply to: scp weirdness #363677
    andrina
    Participant

    I normally try to avoid using ssh and scp in a shell script – try using something like expect instead – i.e. (the $argv 0 is going to take the password from execution of the file):

    #!/usr/bin/expect
    spawn scp /path/to/file user@machine:"/path/to/directory/"
    expect "ssword:"
    send [lindex $argv 0]\r
    expect eof                                                                                   
    
    

    Course – this is all assuming you don’t have ssh keys set up – assuming you have keys set up – what does you scp line look like?

    in reply to: FinalCut problems when using AD in our labs #363458
    andrina
    Participant

    Indeed, a few more details of your issue would be handy, but in the meantime – where are you storing your FCP project files (How is the drive formatted?) What kind of home directories are you using (local/networked?) If you’re using network homes, are they AFP or NFS? Do you have any NFS mounts on the FCP workstations?

    in reply to: Dumb Permissions Question #363166
    andrina
    Participant

    Are you looking as POSIX permissions or ACLs?

    in reply to: Sending info from one mac to another #362546
    andrina
    Participant

    Is something like Arek’s Centralized logging what you’re looking for? Or perhaps an scp command in your script? i.e.:

    scp -r /path/to/file [email protected]:"/path/to/remote/location"
    
    

    in reply to: Power outage then users can’t log in #362424
    andrina
    Participant

    How are your clients authenticating? Is this a local authentication, or from a server? Can any user log into these machines (if you have multiple user accounts)? In a case where no user account can log into the machine and if your machines have local authentication, and have done their daily cron jobs there will be a backup of the nidb – look at /var/backups/local.nidump, and check the date on it – if it’s pre-power outage, then you’re in luck, and can follow one of the many methods out there for backing up from this file. All that may not solve your issue, but it’s a start – I’d also suggest backing up the whole machine before trying any messing with the netinfo database.
    Cheers,
    Andrina

    in reply to: B&W G3 will not boot Jaguar (hangs at apple logo) #362390
    andrina
    Participant

    The new PCI ATA card would certainly help you out, but the other thing I’ve come across (also having the service centre background like Josh) is the magic 8GB partition…. If you partition your drive so the first partition is no larger than 8GB, and install your OS on that partition it should clear up your issues… there’s something about system files being moved out of that 8GB space over time and leading to an unstable and unbootable system without the partition… There’s a lot of discussion around about this really only being valid on the beige G3 generation, but with your machine being a rev A B&W I’d be suspicious…
    Cheers,
    Andrina

    in reply to: LDAPv3/127.0.0.1 vs elsewhere for user records #362389
    andrina
    Participant

    So, your server’s WorkGroup Manager should indeed be pointing to 127.0.0.1, as well as Directory Access on your server – only your clients should be pointing to the IP or FQDN. So, to answer your initial question, your user records should be in /LDAPv3/127.0.0.1. As for the client machines seeing the server – how long are you waiting after booting the machine before trying to log in as a network user? Try some troubleshooting techniques on your client systems, like killing the DirectoryService process, or taking a look through ‘dscl localhost’ – you should be able to navigate into your LDAP structure and see your users, if not it may give you an error message that will point you in the right direction.
    Cheers,
    Andrina

    in reply to: Get Computer DN via the Command line #362095
    andrina
    Participant

    I think you should be able to do the following:

    ldapsearch -h server.example.com uid=user dn
    
    in reply to: Restored Image can’t login #362085
    andrina
    Participant

    Well, I wouldn’t do this on a production machine, but seeing as it’s a testing server on your powerbook…. try playing with the nidb a bit – you can either try restoring your previous local.nidb from /var/backups, or whip the feet right out from underneath it, and completely remove the nidb – take a note before you do this about UIDs and usernames that exist in your nidb. I can’t stress enough that this does of course have the potential to completely wreck your testing machine, but as you can’t log in at the moment, and it’s a testing server, I’d play with it just for fun! If this is all new to you, there’s several guides around for reinstating your nidb from backup – just google it. And if it all falls down around you, you still have the image that you created your testing powerbook from in the first place, restore and start again… 🙂

    in reply to: Restored Image can’t login #362062
    andrina
    Participant

    rather than passwd, try NeST:

    NeSt -hostpasswordserver []

    in reply to: Server Problem Notification – Intrusion #362047
    andrina
    Participant

    [QUOTE BY= gbsa]The Xserve has starting sending emails “Server Problem Notification” regarding an enclosure intrusion.
    However, no one has been near the server.[/QUOTE]

    Make sure the server is seated firmly home in the enclosure – I’ve had this just happen over time, especially if your server screws aren’t done up tightly. Simply opening and closing the server may just clear this up for you.

    andrina
    Participant

    Have you checked in /Library/Logs/AppleFileService/AppleFileServiceAccess.log or /var/log/system.log for PasswordService requests to see if the server is seeing the authentication?

    in reply to: terminal sed, perl, find, sort #362028
    andrina
    Participant

    Have a look at Activity Monitor – it’s very easy to see from there what the parent process of your sed/find/perl/sort process is if you inspect the suspect process. Should help you search out what exactly is hitting your drive so hard.

Viewing 15 posts - 16 through 30 (of 55 total)