General :: Getting Error During Restarting Apache / Resolve This?
Feb 14, 2010I have just compiled apache with the following command code...
View 4 RepliesI have just compiled apache with the following command code...
View 4 Repliesi know it's a very simple command to restart apache via ssh.
View 13 Replies View RelatedAny one have an idea How to clear apache cache without restarting apache server.
View 5 Replies View RelatedIt is really a problem that drives me crazy.
Every time after restarting my Linux machine, Network won't load and i can't activate eth0.
After multiple restarts it comes activated but i am sure it is not what makes it to work.
Can some one ever heard about such situation?
I have a 3com Ethernet adapter.
after restarting Apache site is down?
View 1 Replies View Relatedi 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
I am having a problem in that the Web Server (Apache) keeps stopping. I know this as watchdog is emailing me. Then about 15mins later it starts again. I cannot seem to find why. can anyone give me pointers as where to look to find the issue.
View 1 Replies View RelatedI 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?
i am using ubuntu 10.10. I had installed apache2 and subversion, using webdav, as described in the unbuntu wiki. SVN was working as expected, I could commit files, etc. I then installed php5 and mysql, as described in the ubuntu wiki, and i now get the following on apache restart:
apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/dav_svn.load: Cannot load /usr/lib/apache2/modules/mod_dav_svn.so into server: /usr/lib/libgssapi_krb5.so.2: symbol krb5_authdata_context_copy, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference Action 'configtest' failed.
whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?
View 1 Replies View RelatedOn restarting networking service, i am getting the following error,
Code:
karthick@karthick:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces.. ssh stop/waiting
ssh start/running, process 5427
start: Job failed to start
[ OK ]
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?
Recently my home PC crashed and I had to re-installed it. I put a "clean" install of Fedora11, then copied my /home directory and some other stuff over from the old installation.I have a couple of PHP scripts I wrote, and one of them stopped working. It uses cURL, and when I enable error tracking I get:cURL error number:6cURL errorouldn't resolve host 'www.host.com'I started digging around and I found out Apache doesn't resolve anything at all, so it's not only a cURL problem. For example,
$ip = gethostbyname('host.com');
echo $ip; die();
returns "host.com" and not an IP address.My best guess so far is that Apache has no access to the DNS service (from command line and in browsers everything resolves). had a suspicion it's a SElinux issue and disabled it, but that didn't change anything.I found some old forum posts mentioning problems with chroot-ed Apache, but I haven't done anything to mine and in any case couldn't figure out what the problem was, or the solution, so I'm stuck.
When I type xlock and press return key, I am getting the following error:
Unknown mode: xlock: bad command line option "swarm"
What should I do? I just need the basic xlock screen locking functionality.
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 View RelatedI've installed apache2 on ubuntu 10.04 and everything works fine, but when I use functions that needs to connect to Internet, it doesn't work. Is there a simple setup I've forgot? I've been searching and looking for a solution, but I'm stuck!
View 9 Replies View RelatedI have fedora version 8 with mysql 5.0.45 installed. I have also installed drupal. Recently drupal gave me an error "error code 28". When i checked it out it seemed to be with the db. When i tried to created a db (for testing purposes) in root...i wasn't able to. so then i tried to restart mysql ...it stopped but unfortunately i have not been able to get mysql back up...i get a message saying
"Timeout error occurred trying to start MySql Daemon".
For the last umpteen years of my life, I've restarted the ssh daemon using code...
Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the restart utility, e.g. restart ssh code...
i am in the process of installing apache 2.2 with php 5.3.2, my problem is that after installing and configuring them , this important module libphp5.so is no where to be seen under /usr/local//apache2/modules/, so when i attempt to start or stop apachectl , i get the following errors ..
httpd: Syntax error on line 54 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
this is how am loading the module in httpd.conf
#LoadModule php5_module modules/libphp5.so
why isn't this file there . is there a way i can get this to work
I am getting this error whenever I access the page:
Code:
PHP Warning: fgets(): supplied argument is not a valid stream resource
Any idea whats all about?
I explored and found it permission issue.
I want to put a user call paul in apache group.Any idea how can I do that?
I configured a svn server with apache. But while checking out it give the error as follows:
PHP Code:
It's on suse 10.
Our websever, Linux Debian with mysql, apache2, php 5 went down this saturday. Now this monday morning i must find out why this happened. I am looking for the the correct log files. We know that the server was available by using ping so it is (was) an application failure. We know that the our apache support team had changed the php to improve performance to apc.shm_size=192M (a couple a weeks ago) because couple a weeks ago we got a "Unable to allocate memory for pool" error message. Our server is running on a Vmware Server version 3 as virtual machine with sufficient CPU and RAM resources. Where and which log files must be checked to avoid future download times (it is our Company web page!!!!)
View 5 Replies View RelatedI was unable to access my dedicated server for few minutes. I have checked the apache error logs and found below notice:
[notice] caught SIGTERM, shutting down
I have tried to search from Google but could not find much information about this error.
How can I configure apache2 to show the error message in the browser? Just for the purposes of debugging, I do not want to have to open the server error log every time.
View 1 Replies View RelatedI am using rhel5 with ip 192.168.0.254.i am using rhel on vmware 7. when i run links 192.168.0.254 then i got error "bash : links : command not found" i want to know why this error is showing? when i use red hat without vmware then there is no problem.
View 2 Replies View RelatedI am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:
1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)
I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..
I tried creating a virtual server in apache and it got created successfully. (I also added a zone in dns for that domain successfully) However, when I try opening that domain in my browser, I see a popup window which asks me what to do with "default" which is a php file type.
I dont see the index.php which should actually open. What do I do to make the php files display correctly?
I have a machine with several IP addresses with eth devices like eth0, eth0:1, eth0:2, eth0:3. Can I restart only eth0 without bringing down eth0:1? It would be really convenient to be able to log in via SSH on eth0:1 and restart eth0 without locking myself out or not being able to bring the network back up.
If I stop eth0, will that automatically stop all the others?
I am attaching a LTO-3 tape drivce into my RHEL5 linux machine. Every time i used to restart my machine to detect the tape drive is there any way to rescan the buses to detect the newly attached scsi devices. In solaris "devfsadm" and "iostat" is there. I need the same kind of thing in linux.
View 2 Replies View RelatedI have Kubuntu 10.10. and it doesn't apply changes I did from terminal or any customization except after rebooting.
View 1 Replies View Related