Determining which process has a file open with Process Explorer
When I attempted to copy an Outlook .ost file to an external
USB flash drive, I saw the message below:
An unexpected error is keeping you from copying the file. If you continue
to receive this error, you can use the error code to search for help with this
problem.
Error 0x80070021: The process cannot access the file because another
process has locked a portion of the file.
I didn't have Outlook open and didn't know what other process was using
the file. One way to find out which process has a lock on a file is to
use the
Process Explorer utility provided by Microsoft. The program is free and
you don't need administrator rights on a system to use it. To determine
a process that is using the file, you can hit the Ctrl and F
keys simultaneously, which will bring up a search box where you can type
the name of the relevant file. When you click on the Search button,
you should be able to see the name of the process that has a lock on the file
as well as the process ID (PID) for that process. E.g., in this case
I could see that lync.exe
was using the file.
[ More Info ]
[/os/windows/processes]
permanent link
Website unavailable after upgrade to High Sierra
I upgraded a MacBook Pro laptop that was running
OS X El
Capitan to macOS High Sierra (10.13.6) this week. The laptop was
running Apache webserver software. After the upgrade, the system
wasn't listening on port 80 for
HTTP connections, but I was able to start it listening
again with sudo apachectl start
.
$ netstat -a | grep http | grep LISTEN
$ sudo apachectl start
Enter PIN for 'Certificate For PIV Authentication (JAMES CAMERON)':
$ netstat -a | grep http | grep LISTEN
tcp46 0 0 *.http *.* LISTEN
$
I was then able to access the default webpage at http://localhost which
displayed the page contained in index.html.en
file in the
DocumentRoot
directory at
/Library/WebServer/Documents
, but whenever I attempted to display
pages I had created elsewhere, I kept getting a "404 Not Found" page indicating
the requested URL was not found on the server. When I checked
/private/etc/apache2/extra/httpd-vhosts.conf
, I found it had
a April 4, 2018 timestamp, but no longer had the virtual host information I
had previously put in the file.
[ More Info ]
[/os/macOS]
permanent link
Installing and using cdparanoia to rip CDs on a CentOS Linux system
If you need to
rip a CD
from a command-line interface (CLI) on a
CentOS Linux
system,
cdparanoia will allow you to do so. The cdparanoia
CD ripper
program will allow you to produce Waveform Audio File Format, i.e., .WAV, files
from the tracks on a CD. You can use the
yum package management software to install the software
with by issuing the command yum install cdparanoia
from the
root account.
[ More Info ]
[/os/unix/linux/centos/music]
permanent link
Accessing the RPM Fusion repository from a CentOS system
Sometimes you may find that a software
package
that you would like to use on a
CentOS Linux
system is unavailable from the default
software repositories, aka "repos." In such cases adding alternative
repos, such as Extra Packages
for Enterprise Linux (EPEL) or
RPM Fusion may allow
you to locate the desired package. E.g., the
VLC media player is available in the RPM Fusion repository, but not
the default ones nor in EPEL. RPM Fusion has two separate software
repositories, one that contains
free and open-source software (FOSS) and
another named "nonfree". Packages in the "nonfree" repository still
won't cost you anything, but there may be restrictions on the use of the
software, e.g., you may be forbidden from using the software for commercial
use. The RPM Fusion site defines the nonfree repo as being 'for redistributable
software that is not Open Source Software (as defined by the Fedora Licensing
Guidelines); this includes software with publicly available source-code that
has "no commercial use"-like restrictions.'
[ More Info ]
[/os/unix/linux/centos]
permanent link
Installing the Pale Moon Web Browser on CentOS 7
I wanted to try the
Pale Moon
web browser, which is
free and open-source software (FOSS) on a
CentOS 7
Linux system, but when I tried installing it with
yum, the package was not found.
# yum install palemoon
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos-distro.1gservers.com
* epel: archive.linux.duke.edu
* extras: centos.host-engine.com
* updates: centos.den.host-engine.com
No package palemoon available.
Error: Nothing to do
#
I was able to resolve the problem, by adding the Pale Moon
repository.
[ More Info ]
[/network/web/browser]
permanent link