I'm executing the following command: sudo insmode hello.c, but it's not working as expected:
ERROR: could not insert module hello.ko: Operation not permitted
When I run the command: dmesg | tail -1 is reported:
rtw_8822ce 0000:02:00.0: failed to send h2c command
How to fix this error? Thanks
Related
I've been trying to flash esp-wroom-32 for a long time, but I can't seem to get it. idf.py throws this error:
Serial port /dev/ttyUSB0
A fatal error occurred: Could not open /dev/ttyUSB0, the port doesn't exist
CMake Error at run_serial_tool.cmake:55 (message):
/home/matvey/.espressif/python_env/idf5.1_py3.9_env/bin/python;;/home/matvey/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32
failed
FAILED: CMakeFiles/flash /home/matvey/esp/esp-idf/examples/get-started/hello_world/build/CMakeFiles/flash
cd /home/matvey/esp/esp-idf/components/esptool_py && /usr/bin/cmake -D IDF_PATH=/home/matvey/esp/esp-idf -D "SERIAL_TOOL=/home/matvey/.espressif/python_env /idf5.1_py3.9_env/bin/python;;/home/matvey/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32" -D "SERIAL_TOOL_ARGS=--before=default_reset; --after=hard_reset;write_flash;#flash_args" -D WORKING_DIRECTORY=/home/matvey/esp/esp-idf/examples/get-started/hello_world/build -P /home/matvey/esp/esp-idf/components/ esptool_py/run_serial_tool.cmake
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/matvey/esp/esp-idf/examples/get-started/hello_world/build/log/idf_py_stderr_output_27303 and /home/matvey/esp/esp-idf/ examples/get-started/hello_world/build/log/idf_py_stdout_output_27303`
I have no idea what could be the problem, I changed the udev settings, but maybe it did not work for me.
add yourself to dialout and change permissions on it
$ sudo adduser <username> dialout
$ sudo chmod a+rw /dev/ttyUSB0
It worked for me
Another thing can happen that the modem file name will be changed from /dev/ttyUSB0 to /dev/ttyUSB1 instead. So check the /dev directory for alternatives.
There is a very nice script in this answer:
https://raspberrypi.stackexchange.com/a/132175/152061
pg_dump -h 10.12.0.4 -U pet--rsmb--prod-l1--usr -w -c -f 2022-08-10t1228z-data.sql
/var/lib/jenkins/workspace/BACKUP-RSMB--POSTGRESQL#tmp/durable-510acc0f/script.sh: 1: /var/lib/jenkins/workspace/BACKUP-RSMB--POSTGRESQL#tmp/durable-510acc0f/script.sh: pg_dump: not found
Your error clearly indicates that the Shell executor cannot find pg_dump command. Either you have not set pg_dump properly in the Jenkins server or you have not added pg_dump to the executable $PATH.
I tried this command "tar -xfv file apache-cassandra-$VERSION.tar.gz" on my mac and I keep getting the error message above. I tried the command "tar -zxvf apache-cassandra-$VERSION.tar.gz" first and that also gave me the error message, "tar: Error opening archive: Failed to open 'apache-cassandra-.tar.gz'".
Any help would be appreciated.
While running curl command using chef getting error. Block which I am trying to execute:
bash 'create_aemadmin' do
code <<-EOF
curl -u admin:admin -FcreateUser=aemadmin -FauthorizableId=aemadmin -Frep:password=#{node['aem_vm_cookbook']['aem_api_auth']['password']} -Fprofile/familyName=aemadmin http://#{node['aem_vm_cookbook']['host_name']}:8080/libs/granite/security/post/authorizables
EOF
not_if { File.exist?('/home/aemadmin/dce/aemadminusercreate') }
end
Error which i am getting for this:
/bin/chef-client:162:in `<main>'
[2020-09-09T01:48:24-05:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: bash[create_aemadmin] (aem_vm_cookbook::default line 455) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
---- Begin output of "bash" "/tmp/chef-script20200909-12267-2dd1ke" ----
STDOUT:
STDERR: curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
---- End output of "bash" "/tmp/chef-script20200909-12267-2dd1ke" ----
Ran "bash" "/tmp/chef-script20200909-12267-2dd1ke" returned 2
Using this block i am trying to create a user i can see curl is getting values for variable which i am using but it is not able to execute.
Due space issue i was facing this. Now i resolved it
Abruptedly when I execute any command on my Centros 7 shell I receive errors hampering their executions. Errors are of the kind:
$ ls
-bash: /usr/bin/ls: Input/output error
$ df
-bash: df: command not found
$ top
-bash: /usr/bin/top: Input/output error
I tried rebotting the machine to no avail and no service like fsftp or http work. Please help me as soon as possible as that is the main server of my backoffice.
It was an issue on the provider, Crissic, one notified and acknowledged the issue it took a day to fix it.