linux – ping failed but ICMP Echo Reply received

I have a network topology like:

enter image description here

On the host, I had done these scripts before hand:

echo 1 > /proc/sys/net/ipv4/conf/veth1/accept_local
echo 1 > /proc/sys/net/ipv4/conf/veth0/accept_local
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/veth0/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/veth1/rp_filter

When I ran ping -I veth0 192.168.1.3, the ping process was hanging there.
But when I ran tcpdump on lo, I saw ICMP Echo Reply was received.

bash-4.4# tcpdump -i lo -v -nn 'icmp'
dropped privs to tcpdump
tcpdump: listening on lo, link-type EN10MB (Ethernet), capture size 262144 bytes
16:25:40.820115 IP (tos 0x0, ttl 64, id 12130, offset 0, flags (none), proto ICMP (1), length 84)
    192.168.1.3 > 10.0.2.15: ICMP echo reply, id 3446, seq 788, length 64

As you can see, since there is no IP on veth0, OS select eth0’s IP as source IP. But I don’t think this is a big deal. The fact is Echo Reply is really received.

As long as I attach IP to veth0 by ip addr add 192.168.1.2/24 dev veth0, ping will be successful:

bash-4.4# ip a a 192.168.1.2/24 dev veth0
bash-4.4# ping -I veth0 192.168.1.3
PING 192.168.1.3 (192.168.1.3) from 192.168.1.2 veth0: 56(84) bytes of data.
64 bytes from 192.168.1.3: icmp_seq=1 ttl=64 time=0.022 ms
64 bytes from 192.168.1.3: icmp_seq=2 ttl=64 time=0.065 ms

Is there something I missing for ping or for linux kernel?
I ran this experiment on CentOS8 (kernel: 4.18.0)

unity – “Failed to load alembic” Unity3D after build

Facing difficulties with alembic after building for x86_x64 windows. Alembic files aren’t being loaded or read and I am getting this error in the log file

I am using unity 2019.4.16f1 and tried with both Alembic packages 1.0.7(verified with my unity version they say) and 2.1.2

Anyone can help me with this?

failed to load alembic at C:/Unity Projects/TD_Project/Builds/PC/TD_Project_Data/StreamingAssetsAssets/TD_Project/Models/Towers/Bomb Turret/Models (Animated)/Bomb turret 3rd animation.ABC 0x00007FF92D401D1C (UnityPlayer) 0x00007FF92D405519 (UnityPlayer) 0x00007FF92D3EC3D8 (UnityPlayer) 0x00007FF92E6A85AD (UnityPlayer) UnityMain 0x00007FF92DF4F45A (UnityPlayer) UnityMain 0x0000024BFBB0874D (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object) 0x0000024BFBB0806B (Mono JIT Code) (DebugLogHandler.cs:9) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object()) 0x0000024BFBB07556 (Mono JIT Code) (Logger.cs:60) UnityEngine.Logger:Log (UnityEngine.LogType,object) 0x0000024C0C2958F2 (Mono JIT Code) (Debug.bindings.cs:127) UnityEngine.Debug:LogError (object) 0x0000024BFBFFC1DB (Mono JIT Code) (AlembicStream.cs:149) UnityEngine.Formats.Alembic.Importer.AlembicStream:AbcLoad (bool,bool) 0x0000024BFBFF8BFB (Mono JIT Code) (AlembicStreamPlayer.cs:75) UnityEngine.Formats.Alembic.Importer.AlembicStreamPlayer:LoadStream (bool) 0x0000024BFC1AACA3 (Mono JIT Code) (AlembicStreamPlayer.cs:117) UnityEngine.Formats.Alembic.Importer.AlembicStreamPlayer:Update () 0x0000024BBF165B38 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) 0x00007FF92C6ED6D0 (mono-2.0-bdwgc) mono_get_runtime_build_info 0x00007FF92C672932 (mono-2.0-bdwgc) mono_perfcounters_init 0x00007FF92C67B98F (mono-2.0-bdwgc) mono_runtime_invoke 0x00007FF92DEBA82D (UnityPlayer) UnityMain 0x00007FF92DEB74BD (UnityPlayer) UnityMain 0x00007FF92DE9A8A3 (UnityPlayer) UnityMain 0x00007FF92DE9A95D (UnityPlayer) UnityMain 0x00007FF92D878D80 (UnityPlayer) UnityMain 0x00007FF92D87FCFD (UnityPlayer) UnityMain 0x00007FF92DB4F5DB (UnityPlayer) UnityMain 0x00007FF92DB3D6D7 (UnityPlayer) UnityMain 0x00007FF92DB3D79F (UnityPlayer) UnityMain 0x00007FF92DB4138D (UnityPlayer) UnityMain 0x00007FF92D42CF2B (UnityPlayer) 0x00007FF92D42B87A (UnityPlayer) 0x00007FF92D430096 (UnityPlayer) 0x00007FF92D433DCB (UnityPlayer) UnityMain 0x00007FF6501A11F2 (TD_Project) 0x00007FF9A6CA7C24 (KERNEL32) BaseThreadInitThunk 0x00007FF9A6E6D4D1 (ntdll) RtlUserThreadStart (Filename: C:buildslaveunitybuildRuntime/Export/Debug/Debug.bindings.h Line: 35)

