0

@Lewashby. I'm glad you asked. FAT32 is a Microsoft design.
In case you don't believe me.

https://en.wikipedia.org/wiki/File_Allocation_Table writes:

In order to overcome the volume size limit of FAT16, while at the same time allowing DOS real mode code to handle the format, Microsoft designed a new version of the file system, FAT32,

MSFT had many opportunities to break with the past but kept trying to keep older apps and filesystems alive and you see issues like yours when we use that file system.

0

I'm not near good enough to open the source of software and fix, change, or even understand anything. I can write very simple bash, python, php, c & c++ programs. php is the only thing I can realistically develop to any usability, and even then it's pretty minimal.

No ntfs, OS is ext4 and micro sd is fat32.

I fixed it but I still don't understand what was happening. Something really weird was going on with the music file that seems to have been causing this in some way. I had the song 'Tie Me Kangaroo down sport by Rolf Harris, album The Hits of Pop & Doo Wop, Vol. 5' downloaded to my music library, I got the song from Amazon's digital music store. Of my two directories that luckybackup/rsync kept getting mixed up were 'Various Artists & Various artists' the kangaroo song was the only song that was physically in the lowercase directory but showed in uppercase as two identical files on my desktop music player (Banshee). When I would right click on each of the two copies and click 'open in folder' one would be in the uppercase directory (Various Artists) and the other would be in the lowercase directory (Various artists), when when I would right click on the one in the lowercase directory and delete the file it would delete both copies? I have no idea! I re-download the song from amazon and this time I edited the meta data and changed the Artists field ...

0

@G. Yes, and the file system + rsync is not playing ball. Time to try another sync app since a manual copy works. While rsync is open source, it's the OP's choice to dive into the code to find out why. Here, I continue to run into such things and over the years learned to change to other tools when a tool doesn't work for me and I don't feel like opening the source.

0

