Failed to start apache22 - freebsd

My knowledge is at a very basic level.
But I have special task for running Apache.
FreeBSD 8.1
At first, when I tried to perform command:
#apachectl start
was an error:
[warn](2) No such file or directory: Failed to enable the 'httpready' AcceptFilter
[warn](2) No such file or directory: Failed to enable the 'dataready' AcceptFilter
Then I added to the file /boot/loader.conf :
accf_http_load="YES"
accf_data_load="YES"
And when I perform
#/usr/local/etc/rc.d/apache22 start
I get this:
Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
/usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
Command:
#apachectl start
returns without any errors
In httpd-error.log I can see only this:
(21)Is a directory: httpd: could not open error log file /home/httpd-logs/hostname.example.error.log.
Unable to open logs
So the question is: How to start apache22 ?

Problem solved!
The reason was in bad extension of error log files that was written in httpd.conf for VirtualHost
That's why I saw message
(21)Is a directory: httpd: could not open error log file /home/httpd-logs/hostname.example.error.log.
Unable to open logs
in /var/log/httpd-error.log
So i just create new log files in /home/httpd-logs/ where they were all recorded

Related

Openstack installation error with nova and authentification

This is the first time i'm using openstack, I'm really a new one, I'm doing right now an OpenStack packstack installation, I've generated an answer file in which i specify the following parameters : (notice that I've followed a website doing that i don't know exactly what does all of these parameters means)
CONFIG_PROVISION_DEMO=n
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=flat,vxlan
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan
CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
CONFIG_NEUTRON_L2_AGENT=openvswitch
CONFIG_NEUTRON_OVS_EXTERNAL_PHYSNET=extnet
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=extnet:br-ex
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=br-ex:em1
I'm getting the following error :
ERROR : Error appeared during Puppet run: 10.53.193.172_controller.pp Notice: /Stage[main]/Nova::Db::Sync/Exec[nova-db-sync]/returns: Error: (pymysql.err.OperationalError) (1045, u"Access denied for user 'nova'#'10.53.193.172' (using password: YES)") (Background on this error at: sqlalche.me/e/e3q8) You will find full trace in log /var/tmp/packstack/20210401-074033-eKhyZ8/manifests/10.53.193.172_controller.pp.log
I've search how to solve it,and i didn't find anything helpful, so i ignored it and I've try to re-run the packstack --answer-file=answerfile.txt, and I'm getting this time a new error :
ERROR : Error appeared during Puppet run: 10.53.193.172_controller.pp
Error: Failed to apply catalog: Could not authenticate
You will find full trace in log /var/tmp/packstack/20210401-082518-KWFGCT/manifests/10.53.193.172_controller.pp.log
Please check log file /var/tmp/packstack/20210401-082518-KWFGCT/openstack-setup.log for more information
Any help, please !

OAS 5.5.0 - error while start obips1 service

I installed Oracle Analytics Server 5.5.0.
I configured it and run services. AdminServer and bi_server1 it's working ok.
But when I want run other process I have problem...I try run obips1 like:
./start.sh -i obips1
In obips1out I fin error like:
/u01/app/oracle/product/fmwbi_oas/bi/bifoundation/web/bin/sawserver: error while loading shared libraries: libsawhttpserver643r.so: cannot open shared object file: No such file or directory
File 'libsawhttpserver643r.so' exist in location: /u01/app/oracle/product/fmwbi_oas/bi/bifoundation/web/bin
And sawserver should see this file
Can anyone know why I get this error?
I installed OBIEE12 and I do not have this error, but in OAS 5.5.0 I get this error for first time.
I solved problem - this is a permission problem to directory with libraries.
But at now, when I start proces I get different error:
[2020-07-13T10:41:02.838+02:00] [OBIS] [NOTIFICATION:1] [] [] [ecid: ] [sik: ] [tid: 8c3e8720] [nQSError: 46136] Could not load CSF library libnqcsfwrapper64.so
What's wrong?

Logstash Error - No config files found: logstash.conf. Can you make sure this path is a logstash config file?

With logstash version 5.2.1 on Windows 10, I've created and saved a configuration file in the same directory as logstash. However, when I run logstash -f logstash.conf from the command line I am getting the following error:
[LogStash::Runner] INFO logstash.agent - No config files found in
path {:path=>"C:/logstash-5.2.1/bin/logstash.conf"} [LogStash::Runner]
ERROR logstash.agent - failed to fetch pipeline configuration
{:message=>"No config files found: logstash.conf. Can you make sure
this path is a logstash config file?"}
I've done some searching and can't find a solution that fixes this issue. Any ideas on what could be causing this?
Thank you!
It seems like you've placed your conf file in some other directory within Logstash, whereas Logstash is looking for the file within the bin folder.
Try moving your logstash.conf file within the logstash bin (C:/logstash-5.2.1/bin/) folder and then try executing the query (logstash.bat -f logstash.conf).

"Unhandled stream error in pipe" and "ENOTDIR: not a directory, open" when running Gulp

I'm running a laravel application on homestead on a windows 8 machine.
I use gulp, elixix and node.js to compile resource files like SASS and .js files.
When I run the gulp command, I/O errors occur:
Saving To...
- ../www/css/admin.css
stream.js:74
throw er; // Unhandled stream error in pipe.
^
Error: ENOTDIR: not a directory, open '/home/vagrant/projects/site/www/css/admin.css'
at Error (native)
The problem arises when I enable NFS on homestead.
The fix that worked for me was to disable NFS (temporarily) in the homestead.yaml file :
folders:
- map: C:\projects
to: /home/vagrant/projects
#type: nfs -->> comment these lines
#mount_options: [nolock,vers=3,udp,noatime,actimeo=1] -->> comment these lines
run vagrant reload --provision to apply the changes and run gulp again.
I spent hours finding a fix for this, I hope this can save some users the frustration.

Error opening zip file or JAR manifest missing : jrebel.jar

When configuring JRebel on my remote server (JBoss on linux) I have configured the JVM arg as
-javaagent:/home/user/jrebel.jar" -Drebel.remoting_plugin=true
The jrebel.jar is absolutely definitely in that location, yet the server fails to start with the error:
Error opening zip
file or JAR manifest missing : /home/user/jrebel.jar Error occurred
during initialization of VM agent library failed to init: instrument
So the arg is oviously being passed to the JVM correctly, but for the life of me I can't work out why it can't find the jar. I've been through every Zero Turnaround article I can find + looked at the solutions that have resolved it for other people, but no luck. Any ideas?
Turned out to be a permissions problem - the JBoss user didn't have the permissions to access the directory that I had placed jrebel.jar into.
Would have been nice to have a more meaningfull error - e.g. 'permissions denied'. Shows my lack of Linux knowledge though I guess.
After the jar was moved to a directory within the JBoss installation + the jar owner was changed to the JBoss user and Read/Write/Execute permissions added, all is well.
Yes , the permission is the reason that this error happens to me when I tried to open PHPSTORM and that error was :
Error opening zip file or JAR manifest missing : ${JetbrainsIdesCrackPath}
Error occurred during initialization of VM
agent library failed to init: instrument
so before running PHPSTORM I had to run the command : sudo -i to get the root permission to run the program.

Resources