Any ideas on how to fix this?

css – Failed to send HTTP request body

Stack Exchange Network


Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

launchd – launchctl issues: Bootstrap failed: 5: Input/output error

Before Big Sur I was able to use launchtl like this:

plst file:

Label
com.iPinky7.removeLogs
Program
/Users/michael/Downloads/Python/scripts/removeLogs.sh
ProgramArguments

commandLineArgument

StartCalendarInterval

Hour
0
Minute
0

StandardErrorPath
/Users/michael/Downloads/Python/scripts/removeLogsErr.log
StandardOutPath
/Users/michael/Downloads/Python/scripts/removeLogs.log

commands:
// load the LaunchAgent
launchctl bootstrap gui/501 com.cronjob1.plist
// immediately start the LaunchAgent
launchctl kickstart -k gui/501/com.cronjob1
// unload the LaunchAgent
launchctl bootout gui/501 com.cronjob1.plist

now I get errors I have no clue about:
Bootstrap failed: 5: Input/output error

can anyone help?

linux – clamav-daemon start condition failed, /var/lib/clamav/daily.{c[vl]d,inc} was not met

After installing Modoboa(Open Source Mail Hosting), I Tried to start clamav-daemon, but i faced start condition failed.

    systemctl status clamav-daemon.service
    clamav-daemon.service - Clam AntiVirus userspace daemon
   Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/clamav-daemon.service.d
           └─extend.conf
   Active: inactive (dead)
Condition: start condition failed at Fri 2021-01-15 04:19:06 EST; 33min ago
           └─ ConditionPathExistsGlob=/var/lib/clamav/daily.{c(vl)d,inc} was not met

Below it showed the problem, conditionPathExistsGlob=/var/lib/clamav/daily.{c(vl)d,inc} was not met.
I couldn’t start the service with systemctl or other commands.
After some troubleshoots, I found out that /var/lib/clamav is empty and there should be some .cvd update file.
Also I couldn’t update the clamav with this command (show me 403 error):

sudo clamav-freshclam

what can I do now?

sql server – conversion failed when converting datetime from character string while inserting and updating to database

I’m trying to insert time and date separately and calculate if it is late to the set time and then insert it to database…

here’s my try code for update

string Date = DateTime.Now.ToString(“dd-MM-yyyy”);
string Time = DateTime.Now.ToString(“h:mm:ss tt”);
SqlCommand comm2 = conn.CreateCommand();
comm2.CommandText = “Update Time_Logs SET Time_Out = ‘” + Time + “‘ where Emp_Id = ‘” + EmpId.Text + “‘ and Date = ‘” + Date + “‘”;
try
{
conn.Open();
comm2.ExecuteNonQuery();
MessageBox.Show(“Time_Out…”);
conn.Close();
TimeCompute();
}
catch (Exception x)
{
MessageBox.Show(x.Message);
conn.Close();
}

and here is the code for inserting

string Date = DateTime.Now.ToString(“dd-MM-yyyy”);
string Time = DateTime.Now.ToString(“h:mm:ss tt”);

        SqlCommand comm = conn.CreateCommand();
        comm.CommandText = "INSERT INTO Time_Logs (Emp_Id, Date, Time_In) VALUES('" + EmpId.Text + "','" + Date + "','" + Time + "')";
        try
        {
            conn.Open();
            comm.ExecuteNonQuery();
            MessageBox.Show("Time_In...");
            conn.Close();
            DateTime time = DateTime.Parse(Time);
            DateTime inDate = DateTime.Parse("8:00:00 AM");
            TimeSpan ts1 = inDate.TimeOfDay;
            TimeSpan ts = time - inDate;
            if (ts < ts1)
            {
                SqlCommand comm2 = conn.CreateCommand();
                comm2.CommandText = "Update Time_Logs SET Late = '" + ts + "' where Emp_Id = '" + EmpId.Text + "' and Date = '" + Date + "'";
                conn.Open();
                comm2.ExecuteNonQuery();
                conn.Close();
            }
            else
            {
                SqlCommand comm2 = conn.CreateCommand();
                comm2.CommandText = "Update Time_Logs SET Late = '" + ts + "' where Emp_Id = '" + EmpId.Text + "' and Date = '00:00:00'";
                conn.Open();
                comm2.ExecuteNonQuery();
                conn.Close();
            }
        }
        catch (Exception x)
        {
            MessageBox.Show(x.Message);
            conn.Close();
        }

