I'm attempting to set up a test environment where the software is being developed on host machines then tested in a Virtual Machine and the VM has all code mapped to a Z:/ drive. My issue is that Apache is complaining and won't start up saying that I have an invalid Include path of Z:/source/myconf.conf. Anyone have luck previously of setting conf files up in a different different drive path that can help me understand what I'm doing wrong? I've tried with and without quotes as well.
Include path statement:
Include "Z:/source/myconf.conf"
Additional info:
Z is a virtual drive through VMWare also known as \\vmware-host
The specific error in the Application logs is as follows:
The Apache service named reported the following error:
httpd.exe: Syntax error on .. of C:/.../httpd.conf: Invalid Include path Z:/source/myconf.conf
Seems like its finding issue connecting to the Z drive and as z is the network drive, it must require user name and password which is creating issue
solution
If we can save the user name and password so that it won't ask for user credential dbl clicking to z drive.
To save permanently the user credential
Open command prompt and type
"net use Z: \servername\sharename /persistent:yes /savecred"
Now restart and see it should not ask user credential to connect to z drive and the apache error won't be there.
Related
I am trying to install informatica 10.4 on windows but while domain creation, it is throwing me permission issue, but i am running the installer as admin and took the command from logs which was giving issue and ran it in cmd as admin but still the same issue.
I feel installer is trying to add permissions for wrong domain / user.
How to change that to correct domain / user?
error:
OutPut : [ICMD_10033] Command [generateEncryptionKey] failed with error [[INFASETUP_10000] [FrameworkUtils_0006] The encryption key file cannot be generated. [[FrameworkUtils_0022] Failed to find user name [WORKGROUP\SYSTEM] during Informatica service startup, and so cannot grant read and write permissions on the node configuration directory to the user. Verify that the user that started the Informatica service is valid. If you are a Local System User, you can ignore this message as you inherit the read-write permissions.]..].
I have downloaded Oracle SQL developer. When I try to create a new connection, it shows error as
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection.
I tried default usernames and passwords such as SYS, SYSTEM and hr. But none of them worked. I tried setting all the environment variables properly. I tried to login through sqlplus. Nothing worked. Searched in system services, no services are present with name oracle or oracle services.
There is no folder named app in C drive to set ORACLE_PATH or ORACLE_HOME. There is no path such as c:\app\oracle\product.... I have searched for oracle\product\... folder in other directories also. But I could not find any such folders.
Am I missing anything?
I am trying to login to a private repository from a windows machine using the docker command prompt, but I cannot figure out where I am supposed to place the SSL cert on a Windows machine.
I have successfully logged in from a Linux machine by placing the cert file in /etc/docker/certs.d/mydomain.com:port/
I have found in some of the documentation they are suggesting to place this .cert file in
C:\Program Files\Docker\certs.d{my domain goes here }{port}
But Still, I'm getting below error when I'm trying to log in
Error response from daemon: Get https://{my domain goes here }.com:{port No}/v2/: x509: certificate signed by unknown authority.
Can anyone help me to sort out this issue?
I think I have found my mistake, which is I have placed the .cert file in
C:\Program Files\Docker\certs.d{my domain goes here }{port}.
It should be in,
C:\ProgramData\docker\certs.d{my domain goes here }{port}
(Please note that this ProgramData folder is a hidden folder)
Mac OS X El Capitan (Version 10.11.5) want to connect to a server to access some shared images.
Finder -> Go -> Connect to Server, then input address
smb://172.16.X.X/
then next step enter username and password, then it hints
Check the server name or IP address, and then try again. If you continue to have problems, contact your system administrator.
but all my colleague could connect it successfully, only myself cannot connect it.
The error message in Console is
6/16/16 21:14:24.000 kernel[0]: smb_ntstatus_error_to_errno: Couldn't map ntstatus (0xc000019c) to errno returning EIO
6/16/16 21:14:25.000 kernel[0]: smb_ntstatus_error_to_errno: Couldn't map ntstatus (0xc000019c) to errno returning EIO
6/16/16 21:14:26.000 kernel[0]: smb_ntstatus_error_to_errno: Couldn't map ntstatus (0xc000019c) to errno returning EIO
6/16/16 21:14:26.465 NetAuthSysAgent[1218]: checkForDfsReferral: mounting dfs url failed, syserr = Unknown error: -1073741412
6/16/16 21:14:26.465 NetAuthSysAgent[1218]: smb_mount: mount failed to 172.16.X.X/
smb:, syserr = Unknown error: -1073741412
I also tried to connect it in terminal
mount -t smbfs '//172.16.X.X/' share
mount_smbfs: mount error: /Users/foo/share: Unknown error: -1073741412
I think I figured this out.
Open Keychain Access
From the Keychain Access menu, select Ticket Viewer
For me, I needed to use a different network account than I was logged into on my Mac, so I clicked Add Identity, and entered the username and password.
Also, in the main Keychain Access window, I searched for the server name I was connecting to, double clicked on it, and added the account and password info I wanted to connect with (I'm not sure if this step was necessary)
When I tried my SMB share again, I was able to get in.
I've just resolved the same problem but in my case I was trying to connect to MS Azure smb share. I was getting the same error. My problem was resolved as soon as I added share name after the address.
So for me it won't show the list of shares but if I add the name of a share to the url, it works. Try:
smb://172.16.X.X/sharename
Also, check your port 445 is open on your computer and on router.
(I know it's a late answer, but may be it will help somebody else)
I found the following to work,
Using Microsoft Azure's file share service, they provide a command to connect to your file share via SMB. This is the an example of what they give you (for Mac):
mount_smbfs -d 777 -f 777 //appstore2021test [ACCESS_KEY]==#appstore2021test.file.core.windows.net demo
You'll need to change it to
mount_smbfs -d 777 -f 777 //appstore2021test:[ACCESS_KEY]==#appstore2021test.file.core.windows.net/demo demo
'demo' is the name of the directory
I have the following code:
$file_name = "1234";
$filename = "L:\\videoette_converter\\batch_files\\".$file_name.'.bat';
if (!$handle = fopen($filename, 'a')) {
echo "Cannot open file ($filename)";
exit;
}
I get the following error from that code:
Warning: fopen(L:\videoette_converter\batch_files\1234.bat)
[function.fopen]: failed to open stream: No such file or directory in
C:\wamp\www\videoette_converter\index.php on line 47
and the debug line from my php
Cannot open file (L:\videoette_converter\batch_files\1234.bat)
However the folder L:\videoette_converter\batch_files does exist as a mapped drive, and I have given "Everyone" full permissions. What could be the problem?
Are you sure there's no domain controller in the way?
When the Windows machine that serves the files is in an Active Directory domain:
1) The machine that runs the WAMP must be in the same domain.
2) The account used to run the Apache service on your WAMP machine must have at least read rights on the share you want to access. Instead of running the Apache service as "Local System" or "wampapache" you should specify your domain user account. (P.S.: I like XAMPP over Wamp for this kind of development, but that's probably just a personal preference)
Also I'm guessing id'd be better if you used a UNC path instead of a drive letter. It always worked for me that way. You don't need to use escaped backslashes, you can replace them with single forward ones:
//yourwinserver/sharename/path/to/file.bat