I reformatted the sd card and ry-synced everything again, same problem. I also manually copied the files from my library to the sd card and it worked fine, go figure. Re-synced again with luckybackup and delete all the files on the destination again :(.

P.S. Why is the post marked 'Featured'?

0

My system didn't recognise iocharset or the shortname options. I have now ran this command on my system ->
$ rsync -vrc --delete --ignore-existing --exclude ".*/" /home/me/media/music/ /media/me/MEDIA-SD/ && echo "DONE"

Now the tail end of this command looks like this.

irectory (2)
rsync: mkstemp "/media/me/MEDIA-SD/Various Artists/O Brother, Where Art Thou_/.10. Didn't Leave Nobody But The Baby (O Brother, Where Art Thou_ Soundtrack).mp3.3olHWE" failed: No such file or directory (2)
default_perms_for_dir: sys_acl_get_file(Various Artists/One Hit Wonders, ACL_TYPE_DEFAULT): No such file or directory, falling back on umask
rsync: mkstemp "/media/me/MEDIA-SD/Various Artists/One Hit Wonders/.04. Rockin' Little Angel.mp3.u5o7ya" failed: No such file or directory (2)
default_perms_for_dir: sys_acl_get_file(Various Artists/Platinum Christmas, ACL_TYPE_DEFAULT): No such file or directory, falling back on umask
rsync: mkstemp "/media/me/MEDIA-SD/Various Artists/Platinum Christmas/.07 Little Drummer Boy.mp3.BIvwgG" failed: No such file or directory (2)
default_perms_for_dir: sys_acl_get_file(Various Artists/Pop a Paris - Rock N' Roll and Mini Skirts Vol.1, ACL_TYPE_DEFAULT): No such file or directory, falling back on umask
rsync: mkstemp "/media/me/MEDIA-SD/Various Artists/Pop a Paris - Rock N' Roll and Mini Skirts Vol.1/.03. Ces bottes sont faites pour marcher.mp3.Z0ms7b" failed: No such file or directory (2)
default_perms_for_dir: sys_acl_get_file(Various Artists/Rain Man _ Original Motion Picture Sound, ACL_TYPE_DEFAULT): No such file or directory, falling back on umask
rsync: mkstemp "/media/me/MEDIA-SD/Various Artists/Rain Man _ Original Motion Picture Sound/.01 Iko Iko.mp3.sG3n3H" failed: No such file or directory (2)
default_perms_for_dir: sys_acl_get_file(Various Artists/Rain Man _ Original Motion Picture Soundtrack, ACL_TYPE_DEFAULT): No such file or directory, falling back on umask
rsync: mkstemp "/media/me/MEDIA-SD/Various Artists/Rain Man _ Original Motion Picture Soundtrack/.01. Iko Iko.mp3.R5Gc7d" failed: ...
0

Yes it's mounted, otherwise I wouldn't be able to navigate to the SD card and list it's contents and luckBackup wouldn't even let me run the sync if it's wasn't. And everything should be rwx but just to me sure I just ran chmod -R +rwx ~/media/music/*. Check this out, after running that command I seen the following and the end of my luckybackup log.

         13.01M 100%   15.77MB/s    0:00:00 (xfr#1479, to-chk=210/6213)
Various artists/

deleting .audio_data/album_img/52407A71DB71DB0606836602A75A619E
deleting .luckybackup-snaphots/default.profile/snaps/default-music-sync2-20170530202113.changes.log
deleting .luckybackup-snaphots/default.profile/snaps/
deleting .luckybackup-snaphots/default.profile/profiles/default.profile
deleting .luckybackup-snaphots/default.profile/profiles/
deleting .luckybackup-snaphots/default.profile/logs/default-music-sync2-20170530202113.log
deleting .luckybackup-snaphots/default.profile/logs/
deleting .luckybackup-snaphots/default.profile/
deleting Coldplay/A Rush of Blood to the Head/11. Amsterdam.flac
deleting Coldplay/A Rush of Blood to the Head/10. A Rush Of Blood To The Head.flac
deleting Coldplay/A Rush of Blood to the Head/09. A Whisper.flac
deleting Coldplay/A Rush of Blood to the Head/08. Warning Sign.flac
deleting Coldplay/A Rush of Blood to the Head/07. Green Eyes.flac
deleting Coldplay/A Rush of Blood to the Head/06. Daylight.flac
deleting Coldplay/A Rush of Blood to the Head/05. Clocks.flac
deleting Coldplay/A Rush of Blood to the Head/04. The Scientist.flac
deleting Coldplay/A Rush of Blood to the Head/03. God Put A Smile Upon Your Face.flac
deleting Coldplay/A Rush of Blood to the Head/02. In My Place.flac
deleting Coldplay/A Rush of Blood to the Head/01. Politik.flac
deleting Various artists/White Christmas/10. Deck the Halls.flac
deleting Various artists/White Christmas/09. O Little Town of Bethlehem.flac
deleting Various artists/White Christmas/08. It's Beginning to Look a Lot Like Christmas.flac
deleting Various artists/White Christmas/07. Winter Wonderland.flac
deleting Various artists/White Christmas/06. Frosty the Snowman.flac
deleting Various artists/White ...
0

I've been using rsync and or luckybackup for a while now to sync my desktop's music library to my micro sd card for my digital music player. Today I noticed that my music player wasn't showing one of my albums so I've started investigating and I've found that it's not the music player but is more likely to be rsync, but I don't understand how or why. After syncing I check the sd card manually and sure enough this album is still not beeing synced.

On my computer all of my music is stored at /home/me/media/music/* inside of this last music directory there are two various artists directories, one is uppercase and one is lower case for the word artists. Variouse Artists & Variouse artists. The weird thing is my sd card is only getting the contents of the 'Various artists' directory that's on my desktop but on my sd card the directory is called 'Various Artists' and there is not 'Various artists' directory listed at all on my sd card. So I'm only getting one of the two copies on my sync and it's filled with the contents that the other one is filled with on my computer. In this case I used luckbackup but it uses rysnc, I'll past the code below. Any ideas? Thanks. Oh, and sd card is fat32.

rsync -h --progress --stats -r -t --modify-window=1 --delete-after --delete-excluded --exclude=**/lost+found*/ --exclude=**/*Trash*/ --exclude=**/*trash*/ /home/me/media/music/ /media/me/MEDIA-SD/
0

Hey, can you help me with convert the web.config to a .htacces file?

<?xml version="1.0" encoding="UTF-8"?>
<configuration>

<system.webServer>

<defaultDocument>
<files>
                <clear />
                <add value="index.php" />
                <add value="_seiten/index.html" />
                <add value="seite.php" />
</files>
</defaultDocument>

</system.webServer>
<system.webServer>
        <handlers>
            <clear />
            <add name="PHP53_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Either" />
            <add name="PHP54_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.4\php-cgi.exe" resourceType="Either" />
            <add name="PHP_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.6\php-cgi.exe" resourceType="Either" />
            <add name="PHP55_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.5\php-cgi.exe" resourceType="Either" />
            <add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
            <add name="TraceHandler-Integrated" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv2.0" />
            <add name="WebAdminHandler-Integrated" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv2.0" />
            <add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv2.0" />
            <add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" />
            <add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" />
            <add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" preCondition="integratedMode,runtimeVersionv2.0" />
            <add name="HttpRemotingHandlerFactory-rem-Integrated" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />
            <add name="HttpRemotingHandlerFactory-soap-Integrated" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />
            <add name="AXD-ISAPI-2.0" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
            <add name="PageHandlerFactory-ISAPI-2.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
            <add name="SimpleHandlerFactory-ISAPI-2.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
            <add name="WebServiceHandlerFactory-ISAPI-2.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
            <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
            <add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
            <add name="AXD-ISAPI-2.0-64" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
            <add name="PageHandlerFactory-ISAPI-2.0-64" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
            <add name="SimpleHandlerFactory-ISAPI-2.0-64" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
            <add name="WebServiceHandlerFactory-ISAPI-2.0-64" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
            <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0-64" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" ...
1

@fo2sh. The code is open source which means open to inspection. I neglected to note the algorithm is on the web too but frequency? Nope, it's just setting the clock from NTP sources to within a few milliseconds. If that is not good enough then you need one of those cellular equipment time sources. My background includes cellular base station design.

http://www.cisco.com/c/en/us/about/press/internet-protocol-journal/back-issues/table-contents-58/154-ntp.html has the basics and references on NTP.

I've yet to find anyone ask for more since the goal is the time be set to withing a second. Since system response time can vary under load, it would be silly to think the clock being off by 100 milliseconds to matter. Base stations and the DSP system there would need better than this so they use a station clock (those dedicated highly accurate clocks.)

Votes + Comments
Well said. Cell phone clocks are usually synced to the local cell tower.
0

Hi Rubberman,
I really dont care about this but its a question I got from the customer, the NTP vendor wants to know the type of sync used by all clients connected to their NTP server.

Hello Rproffitt,
Thank you for your answer, yes this question came up only when talking abour radio network element in mobile operators usually, but for some reason they wanted to know which exact sync algorithm is used by us and I tried to check online for an answer but couldn't find anything useful about if Linux is using frequency or phase sync, however yes I came up that the algorithm used by Linux is more near frequency but can't be phase sync.

Thank you!

0

Hello,

I am running a software on a Linux machine, I am synchronizing time via default ntpd configurations available in Linux (/etc/ntp.conf).
I am connecting to the customer NTP server.
Now i was requested to tell which synchronization type is used on my machine (Frequency Synchronization/ Time Synchronization or Time-of-day Synchronization)

Now after some googling it seems there is two types for NTP synchronization:
1- Phase Synchronization.
2- Frequency Synchronization.

But how can I decide which of them is used by Linux? I am already connected the customer NTP server and they told that their NTP doesn't support Time Synchronization, so should it be Frequency Synchronization which is used by Linux machines?

The customer is refering to RFC5905 in his questions but I couldn't find anything useful about my question in the RFC.

Thanks in advance for assistance.

-2

<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Redirect to WWW" stopProcessing="true"> <match url="^$" /> <action type="Redirect" url="http://heresmygps.com/about" redirectType="Permanent" /> </rule> <rule name="Index"> <match url="^(.*)$" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php/{R:1}" /> </rule> </rules> </rewrite> <httpErrors errorMode="Detailed" /> </system.webServer> </configuration>

0

I never said I was not in favour of upgrading to LibreOffice 5. This is not an issue whether upgrading to the most recent version has bearing. LibreOffice 5 like LibreOffice 4 still requires JRE or JDK to work which I stated from the outset is the challenge.

Side bar: There is indication LO developers will eliminate Java dependencies by moving to Python, but we have not reached that milestone yet.

I upgraded to LibreOffice 5 and am still getting the same message after going through the database wizard:

The connection to the data source "tst4" could 
not be established

SQL Status: HY000

The connection to the external data source could
not be established. No SDBC driver was found 
for the URL 'sdbc:embedded:hsqldb'.

You do the google research on that error and it comes back that Java is not working with LibreOffice 4 or 5.

I have tried both LibreOffice 4 or 5 with the various flavours of Java JDK or JRE installed on my system and nothing prevails as a solution.

@rproffitt: I looked at the video you suggested. Attached is a screen shot of when I start the database wizard LOBase.png

0

Doesn't matter if it is LO 4 or 5. Java of some form is required.

At the least, Java is required to use the internal database engine of LO. I am not trying to connect through a JDBC or ODBC to a MySQL database. I would need to resolve this anyway if I was connecting to an external database.

Still looking and hoping for help.