It doesn’t work in the root directory

I’m trying to get Drush to work in a shared environment where I have limited SSH access. I’ve managed to install Composer and Drush. In PuTTY I can use Drush outside of my Drupal root folder, ie. /var/www/domain.com

Here I can successfully execute: vendor/bin/drush help and get the help output in return.

However, if I move (in PuTTY) to my web root folder where my Drupal installation is located: /var/www/domain.com/public_html and try to execute ../vendor/bin/drush help I get the following message: : No such file or directory

What am I doing wrong?

Server 2017 FTP – Stuck at Retrieving Directory Listing

I’ve read a load of the posts on this topic, but think I’m getting my config mixed up, would appreciate if someone can help. IIS FTP works ok locally but remotely it’s stuck on the directory listing, which indicates some issue with the passive ports. My setup is this:

Windows server 2017 which is sitting behind a NAT which I have no control of. They have opened an external address 111.222.333.444 port 1111 which they have said is setup for FTP, and it is forwarded to my local IP address 999.999.999.999. They use port 1111 as 21 is already in use for them.

In IIS I’ve set my bindings to be the 999.999.999.999 address using port 1111. At the server node I’ve specified 0-0 for the data channel range, and specified 111.222.333.444 as the external server (but can’t specify a port). My questions are:-

1 – Do I have the above config right?

2 – Do I need more ports opened on the external IP{ to allow for passive outbound traffic?

I’ve disabled Windows firewall locally to rule that out for now.

Any help / guidelines really appreciated.

create 1000 directory submission your website for $7

Hi, Welcome to Services i am ahmed amen i will submit your website very fast .you give your service to i will promise i will your job fast.SEO is very important for your website. I will improve link quality of your website by HIGH PR Directory submission. Great service from smart seo done only with MANUAl work i can submit 500 director submission within 24 hours

by: Ahmedamen99
Created: —
Category: Directory Submission
Viewed: 166


Magento 2.3 use of `db_schema_whitelist.json` file in etc directory of each module

What is the use of db_schema_whitelist.json located in Magento Catalog etc directory?

In Magento 2.3 version, I found db_schema_whitelist.json and db_schema.xml files, in the Magento_Catalog module.

Having idea about db_schema.xml, that is related with declarative schema management.

Also found that db_schema_whitelist.json file located in etc directory and it contains GraphQL based attributes that may be require to fetch attributes at frontend.

I want to know that which operations Magento 2 application will consider for db_schema_whitelist.json for Magento_Catalog in terms of GraphQL.

SSH failed to start – Missing privilege separation directory: /var/run/sshd

I have a VPS running Ubuntu 16.04.5 that’s been going for a number of years now with little issue. Today, however, I found I was unable to access the server using SSH, receiving ‘connection refused’ errors. I accessed the server using my VPS host’s serial console service, and traced the issue down to openssh server failing to start. Here’s an output of service status, service start, and sshd -t following a fresh reboot:

root@167:/# service ssh status ● ssh.service - OpenBSD Secure Shell server    Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)    Active: failed (Result: start-limit-hit) since Fri 2019-01-18 04:56:42 EST; 24min ago   Process: 983 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255)  Jan 18 04:56:42 167 systemd[1]: Failed to start OpenBSD Secure Shell server. Jan 18 04:56:42 167 systemd[1]: ssh.service: Unit entered failed state. Jan 18 04:56:42 167 systemd[1]: ssh.service: Failed with result 'exit-code'. Jan 18 04:56:42 167 systemd[1]: ssh.service: Service hold-off time over, scheduling restart. Jan 18 04:56:42 167 systemd[1]: Stopped OpenBSD Secure Shell server. Jan 18 04:56:42 167 systemd[1]: ssh.service: Start request repeated too quickly. Jan 18 04:56:42 167 systemd[1]: Failed to start OpenBSD Secure Shell server. Jan 18 04:56:42 167 systemd[1]: ssh.service: Unit entered failed state. Jan 18 04:56:42 167 systemd[1]: ssh.service: Failed with result 'start-limit-hit'. root@167:/# service ssh start Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details. root@167:/# sshd -t Missing privilege separation directory: /var/run/sshd 

I’ve attempted some research into this, but nothing that’s come up seems to have an actual solution – Just endless cycles of ‘I have this problem’ with no answers, answers that are outdated, or just generally unhelpful information.

Does anybody have any ideas on what to do next to troubleshoot/resolve this issue? SSH was last working about 12 hours ago when I logged in to run updates and rebooted the server.

Can we move a module from the directory “/modules” to the directory “/modules/contrib” without uninstalling it?

We have a Drupal 8 application which has modules directly in the directory “/modules” on the file system. I want to move a contributed module from the directory “/modules” to the directory “/modules/contrib”. Do I need to uninstall the module before doing it?

Are there any steps that need to be performed before and after moving the module?

Golang: Directory structure for Multiple Applications

I’m POCing a Go-app for my organization. I’ve read all of the intro docs on setting up a Go workspace, packages, etc. However, I am still unclear about the relationship amongst the recommended directory structures, packages, AND the fully-compiled applications that will eventually be deployed.

My team needs to be able to support many small, decoupled, applications –I am not sure how I can achieve this with the single-workspace-multiple-package approach, and would greatly appreciate clarification.

Thanks!

Oracle Database 12c Re2 installation, directory permissions (Ubuntu 16.04)

I’m trying to install oracle database 12c Re2 on my Ubuntu 16.04, but I failed.

When choosing the directory, where the Oracle Base, the Software and the Database file should be located, I got the error INS32012 (check your directory permission).

I used following install guide until the GUI appears (https://medium.com/venturenxt/install-oracle-database-12c-on-ubuntu-16-04-c081d51c0f9d). At that point my configuration changes, because I use a Desktop Class. Nevertheless, I also tried with the Server Class and it didn’t work neither.

Could somebody tell me, if there is something missing in this guide? How can I solve this problem?

Thx

Не импортируется группа по умолчанию из Active Directory

Разрабатываю приложение, которое импортирует из Active Directory пользователей и их группы. База: CN=ivan ivanov,CN=Users,DC=perimetrix,DC=ru, Фильтр: (&(objectCategory=user)(objectClass=user)(userPrincipalName=*))

Не импортируется группа по умолчанию Domain Users. Однако, если пользователь состоит в 2 и более группах на контроллере домена, то группа по умолчанию в которой состоит пользователь импортируется верно.

Если пользователь состоит только в группе по умолчанию, то она не импортируется.

Как импортировать группу по умолчанию?