Solved

How to fix "No such file or directory" for images

  • 15 May 2023
  • 5 replies
  • 356 views

Badge +4

I just saw these warnings when exporting the configuration:

Warningmkdir(): No such file or directory
Warningcopy(media/ppm/operatingsystems-linux-snmp-linux-128.png): Failed to open stream: No such file or directory
Warningmkdir(): No such file or directory
Warningcopy(media/ppm/applications-monitoring-centreon-central-centreon-128-2.png): Failed to open stream: No such file or directory
Warningmkdir(): No such file or directory
Warningcopy(media/ppm/applications-databases-mysql-mysql-128.png): Failed to open stream: No such file or directory
Warningmkdir(): No such file or directory
Warningcopy(media/ppm/applications-monitoring-centreon-database-centreon-128-2.png): Failed to open stream: No such file or directory
Warningmkdir(): No such file or directory
Warningcopy(media/ppm/applications-monitoring-centreon-poller-centreon-128-2.png): Failed to open stream: No such file or directory

 

I got several more but the interesting thing is that the icons i can see are all visable.

Just a bug or is there a way to fix this?

icon

Best answer by Sébastien 11 July 2023, 11:48

View original

5 replies

Badge

Hello ReneRohe,

 

For your problem, look parameter at this: Parameters > Supervision > Folder pictures

Bad Parameter (by default): /usr/share/centreon/www/img/media/

Good parameter (😉): /usr/share/centreon/www/img/

Restart Poller and fix it :)

 

Badge +4

I dont understand what you mean with that…

Here is the media menu in my centreon environment.

I haven´t touched this at all since running centreon.

I checked on the console and the folder ppm under /media/ does not exist.

Creating it doesnt change anything unfortunately...

 

Badge

 

Badge +4

That fixed the move error i had when exporting the config.

Now it says:

“Warning chmod(): Operation not permitted”

Any idea on that?

Userlevel 3
Badge +6

That fixed the move error i had when exporting the config.

Now it says:

“Warning chmod(): Operation not permitted”

Any idea on that?

@ReneRohe This troubleshooting guide may help you.

Reply