sharepoint server – Designer 2010 workflow failed on start with error RunWorkflow: System.UnauthorizedAccessException

We migrated our SharePoint Site from SP 2010 to SP 2013. We have a designer workflow on a custom list and the workflow has couple of approval task forms. The issue we are facing is, workflow ‘Failed on start’ only for the first item added on day. Workflows works fine and assigns task forms as expected from the second item. I checked the ULS logs and I see these messages-

RunWorkflow: System.UnauthorizedAccessException: Access to the path
‘C:UsersaccountnameAppDataLocalTempc1e6ac0b-c897-4e0c-bb6d-a6bae5c4f572Xoml.c198ca3c_a20b_4eef_b7f0_de437f582651.16.3072.18.3072.dll’
is denied
The name of the dll changes with every day.

Workflow history show –

Workflow Cancelled === System Account ===Workflow XXX was canceled by System
Account.

Error === System Account === XXX failed to
start.

ssl – Nginx connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.128.1, server: hello-1.local

I am trying to setup ssl on my django + docker + nginx environment. However I encountered this error:

*19 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.128.1, server: hello-1.local, request: “GET / HTTP/1.1”, upstream: “https://192.168.128.4:443/”, host: “hello-1.local”

My Nginx config:

client_max_body_size 10M;

upstream web {  
  ip_hash;
  server web:443;
}

server {
    listen 80;
    server_name hello-1.local;
    return 301 https://$host$request_uri;
}

server {    
    
    location /static/ {    
        autoindex on;    
        alias /src/static/; 
    }

    location /media/ {
        autoindex on;
        alias /src/media/;
    }

``

    location / {
        proxy_pass https://web/;
    }
    
    listen 443 ssl;
    server_name hello-1.local;
    ssl_certificate /etc/certs/hello-1.local.crt;
    ssl_certificate_key /etc/certs/hello-1.local.key;
    
} 

docker-compose.yml:

version: "3"

volumes:
  local_postgres_data: {}
  local_postgres_data_backups: {}

services:
  nginx:
    image: nginx:alpine
    container_name: nz01
    ports:
      - 443:443
      - 80:80
    volumes:
      - ./src:/src
      - ./config/nginx:/etc/nginx/conf.d
      - ./config/certs:/etc/certs
    depends_on:
      - web
    networks:
      - djangonetwork
  web:
    build:
      context: .
      dockerfile: compose/django/Dockerfile
    container_name: dz01
    depends_on:
      - db
    volumes:
      - ./src:/src
    expose:
      - 8000
    links:
      - redis
    env_file:
      - ./.envs/.django
    networks:
      - djangonetwork
  db:
    build:
      context: .
      dockerfile: compose/postgres/Dockerfile
    container_name: pz01
    env_file:
      - ./.envs/.postgres
    volumes:
      - local_postgres_data:/var/lib/postgresql/data
      - local_postgres_data_backups:/backups
    networks:
      - djangonetwork
  redis:
    image: redis:alpine
    container_name: rz01
    ports:
      - "6379:6379"
    networks:
      - djangonetwork

networks:
  djangonetwork:
    driver: bridge

In browser, I get 502 Bad Gateway error and without ssl, the website run well. What could be the problem?

Motherboard post DB | Flash update has failed, but I have not updated bios

I own a server which resides locally in my house and I live alone. Last night the machine worked fine and this morning it would not boot. There was a black screen and code ‘db’ displayed on the board LED panel.

The code indicates ‘Flash update has failed’, yet I did not update the bios and cannot see a bios update utility on my machine. I booted on the backup bios and triggered recovery but would like to know what the cause might be.

am trying to install VM VirtualBox in BigMACSur M1 Apple laptop Installation failed

I am trying to install VM VirtualBox in BigMACSur M1 Apple laptop Installation failed both on full security and semi security If any encountered please what is a solution