search for: delete_file

Displaying 20 results from an estimated 60 matches for "delete_file".

2007 Apr 30
5
Asterisk 1.4.4 VoiceMail ODBC Storage Help
...ll appears to work fine, however, I get several sql execute warnings. I was wondering if anyone out there could help me get to the bottom of what is causing this and how I could possibly go about rectifying it. The warning message we are getting is as follows: WARNING[30115]: app_voicemail.c:1280 delete_file: SQL Execute error! [DELETE FROM voicemailmessages WHERE dir=? AND msgnum=?] This warning occurs whenever a user leaves a message for an extension. It also occurs when someone dials in to listen to their messages when they hang up. These messages do actually exist within the database, and asteris...
2008 Aug 27
1
Rsync Error Code 23?
Regarding "rsync error code 23" could the below "delete_file: ...file exist" failures cause the error code 23? Or, how can I resolve this as these are the only errors I see in the log files. Thank you! START Tue Aug 26 11:10:12 PDT 2008 /home/filerep/bin/rsync -e /var/openssh/bin/ssh --archive --stats --timeout 3600 fmttcesrv1::tce_data /drp/fmttc...
2009 Mar 03
1
On which side these errors are?
Hello list. I've got following: rsync: opendir "client05" (in Profili) failed: Permission denied (13) rsync: delete_file: rmdir(client02/SendTo) failed: Permission denied (13) Am I correct if I say that the "opendir" is related to the source I'm trying to rsync, but the "delete_file" is related to the destination? Flavio Boniforti PIRAMIDE INFORMATICA SAGL Via Ballerini 21 6600 Locarno Swit...
2001 Jul 29
1
add version 2 identities by default, too
...nd || rsa_found || dsa_found)) { + fprintf(stderr, + "No files specified, and unable to find one of:\n%s\n%s\n%s\n", + + identity_name, + rsa_name, + dsa_name); + ssh_close_authentication_connection(ac); + exit(1); + } + if (identity_found) { + if (deleting) + delete_file(ac, identity_name); + else + add_file(ac, identity_name); + } + + if (rsa_found) { + if (deleting) + delete_file(ac, rsa_name); + else + add_file(ac, rsa_name); + } + + if (dsa_found) { + if (deleting) + delete_file(ac, dsa_name); + else + add_file(ac, dsa_name); +...
2001 Jan 07
1
[PATCH] Caching passphrase in ssh-add.
...============================================ RCS file: /cvs/openssh_cvs/ssh-add.c,v retrieving revision 1.28 diff -u -r1.28 ssh-add.c --- ssh-add.c 2000/11/17 03:47:21 1.28 +++ ssh-add.c 2001/01/07 21:52:10 @@ -54,6 +54,8 @@ char *__progname; #endif +static char *last_passphrase = NULL; + void delete_file(AuthenticationConnection *ac, const char *filename) { @@ -172,6 +174,10 @@ /* At first, try empty passphrase */ private = key_new(type); success = load_private_key(filename, "", private, &comment); + if (!success && last_passphrase) { + /* Have passphrase from last key...
2008 Dec 03
3
disable database
...3 19:09:04] WARNING[4934]: app_voicemail.c:3430 inboxcount: Failed to obtain database object for 'asterisk'! [Dec 3 19:09:06] WARNING[5129]: app_voicemail.c:2399 message_exists: Failed to obtain database object for 'asterisk'! [Dec 3 19:09:06] WARNING[5129]: app_voicemail.c:2429 delete_file: Failed to obtain database object for 'asterisk'! [Dec 3 19:09:06] WARNING[5129]: app_voicemail.c:2600 store_file: Failed to obtain database object for 'asterisk'! [Dec 3 19:09:06] WARNING[5129]: app_voicemail.c:2305 retrieve_file: Failed to obtain database object for 'aster...
2005 May 18
1
Possible bug - delete complains about parent directory in new version
...as the following: dir/pdf/file1.pdf dir/pdf/file2.pdf ... dir/pdf/fileN.pdf If the "dir/pdf" directory does not exist on the source, and you have an exclude list which excludes "*.pdf", rsync 2.6.4 fails to synchronize the two directories - it fails with: rsync: delete_file: rmdir "dir/pdf" failed: File exists (17) ... rsync error: some files could not be transferred (code 23) at main.c(789) However version 2.5.2 quietly synchronizes the two directory trees without error. The error (17) above is due to the fact that "dir/pdf" still c...
2004 Feb 10
3
rsync 2.6.1cvs dumps core when preserve_hard_links and backup
...p.c:266 266 if (!kept && preserve_hard_links && file->link_u.links (gdb) where #0 0x80536c0 in keep_backup (fname=0x808f060 "rsync.core") at backup.c:266 #1 0x80537c9 in make_backup (fname=0x808f060 "rsync.core") at backup.c:297 #2 0x804c003 in delete_files (flist=0x8096100) at receiver.c:112 #3 0x805028c in do_recv (f_in=3, f_out=3, flist=0x8096100, local_name=0x0) at main.c:434 #4 0x805093c in client_run (f_in=3, f_out=3, pid=-1, argc=1, argv=0x8095004) at main.c:666 (gdb) p *file $1 = {modtime = 1076386251, length = 577536, mode = 33152...
2017 Apr 13
1
[Bug 12741] New: stop rsync on "No space left on device"
...Hardware: x86 OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: core Assignee: wayned at samba.org Reporter: ryuta at caramail.com QA Contact: rsync-qa at samba.org rsync show me : rsync: delete_file: make_backup(...) failed: No space left on device (28) rsync: delete_file: make_backup(...) failed: No space left on device (28) ... in output. Rsync is right, but I would like it to stop on first error, because I think that it isn't necessary that it populate my log moreover and use my CPU and...
2002 Apr 22
1
symlinks?
...and chmod and such. The problem I'm seeing is: target computer: directories ctime-5 and ctime-5b3 are distinct directories source computer: ctime-5 is a symlink that points at ctime-5b3 When I do: /export/home/dcslib/rsync -abvx rsync://okazaki.acs.uci.edu/sun4-5 . I unfortunately get: delete_file: rmdir(packages/ctime-5.0) : File exists rsync: symlink "packages/ctime-5.0" -> "ctime-5.0b3": File exists rsync error: partial transfer (code 23) at main.c(883) Is there a reasonably simple way around this? TIA. -- Dan Stromberg...
2004 Oct 18
1
Strange behaviour with --max-delete option
...ete -avun --max-delete=1 src/ dest building file list ... done deleting 2 deleting 1 sent 81 bytes received 20 bytes 202.00 bytes/sec total size is 0 speedup is 0.00 It deletes 2 files while --max-delete=1 was specified. I think it has something to do with deletion_count in delete_files(receiver.c). Bye, Laurens
2005 Nov 28
1
Replacing directories with symbolic links
Hello, I'm backing up a file server using rsync from a cron job, which recently started to give me errors like: delete_file: rmdir "/some/path" failed: Directory not empty symlink "/some/path" -> "/some/other/path" failed: File exists Looking at the involved files and directories, it looks like the user decided to replace a directory with a symlink, but rsync doesn't seem to delete...
2008 Nov 09
2
rsync for the brave
...39;m having is with that infamous 'Network Trash Folder'. I can't get it to ignore it on the remote (mapped) drive, and it doesn't exist on the local drive. Consequently, I get this error: file has vanished: "/cygdrive/y/Network Trash Folder/Trash Can Usage Map" rsync: delete_file: rmdir(Network Trash Folder) failed: Device or resource busy (16) IO error encountered -- skipping file deletion ... and when that happens, it stops deleting those files it should be deleting from the remote (mapped) drive. It's not a folder that Windows will allow me to delete, so...
2002 Apr 23
2
Rsync 2.5.5 Error Tags
I've gotten several different errors with rsync. Maybe someone can help me. 1. rsync -azSH --stats --delete-after /export/home remote:/export/home/bkup delete_file: rmdir(home/greg/vnmrsys) : File exists rsync: symlink "home/greg/vnmrsys" -> "/export/home/vnmrsys": File exists unexpected tag 91 rsync error: error in rsync protocol data stream (code 12) at io.c(298) 2. rsync -azSH --stats --delete-after --safe-links --exclude "Sun...
2003 Jan 07
1
Bug or feature? --delete-after + symlinks
...g file list ... done created directory a_mirror a/b/foo wrote 127 bytes read 36 bytes 108.67 bytes/sec total size is 0 speedup is 0.00 a a/b a/b/foo a_mirror a_mirror/a a_mirror/a/b a_mirror/a/b/foo `b' -> `b.1' create symbolic link `b' to `b.1' building file list ... done a/ delete_file: rmdir(a/b) : Directory not empty rsync: symlink "a/b" -> "b.1": File exists a/b.1/ a/b.1/foo deleting a/b/foo wrote 155 bytes read 36 bytes 382.00 bytes/sec total size is 3 speedup is 0.02 rsync error: partial transfer (code 23) at main.c(578) a a/b a/b.1 a/b.1/foo a_mirr...
2003 Sep 05
1
new option suggestion '--backup-only'
...trcmp(lnk,file->link) == 0) { + if (backup_only) + return; set_perms(fname,file,&st,1); return; } @@ -364,8 +374,12 @@ /* Not a symlink, so delete whatever's * already there and put a new symlink * in place. */ + if (backup_only) + return; delete_file(fname); } + if (backup_only) + return; if (do_symlink(file->link,fname) != 0) { rprintf(FERROR,RSYNC_NAME": symlink \"%s\" -> \"%s\": %s\n", fname,file->link,strerror(errno)); @@ -384,6 +398,8 @@ if (statret != 0 || st.st_mode != fi...
2006 Mar 26
10
How to delete a uploaded file with file_column plugin?
Hi, sounds somehow stupid, but I can''t get rid of my files that I uploaded into my application via the file_column plugin. Any suggestions? Cheers Thomas -- Posted via http://www.ruby-forum.com/.
2003 Aug 24
1
readdir() and read() errors ignored
...); di; di=readdir(d)) { + for (errno = 0, di=readdir(d); di; errno = 0, di=readdir(d)) { char *dname = d_name(di); if (strcmp(dname,".")==0 || strcmp(dname,"..")==0) @@ -99,6 +99,12 @@ return -1; } } + if ( errno ) { + closedir(d); + rprintf(FERROR,"delete_file: readdir(%s): %s\n", + fname,strerror(errno)); + return -1; + } closedir(d);
2004 May 10
2
read error produces null-byte-filled destination file
I've run into a bug in the IO handling when reading a file. Suppose I have a file that lives on an NFS filesystem. That filesystem is NOT being exported with auth=0 permissions. So, if I try to access a file as root, it successfully opens the file, but subsequent reads fail with EACCES. This produces a destination file full of null bytes. I noticed this with 2.5.7, but checked 2.6.2 as
2008 Jun 05
14
Why not ignore stale PID files?
Hi, I have an application which is dying horrible deaths (i.e. segmentation faults) in mid-flight, in production... And of course, I should fix it. But while I find and fix the bugs, I found something I think should be different - I can work on submitting a patch, as it is quite simple, but I might be losing something on my rationale. When Mongrel segfaults, it does not -obviously- get to clean