I'm running apache (cswapache2) on a Solaris 11.3 server.
Recently, if I create a new vhost, the service fails to restart, and enters in maintenance mode.
If I comment lines with log files, the service starts again.
I guess I've reached the limit.
I checked the current values with ulimit -a and get :
I can increase the limit, but would like to be sure that it's the issue.
Did anyone experienced it too ?
Referring back to your post#1, if you were hitting a system wide files open limit or something like that, you should be able to test for that easily by running another application or script which opens, say, 20 files. If you were against a files open limit that app/script would fall over. I am inclined to believe that this is an Apache configuration error. Being able to comment out logfile directives and it then works tells me this is the case.
Referring to your post#3 it immediately strikes me that you are specifying a TransferLog directive without a prior LogFormat directive (so how does it know what it has to log???). I think your need to check out the configuration via the Apache bible: mod_log_config - Apache HTTP Server Version 2.4
Perhaps someone on this forum with more Apache experience than I will help you more.
Yes, but your post#5 shows an illustration of the use of 'CustomLog' directive BUT in your post#3 you are using the 'TransferLog' directive. They are different.
Look again at the link that I provided in my post#4 and read what is says about 'TransferLog'. It's format cannot be specified explicitly but is taken from a prior 'LogFormat' directive.
we want to backup all opened files by vi before editing also with version information. i wrote below alias to backup crontab file content with version info. What i want know is to make this opened files by vi. We want to prevent user mistakes by adding this alias.
alias crontab='DATE=$(date... (4 Replies)
Hi
#Testing for file existence
if ; then
echo 'SCHOOL data is available for processing'
else
echo 'SCHOOL DATA IS NOT AVAILABLE FOR PROCESSING'
:
i wrote a script, where it begins by checking if file exists or not.
If it exists, it truncates the database... (2 Replies)
Hi,
I am using Solaris 10.
i was trying to make a new directory in /u04 but it don't let me make directory unless i remove some other directories.
i issued the following command
df -F ufs -o i
Filesystem iused ifree %iused Mounted on
/dev/dsk/c1t0d0s0 ... (2 Replies)
Hello, How do i check number of files currently opening in the linux server? Your help is highly appreciated. Thank you
---------- Post updated at 02:43 PM ---------- Previous update was at 02:19 PM ----------
never mind!! I got it.
---------- Post updated at 02:44 PM ---------- Previous... (3 Replies)
Hi
this question applies to Solaris 8,9,10 and opensolaris as in my environment it applies to all of these
Is there a limit on the size of the username (in /etc/passwd) or indeed does there come a point where, like the 8 character limitation of passwords, the system receives the input but... (6 Replies)
Hi Friends,
Can anyone tell me how can I set the password age limit for root user to 14 days....???
Also would like to add following for root password;
min-alpha --- 4
min-other --- 1
min-length -- 6
min-diff ----- 3
How can I do these on command line....???
Regards,
jumadhiya (7 Replies)
Hi ,
i' d like to use an awk script to automate the ripping of cds : here's how it works :
- i first create a file named songs.txt containing the name of the songs
- the scripts extracts the tracks of a cd with cdparanoia
- the scripts saves the contents of the dir with ls (ls > list.txt)
-... (0 Replies)