General :: Restarting Web Server Apache2 Fail - Error Log "sudo Apache2ctl Configtest" Said "syntax Ok"
Jun 12, 2009
I was stupidly trying to setup apache for virtual hosts using two different tutorials and something got mucked up along the way. Apache will now not start and I just need a some help fixing it. My error logs show nothing and running "sudo apache2ctl configtest" said "syntax ok".
View 3 Replies
ADVERTISEMENT
Nov 19, 2010
I have suse10 64bit and I was setting up SVN server on it. After all required setup while reloading apache2,its giving the error:
Code:
httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
View 6 Replies
View Related
Feb 1, 2010
I am trying a release of Ubuntu has have run into a problem that does not make much sense. I am receiving the following error: Syntax error on line 20 of /etc/apache2/sites-enabled/portal: Invalid command 'ProxyHTMLEnable', perhaps misspelled or defined by a module not included in the server configuration
fail! I believe the modules required for this is apt-get install libapache2-mod-proxy-html and it shows under the available modules and it was enabled with a2enmod proxy-html.
The line from the config is ProxyHTMLEnable On. The release is the latest download with updates from, 32bit.
View 4 Replies
View Related
May 24, 2011
i have a problem with my server, it was rebooted to get a special upgrade and it never turned on again. the support told me it's giving grub error 15, file not found. my server is a debian lenny 5 32bit one in raid 1. my menu.lst is:
[URL]
and fdisk -l gives:
Quote:
root@grml:/# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
[code]...
Disk /dev/md0 doesn't contain a valid partition table
View 17 Replies
View Related
Nov 19, 2010
I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
View 9 Replies
View Related
Dec 9, 2009
I am getting this error
Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!
also what is 68.178.232.100
View 1 Replies
View Related
Apr 12, 2011
I'm scratching my head over a very simple netcat-based heartbeat monitoring script i wrote.
here we go:
Code:
echo `date --utc "+%Y-%m-%d %H:%M:%SZ"` script started
[code]...
View 6 Replies
View Related
May 10, 2010
I was trying to have access from a browser to the squirrelmail configtest page in my server, making some changes, I accidentaly remove the directory webmail. After I replace it with a backup apache2 can not start. This is what I have. Syntax error on line 281 of /etc/apache2/apache2.conf: Syntax error on line 1 of [URL].. closed. But I am sure there is a ?> at the end of this file.Base on what I read on [URL]...-with-the-tag/ I test without the ?> also, but I got the same error.
View 2 Replies
View Related
Aug 10, 2010
I am getting following error messages when trying to re-start the apache2 on Ubuntu Server 10.04.
[warn] The Alias directive in /etc/squirrelmail/apache.conf at line 1 will probably never match because it overlaps an earlier Alias.
[warn] The Alias directive in /etc/phpldapadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
...waiting [warn] The Alias directive in /etc/squirrelmail/apache.conf at line 1 will probably never match because it overlaps an earlier Alias.
[warn] The Alias directive in /etc/phpldapadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
[OK]
View 1 Replies
View Related
Apr 20, 2011
I am a Novell (now defunct) CNE tring to learn Linux and am having a lot of trouble finding out where the WB 6-6 is wrong in the syntax for adding local4... the the syslog-ng config file. In the instructions there are discrepancies between commas and simi-comma, they are both in the statements in no particular order. there is no pattern to them. Here is what the book shows:
filter f_local4debug { level(debug) and facility(local4); };
When I try to input this in the Gnome terminal window to try and find out where it goes wrong I get the following: -bash: syntax error near unexpected token "(" If I can get the correct syntax I belive I can use the info to get past the rest of this portion of the lesson. I am desperate to learn Linux as the only jobs out there for a Novell CNE are migrations to MS, which really sucks, since MS really really sucks.
View 1 Replies
View Related
Mar 11, 2011
Installation of SUSE 11 server now when I try to configure apache2 (opening port 80) I get a "cannot adjust apache2 service" error??? Can anyone shed some light on this.
View 1 Replies
View Related
Oct 12, 2010
I am having problems accessing my website. I have port forwarding enabled on my router and below are the errors I am getting plus my firewall setup.
Code:
thomas@tdtconsulting:/etc/apache2/sites-available$ sudo a2ensite tdtconsulting
[sudo] password for thomas:
Enabling site tdtconsulting.
Run '/etc/init.d/apache2 reload' to activate new configuration!
thomas@tdtconsulting:/etc/apache2/sites-available$ sudo /etc/init.d/apache2 reload
* Reloading web server config apache2 [Tue Oct 12 18:21:04 2010] [warn] NameVirtualHost 192.168.1.3:80 has no VirtualHosts
[Code]...
View 9 Replies
View Related
Jun 19, 2011
I use red hat linux. When I start up network service. I get below error in eth2
root@vls etc]# service network restart
Shutting down interface eth2: [OK]
Shutting down loopback interface: [OK]
Bringing up loopback interface: [OK]
Bringing up interface eth2: RTNETLINK answers: File exists
Error adding address 10.1.1.82 for eth2. [OK]
I paste the ifcfg-eth2 in here
[root@vls network-scripts]# cat ifcfg-eth2
# Intel Corporation 82572EI Gigabit Ethernet Controller (Copper)
DEVICE=eth2
BOOTPROTO=none
BROADCAST=10.1.255.255
HWADDR=00:80:82:8F:B4:A2
IPADDR=10.1.1.82
NETMASK=255.255.0.0
NETWORK=10.1.0.0
ONBOOT=yes
GATEWAY=10.1.1.249
TYPE=Ethernet
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
So, what is the problem of error adding address?
View 1 Replies
View Related
Feb 19, 2011
I would like to run a sudo script on startup. Is it possible to run it without typing in a password?
The script is simply "sudo killall gcin". This restarts the Chinese input method gcin. My understanding is that gcin has a bug, doesn't load properly upon startup, and only behaves correctly after a reset.
Thus, I would like to have a script that executes the command "sudo killall gcin" upon startup without my typing in a password. Or even better, an easier workaround for gcin.
View 2 Replies
View Related
Feb 16, 2010
I am trying to build a script that runs on AIX, Solaris, and various flavors of Linux as well. It is very simple, or so I thought. I have the AIX and Solaris servers working well. Next I tried to get my workstation to run the script and it bombed. I am running Fedora 12 x86_64, but that isn't really important. I have various flavors of Linux. Some CentOS, RH, and even a Gentoo server. The script I have runs every hour on all servers. I can push out changes and install software with it, but the Linux WS won't run it.
Here is my script:
And here are the errors:
Is this just an issue with going between ksh and bash?
View 4 Replies
View Related
Feb 14, 2010
I have just compiled apache with the following command code...
View 4 Replies
View Related
Apr 12, 2010
I have Win XP SP2 installed on my machine. I wanted to try Ubuntu and i created a CD an and wanted to install the OS. The CD booted and i selected the option of "using The OS together and selecting which one to boot" or something similar to that. Ubuntu and changed MBR and installed itself. However on restarting I am getting Error 18. Now i am unable to use my computer at all.
In recover my XP at the moment and how to install Linux so that it does not mess around with any other OS?
View 5 Replies
View Related
Mar 4, 2010
I am new to shell scripting, bash specifically.
I am trying to run the following script:
Code:
When trying to execute I always get this error:
Code:
In case you need to know the permissions. Here is it:
Code:
I run the script using the following command:
Code:
View 1 Replies
View Related
Feb 5, 2011
My brother has Tri boot Ubuntu ,7 and Vista ..GRUB2 is the bootloader..The problem : At boot after the Lenovo splash disappears , there appears some 4 to 5 lines of error , error:syntax error GRUB or similar..This is visible only for a fraction of a second before the GRUB2 menu pops up...
The OS es load properly on selection in the menu so no loss of functionality One another problem is there is no OS highlighted by default and the timeout message "Automatic Boot in 10 Secs" does not appear Reinstalling GRUB does not solve the issue
View 1 Replies
View Related
Jul 7, 2010
Basically when I try execute a PHP script with SuexecUserGroup set, I get the following error:
uid: (501/uname) gid: (501/501) cmd: php-cgi
command not in docroot (/usr/bin/php-cgi)
Without SuexecUserGroup set, they work fine, but obviously aren't executed as the script's owner.
Here's one of the domain's configs:
Code:
<VirtualHost *:80>
ServerName www.domain
ServerAlias domain
[code]...
For a bit of background info, the end result i'm trying to achieve is for files that get uploaded via a php script to be owned by the user account that owns the script rather than by the apache user.
View 1 Replies
View Related
Apr 30, 2009
I currently have a massive problem with my main webserver: one of the SCSI drives where I keep my htdocs seems to have failed (sd 0:0:0:0: [sda] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK end_request: I/O error, dev sda, sector 7797601).
Since I have no backup (dumb!dumb!dumb!) of it, I tried to copy what I could on the fly, but that failed miserably. The next idea was to umount the volume and try remounting it R-O, but I have a bunch of apache2 processes that are apparently reading/writing on it and I can't seem to find any way of terminating them. I tried via init script, killall and kill -9 but they just don't respond. Until I can terminate those processes, I won't be able to unmount the drive and try saving what's left of the data.Oh and the cherry on top of the cake: the server is 1100 miles away so I can't even access it physically..Is there any way I didn't think of to get rid of those apache processes?
View 1 Replies
View Related
Jun 9, 2011
I'm trying to get this script working, it's supposed to give me options of typing B to backup a folder, typing R to restore the backup, and typing E to exit.
[Code]....
When I attempt to run the script, I get my echos prompting me to type B, R or E and press enter. When I type B and press Enter, I get this:
Code: line 18: syntax error near unexpected token 'then' line 18: 'then'
View 14 Replies
View Related
Mar 2, 2010
I have installed a LAMP server (Debian Lenny + Apache2 + PHP Version 5.3.1-0.dotdeb.1). On this machine, my web application (PHP + MySQL) exists in 2 flavours:
- Dev
- Prod
In /etc/apache2/sites-available, I have ims & ims-dev, one for each instance. Their contents are identical in terms of settings, except for the paths (dev/prod):
Code:
<VirtualHost *:80>
ServerAdmin admin@domain.com
ServerName ims.domain.com
ServerAlias ims.domain.com
[code]....
why this difference when the settings are strictly identical? Do I need to add EnableSendfile off in my conf files to stop that?
View 14 Replies
View Related
Mar 7, 2011
I have a requirement to check the following conditions..If my folders are not A and B then list files in the directory else no listing the filesso my if loop is some thing like this.
Code:
if [ $dirName = "C" && $dirName != "A" && != "B" ] then
ls -la
[code]....
View 1 Replies
View Related
May 26, 2009
I am in the process of writing a web-application using apache,mod-python and cheetah. I installed apache2, mod-python and cheetah and also enabled the userdir module in apache2 so that i can host the webpages inside my public_html folder.
The public_html folder has a folder named 'site' which gets displayed when I type "url" in the browser. There are subfolders inside this 'site' folder and the site folder also has an index.html page inside it.
But when I click on the site folder in the browser, I get a 'Requested url /~myusername/site/ not found'. There are files inside the folder with 777 permissions and still I get this error.
I use Ubuntu Jaunty with the following configuration - 'Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch mod_python/3.3.1 Python/2.6.2 Server at localhost Port 80'.
These are the lines I have added to the /etc/apache2/sites-available/default file
Code:
<Directory "/home/myusername/public_html/site/">
SetHandler mod_python
PythonHandler mod_python.publisher
PythonDebug On
PythonAutoReload On
View 1 Replies
View Related
Mar 7, 2011
When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.
Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.
But still i keep getting the same error. I am not too sure where this file is mentioned.
Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.
View 1 Replies
View Related
May 23, 2011
Mental note: ignore start-up process scroll.
Okay, now MySQL is just being (even more) difficult. Prior to boot's starting MySQL, I notice the line
Code:
/etc/rc2.d/S19mysql: line 132: syntax error near unexpected token ')'
Near?? Line 132 consists of
Code:
'stop')
Which is proper, and identical to all the other /etc/rc#.d/S19mysql scripts that don't result in errors. C'mon...!
View 9 Replies
View Related
May 4, 2010
find /opt/postfix/mail/email.com/~spam/~quarantine/ ( -iname * -o -iname .* ) ! -type p -exec grep -i -c admin@email.com {}; -xdev -print
When I do this command I receive this error message:
-bash: syntax error near unexpected token `('
View 2 Replies
View Related
Dec 1, 2010
I wrote a script to start portal.
Its start portal (not a problem)
Only getting following message:
This is the else before second logic
View 32 Replies
View Related
Jul 11, 2010
Recently I edited sudoers file and did typing error. Now neither I can do sudo nor change it.
Code:
sudo visudo -c
>>> sudoers file: syntax error, line 8 <<<
How I can get correct the sudoers file?
View 5 Replies
View Related