Varnish configuration not working - drupal-7

I have been installed varnish module in drupal 7 while clicking on configure it shows an error page with title server error and if i come back to module menu there was another error log
like Warning: require_once(/var/www/magz/sites/all/modules/varnish/varnish.admin.inc): failed to open stream: No such file or directory in menu_execute_active_handler() (line 515 of /var/www/magz/includes/menu.inc).
I tried reinstalling and some other stuffs but the error is still there is there any solution for this

Did you checked if the path and file (folder) is valid? seems that the module requires certain file which are not there.
I've checked with version: 7.x-1.0-beta2 and no such issue occurred.
Just to close out that the read permissions would cause this, please follow the instruction from that: page - regarding access rights setting.

Related

Uiautomatorviewer Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist

i can launch Uiautomatorviewer sucessfully, inspect any page/app at personal profile.
Once phone at work profile/launching any app installed under work profile then Uiautomatorviewer throws error:
Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!
i am not sure why it behave like this suddenly, it used to work regardless personal / work profile last week.
i don't remember i change any configuration...
please help to give me clues why? i have followed many previous post suggestion to restart adb server, kill appium server, restart phone/laptop, disable enable developer options...etc. none works....
I tried to inspect personal profile now, the same error occurred:
Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!
updated: i used appium studio inspector and it works. I still not sure what happened to adb or uiautomator via command line? how do i debug it?
found an answer
com.android.ddmlib.SyncException: Is a directory
try doing adb shell rm -rf /data/local/tmp and rebooting the phone first. it's ok if you get rm: /data/local/tmp: Permission denied. ignore it - it's for the tmp folder itself after its content was already removed (that's what you need anyway)

After deploying my site to Github pages, the URL has a serious problem I'm not sure how to fix

SEE UPDATE!!
I have tried to deploy my ReactJS page to Github, and the followed the rules to a tee.
Both from: https://facebook.github.io/create-react-app/docs/deployment
and
https://medium.freecodecamp.org/surge-vs-github-pages-deploying-a-create-react-app-project-c0ecbf317089
The error I get when doing the second, after many attempts at the first, is:
fatal: HttpRequestException encountered.
An error occurred while sending the request.
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com': No error
what could be going on?
EDIT: ok now I have a site up, but the URL is myname.github.io/myname.github.io . How can I fix this?
https://facebook.github.io/create-react-app/docs/deployment#troubleshooting
taken from here:
try adding a new Personal Access Token:
git remote set-url origin https://<user>:<token>#github.com/<user>/<repo>
.
Try npm run deploy again
======= edit after seeing the addition on the original question.
So I thought it's a project page... But it's a github.io page. In that case, just push your app to master (the build/dist folder), move everything else (the source especially) to other branch if you want to clean up in master branch. More info: https://pages.github.com/
What you encountered https://yourname.github.io/yourproject is a project page, so if you're building a project, you can automatically add it into your main github page (your github.io).

JVM error while installing clearcase

I am unable to install ClearCase version 8.0.3 in RHEL7.
I have installed all the dependencies, and yet it still shows error.
While doing ./launchpad.sh under the path /Clearcase/Setup/disk1/, it opens in Mozilla and shows the added error.
JVM error while installing clearcase
When I install through /Clearcase/Agent/ with ./install, it installs version 1.7.2 and does not shows list of versions when I click on show all versions.
How can I get pass this error message?
It depends on the exact error you have.
For instance, following this technote, you could see:
launchpad.sh script generates this error:
JVM Terminated. Exit Code=1
Clicking Close on the GUI pop-up window then reports this error:
Error loading: /cc71bin/disk1/InstallerImage_linux/jre_5.0.3.sr8a_20080811b/jre/bin/classic/libjvm.so:
cannot restore segment prot after reloc: Permission denied
That is because:
This might occur if Secure Linux (SELinux) is enabled.
To disable SELinux:
Edit the file /etc/selinux/config.
Change the line "SELINUX=enforcing" to "SELINUX=disable" or "SELINUX=permissive", and then reboot the machine.

How to deploy CakePHP-application on CentOS?

I almost managed to deploy a CakePHP-application on CentOS-server, but it still needs little configuration. I have enabled mod_rewrite in /etc/httpd/conf/httpd.conf and restarted apache-server.
Then I have put Cake core library in /home/user/cakephp-core/
I get message "500 internal error" when i try to go to this page through web-browser.
In apache-logs I found following messages:
PHP Warning: include(/$HOME/cakephp-core/lib/Cake/bootstrap.php): failed to open stream: Permission denied in /srv/www/site/public_html/main/index.php on line 96
PHP Warning: include(): Failed opening '/$HOME/cakephp-core/lib/Cake/bootstrap.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /srv/www/site/public_html/main/index.php on line 96
PHP Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your /cake core directory and your /vendors root directory. in /srv/www/site/public_html/main/index.php on line 101
it says something about "permission denied"... to whom I should give permissions and where? I gave "apache:apache" to tmp/-folder... Any ideas?
Simply read the log and try to understand it.
It pretty clearly tells you what has insufficient permissions. The linux command to set permissions is chmod. You also want to make sure, as the text already tells you, that your CakePHP core include path is correct. Double check that too.

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level

i have downloaded the dotnetnuke application from the clinet server .now i wish to open it in vs2010. for debugging but compiling it is giving this error. i have configured it as the app in iis but same error ? any clue?
Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. C:\inetpub\wwwroot\Website\WebApplication1\WebApplication1\Web.config 19
Is that file path correct? Is ...\Website\WebApplication1\WebApplication1 really the root of your website (in the file system and in IIS)?

Resources