Kernel/Config.pm isn't writable! on OpenSUSE + lampp

Moderator: crythias

Locked
yuanyudistira
Znuny newbie
Posts: 6
Joined: 10 Dec 2010, 08:12
Znuny Version: 2

Kernel/Config.pm isn't writable! on OpenSUSE + lampp

Post by yuanyudistira »

Hi

I tried to install the latest OTRS on openSUSE.
I am using lampp from ApacheFriends.

I install using sub-domain,

when I go to http://support.investor.co.id/otrs/installer.pl
I got

Code: Select all

Warning
Message: Kernel/Config.pm isn't writable!

If you want to use the installer, set the Kernel/Config.pm writable for the webserver user! 
I tried the following but no result :
  • chmod 777
  • change owner ship of the lib to nobody
Because I thinnk the httpd is running as nobody , here is the result when i run ps -aux

Code: Select all

nobody    1963  0.0  0.3  50348 16100 ?        S    13:04   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody    1970  0.0  0.3  50276 16104 ?        S    13:05   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody    1981  0.0  0.3  50276 16116 ?        S    13:08   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody    1982  0.0  0.3  50340 15940 ?        S    13:08   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody    1983  0.0  0.3  50020 15340 ?        S    13:08   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
apache virtual host config is as follow :

Code: Select all

<VirtualHost *:80>
    ServerAdmin it@investor.co.id
    ServerName support.investor.co.id

    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot /opt/otrs/var/httpd/htdocs

    # if not specified, the global error log is used
    ErrorLog /var/log/apache2/support.investorcoid-error_log
    CustomLog /var/log/apache2/support.investorcoid.com-access_log combined

    # don't loose time with IP address lookups
    HostnameLookups Off

    # needed for named virtual hosts
    UseCanonicalName On

    # configures the footer on server-generated documents
    ServerSignature On


    # Optionally, include *.conf files from /etc/apache2/conf.d/
    #
    # For example, to allow execution of PHP scripts:
    #
    # Include /etc/apache2/conf.d/mod_php4.conf
    #
    # or, to include all configuration snippets added by packages:
    # Include /etc/apache2/conf.d/*.conf


    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the realname directory are treated as applications and
    # run by the server when requested rather than as documents sent to the client.
    # The same rules about trailing "/" apply to ScriptAlias directives as to
    # Alias.
    #
	ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
	Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"

	# if mod_perl is used
	<IfModule mod_perl.c>
	
	    # load all otrs modules
	    Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
	
	    # Apache::Reload - Reload Perl Modules when Changed on Disk
	    PerlModule Apache2::Reload
	    PerlInitHandler Apache2::Reload
	    PerlModule Apache2::RequestRec
	
	    # set mod_perl2 options
	    <Location /otrs>
	#        ErrorDocument 403 /otrs/customer.pl
	        ErrorDocument 403 /otrs/index.pl
	        SetHandler  perl-script
	        PerlResponseHandler ModPerl::Registry
	        Options +ExecCGI
	        PerlOptions +ParseHeaders
	        PerlOptions +SetupEnv
	        Order allow,deny
	        Allow from all
	    </Location>
	
	</IfModule>
	
	# directory settings
	<Directory "/opt/otrs/bin/cgi-bin/">
	    AllowOverride None
	    Options +ExecCGI -Includes
	    Order allow,deny
	    Allow from all
	</Directory>
	<Directory "/opt/otrs/var/httpd/htdocs/">
	    AllowOverride None
	    Order allow,deny
	    Allow from all
	</Directory>  
  <IfModule mod_headers.c>
    <Directory "/opt/otrs/var/httpd/htdocs/skins/*/*/css-cache">
        <FilesMatch "\.(css|CSS)$">
            Header set Cache-Control "max-age=2592000 must-revalidate"
        </FilesMatch>
    </Directory>

    <Directory "/opt/otrs/var/httpd/htdocs/js_new/js-cache">
        <FilesMatch "\.(js|JS)$">
            Header set Cache-Control "max-age=2592000 must-revalidate"
        </FilesMatch>
    </Directory>
</IfModule>

# MaxRequestsPerChild (so no apache child will be to big!)
</VirtualHost>
Please help, what other settings should I check in order to make this installation secceed

Thanks

YY
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Kernel/Config.pm isn't writable! on OpenSUSE + lampp

Post by crythias »

You might check that SELinux is disabled.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
iortega
Znuny newbie
Posts: 1
Joined: 16 Jan 2016, 19:37
Znuny Version: 5.0.1

Re: Kernel/Config.pm isn't writable! on OpenSUSE + lampp

Post by iortega »

crythias wrote:You might check that SELinux is disabled.
Yes It works for Redhat 7.2 !!!

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
#SELINUX=enforcing
SELINUX=disabled
# SELINUXTYPE= can take one of three two values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
Locked