Man... I can't believe it... I swear I had put the http port to 8080... oh well.. Thanks a lot!
Beiträge von gaussniwre
-
-
Apache Configuration
Alles anzeigenroot@gauss:/# ls -al /etc/apache2/sites-available/ total 24 drwxr-xr-x 2 root root 4096 Feb 17 20:46 . drwxr-xr-x 8 root root 4096 Feb 17 20:46 .. -rw-r--r-- 1 root root 692 Mar 3 2013 default -rw-r--r-- 1 root root 7251 Mar 3 2013 default-ssl -rw-r--r-- 1 root root 555 Mar 17 18:19 openmediavault-webgui root@gauss:/# ls -al /etc/apache2/sites-enabled/ total 8 drwxr-xr-x 2 root root 4096 Dec 22 19:37 . drwxr-xr-x 8 root root 4096 Feb 17 20:46 .. lrwxrwxrwx 1 root root 40 Dec 22 19:37 openmediavault-webgui -> ../sites-available/openmediavault-webgui root@gauss:/# cat /etc/apache2/sites-available/openmediavault-webgui <VirtualHost *:8082> Include /etc/apache2/openmediavault-webgui.d/*.conf SSLEngine on SSLCertificateFile /etc/ssl/certs/openmediavault-16127397-2ce9-432a-b5b5-9011933ac726.crt SSLCertificateKeyFile /etc/ssl/private/openmediavault-16127397-2ce9-432a-b5b5-9011933ac726.key </Virtualhost> <VirtualHost *:8082> Include /etc/apache2/openmediavault-webgui.d/*.conf <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] </IfModule> </Virtualhost> root@gauss:/# cat /etc/apache2/ports.conf NameVirtualHost *:8082 Listen 8082 <IfModule mod_ssl.c> NameVirtualHost *:8082 Listen 8082 </IfModule>
Seems consistent with the webGUI config...
-
I got only this:
Coderoot@gauss:/# apachectl configtest [Tue Mar 18 20:11:21 2014] [warn] NameVirtualHost *:8082 has no VirtualHosts Syntax OK
Seems like a config error... is this in apache.conf?? Where and to what should these virtual hosts be set? I guess it is for the different web services (like the omv webGUI, transmission, etc???)
Regards!
-
Hi David! Thanks for the help... indeed apache2 is not running:
Coderoot@gauss:/# service apache2 restart Restarting web server: apache2[Tue Mar 18 17:06:27 2014] [warn] NameVirtualHost *:8082 has no VirtualHosts [Tue Mar 18 17:06:27 2014] [warn] NameVirtualHost *:8082 has no VirtualHosts (98)Address already in use: make_sock: could not bind to address 0.0.0.0:8082 no listening sockets available, shutting down Unable to open logs Action 'start' failed. The Apache error log may have more information. failed!
... but the /var/log/apache2 folder is empty. As you can see opening the logs fails. Although one can see what error is being generated. Also, this is the output of /var/log/daemon.log and /var/log/syslog:
Code
Alles anzeigenroot@gauss:/# tail /var/log/daemon.log Mar 18 17:05:23 gauss monit[1481]: 'apache2' start: /etc/init.d/apache2 Mar 18 17:05:53 gauss monit[1481]: 'apache2' failed to start Mar 18 17:06:23 gauss monit[1481]: 'apache2' process is not running Mar 18 17:06:23 gauss monit[1481]: 'apache2' trying to restart Mar 18 17:06:23 gauss monit[1481]: 'apache2' start: /etc/init.d/apache2 Mar 18 17:06:38 gauss Tor[1922]: Got a certificate for turtles, but we already have it. Maybe they haven't updated it. Waiting for a while. Mar 18 17:06:53 gauss monit[1481]: 'apache2' failed to start Mar 18 17:07:23 gauss monit[1481]: 'apache2' process is not running Mar 18 17:07:23 gauss monit[1481]: 'apache2' trying to restart Mar 18 17:07:23 gauss monit[1481]: 'apache2' start: /etc/init.d/apache2
Code
Alles anzeigenroot@gauss:/# tail /var/log/syslog Mar 18 17:05:53 gauss monit[1481]: 'apache2' failed to start Mar 18 17:06:23 gauss monit[1481]: 'apache2' process is not running Mar 18 17:06:23 gauss monit[1481]: 'apache2' trying to restart Mar 18 17:06:23 gauss monit[1481]: 'apache2' start: /etc/init.d/apache2 Mar 18 17:06:38 gauss Tor[1922]: Got a certificate for turtles, but we already have it. Maybe they haven't updated it. Waiting for a while. Mar 18 17:06:53 gauss monit[1481]: 'apache2' failed to start Mar 18 17:07:23 gauss monit[1481]: 'apache2' process is not running Mar 18 17:07:23 gauss monit[1481]: 'apache2' trying to restart Mar 18 17:07:23 gauss monit[1481]: 'apache2' start: /etc/init.d/apache2 Mar 18 17:07:53 gauss monit[1481]: 'apache2' failed to start
As you can see the system keeps trying to restart the service without success.
Any ideas?
-
I had the same problem and instead of checking the forums before I made the mistake of rebooting the server (via SSH) and now the webGUI is unavailable... https or not. I already tried using omv-firstaid to reset the webGUI configurations to no avail. I also checked the processes for an apache process: none is running.
All the rest: ssh, ftp, transmission, etc... are working fine.
Any suggestion?
Kind regards,
gaussniwre
-
Thanks I'll try that asap.
-
Same issue with me too... and I can confirm my permissions/ACL for the share should allow me to connect. Do we (the user trying to connect) have to member of a special group do connect?
Kind regards,
G
-
Althoug not optimal that will have to do.. I'll give it a try tonight. Many thanks!
G
-
Not saying that I have a success story (I still have issues with NFS) but try connecting to http://ipaddress ... when you get the connect as dialog fill in your credentials. This is when my issue pops in... it says I have no permission to connect which isn't true (I doubled checked my permissions for the shared folder). Help appreciated!
Kind regards,
G
-
Hi all,
This is my first post and I have to say that OMV is on the very right track. I've migrated from a "hand-made" NAS solution based on OpenSUSE (which had to be mantained via SSH) and I never looked back. I am having some problems with FTP and NFS which I actually think it is related. Anyway, I would like to post the FTP question/situation here.
I have a RAID5 system which is formatted as XFS over LUKS and mounted (it doesn't mount automatically at boot but that is what I want). Inside I have a shared folder called storage. This shared folder is used in the FTP service as a share. As a user, say gaussniwre, I can log in to the FTP server and get to the storage folder but the folder shows up empty. I can emphasize it enough: although I'm not the owner of the files/directories inside storage, I am in the group and the privileges are set for read-only. Also, in the ACL I even added myself to the read/write column and customized a lot of users/groups to have reading access to the share (inclusing ftp,tftp,users,staff,proftp,...). And yes, I checked the recursive option to apply the priviledges/ACL to the entire folder structure. I'm running out of options... any idea appreciated.
Kind regards,
G