Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
hi all I am new to apache2 and i have installed apache2 on my ubuntu machine and edited apache2.conf file wrongly. and when i am trying to start it I am getting an error message like this:
Starting web server apache2
apache2: Syntax error on line 236 of /etc/apache2/apache2.conf:
Syntax error on line 2 of /etc/apache2/sites-enabled/mysiteM-D:
</VirtualHost without matching <VirtualHost section
[fail]**
what should i do?
Did you keep a copy of the files before you began editing them? If not, then make a note to always keep a copy. You should be able to go and download clean copies. So one approach is to go bakc to clean install.
Another approach is to study the error message. Something is wrong on line 236. Is that a line you changed? Compare it with examples you find on net, study the documentation figure to figure out jow to fix it.
It looks like actually that its your entry in sites-enabled directory that's the problem. Is that the file referenced in line 236? Compare this site file with other site files, try and spot the problem.
You are actually safe because in the original folder there is a copy so just open it and copy all and paste in the one you messed up which is in the conf folder!
If you still have this problem can you please paste line 235 here and I can figure it out.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 days ago.
Improve this question
I have the correct python version installed
I have Git clone.
When I getting to running the git clone for tencentARC -GFPGAN- at the bottom of the CMD has stopped and stated and error:
THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them. Is something wrong I did or is it not trusted I got it from the official page directly no links.
At the bottom I received notice about a new release of pip 22.2.1 -> 23.0; How would I upgrade that?
I saw it pointed to python file located in my stable diffusion folder, but I cant get it to upgrade.
The CMD during the installation is telling me I got a different sha256 hash it showed expected and what I got. Could that different hash mean someone it trying to use my computer for their benefit? I thought people could not tamper with these files aren't they locked from public? What correct step should I do to fix this?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have this file, and I have absolutely no idea what kind of file it is.
When I open it in Notepad++ it reads as
ð X döS
or
(source: gyazo.com)
How can I figure out what language this is?
Looks like that http://patch.us.wizard101.com:12500/ returns some sort of patch file for a game client. Chances are there is some api calls you are missing that tell the server what file to generate and return. But since only game clients need to directly call that file I would delete it and chalk it up to a broken client.
Either that or the site's download handler is broken and is giving a garbage file.
There's no clear answer, because you can't really. You can do some research on the encoding, or see if you can piece it together depending on the file's origin.
This program will test against common file types to see if it can be opened with success: http://download.cnet.com/TrlD-File-Identifier-for-NET/3000-2248_4-10442461.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I have a Minecraft server; When you run the server for the first time, it starts generating the world you are going to play on in the folder where you have the Minecraft_server.exe (This is normal behavior.)
I made a batch to open the Minecraft_server.exe. But when I place the .bat on my desktop and run it, it starts creating new server files instead of starting the program in the original folder where the existing world is.
How can I launch the bat anywhere on the PC, such that it wont generate new folders? I want it to always start in the Minecraft server folder.
You must first switch to proper drive and then using cd command switch to Minecraft server folder. Then you can run .exe with absolute path (if it is not in Minecraft server folder).
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am new here. I am fighting with one problem like whole day and my friend told me, to check this site and make an topic about my problem. So I am here, tired of tryin and searching for resultion.
About the problem:
I want to start database on my postgres server by phpPgAdmin, but suddenly thanks to php(?) I am not allowed to.
The things looks like, that after loggin to phppgadmin without any problems, I am creating a database. Creation always goes fine, but the problem arrive just after that. I am not allowed to see what is inside and I am not even allowed to clic on the database, because the database cannot be loaded. It pops up some crazy error.
The error looks like that:
"Error Loading database.php?subject=database&server=127.0.0.1%3A5432%3Aallow&action=tree&database=postgres (500: Internal Server Error)"
http://speedy.sh/Skp8j/postgres1.jpg
http://postimage.org/image/hc56f1qnb/full/
Seriously I am tired of it already, I really hope so, that you guys can help me.
with regards Dariss
Heres the log file from apache. Tried to get an log file from php, but as far as I see, it do not generate any.
------nvm already :)
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Hello I am trying to upload and download files from my desktop to my server. Now after some search I did download psftp. I used to use filezilla earlier, but I cannot install it on my desktop due to a few reasons. Since psftp (similar to putty) is just an executable for file transfer.
So now after going through this link http://www.math.tamu.edu/~mpilant/math696/psftp.html. I understood that put and get are two commands I would use to download and upload files. Now when I logon to the server and say get filename, it actually is throwing back an error
"local: unable to open filename". I tried that with other files too, and I end up getting the same error.
Am I making a mistake or is it a problem with this executable?
I did not find relevant tags for this topic, could somebody suggest me the right forum for this issue.
if you're starting psftp by double-clicking the .exe, it will have a local working directory of whatever folder/directory you'd started it in. Unless the file you're uploading is also in there, you'll have to use lcd (local change directory) to switch to that other directory:
c:\this\and\that\psftp.exe <---working directory of c:\this\and\that
c:\upload\file\is\here\file.txt <--where you keep the file to upload
c:\this\and\that> psftp
psftp> lcd \upload\file\is\here
psftp> put file.txt
should do the trick.
Alright sorry for troubling you guys, my folder was locked down, so I did not have write access to the destination folder.
It looks like you might be trying to fetch (non-existent) local files. Posting the full trace of the session might help.